Commit Graph

291 Commits

Author SHA1 Message Date
sriram veeraghanta
740a7783c7 Sync: Community Changes #4237 2025-09-17 18:57:11 +05:30
Vamsi Krishna
877c117c37 [WEB-4943]fix: next path url redirection (#7817)
* fix: next path url redirection

* fix: enhance URL redirection safety in authentication views

Updated SignInAuthSpaceEndpoint, GitHubCallbackSpaceEndpoint, GitLabCallbackSpaceEndpoint, and GoogleCallbackSpaceEndpoint to include checks for allowed hosts and schemes before redirecting. This improves the security of URL redirection by ensuring only valid URLs are used.

* chore: updated uitl to handle double /

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
2025-09-17 18:52:35 +05:30
Jayash Tripathy
73cd9a0759 [WEB-4948] refactor: remove dashboard filter feature flag #4231 2025-09-17 17:03:28 +05:30
Saurabh Kumar
37360a5ad2 [SILO-474] Data Migrations for existing customers Github new flow (#4110)
* data migration and management command for github v1

* add check to support already splitted entity connections

* fix return and method name in migration

* add entity connection id arg and fixes

* remove log params
2025-09-17 17:02:30 +05:30
sriram veeraghanta
2f4e6d1258 Sync: Community Changes #4230 2025-09-17 16:16:42 +05:30
Nikhil
3d06189723 [WEB-4943] refactor: enhance URL validation and redirection logic in authentication views (#7815)
* refactor: enhance URL validation and redirection logic in authentication views

* Updated authentication views (SignInAuthSpaceEndpoint, GitHubCallbackSpaceEndpoint, GitLabCallbackSpaceEndpoint, GoogleCallbackSpaceEndpoint, and MagicSignInSpaceEndpoint) to include url_has_allowed_host_and_scheme checks for safer redirection.
* Improved URL construction by ensuring proper formatting and fallback to base host when necessary.
* Added get_allowed_hosts function to path_validator.py for better host validation.

* refactor: improve comments and clean up code in path_validator.py

* Updated comments for clarity in the get_safe_redirect_url function.
* Removed unnecessary blank line to enhance
2025-09-17 16:13:32 +05:30
sriram veeraghanta
747f669060 Sync: Community Changes #4225 2025-09-16 23:28:03 +05:30
Nikhil
6d3d9e6df7 [WEB-4943]: add url has allowed host or scheme for validating valid redirections (#7809)
* feat: enhance path validation and URL safety in path_validator.py

* Added get_allowed_hosts function to retrieve allowed hosts from settings.
* Updated get_safe_redirect_url to validate URLs against allowed hosts.
* Improved URL construction logic for safer redirection handling.

* feat: enhance URL validation in authentication views

* Added url_has_allowed_host_and_scheme checks in SignUpAuthSpaceEndpoint and MagicSignInSpaceEndpoint for safer redirection.
* Updated redirect logic to fallback to base host if the constructed URL is not allowed.
* Improved overall URL safety and handling in authentication flows.

* fix: improve host extraction in get_allowed_hosts function

* Updated get_allowed_hosts to extract only the host from ADMIN_BASE_URL and SPACE_BASE_URL settings for better URL validation.
* Enhanced overall safety and clarity in allowed hosts retrieval.
2025-09-16 21:37:08 +05:30
Prateek Shourya
e02fa2449c [WEB-4830] feat: add work item rich filters (#3747)
* feat: rich filters store architecture and UI components

* feat: add work item layout filter HOC

* improvements: minor enhancements for rich filters
* added button configuration to add filters button
* added option to disable transition for filter item
* fixed filter item label truncation
* added support for changing work item filter config keys

* improvements: add filter button config initialization

* improvements: work item layout filter compatibility fixes

* refactor: update filter structure and improve type safety across automation and rich filters

- Changed filter property types to use TFilterProperty and TFilterValue for better type consistency.
- Updated various components and hooks to utilize new type definitions, enhancing type safety.
- Refactored filter configuration and adapter logic to accommodate the new types, ensuring compatibility with existing functionality.
- Improved handling of filter expressions and conditions, streamlining the overall filter management process.

* chore: restructure rich filter utils

* refactor: optimize filter value handling and update automation condition types

- Removed unnecessary condition checks in automation details sidebar trigger.
- Enhanced filter value input to handle empty states more gracefully.
- Updated filter helper methods to return both optimal operator and transformed value.
- Adjusted filter instance logic to accommodate changes in operator and value updates.
- Modified type definitions for automation conditions and filter configurations to support SingleOrArray types.
- Added utility functions for transforming values based on operator requirements.

* fix: handle single-value operators in automation condition filters

* fix: build errors

* chore: refactor work item filters to core with enterprise extensibility

* chore: update clear filters logic from project work item empty state

* chore: remove header filters selection from project work item list

* chore: remove header filters selection from project work item list mobile header

* feat: add work item filters bar to support save and update views

* feat: add visibility button to filters bar

* chore: minor fixes for work item filters adapter

* feat: enhance filters bar with async save and update handling

* chore: minor ux fixes for filters bar

* refactor: split updateCondition into separate operator and value update methods

* feat: add save and update view options to rich filter instance

* chore: minor fixes in clear filters

* feat: project level work item filters hoc with save and update view options

* chore: minor UX improvements for view save and update options

* chore: ordering fix in work item filters store

* improvement: enhance work item filters with consistent naming and memoization optimization

* feat: different variants for filters row

* feat: implement rich filters in create and update project view modal

* chore: ensure that max visible conditions are only visible in header variant

* feat: add tracker elements for clear filter, save view, and update view

* feat: update layout filter if view is updated from modal

* feat: implement rich filters for project archived work items

* feat: implement rich filters for cycle work items

* feat: implement rich filters for module work items

* chore: remove module applied filters header

* feat: implement rich filters in epics layout

* feat: implement rich filters in workspace views

* chore: remove router filter params from all issue layout root

* feat: implement rich filters for profile work items

* fix: shouldNotifyChangeForExpression should be called before clearing the filter expression

* refactor: get all the entities from props to generate work item config

* feat: implement rich filters for teamspace work items

* feat: implement rich filters for teamspace views

* feat: implement rich filters for teamspace project work items

* feat: implement rich filters for teamspace views create / update modal

* chore: remove all instances of FilterSelection component

* chore: clean up filters from FilterSelection

* feat: add LegacyToRichFiltersConverter and BaseIssueFilterSet for enhanced filtering capabilities

- Introduced LegacyToRichFiltersConverter to automate conversion from legacy filter formats to rich filter JSON structure, including validation features for UUIDs, choices, and dates.
- Added BaseIssueFilterSet with custom filter methods for handling soft delete exclusions and direct field lookups for the Issue model.
- Updated README.md to document the new converter and filter set usage, including examples and configuration options.

* feat: implement migrations for rich filters in core and EE models

- Added migration scripts to convert legacy filters to rich_filters format for core models (IssueView, WorkspaceUserProperties, etc.) and EE models (EpicUserProperties, InitiativeUserProperty, TeamspaceUserProperty).
- Introduced utility functions for migrating and clearing rich_filters, enhancing the migration process.
- Updated date validation in the LegacyToRichFiltersConverter to utilize dateutil.parser for improved flexibility in date format handling.
- Enhanced README.md to reflect changes in date validation capabilities.

* fix: build errors

* feat: refactor rich filter config and utils to support complex and extended filters

* feat: add `state_group` to project level filters

* chore: minor updates for work item filter configs

* feat: add state group set filter

* feat: add project and teamspace project filters

* chore: remove filters-selection component

* Updated IssueViewset to use complexfilter backend and made improvements to grouping.

- Refactored IssueListEndpoint and IssueViewSet to utilize new filtering and grouping features, enhancing query efficiency.
- Updated issue grouping functions to accept a queryset parameter, improving flexibility and performance.
- Optimized AND operations through branch-based evaluation.

* Changed the rich filters query param to 'filters'

* chore: integrate project work item rich filters with backend

* refactor: page wise filter constants

* chore: minor build fixes

* feat: integrate rich filters across all work item layouts

* fix: view update on additional changes

* chore: enabled filter item transition

* chore: remove total filters from view list item

* feat: add work item subscriber filter

* added custom UUIDInFilter and update filterset to utilize it

* fix: handle empty filters with empty object instead of null

* Fixed bug with updating issues

* fix: disable save view in epic layout

* chore: update state group set filter label

* fix: filter item early return re-render error

* fix: space app build

* fix: web build

* added CharInFilter and enhanced BaseFilterSet to support exact filters

* add subscriber ID filters to BaseIssueFilterSet

* simplify filter definitions in BaseIssueFilterSet by removing unnecessary lookup expressions

* Use comma separated values for in and range filters

* Fixed issue creation

* fix: reset filter condition when operator changes to different config type

* fix: only show work item type filter if enabled for project

* chore: minor fix in cleanup function and sub work item types

* fixed date rage filter

* fix: initial work item filters for global view, project view, teamspace view, initial work item filters for static views

* fix: add condition with negation operator

* fix: reset filters when project and teamspace view layouts unmount

* Enhance issue filtering capabilities across multiple views by integrating ComplexFilterBackend and BaseIssueFilterSet. Refactor issue querysets to apply filtering and annotations consistently, improving performance and maintainability.

* chore: update epic filters to show by layout

* Enhance issue queryset by applying annotations for improved data handling in WorkspaceViewIssuesViewSet.

* Fixed workspace issue viewset

* feat: add rich_filters support to multiple user properties endpoints

* fix: incorrect count

* improvement: update filters dropdowns height to full

* refactor: update filter label from "Grouping" to "Work item group" for clarity

* improvement: update work item filters list order

* feat: sanitize and stabilize filter expressions before external conversion

* chore: reorder add filter button in filters row

* feat: enhance issue viewsets by adding prefetch_related for improved performance and data retrieval across multiple endpoints. Refactor queryset handling to streamline filtering and annotations.

* feat: apply static view filters to workspace issues

* chore: minor updates for global view rich filters

* fix: local storage filters

* refactor: update issue filter handling to use new supported filter types

- Replaced instances of EIssueFilterType with TSupportedFilterTypeForUpdate in various components and stores.
- Updated filter update methods to utilize the new filter type structure for better consistency and maintainability.
- Removed deprecated filter handling logic across multiple files, streamlining the filter update process.

* feat: enable rich filters for cycle and module analytics progress stats

Refactored progress statistics components to support advanced filtering capabilities across cycles and modules. Added new shared components for assignee, label, and state group progress tracking with consistent filtering interface.

* refactor: update sub-issue filter components to use available filters

- Replaced layoutDisplayFiltersOptions with availableFilters in SubIssueFilters and related components for better filter management.
- Introduced new constants for available filters specific to work item and initiatives pages.
- Cleaned up unused imports and improved filter enabling logic for clarity and maintainability.

* chore: disable operator selection when filter is disabled or only one operator option is available

* refactor: enhance filter components to support disabled state

* chore: minor cleanup

* reorderd the data migration for rich filters

* refactor: rich filter utils structure

* refactor: reuse traversal and transformation utilities

* refactor: use type guards in rich filters

* cleanup: remove unused comment

* refactor: restructure filter system with extended rich filters support

- Rename and reorganize filter modules for better structure
  - complex_filter.py → filter_backend.py
  - migration_utils.py → filter_migrations.py
  - Remove custom_filters.py (inlined into filterset.py)

- Create extended filter system with inheritance hierarchy
  - Add extended/ directory with enhanced converters and filtersets
  - Support additional enterprise fields (team_project_id, type_id)
  - Maintain base functionality while adding extended features

- Centralize imports through clean public API
  - Update all view imports to use plane.utils.filters module
  - Extended classes automatically override base implementations
  - Maintain backward compatibility

- Rename BaseIssueFilterSet to IssueFilterSet across codebase
- Update migration files to use new converter structure
- Consolidate filter utilities for better maintainability

* Added missing param

* refactor: restructure rich filters by removing obsolete operator files and introducing core and extended operator configurations

* refactor: restructure rich filters utils

- Streamlined exports in rich-filters index files for factories, operations, types, and validators.
- Removed obsolete core types and operators, integrating their functionalities into a more cohesive structure.
- Introduced new factory and operation files to enhance modularity and maintainability.
- Improved type guards and utility functions for better type safety and clarity in filter operations.

* refactor: enhance operator handling in rich filters

- Introduced `getOperatorForPayload` utility to streamline operator normalization and negation handling across filter components.
- Updated various filter-related files to utilize the new utility, improving code clarity and reducing redundancy.
- Refactored condition addition logic to leverage the new operator handling, ensuring consistent behavior in filter expressions.

* Updated migration sequence

* refactor: update filter constants and types for consistency

- Renamed filter-related constants from `FILTER_TYPE_OPTIONS` to `FILTER_FIELD_TYPE_OPTIONS` for clarity.
- Updated references in various components and stores to use the new naming convention.
- Introduced new field type configurations to enhance filter handling and maintainability across the application.

* feat: enhance shared-state and rich filters integration

- Added new filter components and utilities to the shared-state package, improving the filter expression handling.
- Introduced `AddFilterButton`, `FilterItem`, and various input components for rich filters, enhancing user interaction.
- Updated existing components to utilize the new shared-state functionalities, ensuring consistency across the application.
- Refactored filter-related logic to streamline the integration of work item filters and improve maintainability.

* refactor: use factory functions instead of shared-state adapter

* fix: update filter helpers to handle negation correctly

* chore: minor comment cleanup

* feat: introduce new filter configurations and utilities for work item filters

- Added various filter configurations including cycle, date, label, module, priority, project, state, teamspace, user, and work item type.
- Implemented helper functions for multi-select and single-select configurations to streamline filter creation.
- Enhanced existing filter utilities to support new configurations, improving the overall filter management system.
- Organized filter-related code into dedicated files for better maintainability and clarity.

* feat: add rich filters types

* feat: add rich filters constants

* feat: add rich filters utils

* feat: add rich filters store in shared state package

* feat: add rich filters UI components

* chore: minor updates and fixes.

* chore: update pnpm lock file.

* [WEB-4842] feat: enhance rich filters with complex filter support and improved code organization

* chore: remove state group set from state filter

* chore: remove state group set from work item rich filters

* replace DashboardWidgetIssueFilterSet with IssueFilterSet in WidgetListEndpoint

- Removed the custom DashboardWidgetIssueFilterSet class and replaced it with the existing IssueFilterSet.
- This change simplifies the filter logic for the WidgetListEndpoint, leveraging the existing functionality of IssueFilterSet.

* removed state_group_set filter and related logic from IssueFilterSet

* fix: make setLoading optional in loadOptions function for improved flexibility

* fix: automation condition item value display

* chore: minor cleanup and updates

* chore: revert un-needed changes

* chore: remove duplicate exports

* chore: minor improvements to rich filters

* chore: minor improvements

* code cleanup and minor fixes

* chore: minor change

---------

Co-authored-by: JayashTripathy <jayashtripathy371@gmail.com>
Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
2025-09-16 21:28:20 +05:30
sriram veeraghanta
1a61cb162f Sync: Community Changes #4217 2025-09-16 20:29:06 +05:30
Nikhil
4d17637edf [WEB-4943] refactor: streamline URL construction in authentication views (#7806)
* refactor: streamline URL construction in authentication views

* Updated MagicSignInSpaceEndpoint and MagicSignUpSpaceEndpoint to directly construct redirect URLs using formatted strings instead of the get_safe_redirect_url function.
* Enhanced get_safe_redirect_url to use quote for safer URL encoding of parameters.

* refactor: enhance URL validation and redirection in authentication views

* Added validate_next_path function to improve the safety of redirect URLs in MagicSignInSpaceEndpoint and MagicSignUpSpaceEndpoint.
* Updated URL construction to ensure proper handling of next_path and base_url.
* Streamlined the get_safe_redirect_url function for better parameter encoding.

* refactor: unify URL redirection logic across authentication views

* Introduced validate_next_path function to enhance URL safety in SignInAuthSpaceEndpoint, SignUpAuthSpaceEndpoint, GitHubCallbackSpaceEndpoint, GitLabCallbackSpaceEndpoint, and GoogleCallbackSpaceEndpoint.
* Updated URL construction to directly format the redirect URL, improving clarity and consistency across multiple authentication views.
2025-09-16 18:44:26 +05:30
sriram veeraghanta
a0062f4a12 Sync: Community Changes #4211 2025-09-16 11:00:16 +05:30
Nikhil
56d3a9e049 [WEB-4900] refactor: remove base_host retrieval from authentication views (#7804)
* refactor: remove base_host retrieval from authentication views

* Removed unnecessary base_host retrieval from GitHub, GitLab, and Google callback endpoints.
* Updated MagicSignUpEndpoint to use get_safe_redirect_url for URL construction.
* Refactored MagicSignInSpaceEndpoint to streamline URL redirection logic.

* refactor: streamline URL redirection in MagicSignInSpaceEndpoint

* Removed redundant base_url retrieval from the exception handling in MagicSignInSpaceEndpoint.
* Enhanced the clarity of URL construction by directly using get_safe_redirect_url.
2025-09-16 10:57:20 +05:30
sriram veeraghanta
3646ae4465 Sync: Community Changes #4209 2025-09-16 01:29:09 +05:30
sriram veeraghanta
1f7eef5f81 chore: django import error 2025-09-16 01:24:48 +05:30
sriram veeraghanta
3dbc5d97f7 fix: merge conflicts 2025-09-16 01:12:55 +05:30
Nikhil
345dfce25d [WEB-4900]: validated authentication redirection paths (#7798)
* refactor: replace validate_next_path with get_safe_redirect_url for safer URL redirection across authentication views

* refactor: use get_safe_redirect_url for improved URL redirection in SignInAuthSpaceEndpoint and SignUpAuthSpaceEndpoint

* fix: redirect paths

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-09-16 00:01:06 +05:30
sriram veeraghanta
3ca6af1fe8 Merge branch 'preview' into sync/ce-ee 2025-09-15 19:03:46 +05:30
Bavisetti Narayan
116c8118ab [WIKI-659] chore: added issue relation and page sort order (#7784)
* chore: added issue relation and page sort order

* feat: add ProjectWebhook model to manage webhooks associated with projects

* chore: updated the migration file

* chore: added migration

* chore: reverted the page base code

* chore: added a variable for sort order in pages

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2025-09-15 18:36:00 +05:30
Bavisetti Narayan
59e791d56f [WIKI-608] feat: nested pages in teamspaces (#4103)
* chore: added nested pages in teamspace

* chore: changed the view set

* chore: added restore endpoint for project pages

* chore: added query parameters for listing archived pages

* fix: added support for nested pages

* fix: archive and move pages are present

* chore: added sub pages count

* chore: removed the duplicated code

* chore: changed the entity name for teamspace

* fix: teamspace bugs

* chore: added the sub pages filter

* fix: feature flag added

* fix: teamspace pages ff removed

* chore: added the parent select relataed

* fix: lint issues

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-09-12 21:03:50 +05:30
sriram veeraghanta
dca46fd74c promote: mobile runway to preview #4195 2025-09-12 18:28:10 +05:30
guru_sainath
d4d3343c05 [MOB-1179] fix: make work item link title optional and add metadata to epic/work item links (#4183)
* fix: made the link title optional in workitem and added metadata in epic and workitem link

* dev: replaced dict with json
2025-09-12 16:47:47 +05:30
guru_sainath
dba096e31b fix: duplicating the cycle activity when we add the cycle to workitem (#4182) 2025-09-12 16:47:23 +05:30
guru_sainath
05c47c5aa4 [MOB-985] dev: handled the epic in push notification background job, and updated catchup, and notification queries (#4180)
* dev: handled the epic in push notification, catchup, and notification queries and background job

* dev: handled none in push notification
2025-09-12 16:46:50 +05:30
guru_sainath
4cc6a40f99 dev: handled the project details and workitem identifier in user favorites and recents (#4097) 2025-09-12 16:45:18 +05:30
guru_sainath
f11f5d43dc [MOB-1155] chore: handle catch-up types and validations in notification system (#4063)
* dev: updated catch-up return values

* dev: replaced created_at with updated_at in catchup base query while filtering

* dev: handled the catchup order

* chore: updated bool
2025-09-12 16:44:40 +05:30
sriram veeraghanta
e6455ee1ec Sync: Community Changes #4191 2025-09-12 16:43:49 +05:30
sriram veeraghanta
c3e7cfd16b [WEB-4723] fix: disable project features on project create (#7625)
* fix: disbale project features on project create

* Implement migration 0105 to alter project cycle view fields to Boolean with default values

* Add project view settings in workspace seed task

* Add is_current_version_deprecated field to Instance model

Index user_id field in Session model

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2025-09-12 13:01:03 +05:30
Sangeetha
d4b1a31715 [WEB-4892]fix: 400 error on project creation #4187 2025-09-11 20:01:51 +05:30
pushya22
b76aec4b1b Sync: Community Changes #4185 2025-09-11 19:01:54 +05:30
Dheeraj Kumar Ketireddy
b60f12a88e [WEB-4861] fix: update redirection path in MagicSignInEndpoint to home page (#7774)
* fix: update redirection path in MagicSignInEndpoint to home page

* Use / for clarity
2025-09-11 18:56:32 +05:30
vamsikrishnamathala
3e6aee670d Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee 2025-09-11 17:55:52 +05:30
Sangeetha
8ee665f491 [WEB-4875] fix: unsubscribed work items on workspace subscribed work item filter #7775 2025-09-11 17:52:51 +05:30
Sangeetha
6b08c22043 chore: workspace admin access (#4138)
* chore: added access for workspace admin to edit project settings

* chore: workspace admin to update members details

* chore: workspace admin to label, state, workflow settings

* Revert "chore: added access for workspace admin to edit project settings"

This reverts commit 803b56514887339d884eaef170de8a9e4ecfda8c.

* chore: updated worspace admin access for projects

* Revert "chore: workspace admin to update members details"

This reverts commit ac465d618d7a89ef696db3484e515957b6b5e264.

* Revert "chore: workspace admin to label, state, workflow settings"

This reverts commit f01a89604e71792096cbae8e029cac160ea209fb.

* chore: workspace admin access in permission classes and decorator

* chore: check for teamspace members

* chore: refactor permission logic

* [WIKI-632] chore: accept additional props for document collaborative editor (#7718)

* chore: add collaborative document editor extended props

* fix: additional rich text extension props

* fix: formatting

* chore: add types to the trailing node extension

---------

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

* [WEB-4854] chore: project admin accesss to workspace admins (#7749)

* chore: project admin accesss to workspace admins

* chore: frontend changes

* chore: remove console.log

* chore: refactor permission decorator

* chore: role enum

* chore: rearrange role_choices

* Potential fix for code scanning alert no. 636: URL redirection from remote source (#7760)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* [WEB-4441]fix: members account type dropdown position #7759

* [WEB-4857] fix: applied filters root update #7750

* [WEB-4858]chore: updated content for error page (#7766)

* chore: updated content for error page

* chore: updated btn url

* fix: merge conflicts

* fix: merge conflicts

* fix: use enum for roles

---------

Co-authored-by: vamsikrishnamathala <matalav55@gmail.com>
Co-authored-by: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Vamsi Krishna <46787868+vamsikrishnamathala@users.noreply.github.com>
2025-09-11 16:44:00 +05:30
sriram veeraghanta
8d354b3eb2 Potential fix for code scanning alert no. 636: URL redirection from remote source (#7760)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-11 14:18:13 +05:30
Sangeetha
ec541c2557 [WEB-4854] chore: project admin accesss to workspace admins (#7749)
* chore: project admin accesss to workspace admins

* chore: frontend changes

* chore: remove console.log

* chore: refactor permission decorator

* chore: role enum

* chore: rearrange role_choices
2025-09-11 14:16:36 +05:30
sriramveeraghanta
7d1d4241fd fix: merge conflicts 2025-09-10 17:19:52 +05:30
sriramveeraghanta
30b175108b chore (deps): django and vite version bump 2025-09-10 13:38:30 +05:30
Saurabh Kumar
db1f91d045 [SILO-388][WEB-4702] OAuth and Application Creation Flow Changes (#4031)
* [SILO-388][WEB-4702] Merge integrations screen and applications screen (#3708)

* refactor: merge integrations and applications page changes

* remove applications from navigations tile

* show tabs only with owned apps present

* refactor: hardcode legacy integrations in list for selfhosted

* redirect to setup url for external apps if available

* fix wrong url redirect to applications page

* add app workspace installations api (#3921)

* [SILO-448] Get App installation is allowed for a users workspaces (#3925)

* check if app installation is allowed

* rename installation to state

* optimise query using map

* optimise query using map

* optimise query via limited resource usage

* fix: ux updates

* fix: added revoke modal

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>

* user app disconnect api + member app install flow (#3886)

* chore: use app slug for update app use case

*   feat: enhance application form with new input components and layout improvements

- Introduced new form components including InputField, RichTextField, and FormSection for better structure and reusability.
- Updated CreateUpdateApplication form to utilize new components, improving readability and maintainability.
- Enhanced styling for various elements, including AppTile and AppList, to improve user experience.
- Added a collapsible section feature in the form for better organization of input fields.
- Improved integration of category selection and attachment upload functionalities.

*  feat: add collapsible sections to application form for improved organization

*  feat: enhance application details view with categorized app lists and update environment variables

- Added new environment variables for silo base URL and path.
- Refactored AppListRoot to categorize installed, third-party, and internal applications.
- Improved AppTile layout for better visual hierarchy and responsiveness.

*  feat: add RegenerateClientSecretModal for managing client secrets

- Introduced a new modal component for regenerating client secrets in the application settings.
- Implemented functionality to copy application ID, client ID, and display a masked client secret.
- Enhanced user experience with toast notifications for successful copy actions and modals for regenerated credentials.

*  feat: enhance application management with improved app lists and dynamic modals

- Refactored AppListRoot to consolidate app categorization, displaying all apps, owned apps, and internal apps more effectively.
- Updated GeneratedCredentialsModal to support dynamic titles and descriptions based on the creation or update mode.
- Enhanced CreateUpdateApplication form with new input fields for company name and improved label structures for better clarity.
- Improved user feedback in RegenerateClientSecretModal by passing the mode for better context in the credentials modal.

* ♻️  refactor: reordered form fields and input added some translations

* ♻️  refactor: cleanup

*  feat: enhance UI components with improved spacing and new icons

* ♻️  refactor: cleanup

* 📝 chore: update translations

* 🚨 fix: lint

* 🚨 fix: lint

* 🗑️ chore: remove unused ApplicationTextareaField component

* chore: update application form and translations

*  feat: enhance application form and update translations

- Updated the SettingsHeading component to include a bottom border for improved UI.
- Refactored the application form by removing unused imports and organizing field components.
- Enhanced translations across multiple languages to provide clearer instructions regarding app installation permissions.

* 🔧  fix: adjust button spacing in AppTile

* fix: format web, silo and i18n changes

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
Co-authored-by: Jayash Tripathy <76092296+JayashTripathy@users.noreply.github.com>
2025-09-10 13:27:20 +05:30
sriram veeraghanta
1aed863d61 fix: merge conflicts 2025-09-10 02:07:42 +05:30
Anmol Singh Bhatia
56cd0fc445 [WEB-4025] fix: external user comment and reaction (#7692)
* chore: reactions types updated

* fix: external user comments

* fix: external user reactions

* chore: added display name for actor

* chore: merge conflicts

* chore: updated the created_by and updated_by

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-09-09 23:50:11 +05:30
M. Palanikannan
99bc4262c5 [WIKI-654] fix: version history to load from html (#7754)
* fix: versions history to load from html

* chore: added json and stripped to store in version history (#7755)

---------

Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2025-09-09 19:26:19 +05:30
sriramveeraghanta
cd6d708e23 fix: share page email template 2025-09-09 18:40:31 +05:30
Surya Prashanth
8529f55d49 [SILO-523] chore: add categories for applications #4155 2025-09-09 18:18:59 +05:30
sriram veeraghanta
7a3b1a2d4e [WIKI-652] feat: share page notification (#4154)
* feat: share page notification

* feat: enhance share page notification functionality and email template

- Added a new function to map page access levels to descriptive strings.
- Updated the share_page_notification task to include workspace name and email preference URL in the context.
- Improved email template formatting for better readability and added a link to manage email preferences.
- Refactored logging to use a dedicated logger instance.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2025-09-09 18:18:19 +05:30
Bavisetti Narayan
f0c15cb97e [WIKI-649] chore: added restore endpoint for project pages (#4153)
* chore: added restore endpoint for project pages

* chore: removed project ids

* chore: grouped the page ids together

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-09-09 18:15:01 +05:30
Bavisetti Narayan
acee583e53 [WIKI-630] [WIKI-629] [WIKI-626] chore: organised the page comments folder (#4096)
* chore: organised the page comments folder

* chore: corrected the filter

* fix: parity

* fix: padding and spacing issues

* fix: dev wiki redirection

* fix: cancel icon on top of the reference text

* fix: hover styles and padding in new comment form

* fix: added back animations and better styles

* fix: show latest comment

* fix: comment creation handling fixed

* fix: border and hover states fix

* fix: truncate fixes

* fix: reply controller count values

* fix: scroll after opening reliably

* fix: add comment control

* fix: all other ux issues

* fix: count of showing/hiding

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-09-09 18:11:04 +05:30
Nikhil
89f6915764 [WEB-4856] feat: add workitem existence check in SubWorkitemTemplateEndpoint (#4142)
* feat: add workitem existence check in SubWorkitemTemplateEndpoint

* fix: update workitem existence check to include project_id in SubWorkitemTemplateEndpoint
2025-09-09 13:54:09 +05:30
sriram veeraghanta
f952e96f8d Sync: Community Changes #4149 2025-09-08 17:19:24 +05:30
Bavisetti Narayan
291101a8e5 chore: added attributes in ol tag (#7736) 2025-09-08 17:17:38 +05:30