Commit Graph

10272 Commits

Author SHA1 Message Date
guru_sainath
d06ba8cfd8 [MOBIL-1007] dev: Improve mobile auth web view — join workspace visibility, password confirmation, and invite handling via Google/GitHub (#3500)
* dev: password confirmation logic in mobile signup

* dev: updated the invitation acceptance in google and github authentication

* dev: handled the password strength in signin

* dev: updated password strength validation
2025-06-30 17:41:29 +05:30
guru_sainath
425f9189a0 [MOBIL-993] feat: Implement shared pages in workspace, project, and user-level queries with permission handling (#3498)
* dev: seperated the file structure for page queries

* dev: updated page mutation file structure

* dev: removed comments

* dev: shared pages in workspace and project level

* dev: updated project level shared page query

* dev: updated user level shared page query

* dev: updated yoour work page query

* dev: handled the isShared and isSharedAccess in page type

* dev: handled the page detail shated permission

* dev: handled the feature flag and handled it in workspace page permission

* dev: handled the move_to_page in global search

---------

Co-authored-by: Sainath <sainath@Sainaths-MacBook-Pro-2.local>
2025-06-30 17:41:15 +05:30
Bavisetti Narayan
70b583f6e2 [WIKI-502] fix: restricted access in pages (#3524) 2025-06-27 18:08:29 +05:30
Aaryan Khandelwal
f7f9d7e830 [WIKI-481] regression: editor parser build error 2025-06-27 16:58:14 +05:30
Aaryan Khandelwal
73042d026c [WIKI-481] fix: duplicate attachments when template is used #3486 2025-06-27 16:16:13 +05:30
pushya22
2c916d8456 Sync: Community Changes #3525
Sync: Community Changes
2025-06-27 16:14:37 +05:30
Aaryan Khandelwal
e09aeab5b8 [WIKI-481] refactor: editor parser #7261 2025-06-27 16:05:38 +05:30
Surya Prashanth
13c166c0f6 [SILO-305] chore: add util, migration for setting correct bot_type (#3507)
- instead of setting bot_type as APP_BOT on all bots, only set when
is_mentionable is True on the application
- add migration to back migrate all existing bot users
2025-06-27 14:34:41 +05:30
JayashTripathy
274603a532 [WEB-4371] feat: updated cycles and modules with lollipop chart (#3515)
* chore: replace ScatterChart with BarChart in analytics components and update chart configurations

* chore: update chart labels and tooltip end date in ModuleProgress component

* refactor: swap labels and colors for created and resolved issues in CreatedVsResolved component
2025-06-27 14:33:46 +05:30
Aaryan Khandelwal
ca887168bb [WIKI-501] fix: flagged extensions in slash commands (#3522) 2025-06-27 14:28:58 +05:30
Nikhil
154f602eda [WEB:4411]feat: extend order_by parameter validation in IssueViewSet and IssueDetailEndpoint (#3521)
- Added a method to validate the order_by parameter in both IssueViewSet and IssueDetailEndpoint, ensuring it corresponds to a defined set of sortable fields.
- Defaulted to sorting by created_at if the provided field is invalid, improving query robustness and consistency across views.
2025-06-27 13:07:43 +05:30
Nikhil
96cdf276fe [WEB-4410]feat: add validation for order_by parameter in WorkspaceViewIssuesViewSet #3519
- Implemented a method to validate the order_by parameter, ensuring it corresponds to valid sortable fields.
- Defaulted to sorting by created_at if the provided field is invalid, enhancing query flexibility and robustness.
2025-06-26 20:29:44 +05:30
Nikhil
252dd56f94 [WEB-4373] feat: add customer and customer request in workspace views based on feature flags (#3511)
* [WIKI-495] feat: add customer request fields to ViewIssueListSerializer and update WorkspaceViewIssuesViewSet for feature flag checks

- Enhanced ViewIssueListSerializer to conditionally include customer request fields based on user access.
- Updated WorkspaceViewIssuesViewSet to prefetch customer request issues when the feature flag is enabled for the workspace.
- Improved context handling in the serializer for better data representation.

* fix: improve pagination logic in OffsetPaginator

- Updated the pagination logic to use a duplicated queryset for accurate result slicing.
- Adjusted next_cursor calculation to ensure it reflects the correct number of results available for pagination.

* feat: enhance ViewIssueListSerializer to include customer request IDs

- Added a method to retrieve customer request IDs associated with issues.
- Updated the serializer's representation to include the new customer request IDs field.

* feat: add type_id to ViewIssueListSerializer representation

- Included type_id in the serialized output of ViewIssueListSerializer to enhance issue data representation.

* fix: refine pagination logic in OffsetPaginator

- Updated page_results to use .values("id") for optimized data retrieval.
- Adjusted next_cursor calculation to use page_results.count() for accurate pagination state.
2025-06-26 19:15:02 +05:30
Henit Chobisa
299e06d7fd [SILO-335] fix: added validation for semi colon separated values for assignees and labels (#3510) 2025-06-26 19:09:10 +05:30
Nikhil
a433cee9c3 [WEB-4398] feat: add teamspace project ID retrieval for user access (#3514) 2025-06-26 17:29:42 +05:30
Aaryan Khandelwal
0868c581ae [WIKI-495] fix: image full screen modal position #3517 2025-06-26 17:04:42 +05:30
Sangeetha
87b2c53ea3 [WEB-4396] fix: duplicate WI bugs #3513 2025-06-26 14:48:57 +05:30
sriram veeraghanta
26ef71e62c Sync: Community Changes #3512 2025-06-26 14:42:13 +05:30
sriram veeraghanta
7b3d0e621b Merge branch 'preview' into sync/ce-ee 2025-06-26 14:41:51 +05:30
Akshita Goyal
25a6cd49fc fix: added @plane/services to the web dependencies (#7271) 2025-06-26 14:33:13 +05:30
M. Palanikannan
cd667810d3 [WIKI-494] Fix: feature flag for shared pages in sidebar (#3509)
* fix: shared pages feature flag

* fix: empty state
2025-06-26 13:16:10 +05:30
sriram veeraghanta
0abb8e394c Sync: Community Changes #3503 2025-06-25 23:44:09 +05:30
JayashTripathy
b5538565c7 [WEB-4371] feat: bar chart component with lollipop shape variant (#7268)
* feat: enhance bar chart component with shape variants and custom tooltip

* Update packages/propel/src/charts/bar-chart/bar.tsx

removed the unknown props

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update packages/propel/src/charts/bar-chart/bar.tsx

removed console log

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* refactor: replace inline percentage text with PercentageText component in bar chart

* Added new variant - lollipop-dotted

* added some comments

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-25 23:43:10 +05:30
pablohashescobar
ba19784d64 Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee 2025-06-25 21:13:01 +05:30
M. Palanikannan
2528f2ec61 [WIKI-490] fix: live server shared access (#3505)
* fix: live server shared access

* fix: optimized this

* chore: changed the variable name

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-06-25 20:52:14 +05:30
Akshita Goyal
4899c6a2d7 [WEB-4382] fix: handled no page data (#3499)
* fix: handled no page data

* fix: empty array in the api response

---------

Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
2025-06-25 20:51:35 +05:30
JayashTripathy
5d799c15fa [WEB-4381] fix: Default value to completion percentage in project analytics table (#3496)
* fix: handle division by zero in projects insight table percentage calculation

* fix: handle NaN in percentage calculation for completed work items in projects insight table
2025-06-25 20:49:53 +05:30
Sangeetha
e6744fc9ed [WEB-4396] fix: duplicated work item bugs (#3502)
* fix: state_id

* chore: set default set

* chore: check if user is part of the project

* fix: add project_id filter
2025-06-25 19:58:36 +05:30
Bavisetti Narayan
a2c844f50f [WEB-4308] chore: added import statement for django settings #3506 2025-06-25 19:50:13 +05:30
Nikhil
b8043f92b1 [WEB-4373]: optimize backend query for workspace views and Project gantt view (#7267)
* feat: add IssueListDetailSerializer for detailed issue representation

- Introduced IssueListDetailSerializer to enhance issue data representation with expanded fields.
- Updated issue detail endpoint to utilize the new serializer for improved data handling.
- Added methods for retrieving related module, label, and assignee IDs, along with support for expanded relations.

* feat: add ViewIssueListSerializer and enhance issue ordering

- Introduced ViewIssueListSerializer for improved issue representation, including assignee, label, and module IDs.
- Updated WorkspaceViewIssuesViewSet to utilize the new serializer and optimized queryset with prefetching.
- Enhanced order_issue_queryset to maintain consistent ordering by created_at alongside other fields.
- Modified pagination logic to support total count retrieval for better performance.

* fix: optimize issue filtering and pagination logic

- Updated WorkspaceViewIssuesViewSet to apply filters more efficiently in the issue query.
- Refined pagination logic in OffsetPaginator to ensure consistent behavior using limit instead of cursor.value, improving overall pagination accuracy.

* fix: improve pagination logic in OffsetPaginator

- Updated the next_cursor calculation to use the length of results instead of cursor.value, ensuring accurate pagination behavior.
- Added a comment to clarify the purpose of checking for additional results after the current page.

* Move the common permission filters into a separate method

* fix: handle deleted related issues in serializers

- Updated IssueListDetailSerializer to skip null related issues when building relations.
- Enhanced ViewIssueListSerializer to safely access state.group, returning None if state is not present.
- Removed unused User import in base.py for cleaner code.

---------

Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
2025-06-25 19:10:24 +05:30
Aaryan Khandelwal
0e91feacc3 [WIKI-74] fix: peek overview closing on escape key #7259 2025-06-25 19:09:54 +05:30
Saurabh Kumar
032226a397 [SILO-285] Implement new OAuth flow for Gitlab Integration #3273 2025-06-25 19:04:28 +05:30
Henit Chobisa
d9c908dac1 [SILO-288] feat: Confluence Importer Version 1 Implementation (#3476)
* feat: added feature flag for confluence importer

* feat: modified content parser for removing default PTag extension

* feat: made controller generic for supporting both notion and confluence

* feat: moved notion extensions into driver folder

* feat: created zip driver factory and types

* feat: added notion import driver as extracted part

* chore: removed existing content parser

* feat: added body extractor extension

* feat: added collapsable and notes extension

* feat: added colors and icon parser extension

* feat: added file and page parser extensions

* feat: added task list extension for confluence

* feat: added confluence import driver

* feat: modified zip manager to extract out the tree logic

* feat: modified phases and base to use the driver instead of concrete implementation

* feat: added confluence as migrator job

* feat: added confluence import page

* feat: added notion and confluence components into common zip importer components

* feat: modified hooks and services to use common zip importer

* feat: modified services and store references for using confluence

* fix: remove unnecessary file

* fix: removed comment

* feat: corrected components for using serviceName as title

* feat: added translations

* chore: self review 1

* chore: self review 2, comments, phases and exports

* fix: path getting longer than 255 characters

* feat: added test for content parser

* fix: removed json stringify for colormap

* fix: resolved comments

* fix: enabled feature flag
2025-06-25 19:03:34 +05:30
Saurabh Kumar
a9b5f590f1 [SILO-334] Fix job not re running after cancelled #3495 2025-06-25 19:02:10 +05:30
JayashTripathy
7a291fecdf [WEB-4378] fix: update label translation in ProjectsByStatus component #3493 2025-06-25 19:00:53 +05:30
Bavisetti Narayan
08e025939f [WEB-4308] chore: added opensearch for issue comment (#3449)
* chore: added opensearch for issue comment

* chore: changed the instance to issue comment
2025-06-25 19:00:08 +05:30
Akshita Goyal
928cac1fd2 [WEB-4382] fix: handle no page data #3497 2025-06-25 15:34:55 +05:30
Bavisetti Narayan
2bff848ada fix: member roles with value (#3494) 2025-06-25 14:08:04 +05:30
Bavisetti Narayan
6358ca646c [WIKI-444] [WIKI-472] fix: shared pages bugs (#3478)
* fix: shared pages initilization for view access

* chore: optimised the logic for shared pages

* fix: lock control

* chore: cursor rules in gitignore

* chore: optimised the page query

* chore: combined the user map

* fix: should render

* chore: added the logic to unshare

* fix: can current user access page

* fix: blocking pages

* fix: page doesn't exist

* fix: empty state and unshared realtime

* fix: console log payload

* chore: updated the permission layer

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-06-24 21:21:35 +05:30
pushya22
96ac1d9ef8 Sync: Community Changes #3492
Sync: Community Changes
2025-06-24 20:28:14 +05:30
Prateek Shourya
40c0922726 [WEB-4387] fix: global layout when filter is set to list (#7264) 2025-06-24 20:25:26 +05:30
Aaryan Khandelwal
dee8f00a71 [WEB-4384] fix: power k page search redirection #7263 2025-06-24 20:24:35 +05:30
Dheeraj Kumar Ketireddy
ec8ed681de [WEB-4379] Fix: Excluded team spaces from the WorkspaceViewViewSet queryset. #3487 2025-06-24 20:13:50 +05:30
Dheeraj Kumar Ketireddy
0463d589dd [SILO-333] Fix: move app bot addition to project save method (#3485)
* refactor: move app bot addition to project save method

- Removed the signal handler for adding app bots to a project.
- Integrated app bot addition directly into the Project model's save method.
- Updated the add_app_bots_to_project function to exclude the user who created the project.

* Fixed import issues
2025-06-24 17:43:52 +05:30
Dheeraj Kumar Ketireddy
c7474b9f90 [SILO-323] Chore: Added short_id and slug for templates (#3475)
* feat: add short_id and slug fields to Template model with migration

* Added short_id and slug fields to the Template model for better identification and SEO.
* Implemented a migration to populate these fields for existing templates.
* Enhanced save method to generate short_id and slug if not set, ensuring uniqueness and proper formatting.

* feat: enhance Template model and serializers with short_id and URL validation

* Added a name_changed flag to the Template model to track name changes.
* Updated TemplateSerializer to include short_id and slug in read-only fields.
* Implemented URL validation in the name field of TemplateSerializer to prevent names containing URLs.
* Introduced a new utility function, generate_short_id, for generating unique identifiers.
* Modified PublishedTemplateEndpoint to use short_id instead of UUID for template retrieval.

* add unit tests for EE utilities and identifier generation

* Introduced unit tests for the EE utilities package, focusing on the identifier generation function.
* Implemented tests for various scenarios including default and custom lengths, uniqueness, character set validation, and cryptographic quality.
* Created new test files and directories to organize the unit tests effectively.
2025-06-24 16:27:13 +05:30
Akshita Goyal
b0bb7cbd82 [SILO-319] chore: github mapping ui enhancement (#3422)
* chore: github mapping ui enchancement

* fix: alt image
2025-06-24 16:24:49 +05:30
sriram veeraghanta
d9aaafb305 Sync: Community Changes #3484 2025-06-24 16:24:09 +05:30
Aaryan Khandelwal
eb12a1619c fix: merge conflicts resolved from preview 2025-06-24 16:23:35 +05:30
Bavisetti Narayan
f70574aa2c [WIKI-463] fix: display images in moved pages (#3468)
* fix: display images in moved pages

* fix: optimise the pages serach query

* chore: changed the archived filter
2025-06-24 16:23:33 +05:30
Aaryan Khandelwal
072f2e2cac [WEB-4363] regression: analytics tabs improvements #7260 2025-06-24 16:08:30 +05:30