Commit Graph
604 Commits
Author SHA1 Message Date
sriramveeraghanta 5caae6f2c5 fix: merge conflicts 2025-12-05 17:02:42 +05:30
4b325621e5 fix: eslint
* feat: eslint

* fix: lint

* fix: lint

* [WIKI-804] fix: refactor image uploader (#8210)

* fix: refactor uploader

* fix: props

* fix: sites fix

* fix: update @makeplane/plane-node-sdk version and refactor relation type imports

* fix: update ESLint max-warnings threshold in package.json

* fix: eslint formatting issues

* fix: add captions track to video player component

---------

Co-authored-by: M. Palanikannan <[email protected]>
Co-authored-by: Prateek Shourya <[email protected]>
2025-12-05 16:27:19 +05:30
NikhilandGitHub f81e120328 chore(deps): upgrade psycopg packages to version 3.3.0 (#8222)
* chore(deps): upgrade psycopg packages to version 3.3.0

* chore: update Python version to 3.12.x in CI workflow

* refactor: clean up imports and improve code formatting across multiple files
2025-12-05 16:06:19 +05:30
85d90030cf fix: eslint (#8185)
Co-authored-by: Prateek Shourya <[email protected]>
2025-12-05 16:03:51 +05:30
2740d73003 [WIKI-804] feat: video attachments (#4863)
* feat: video attachment previews

* fix: content validation with block menu and viewport rendering!

* fix: better loading state

* fix: mousedown issues

* fix: inline and downloadable assets

* fix: adding it for comments

* fix: block node view

* fix: fileplay icon

* fix: attachment icon

* fix: same param

* fix: video icon

* fix: attachment upload logic

* fix: block menu icons

* fix: video mime type and video moved to propel!

* fix: video attachments

* fix: use download as it is!

* fix: mime types added while uploading

* fix: put attachments in core

* Refactor attachment component to use acceptedFileType

* fix: feature flagging

* fix: build

* fix: build errors

* fix: multiple allowed

* fix: remove error map

* fix: add feature flags backend

* fix: mobile changes

* fix: allow attachment in comments submit button

* fix: space app fixes

* fix: content validator

* fix: feature flag name

* fix: reset files

* fix: formatting

* refactor: remove unused import in content validator

* fix: restore in space

* fix: cursor fix

* fix: broken lock file

---------

Co-authored-by: sriramveeraghanta <[email protected]>
2025-12-05 15:11:03 +05:30
M. PalanikannanandGitHub 82c970ac4b [WIKI-804] fix: refactor image uploader (#8210)
* fix: refactor uploader

* fix: props

* fix: sites fix
2025-12-05 13:20:15 +05:30
SangeethaandGitHub 5b543ad874 [WEB-4961]migration: workspace member activity (#4949)
* migration: workspace member as nullable field

* fix: model name
2025-12-05 13:19:33 +05:30
b-saikrishnakanthandGitHub cf58d7485d [WEB-5568] feat: Allow Multiple Assignees for Intake Responsibility (#4970) 2025-12-04 18:10:08 +05:30
sriram veeraghantaandGitHub 4b1511ef03 Sync: Community Changes #4961 2025-12-04 14:15:27 +05:30
NikhilandGitHub 22da26742c chore(deps): update Django version to 4.2.27 in base requirements (#8237) 2025-12-04 14:07:52 +05:30
Prateek Shourya e0b9860be0 fix: merge conflicts
Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee
2025-12-03 16:26:04 +05:30
36d42856e9 [WEB-5493] feat: implement static cover image handling and selection (#8184)
* feat: implement cover image handling and static image selection

- Added functionality to handle cover image uploads and selections in project and profile forms.
- Introduced a new helper for managing cover images, including static images and uploaded assets.
- Updated components to utilize the new cover image helper for displaying and processing cover images.
- Added a set of static cover images for selection in the image picker.
- Enhanced error handling for image uploads and processing.

This update improves the user experience by providing a more robust cover image management system.

* refactor: rename STATIC_COVER_IMAGES_ARRAY to STATIC_COVER_IMAGES for consistency

- Updated the cover image helper to export STATIC_COVER_IMAGES instead of STATIC_COVER_IMAGES_ARRAY.
- Adjusted the ImagePickerPopover component to utilize the renamed export for rendering static cover images.

* feat: enhance project creation and image handling

- Introduced default project form values with a random emoji for logo props.
- Updated cover image handling in various components, ensuring consistent usage of the new cover image helper.
- Refactored image picker to improve search functionality and loading states.
- Removed unused constants and streamlined cover image type checks for better clarity and performance.

This update enhances the user experience in project creation and image selection processes.

* refactor: simplify cover image type definition and clean up code

- Removed duplicate type from TCoverImageType, streamlining the definition.
- Cleaned up whitespace in the cover image helper for improved readability.

This update enhances code clarity and maintains consistency in cover image handling.

* refactor: update cover image type definitions and simplify logic

- Changed ICoverImageResult and ICoverImagePayload interfaces to type aliases for better clarity.
- Simplified the logic in getCoverImageDisplayURL function to enhance readability and maintainability.

This update improves the structure and clarity of the cover image helper code.

* refactor: remove unused project cover image endpoint and update cover image handling

- Removed the ProjectPublicCoverImagesEndpoint and its associated URL from the project.
- Updated the cover image handling in the cover-image helper to utilize imported assets instead of static paths.
- Cleaned up the ProjectFavoritesViewSet and FileService by removing the now obsolete getProjectCoverImages method.

This update streamlines the cover image management and eliminates unnecessary code, enhancing overall maintainability.

* refactor: update cover image imports to new asset structure

- Replaced static path imports for cover images with updated paths to the new asset structure.
- This change improves organization and maintainability of cover image assets in the project.

This update aligns with recent refactoring efforts to streamline cover image handling.

* feat: add additional cover images to the helper

- Imported new cover images (24 to 29) into the cover-image helper.
- This update expands the available cover image options for use in the project, enhancing visual variety.

* refactor: remove ProjectPublicCoverImagesEndpoint from project URLs and views

* refactor: update cover image imports to include URL query parameter

- Modified cover image imports in the cover-image helper to append a URL query parameter for better asset handling.
- This change enhances the way cover images are processed and utilized within the project.

* refactor: extract default project form values into a utility function

- Created a new utility function `getProjectFormValues` to encapsulate the default project form values.
- Updated the `CreateProjectForm` component to use this utility function for setting default form values, improving code organization and maintainability.

* feat: integrate project update functionality in CreateProjectForm

- Added `updateProject` method to the `CreateProjectForm` component for updating project cover images after creation.
- Enhanced cover image handling by ensuring the correct URL is set for both uploaded and existing cover images.
This update improves the project creation workflow and ensures cover images are accurately updated.

* fix: update documentation for cover image handling

- Corrected the comment regarding local static images to reflect that they are served from the assets folder instead of the public folder.
- This change ensures accurate documentation for the `getCoverImageType` and `getCoverImageDisplayURL` functions, improving clarity for future developers.

* feat: implement random cover image selection for project forms

- Replaced the default cover image URL with a new utility function `getRandomCoverImage` that selects a random cover image from the available options.
- Updated the `getProjectFormValues` function to utilize this new method, enhancing the project creation experience with varied cover images.

---------

Co-authored-by: Prateek Shourya <[email protected]>
2025-12-03 16:20:38 +05:30
8a3b90ce51 [WEB-5493] feat: static cover images (#4897)
* feat: implement cover image handling and static image selection

- Added functionality to handle cover image uploads and selections in project and profile forms.
- Introduced a new helper for managing cover images, including static images and uploaded assets.
- Updated components to utilize the new cover image helper for displaying and processing cover images.
- Added a set of static cover images for selection in the image picker.
- Enhanced error handling for image uploads and processing.

This update improves the user experience by providing a more robust cover image management system.

* refactor: rename STATIC_COVER_IMAGES_ARRAY to STATIC_COVER_IMAGES for consistency

- Updated the cover image helper to export STATIC_COVER_IMAGES instead of STATIC_COVER_IMAGES_ARRAY.
- Adjusted the ImagePickerPopover component to utilize the renamed export for rendering static cover images.

* feat: enhance project creation and image handling

- Introduced default project form values with a random emoji for logo props.
- Updated cover image handling in various components, ensuring consistent usage of the new cover image helper.
- Refactored image picker to improve search functionality and loading states.
- Removed unused constants and streamlined cover image type checks for better clarity and performance.

This update enhances the user experience in project creation and image selection processes.

* refactor: simplify cover image type definition and clean up code

- Removed duplicate type from TCoverImageType, streamlining the definition.
- Cleaned up whitespace in the cover image helper for improved readability.

This update enhances code clarity and maintains consistency in cover image handling.

* refactor: update cover image type definitions and simplify logic

- Changed ICoverImageResult and ICoverImagePayload interfaces to type aliases for better clarity.
- Simplified the logic in getCoverImageDisplayURL function to enhance readability and maintainability.

This update improves the structure and clarity of the cover image helper code.

* refactor: remove unused project cover image endpoint and update cover image handling

- Removed the ProjectPublicCoverImagesEndpoint and its associated URL from the project.
- Updated the cover image handling in the cover-image helper to utilize imported assets instead of static paths.
- Cleaned up the ProjectFavoritesViewSet and FileService by removing the now obsolete getProjectCoverImages method.

This update streamlines the cover image management and eliminates unnecessary code, enhancing overall maintainability.

* refactor: update cover image imports to new asset structure

- Replaced static path imports for cover images with updated paths to the new asset structure.
- This change improves organization and maintainability of cover image assets in the project.

This update aligns with recent refactoring efforts to streamline cover image handling.

* feat: add additional cover images to the helper

- Imported new cover images (24 to 29) into the cover-image helper.
- This update expands the available cover image options for use in the project, enhancing visual variety.

* refactor: remove ProjectPublicCoverImagesEndpoint from project URLs and views

* refactor: update cover image imports to include URL query parameter

- Modified cover image imports in the cover-image helper to append a URL query parameter for better asset handling.
- This change enhances the way cover images are processed and utilized within the project.

* refactor: extract default project form values into a utility function

- Created a new utility function `getProjectFormValues` to encapsulate the default project form values.
- Updated the `CreateProjectForm` component to use this utility function for setting default form values, improving code organization and maintainability.

* feat: integrate project update functionality in CreateProjectForm

- Added `updateProject` method to the `CreateProjectForm` component for updating project cover images after creation.
- Enhanced cover image handling by ensuring the correct URL is set for both uploaded and existing cover images.
This update improves the project creation workflow and ensures cover images are accurately updated.

* refactor: standardize cover image handling across components

- Introduced a consistent approach for managing project cover images by utilizing a default cover image URL.
- Updated various components to use the new `getCoverImageDisplayURL` function for improved image handling.
- Removed hardcoded default cover image URLs and replaced them with a centralized constant, enhancing maintainability and reducing redundancy.

* feat: add new cover image and update project details type

- Introduced a new cover image asset (`image_1.jpg`) for use in project components.
- Updated the `TProjectDetails` type to include `cover_image_url`, enhancing the structure for project cover image handling.
- Modified the `IssueForm` component to utilize the new cover image when a project cover image URL is not provided.

* fix: update cover image entity type in project template handling

- Changed the entity type for uploaded cover images from `EFileAssetType.PROJECT_COVER` to `EFileAssetType.TEMPLATE_ATTACHMENT` in the CreateUpdateProjectTemplate component.
- Updated documentation in the cover-image helper to clarify the handling of local static images.

---------

Co-authored-by: Prateek Shourya <[email protected]>
2025-12-03 16:19:10 +05:30
SangeethaandGitHub b8a41ad5a0 [WEB-5560] fix: restrict guest users to view all details of a workspace members (#8215)
* fix: separate retrieve method in WorkspaceMemberViewSet

* fix: non project members accessing member detail:

* chore: error handle

* fix: role based response

* fix: use Enum
2025-12-03 16:06:46 +05:30
sriram veeraghantaandGitHub 3bc21c6c39 Merge branch 'preview' into sync/ce-ee 2025-12-03 15:56:01 +05:30
b49d962239 [WEB-5290] feat: selfhosted check (#4951)
* feat: add in common py

* fix: update marketing consent screen based on is self managed flag

* improvement: enhance ImagePickerPopover with dynamic tab options based on Unsplash configuration

* refactor: product updates modal to include changelog

* fix: PATCH endpoint project estimate validation (#7872)

* - Add SIGNED_URL_EXPIRATION environment variable (#8136)

- Update S3Storage to use configurable expiration time
  - Default remains 3600 seconds (1 hour) for backward compatibility
  - Add comprehensive unit tests with mocked S3 client
  - Update .env.example with documentation and examples

* [WEB-5290] feat: implement fallback for product updates changelog with loading state and error handling

* feat: add product updates header and changelog ee components

---------

Co-authored-by: sriramveeraghanta <[email protected]>
Co-authored-by: Samuel Torres <[email protected]>
Co-authored-by: Gustavo de Oliveira <[email protected]>
2025-12-03 15:55:28 +05:30
7c74d0a403 [WEB-5290] feat: selfhosted check (#8227)
* feat: add in common py

* fix: update marketing consent screen based on is self managed flag

* improvement: enhance ImagePickerPopover with dynamic tab options based on Unsplash configuration

* refactor: product updates modal to include changelog

* [WEB-5290] feat: implement fallback for product updates changelog with loading state and error handling

---------

Co-authored-by: sriramveeraghanta <[email protected]>
2025-12-03 15:53:42 +05:30
NikhilandGitHub b9d513e8d2 Merge branch 'preview' into sync/ce-ee 2025-12-03 14:12:16 +05:30
Gustavo de OliveiraandGitHub 5f7ffcb37a - Add SIGNED_URL_EXPIRATION environment variable (#8136)
- Update S3Storage to use configurable expiration time
  - Default remains 3600 seconds (1 hour) for backward compatibility
  - Add comprehensive unit tests with mocked S3 client
  - Update .env.example with documentation and examples
2025-12-03 10:52:19 +05:30
Samuel TorresandGitHub 584a1aa725 fix: PATCH endpoint project estimate validation (#7872) 2025-12-03 01:44:31 +05:30
Saurabh KumarandGitHub 1e1520b85f [SILO-699] chore: add check for feature enabled for module and cycle create (#8146)
* add check for feature enabled for module and cycle create

* add more checks
2025-12-03 01:26:52 +05:30
Dheeraj Kumar KetireddyandGitHub ff98f14b5a [WEB-5554] fix: Export work item types that are part of the view (#4941) 2025-12-02 18:09:43 +05:30
pushya22andGitHub eda7f7decf Merge pull request #4940 from makeplane/mobile-runway
promote: mobile runway to preview
2025-12-02 16:10:35 +05:30
NikhilandGitHub 48868fab46 [WEB-5558]fix: notifications and state for intake forms (#4938) 2025-12-02 15:58:13 +05:30
gurusinath fbc06054c2 Merge branch 'preview' of gurusainath:makeplane/plane-ee into mobile-runway 2025-12-02 15:56:59 +05:30
guru_sainathandGitHub ccbf9b1ae7 [MOB-1295] chore: integrated page mentions queries for workspace and project level with feature flag support (#4790)
* chore: Integrated the page mentions queries for workspace and project level and handled the feature flag for page mentions

* chore: resolved typos and validations

* chore: handled the page workitem in workspace level

* chore: made workitem mention separate

* chore: typo

* chore: typo

* chore: rmeoved the type converstion in return

* chore: added VIDEO_ATTACHMENTS feature flag

* chore: renamed the edito video attachements feature flag

* chore: updated none check in workitem
2025-12-02 15:47:05 +05:30
guru_sainathandGitHub d31f8aff21 chore: added is_intake and intake_id in issue browse query (#4795) 2025-12-02 15:46:28 +05:30
guru_sainathandGitHub 82bb376f3c chore: handled the tirage state forn intake (#4928) 2025-12-02 15:46:11 +05:30
guru_sainathandGitHub 61bffa4d63 [MOB-1317] fix: Resolved N+1 query issue for intake notifications (#4934)
* Notification n+1 query

* chore: removed cach in notification query

* chore: removed user fetching from time converter
2025-12-02 15:45:53 +05:30
Akshita GoyalandGitHub 643cea0e6f [PAI-867] fix: pi mentions bug fixes (#4869) 2025-12-02 14:39:59 +05:30
pushya22andGitHub 385414ef42 Sync: Community Changes #4933 2025-12-02 14:36:40 +05:30
SangeethaandGitHub 8b0a797906 fix: import error (#8213) 2025-12-02 13:55:54 +05:30
sriram veeraghantaandGitHub d1b2f53291 Sync: Community Changes #4927 2025-12-01 20:54:49 +05:30
pablohashescobar faf7e65fec feat: add intake_id and user_id to IntakeWorkItemTypeFormCreateSerializer context 2025-12-01 20:48:30 +05:30
pablohashescobar b4598e0aa7 fix: handle empty attachment_ids in update_assets function and refactor ExtendedIssueCreateSerializer to inherit from IssueCreateSerializer 2025-12-01 20:38:58 +05:30
Bavisetti NarayanandGitHub fb08554e96 [WEB-5551] chore: changed the key for states groups in initiatives #4929 2025-12-01 20:11:14 +05:30
pablohashescobar 590f3db839 Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee 2025-12-01 20:03:40 +05:30
Saurabh KumarandGitHub cea6f7530b [SILO-671] feat: add sticky external apis (#8139)
* add sticky external apis

* add created_at sort by to list

* remove select related method from query set
2025-12-01 18:57:54 +05:30
NikhilandGitHub a7e2e596bf [WEB-5518]: update magic code token to send code as 6 digit numbers (#8188)
* refactor: simplify token generation in MagicCodeProvider by using a numeric approach

* fix: update placeholder text for unique code input across multiple languages

* refactor: replace token generation with a numeric approach for user email updates

* fix: update placeholder text for unique code input in multiple languages to a numeric format

* refactor: replace random token generation with secrets for enhanced security in user email updates and magic code provider
2025-12-01 18:56:14 +05:30
b-saikrishnakanthandGitHub 23e2452b6c [WEB-5294] feat: feature flag added for intake responsibility (#4925) 2025-12-01 18:55:44 +05:30
Prateek Shourya 8ef34cab1a fix: merge conflicts
Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee
2025-12-01 17:20:54 +05:30
60220801ac [WEB-4338] fix: incorrect error code in project retrieve API (#7234)
* fix: project error message and status code

* fix: incorrect member role check

* fix: project error message and status code

* fix: improve project permission checks and error handling in ProjectViewSet

* feat: enhance project settings layout with better loading strategy and fix all flicker

* fix: prevent rendering during project loading in ProjectAuthWrapper

* refactor: adjust layout structure in ProjectDetailSettingsLayout and enhance access restriction logic in ProjectAccessRestriction

* refactor: replace ProjectAccessRestriction component with updated version and enhance error handling

- Deleted the old ProjectAccessRestriction component.
- Introduced a new ProjectAccessRestriction component with improved error handling and user prompts for joining projects.
- Updated translations for new error states in multiple languages.

* fix: enhance error handling in IssueDetailsPage and remove JoinProject component

---------

Co-authored-by: Dheeraj Kumar Ketireddy <[email protected]>
Co-authored-by: Prateek Shourya <[email protected]>
2025-12-01 17:14:01 +05:30
dde559dfc4 [WEB-4334] refactor: project layout loader and rendering conditions (#4841)
* fix: project error message and status code

* fix: improve project permission checks and error handling in ProjectViewSet

* feat: enhance project settings layout with better loading strategy and fix all flicker

* fix: prevent rendering during project loading in ProjectAuthWrapper

* refactor: update project layout routes and improve rendering conditions

- Modified project detail layout path to include projectId.
- Refactored settings layout to streamline project-related routes.
- Enhanced rendering conditions in various components to prevent unnecessary rendering when required data is missing.

* refactor: adjust layout structure in ProjectDetailSettingsLayout and enhance access restriction logic in ProjectAccessRestriction

* refactor: replace ProjectAccessRestriction component with updated version and enhance error handling

- Deleted the old ProjectAccessRestriction component.
- Introduced a new ProjectAccessRestriction component with improved error handling and user prompts for joining projects.
- Updated translations for new error states in multiple languages.

* refactor: streamline issue details rendering and improve error handling

* fix: enhance error handling in IssueDetailsPage and remove JoinProject component

* refactor: simplify SWR hooks in ProjectAuthWrapper for better readability

* fix: teamspace member check in project retriev api

---------

Co-authored-by: sangeethailango <[email protected]>
Co-authored-by: Dheeraj Kumar Ketireddy <[email protected]>
Co-authored-by: sriram veeraghanta <[email protected]>
2025-12-01 17:10:33 +05:30
b-saikrishnakanthandGitHub b0a8dcfa3f [WEB-5294] feat: Intake Settings UI for adding Intake responsible users (#4792) 2025-12-01 13:21:17 +05:30
Bavisetti NarayanandGitHub fec8ca88a4 [WEB-5464] chore: remove the archived project count in teamspace #4911 2025-12-01 12:51:23 +05:30
Bavisetti NarayanandGitHub f0340cd70c [WEB 5282] chore: added triage state for intake form and email (#4908) 2025-12-01 12:50:45 +05:30
Surya PrashanthandGitHub 50d482dc75 [SILO-723] feat: add options in custom property during create flow (#4893)
* [SILO-723] feat: add options in custom property in create property API

- To update or add more options, users have to use the dedicated options endpoint

* add validation for issue type and project during property creation

* pass type and project context in update apis
2025-11-28 19:07:00 +05:30
Dheeraj Kumar Ketireddy 9758f30fc5 Merge branch 'preview' into sync/ce-ee
Fixed merge conflicts

Conflicts:
	apps/api/plane/api/views/intake.py
	apps/api/plane/app/views/project/base.py
	apps/api/plane/bgtasks/dummy_data_task.py
	apps/api/plane/db/models/__init__.py
	apps/api/plane/db/models/state.py
	apps/api/plane/space/views/intake.py
2025-11-28 18:17:39 +05:30
sriram veeraghantaandGitHub c7bf912cf2 fix: state group choices (#8198) 2025-11-28 18:06:00 +05:30
sriramveeraghanta e1ba0c37f3 fix: merge conflicts 2025-11-28 16:27:08 +05:30