Commit Graph
660 Commits
Author SHA1 Message Date
sriramveeraghanta 6796e2b62e fix: merge conflicts 2025-12-22 13:08:20 +05:30
96f872c206 [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#5073)
* feat: add synchronization configuration for multiple providers in authentication adapter

* implement check_sync_enabled method to determine if sync is enabled for Google, GitHub, GitLab, Gitea, OIDC, and SAML providers
* update user data synchronization logic to utilize the new method
* add configuration variables for enabling sync for each provider in instance configuration files

* feat: add sync toggle for OAuth providers in configuration forms

* refactor: simplify sync check logic in Adapter class

* refactor: improve toggle switch logic for better readability and performance

---------

Co-authored-by: b-saikrishnakanth <[email protected]>
2025-12-22 12:57:23 +05:30
c2ce21e56c [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336)
* feat: add sync functionality for OAuth providers

- Implemented `check_sync_enabled` method to verify if sync is enabled for Google, GitHub, GitLab, and Gitea.
- Added `sync_user_data` method to update user details, including first name, last name, display name, and avatar.
- Updated configuration variables to include sync options for each provider.
- Integrated sync check into the login/signup process.

* feat: add sync toggle for OAuth providers in configuration forms

* fix: remove default value for sync options in OAuth configuration forms

* chore: delete old avatar and upload a new one

* chore: update class method

* chore: add email nullable

* refactor: streamline sync check for multiple providers and improve avatar deletion logic

* fix: ensure ENABLE_SYNC configurations default to "0" for Gitea, Github, Gitlab, and Google forms

* fix: simplify toggle switch value handling in ControllerSwitch component

---------

Co-authored-by: b-saikrishnakanth <[email protected]>
2025-12-22 12:23:39 +05:30
Bavisetti NarayanandGitHub 83bd03b321 [WEB-5760] chore: added entity state tracking for work item #5181 2025-12-19 16:38:52 +05:30
Bavisetti NarayanandGitHub 89ffba8c63 [WEB-5454] fix: users now able to edit cycle properties (#5159) 2025-12-18 20:03:15 +05:30
NikhilandGitHub 221c4fd682 [WEB-5748] fix: streamline validated users retrieval in IntakeResponsibilitySerializer (#5165) 2025-12-18 17:36:56 +05:30
NikhilandGitHub cc0074b660 [WEB-5748] fix: return a unique set of requested users in IntakeResponsibilitySerializer (#5158) 2025-12-18 15:59:25 +05:30
Vipin ChaudharyandGitHub 60b7932a0f [WIKI-848] fix: ensure only non-deleted pages are soft deleted on project deletion #5155 2025-12-18 15:44:02 +05:30
Saurabh KumarandGitHub de0d171728 [SILO-773] chore: add description missing fields in pages external API #5107 2025-12-17 19:43:08 +05:30
Vipin ChaudharyandGitHub 0208b3fa8b [WIKI-847] feat: setup pagination for wiki pages #5117 2025-12-17 19:33:09 +05:30
Henit ChobisaandGitHub bee1963558 [SILO-783] feat: added extended serializer for issues import (#5124) 2025-12-17 18:32:26 +05:30
NikhilandGitHub f98812e85b Merge branch 'preview' into sync/ce-ee 2025-12-17 13:45:29 +05:30
SangeethaandGitHub df710e00dc [WEB-5666] chore: set project timezone same as workspace timezone in project (#8340) 2025-12-16 20:46:53 +05:30
Henit ChobisaandGitHub 31fa06ae2d [SILO-783] fix: preview with . syntax error #5118 2025-12-16 15:53:55 +05:30
Henit ChobisaandGitHub 545f4e8178 fix: removed unused exporter instance 2025-12-16 15:31:00 +05:30
Henit ChobisaandGitHub f049b491b0 Merge branch 'preview' into sync/ce-ee 2025-12-16 15:29:10 +05:30
Henit ChobisaandGitHub e7974afd8b [SILO-783] feat: added porters and new serializer based exporter (#8335) 2025-12-16 15:20:53 +05:30
Aaryan KhandelwalandGitHub 05af196e3a [WEB-5669] chore: replace existing classNames with new design system tokens #8244 (#5096) 2025-12-15 18:27:43 +05:30
Dheeraj Kumar KetireddyandGitHub bc5e230d3a [WEB-5285] fix: simplify IssueProperty model and remove unique constraints #5105
- Removed the unique constraints from the IssueProperty model to allow for more flexible naming.
- Updated the save method to ensure the name is generated solely from the display name
- Adjusted the migration to reflect these changes and removed the renaming logic for IssueProperty to maintain uniqueness.
2025-12-15 18:20:53 +05:30
05fcca9144 [WEB-5285] feat: Initial phase to make IssueProperty exist independant of IssueType (#4840)
* [WEB-5285] feat: Initial phase to make IssueProperty exist independant of IssueType

- Introduced the IssueTypeProperty model to manage properties associated with issue types.
- Updated the IssueProperty model to include ChangeTrackerMixin for tracking changes.
- Modified the save method in IssueProperty to ensure unique naming based on project and issue type.
- Adjusted unique constraints and added necessary migrations for the new model and changes.

* added missing workspace

* Use workspace_id instead of workspace

* Made issue_type optional

* Refactor issue property renaming to use bulk update for improved performance in migration

* feat: add migration for IssueTypeProperty and enhance IssueProperty uniqueness

- Introduced a new migration to create the IssueTypeProperty model with necessary fields and constraints.
- Updated the renaming logic for IssueProperty to ensure uniqueness by incorporating project identifiers and issue type names.
- Adjusted unique constraints and relationships for IssueProperty and IssueTypeProperty models to improve data integrity.

* Introduced a batch processing mechanism for updating IssueProperty names to enhance performance and reduce database load.

* enhance ChangeTrackerMixin to capture changed fields on save

- Overrode the save method in ChangeTrackerMixin to store changed fields before resetting tracking.
- Updated IssueComment and IssueProperty models to utilize _changes_on_save for determining changes, improving data integrity during updates.

---------

Co-authored-by: pablohashescobar <[email protected]>
2025-12-15 14:35:21 +05:30
+1 22339b9786 [WEB-5602] feat: new design system (#8220)
* chore: init tailwind v4

* chore: update all configs

* chore: add source to parse monorepo packages

* chore: combine all css files

* feat: added extended colors

* chore: update typography

* chore: update extended color var names

* refactor: remove initial spacing variable and update dark mode selector

* chore: update css files

* chore: update animations

* chore: remove spacing tokens

* fix: external css files

* chore: update tailwind-merge version

* chore: update font family

* chore: added brief agents.md and story for new design system

* chore: enhance design system documentation with rare exceptions for visual separation

* chore: add fontsource package for typography

* chore: material symbols font added

* chore: update shadow default

* chore: add stroke and outline theme vars

* chore: update ring and fill colors

* chore: overwrite tailwind typography tokens

* chore: add high contrast mode tokens

* chore: update scrollbar colors

* chore: backward compatibility for buttons and placeholders

* chore: add priority colors

* chore: update urgent priority color

* chore: update plan colors

* chore: add missing utility class

* chore: update height and padding classes

* chore: update label colors

* chore: add missing utlity

* chore: add typography plugin to space app

* chore: replace existing classNames with new design system tokens #8244 (#8278)

* chore: update border colors

* chore: update all borders

* chore: update text colors

* chore: update css variables

* chore: update font sizes and weights

* chore: update bg colors

* chore: sync changes

* fix: uncomment spacing-1200 variable in variables.css

* chore: update primary colors

* refactor: updated border to border-subtle

* refactor: update various components and improve UI consistency across the application

* updated classnames

* updated classnames

* refactor: update color-related class names to use new design system variables for consistency

* chore: default automations

* chore: update text sizes

* chore: home and power k

* chore: home and power k

* chore: replace ui package button components

* chore: update text sizes

* chore: updated issue identifier (#8275)

* refactor: top navigation and sidebar design token (#8276)

* chore: update all button components (#8277)

* chore: new button component

* chore: update existing buttons

* chore: overwrite tailwind typography tokens

* fix: twMerge config + fixed cn instances

* refactor: toast design token updated (#8279)

* chore: update existing buttons

* chore: tooltip design token updatged (#8280)

* chore: moved cn utility to propel (#8281)

* chore: update space app UI (#8285)

* chore; update space app filters component

* fix: button whitespace wrap

* chore: space app votes

* chore: update dropdown components

* refactor: auth, onboarding, sidebar, and common component design token migration (#8291)

* chore: checkbox component design token updated

* chore: indicator and oauth component design token updated

* chore: sidebar design token updated

* chore: auth and onboarding design token updated

* chore: update divider color

* style: update background colors and hover effects across list components

* fix: tailwind merge

* refactor: toggle switch design token migration and header utility classname added (#8295)

* chore: toggle component design token updated

* chore: h-header utility class added

* chore: updated color tokens for work item detail page (#8296)

* chore: update react-day-picker UI

* refactor: update button sizes and styles in filters components

* refactor: breadcrumbs design token updated (#8297)

* chore: update priority icon colors

* refactor: updated layout variables

* chore: update plan card primary CTA

* Chore update editor design system (#8299)

* refactor: update styles for callout, color selector, logo selector, and image uploader

* refactor:fix image

* chore: update settings UI

* chore: updated notifications color and size tokens (#8302)

* chore: update sm button border radius

* fix: logo renderer

* chore: icon button component

* chore: remove deprecated classes

* chore: remove deprecated classes

* chore: update editor list spacing

* fix: icon button size

* chore: improvements (#8309)

* chore: update cycles and modules pages

* refactor: update background styles across various components to use new design system colors

* fix: button type errors

* chore: update modals design system (#8310)

* refactor: callout bg

* refactor: code  bg

* refactor: modal size and variant

---------

Co-authored-by: Aaryan Khandelwal <[email protected]>

* chore: update next-themes

* design: update billing and plans component styles and remove unused utility functions (#8313)

* refactor: empty state design token migration and improvements (#8315)

* fix: profile page

* refactor: tabs design token updated (#8316)

* chore: updated buttons and tokens for work items (#8317)

* fix: adjust trial button spacing in checkout modal

* chore: update add button hover state

* fix: type error (#8318)

* fix: type error

* chore: code refactor

* refactor: update button sizes and background styles in rich filters components

* refactor: update editor bg

* refactor: enhance Gantt chart sidebar functionality and styling

- Removed unused  prop from .
- Updated  to include new props for better block management and scrolling behavior.
- Improved auto-scroll functionality for Gantt chart items.
- Adjusted styles in  component for consistent design.

* regression: gantt design

* chore: new badge component

* fix: favorite star

* chore: update backgroung, typography and button sizes across workspace settings general and members pages

* fix: header button sizes

* fix: emoji icon logo (#8323)

* more fixes

* chore: update settings sidebar

* refactor: avatar component

* chore: updated work item detail sidebar (#8327)

* refactor: update link preview

* fix: work item property dropdowns

* fix: dropdown buttons border radius

* chore: update power k translation

* chore: updated profile activity design (#8328)

* chore: update settings pages

* chore: update work item sidebar alignments (#8330)

* refactor: admin design system

* chore: update page header

---------

Co-authored-by: Jayash Tripathy <[email protected]>
Co-authored-by: VipinDevelops <[email protected]>
Co-authored-by: Vamsi Krishna <[email protected]>
Co-authored-by: Anmol Singh Bhatia <[email protected]>
Co-authored-by: gakshita <[email protected]>
Co-authored-by: Palanikannan M <[email protected]>
Co-authored-by: Prateek Shourya <[email protected]>
Co-authored-by: b-saikrishnakanth <[email protected]>
Co-authored-by: M. Palanikannan <[email protected]>

* fix: formatting

* reexport types

* fix: lint error

---------

Co-authored-by: Jayash Tripathy <[email protected]>
Co-authored-by: VipinDevelops <[email protected]>
Co-authored-by: Vamsi Krishna <[email protected]>
Co-authored-by: Anmol Singh Bhatia <[email protected]>
Co-authored-by: gakshita <[email protected]>
Co-authored-by: Palanikannan M <[email protected]>
Co-authored-by: Prateek Shourya <[email protected]>
Co-authored-by: b-saikrishnakanth <[email protected]>
Co-authored-by: M. Palanikannan <[email protected]>
2025-12-12 20:50:14 +05:30
pushya22andGitHub 583aeae730 Sync: Community Changes #5091 2025-12-12 19:26:05 +05:30
Anmol Singh BhatiaandGitHub 2ac5efe2f0 [WEB-5647] chore: list layout work item identifier enhancements (#8326) 2025-12-12 19:21:29 +05:30
Bavisetti NarayanandGitHub b2cac81e8b [WEB-5586] chore: show sub work item in teamspace #5090 2025-12-12 19:21:09 +05:30
NikhilandGitHub 376c7c9029 [WEB-5613]feat: expand labels and assignees in issue detail serialization #5053 2025-12-12 18:47:05 +05:30
sriramveeraghanta fb0978564e fix: format api folder 2025-12-12 16:51:37 +05:30
sriramveeraghanta 3d82b6605a Merge branch 'canary' of github.com:makeplane/plane-ee into preview 2025-12-12 14:59:27 +05:30
f53520ab04 fix: oidc display name generation (#5039)
* refactor: improve OIDC user data handling and random display name generation

* refactor: streamline configuration value retrieval for OIDC
* feat: add random display name generation if not provided in user info response
* refactor: enhance user data structure with display name

* feat: enhance user display name handling in authentication adapter

* add random display name generation if not provided by user info response
* update OIDC user data structure to ensure safe retrieval of first name, last name, and provider ID

* feat: add logging for missing email in OIDC user info response

* implement logging to warn when email is not found in user info response
* update display name generation logic to ensure valid email format

* feat: implement user data synchronization in authentication adapter

* add sync_user_data method to update user details including first name, last name, display name, and avatar
* integrate user data synchronization based on ENABLE_IDP_SYNC configuration
* enhance display name generation logic when not provided by user info response

* feat: add ENABLE_IDP_SYNC configuration to OIDC form

* refactor: define type for ENABLE_IDP_SYNC form field in OIDC configuration

* feat: refactor display name generation in authentication adapter and OIDC provider

* replace random display name generation with a centralized method in User model
* enhance display name handling to ensure consistency across authentication processes

* fix: correct email validation in display name generation logic

* update condition to ensure display name is generated only when email contains exactly one '@' symbol, improving robustness of the display name handling.

---------

Co-authored-by: b-saikrishnakanth <[email protected]>
2025-12-11 20:31:58 +05:30
Henit ChobisaandGitHub d8432fe8eb [SILO-761] fix: removed transaction for issue creation for higher success rate #5046 2025-12-11 14:58:11 +05:30
Saurabh KumarandGitHub 82b2cbe07c [SILO-759] fix: add missing oauth token support in BaseViewSet #5042 2025-12-11 14:39:36 +05:30
sriram veeraghantaandGitHub f1761c65b5 chore: fix ruff checks (#8305) 2025-12-11 01:18:09 +05:30
Sriram Veeraghanta f8ecce43a9 fix: merge conflicts 2025-12-11 01:16:19 +05:30
sriram veeraghantaandGitHub 7109ed1fcb fix: api server file formatting (#5054)
* fix: api server file formatting

* fix: ruff fixable errors
2025-12-11 00:38:47 +05:30
sriram veeraghantaandGitHub 97e21ba21c chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
Dheeraj Kumar KetireddyandGitHub 647813a6ab [WEB-4440] fix: duplicate sequence when creating multiple workitems in rapid succession (#8298)
- Replace advisory lock with transaction-level lock in Issue model save method
- Updated the save method in the Issue model to use a transaction-level advisory lock for better concurrency control.
- Simplified the locking mechanism by removing the explicit unlock step, as the lock is automatically released at the end of the transaction.
- Maintained existing functionality for sequence and sort order management while improving code clarity.
2025-12-10 23:20:41 +05:30
NikhilandGitHub 0746cb4832 fix: update rate limits for Space and AnchorBased throttles to 200/minute (#5038) 2025-12-10 15:53:53 +05:30
Henit ChobisaandGitHub a645e65916 [SILO-757] fix: wait for celery step check for imported_batch instead of completed (#5031) 2025-12-10 15:39:46 +05:30
sriramveeraghanta b12d05a545 Merge branch 'canary' of github.com:makeplane/plane-ee into preview 2025-12-10 15:13:46 +05:30
NikhilandGitHub bb04c89026 [WEB-5607] fix: sites feature flag endpoint to return response similar to cloud (#5033)
* fix: update feature flag response handling to return specific flag value

* refactor: simplify feature flag response handling and update payload key

* fix: enable response caching for feature flag endpoint

* fix: handle expiration parameter in S3Storage class for presigned URLs
2025-12-10 12:52:04 +05:30
sriram veeraghanta f993000167 fix: merge conflicts 2025-12-10 01:10:09 +05:30
NikhilandGitHub 491b5bc6cc [WEB-5575]feat: enhance APITokenLogMiddleware to support logging to MongoDB (#8241)
* feat: enhance APITokenLogMiddleware to support logging to MongoDB

- Added functionality to log external API requests to MongoDB, with a fallback to PostgreSQL if MongoDB is unavailable.
- Implemented error handling for MongoDB connection and logging operations.
- Introduced additional fields for MongoDB logs, including timestamps and user identifiers.
- Refactored request logging logic to streamline the process and improve maintainability.

* fix: improve MongoDB availability checks in APITokenLogMiddleware

- Enhanced the logic for determining MongoDB availability by checking if the collection is not None.
- Added a check for MongoDB configuration before attempting to retrieve the collection.
- Updated error handling to ensure the middleware correctly reflects the state of MongoDB connectivity.

* feat: implement logging functionality in logger_task for API activity

- Added a new logger_task module to handle logging of API activity to MongoDB and PostgreSQL.
- Introduced functions for safely decoding request/response bodies and processing logs based on MongoDB availability.
- Refactored APITokenLogMiddleware to utilize the new logging functions, improving code organization and maintainability.

* refactor: simplify MongoDB logging in logger_task and middleware

- Removed direct dependency on MongoDB collection in log_to_mongo function, now retrieving it internally.
- Updated process_logs to check MongoDB configuration before logging, enhancing error handling.
- Cleaned up logger.py by removing unused imports related to MongoDB.

* feat: add Celery task decorator to process_logs function in logger_task

- Introduced the @shared_task decorator to the process_logs function, enabling asynchronous processing of log data.
- Updated function signature to include a return type of None for clarity.
2025-12-10 01:01:10 +05:30
Dheeraj Kumar KetireddyandGitHub 8bb7ebb725 [WEB-5285] feat: enhance ChangeTrackerMixin to capture changed fields on save (#8270)
- Added an override for the save method in ChangeTrackerMixin to store changed fields before resetting tracking.
- Implemented a new method, _reset_tracked_fields, to ensure subsequent saves detect changes relative to the last saved state.
- Updated IssueComment to utilize _changes_on_save for determining changed fields, improving accuracy in tracking modifications.
2025-12-10 00:59:57 +05:30
Vipin ChaudharyandGitHub 0bfb74d4c0 [WIKI-830] fix: copy clipboard functionality in the editor (#8229)
* feat: enhance clipboard functionality for markdown and HTML content

* fix: improve error handling and state management in CustomImageNodeView component

* fix: correct asset retrieval query by removing workspace filter in DuplicateAssetEndpoint

* fix: update meta tag creation in PasteAssetPlugin for clipboard HTML content

* feat: implement copyMarkdownToClipboard utility for enhanced clipboard functionality

* refactor: replace copyMarkdownToClipboard utility with copyTextToClipboard for simplified clipboard operations

* refactor: streamline clipboard operations by replacing copyTextToClipboard with copyMarkdownToClipboard in editor components

* refactor: simplify PasteAssetPlugin by removing unnecessary meta tag handling and streamlining HTML processing

* feat: implement asset duplication processing on paste for enhanced clipboard functionality

* chore:remove async from copy markdown method

* chore: add paste html

* remove:prevent default

* refactor: remove hasChanges from processAssetDuplication return type for simplified asset processing

* fix: format options-dropdown.tsx
2025-12-10 00:24:36 +05:30
sriram veeraghanta 362d29c7b0 sync: canary to preview using merge commit 2025-12-09 23:38:41 +05:30
sriram veeraghanta a55253d242 chore: update package version 2025-12-09 23:35:52 +05:30
Prateek Shourya ed57db47d0 fix: merge conflicts
Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee
2025-12-09 21:45:28 +05:30
4cd33aca96 [WEB-4961]feat: workspace members activity (#4589)
* fix: crawl work item link for epics

* chore: WIP

* feat: update role activity

* feat: remove member activity

* feat: remove member activity

* feat: leave workspace member activity

* feat: accept and delete workspace invite activity

* chore: refactor UserWorkspaceInvitationsViewSet

* chore: refactor UserWorkspaceInvitationsViewSet

* feat: accept workspace member invite activity

* feat: workspace members activity api

* fix: activity api permission check

* migration: workspace member as nullable field

* fix: model name

* chore: use WorkspaceMemberActivity model
chore: use workspace_member_id in role change activity

* feat: activity for removing and adding seats
fix: use WorkspaceMemberActivity
chore: render workspace detail

* fix: code refactor

* chore: track seats added and removed

* fix: leave activity

* chore: featureflag and permission checks
fix: leave activity

* chore: code refactor

* chore: code refactor

* feat: implemented workspace members activity sidebar in the settings layout.

* fix: remove email validation

* fix: use ENUM

* refactor: simplify workspace member actions logic in settings layout

* chore: remove validate email

* fix: use DjangoFilterBackend

* feat: enhance workspace members activity functionality and UI in settings layout

* fix: use gte lookup to include members

* feat: refactor workspace members activity sidebar and layout integration

* refactor: simplify workspaceSlug usage in settings layout

* refactor: optimize activity date retrieval in workspace members activity store

---------

Co-authored-by: b-saikrishnakanth <[email protected]>
2025-12-09 21:27:18 +05:30
NikhilandGitHub 4b59998e52 [WEB-5592] chore: add static files update settings for static files support (#8251)
* chore: add static files collection and update settings for static files support

* chore: add WhiteNoise middleware for static file handling

* chore(deps): upgrade WhiteNoise to version 6.11.0 and add static file reverse proxy in Caddyfile
2025-12-09 21:05:26 +05:30
NikhilandGitHub b8cb6ded25 [WEB-5583]feat: add avatar download and upload functionality in authentication adapter (#5019)
* fix: update avatar download headers to include authorization token

* fix: conditionally include authorization token in avatar download headers based on provider

* fix: refine avatar download headers to include access token conditionally based on token data
2025-12-09 17:47:38 +05:30
sriram veeraghantaandGitHub 4a05ddaded Merge branch 'preview' into sync/ce-ee 2025-12-09 15:50:26 +05:30