Commit Graph

42 Commits

Author SHA1 Message Date
Prateek Shourya
9b9d0e3fd6 chore: minor ux copy update for activation modal. (#1641) 2024-11-04 13:31:49 +05:30
Prateek Shourya
d38889de79 chore: ee repo improvements and lint fixes. (#1326)
* chore: move plans constant to `ee` folder.

* fix: all lint error accross `ee` repo.
2024-10-15 13:13:44 +05:30
Aaryan Khandelwal
b9ce8ea8b1 fix: merge conflicts and build errors (#1469)
* dev: private bucket implementation (#1339)

* chore: migrations and backmigration to move attachments to file asset

* chore: move attachments to file assets

* chore: update migration file to include created by and updated by and size

* chore: remove uninmport errors

* chore: make size as float field

* fix: file asset uploads

* chore: asset uploads migration changes

* chore: v2 assets endpoint

* chore: remove unused imports

* chore: issue attachments

* chore: issue attachments

* chore: workspace logo endpoints

* chore: private bucket changes

* chore: user asset endpoint

* chore: add logo_url validation

* chore: cover image urlk

* chore: change asset max length

* chore: pages endpoint

* chore: store the storage_metadata only when none

* chore: attachment asset apis

* chore: update create private bucket

* chore: make bucket private

* chore: fix response of user uploads

* fix: response of user uploads

* fix: job to fix file asset uploads

* fix: user asset endpoints

* chore: avatar for user profile

* chore: external apis user url endpoint

* chore: upload workspace and user asset actions updated

* chore: analytics endpoint

* fix: analytics export

* chore: avatar urls

* chore: update user avatar instances

* chore: avatar urls for assignees and creators

* chore: bucket permission script

* fix: all user avatr instances in the web app

* chore: update project cover image logic

* fix: issue attachment endpoint

* chore: patch endpoint for issue attachment

* chore: attachments

* chore: change attachment storage class

* chore: update issue attachment endpoints

* fix: issue attachment

* chore: update issue attachment implementation

* chore: page asset endpoints

* fix: web build errors

* chore: attachments

* chore: page asset urls

* chore: comment and issue asset endpoints

* chore: asset endpoints

* chore: attachment endpoints

* chore: bulk asset endpoint

* chore: restore endpoint

* chore: project assets endpoints

* chore: asset url

* chore: add delete asset endpoints

* chore: fix asset upload endpoint

* chore: update patch endpoints

* chore: update patch endpoint

* chore: update editor image handling

* chore: asset restore endpoints

* chore: avatar url for space assets

* chore: space app assets migration

* fix: space app urls

* chore: space endpoints

* fix: old editor images rendering logic

* fix: issue archive and attachment activity

* chore: asset deletes

* chore: update images

* chore: attachment delete

* fix: issue attachment

* fix: issue attachment get

* chore: cover image url for projects

* chore: remove duplicate py file

* fix: url check function

* chore: chore project cover asset delete

* fix: migrations

* chore: delete migration files

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* fix: private bucket build errors (#1347)

* fix: private bucket build errors

* fix: build errors

* revert: issue type select changes. (#1355)

* chore: private bucket implementation for workspace level pages (#1371)

* chore: update project modal

* chore: update rich-text read-only editor

* chore: update workspace pages' components

* chore: remove entity identifier in favour of multiple columns of entities (#1405)

* fix: issue attachments (#1411)

* fix: issue attachments (#1422)

* chore: file size limit for pro workspaces (#1437)

* chore: file size limit for pro

* chore: update maximum file size logic

* chore: update editor max file size logic

* chore: update max file size limit logic

* chore: add comments

* fix: close modal after removing workspace logo

* chore: update uploaded asstes' status post issue creation

* chore: memoize max file size var

* chore: check for pro file size limits

* chore: added file size limit to the space app

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>

* chore: add max file size limit to workspace pages (#1440)

* fix: remove old workspace logo and user avatar (#1445)

* fix: intake exception error (#5810)

* chore: filtered active cycles for guest (#1468)

* fix: build error

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2024-10-12 01:47:13 +05:30
sriram veeraghanta
ea7d990675 Merge branch 'uat' of github.com:makeplane/plane-ee into preview 2024-10-11 16:20:04 +05:30
sriram veeraghanta
73d317ec66 fix: typo fixes 2024-10-10 15:24:38 +05:30
akshat5302
b503088afa Merge branch 'uat' of https://github.com/makeplane/plane-ee into fix-preview-branch 2024-10-09 21:03:11 +05:30
guru_sainath
71cdaa5614 chore: updated typo error message in license activation (#1417) 2024-10-09 20:59:15 +05:30
Akshita Goyal
159ca21249 [WEB-2380] Chore: Cycle graphs updated (#1198)
* chore: graph based on dummy data

* fix: progress donut

* feat: created new cycle analytics

* wip: dropdowns

* chore: migration changes

* chore: changed the calculation of cycle analytics

* fix: integrational changes

* fix: reference line for today

* fix: code cleaning

* fix: added loaders

* fix: type removed

* chore: sidebar width and spacing improvement

* chore: sidebar improvement

* fix: handled empty state

* chore: cycle sidebar graph

* chore: live update on cycle analytics

* chore: removed the unused variable

* fix: chart minor issues

* chore: cycle sidebar graph improvement

* fix: chart minor bugs

* fix: code-splitting for active cycles

* fix: routing with dynamic import

* fix: peekoverview

* fix: responsiveness

* fix: handled run time updates in cycle chart

* fix: feature flagging for sidebar

* fix: added scope delta + fixed sidebar dropdown

* fix: sidebar chart

* fix: build errors

* fix: cycle store ee added

* fix: cycle chart update api

* fix: removed custom date time functions

* fix: ideal line formula updated

* fix: feature flagging condition

* fix: build errors

* fix: chart label

* chore: moved the migraion to ee

* chore: removed the unused variable

* fix: sentry error sample rate updated

* fix: cycles import issues for ee (#5732) (#1312)

Co-authored-by: Akshita Goyal <36129505+gakshita@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>

* fix: cycle api formatting for v1 data

* chore: bulk estimate changes

* chore: update reaction changes

* chore: cycle sidebar improvement

* fix: cycle graph build bugs (#1327)

* fix: build error

* chore: import order and unused variable refactor

* chore: update reaction changes

* fix: data formatting for v1 and v2

* fix: lint errors

* [WEB-2108] chore: 12 users restriction for cloud users. (#1330)

* [WEB-2108] chore: 12 users restriction for cloud users.

* chore: update total_seats count.

* fix:props for active cycle root component

* fix: removed dependency from root package.json

* fix: chart minor fixes

* fix: minor code fixes

* chore: comments listing

* fix: handled no data state

* fix: removed hardcoded version

* fix: order fixed

* fix: added comments

* chore: code splitting and refactoring

* chore: removed the unqiue constraint

* fix: minor css issues + swr fixed + chart data

* fix: ideal formula fixed

* fix: added version while creating a cycle

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
Co-authored-by: Plane Bot <146718762+plane-bot@users.noreply.github.com>
Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
Co-authored-by: Pushya Mitra Thiruvooru <pushya@Pushyas-MacBook-Pro.local>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-10-08 20:03:42 +05:30
Prateek Shourya
14b690e985 [WEB-2524] chore: restrict license activation from guest and members. (#1367) 2024-10-07 17:50:08 +05:30
Prateek Shourya
9ef5b73c81 [WEB-2524] feat: license sync and deactivation (#1245)
* feat: added manual sync handler for license refetch

* chore: add workspace license refresh endpoint

* chore: license sync request endpoint

* feat: added delink route inside monitor

* feat: added license delink route for delinking license

* chore: license delink endpoint

* feat: added delink route

* chore: license deactivation

* chore: license sync and deactivation for self managed users.

* chore: license sync and deactivation changes

* feat: handle case for free workspace

* chore: UI and UX updates.

* style: minor UI improvement.

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-10-03 17:28:18 +05:30
Prateek Shourya
624f09e4a5 chore remove unused seats (#1147)
* chore: remove unused seats

* chore: add more seats/ remove unused seats.

* fix: imports

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:04:45 +05:30
Henit Chobisa
8786675b3c feat: added prices and plans endpoint inside monitor, and prime ecosystem (#1146)
* feat: added endpoint for retrieving plans

* feat: added routes for retrieving and generating payment link

* chore: self-hosted upgrade.

* chore: self-hosted one upgrade.

* chore: product and payment link generation

* chore: count workspace members

* chore: activation modal.

* chore: self managed instance workspace upgrade modal.

* chore: billable members.

* chore: remove changelogs redirection from workspace pages header.

* chore: update seat count logic

* fix: exit process if monitor fails to decrypt feature flags

* chore: added docker compose rule to restart the monitor container for only 5 attempts

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:03:54 +05:30
Akshita Goyal
9a436925f5 [WEB-2456] Chore: workspace member list additional info (#1124)
* chore: added email and authentication columns in workspace member settings

* fix: revoked yarn lock file changes

* fix: revoked lock file changes
2024-09-16 20:45:53 +05:30
Prateek Shourya
57542cdada [WEB-2112 | WEB-2113 | WEB-2395] dev: billing and product updates. (#1130)
* chore: add current period start date

* chore: is trial ended

* chore: Billing page and Product updates.

* fix: seat purchase

* chore: self-hosted `env` updates.

* fix: lint error.

* fix: bugfixes in types package

* fix: build errors.

* chore: update yarn.lock file.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-09-16 19:12:58 +05:30
Prateek Shourya
095eddb368 fix: lint errors across enterprise repo. (#1053)
* fix: lint errors across enterprise repo.

* fix: lint errors in seats banner.

* fix: build error in auto close automation.

* fix: more lint errors
2024-09-12 18:23:42 +05:30
Anmol Singh Bhatia
ee5b0f8d9b fix: build error 2024-09-11 19:08:45 +05:30
Nikhil
4644a46cce fix: add invites also to the paid count calculation (#1069)
* fix: add invites also to the paid count calculation

* fix: paid seat mutation in update workspace seat modal.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-09-07 17:49:15 +05:30
Prateek Shourya
80cb440509 [WEB-2396] chore: selfhost licensing improvements. (#1067)
* style: fix plane one billing page.

* chore: subscription update endpoint

* chore: manage current plan seats and workspace activation improvement.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-07 14:30:58 +05:30
Prateek Shourya
c001e15edd [WEB-2376 | WEB-2396 | WEB-2387] dev: plane self hosted updates. (#1050)
* [WEB-2376] chore: workspace activation logic update.

* [WEB-2396] chore: fix upgrade button for self hosted users and update pro features upgrade CTA.

* [WEB-2396] chore: Plane selfhosted billing page.

* chore: update plane one changelog.

* [WEB-2387] chore: add seats validation.

* [WEB-2387] chore: member invitation validation for selfhosted pro plan.

* chore: update purchased seats.

* fix: member restriction

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-06 14:19:52 +05:30
Nikhil
6040408d90 dev: primev2 (#1005)
* feat: added cron for updating feature flags on interval

* feat: added logic for updating seats in monitor

* feat: updated sync handler for using prime sync endpoint

* feat: added instance initialization on monitor boot

* chore: added new vars for monitor

* fix: license seats purchase validation flow

* dev: update invite return response

* remove: workspace license task to avoid creation of duplicate licenses

* dev: add more seats flow.

* fix: resync licenses

* chore: subscription portal endpoint

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-09-02 15:28:43 +05:30
Prateek Shourya
9a2ff763b3 fix: success modal fix for self hosted users. (#928) 2024-08-26 14:45:21 +05:30
Nikhil
4b31dd0c01 dev: new license activation workflow for one and pro users (#739)
* feat: added feature flag package for decrypting and refreshing the feature flags value

* feat: added feature flagging route for route handlers

* feat: added feature flag worker for managing and distributing feature flags

* feat: implemented feature flag api implementation inside ff handler

* feat: added exponential retry interval inside feature flagging

* fix: route pattern of feature flag endpoint from monitor

* feat: created endpoint to activate workspace from monitor

* feat: made changes to accomodate db and activate endpoint

* dev: update multi tenant environment settings

* dev: workspace license activation flow

* dev: update license activate endpoint

* dev: update workspace license activate endpoint

* feat: added feature flag user sync logic

* feat: added constants and sync logic with private key inside

* feat: added port as env variable

* feat: added modification for removing license key in healthcheck

* feat: example env pushed

* fix: update monitor endpoints and license activation function

* dev: initiate free workspace only for self hosted instances

* dev: self hosting license endpoint updates

* dev: remove monitor db

* dev: update handlers

* dev: self hosted license subscription web

* dev: removed computed in self hosted subscription

* fix: prime server url and delete old license while creating new license in sqlite

* chore: subscription activation alert after successfull activation.

* dev: update feature flag endpoints

* fix: handled several cases of feature flags

* fix: linting errors

* dev: update monitor to handle workspace activation

* dev: update decryption algorithm

* feat: separated activation payload with the sync payload

* dev: update feature flags endpoint

* dev: change type for workspace sync

* feat: added isActive flag for user activation

* feat: removed creation of free users in monitor

* feat: added method for workspace product

* dev: add user email in types

* feat: added method for workspace product

* fix: uer license feature flag fetch

* fix: handler fixed for feature key

* chore: self managed license activation

* chore: update validation license flow.

* chore: license activation success.

* dev: resync workspace license on activation

* chore: plane one success modal.

* feat: added constructs to inject private key build time

* feat: updated the docker file with private key build argument

* feat: added consumption od DEFAULT_PRIVATE_KEY when building monitor

* dev: update private key

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-08-22 17:39:19 +05:30
Prateek Shourya
a915b82f90 improvement: workspace level feature flags. (#802) 2024-08-11 11:47:26 +05:30
Prateek Shourya
f1e9ed96de [WEB-1960] chore: update upgrade to paid plans flow. (#671)
* dev: workspace price upgrade endpoint

* [WEB-1960] chore: update `upgrade to paid plans` flow.

* chore: delete workspace and cancel subscription UX copy updates.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-07-30 18:31:32 +05:30
sriram veeraghanta
7e7dffa464 fix: replacing the disco url with instance config 2024-07-29 20:40:35 +05:30
Akshita Goyal
cec71f28f1 [WEB-2022] Fix/members billing status (#701)
* fix: hide the billing status for non pro workspaces

* fix: handled null state
2024-07-25 16:39:22 +05:30
rahulramesha
dafa2c3ab9 fix: Build and Lint errors (#682)
* fix build and lints

* revert back lint fix in CE
2024-07-23 11:51:03 +05:30
Akshita Goyal
94faf70aca chore: members page revamp (#650) 2024-07-22 17:14:41 +05:30
Satish Gandham
792ff35c4b Merge remote-tracking branch 'origin/develop' into sync/ce-ee 2024-07-18 13:25:02 +05:30
Akshita Goyal
fff27c60e4 [WEB-1959]: Chore/settings member page (#5144)
* chore: implemented table component in ui library

* chore: added export in the UI package

* chore/member-page-revamp

* fix: added custom popover className

* fix: updated ui for projects

* fix: hide pending invites for members

* fix: added ee component

* removed unwanted logging

* fix: seperated components

* fix: used collapsible instead of disclosure

* fix: removed commented code

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-07-18 13:02:22 +05:30
Prateek Shourya
2b1b90c968 chore: add feature flags checks to upgrade badge. (#629) 2024-07-16 16:48:34 +05:30
Prateek Shourya
15d2bf32ae [WEB-1949] chore: prevent workspace deletion when user has active subscription. (#621) 2024-07-15 17:17:19 +05:30
pushya22
864c2998a5 Merge branch 'develop' into sync/ce-ee 2024-07-15 16:58:48 +05:30
Prateek Shourya
56331a7b55 [WEB-1949] chore: delete workspace components restructuring. (#5123)
* [WEB-1949] chore: delete workspace components restructuring.

* chore: update delete workspace section.
2024-07-15 16:55:26 +05:30
Prateek Shourya
aabcb90682 improvement: feature flagging (#609)
* chore: add upgrade banner for free users on bulks ops and page publish.

* fix: bulk ops responsiveness.
2024-07-11 20:52:58 +05:30
Prateek Shourya
42115deadb chore: add back enterprise billing page. (#603) 2024-07-11 16:48:23 +05:30
Nikhil
4e8bfe0024 dev: feature flagging implementation (#443)
* dev: initialize feature flagging

* dev: feature flagging workspace active cycles

* dev: update feature flag implementation

* dev: add `FEATURE_FLAG_SERVER_AUTH_TOKEN` env

* dev: add feature flagging for backend apis

* dev: setup feature flags store and hooks. (#558)

* dev: setup feature flags store and hooks.

* minor improvements for swr key and flags enum.

* dev: workspace active cycles feature flag. (#562)

* dev: add task for cancelling the workspace subscription when the workspace is deleted

* dev: rename feaure flagging component

* dev: update feature flagging function for spaces

* dev: add feature flags for bulk ops, issue embeds and page publish. (#589)

* dev: add logging for member sync task

* dev: restrict workspace from deleting if the subscription is active

* dev: workspace delete check endpoint

* dev: subscription endpoint check

* dev: update subscriptions

* chore: plane pro billing and plans page updates.

* dev: update pro pill display logic.

* dev: fix feature flagging

* chore: minor improvement in cloud-badge to avoid API calls to `products` endpoint if user has PRO subscription.

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-07-11 15:14:18 +05:30
sriram veeraghanta
34bf7a107f fix: merge conflicts resolved 2024-07-10 19:45:27 +05:30
Prateek Shourya
31f67e189d [WEB-1843] chore: billing page and upgrade badge UI improvements. (#5099)
* [WEB-1843] chore: billing page and upgrade badge UI improvements.

* chore: fix sidebar collaped state.
2024-07-10 19:38:21 +05:30
sriram veeraghanta
acfea71772 fix: sperating out plane one and cloud badges 2024-06-19 20:26:14 +05:30
sriram veeraghanta
2b5288c838 fix: workspace subscription store added 2024-06-17 20:01:28 +05:30
sriram veeraghanta
c03759787d fix: badge build errors 2024-06-17 18:12:41 +05:30