Commit Graph
406 Commits
Author SHA1 Message Date
M. PalanikannanandGitHub 4bd7a554df [WIKI-727] fix: live server memory leak (big documents) (#4456) 2025-10-16 20:03:29 +05:30
NikhilandGitHub b31c7436ad fix: update import path for BaseAPIView in ExportIssuesEndpoint (#4506) 2025-10-16 16:49:12 +05:30
NikhilandGitHub c87006be4a feat: add ExportIssuesEndpoint to the API views (#4505) 2025-10-16 16:05:53 +05:30
NikhilandGitHub 43cf82ba9b Merge branch 'preview' into sync/ce-ee 2025-10-16 15:40:33 +05:30
NikhilandGitHub f266cd8414 [WEB-5162] fix: add exporter URL patterns for exporting issues (#7977)
* feat: add exporter URL patterns for exporting issues and update session cookie age handling

* fix: ensure ADMIN_SESSION_COOKIE_AGE is an integer for consistent session handling
2025-10-16 15:36:48 +05:30
NikhilandGitHub ea666f81f7 refactor: remove unused ExportIssuesEndpoint from exports (#4495) 2025-10-15 18:15:13 +05:30
Vipin ChaudharyandGitHub 51a0557aac [WIKI-716] fix: add drawio component tag in backend validation #4494 2025-10-15 17:16:47 +05:30
8156f46e00 [WEB-5006] feat: Add download option across feature sets (#4473)
* feat: enhance issue export functionality with filter support and new export formatters

- Added support for filters in the ExportIssuesEndpoint to refine issue exports.
- Introduced IssueDataExtractor and formatters (CSV, JSON, XLSX) for structured issue data export.
- Refactored issue export task to utilize new formatters and handle multiple export formats.
- Improved code organization by separating export logic into dedicated classes.

* refactor: streamline issue export process with new Exporter and formatters

- Replaced IssueDataExtractor and IssueExporter with a more generic Exporter class.
- Introduced new formatters (CSV, JSON, XLSX) for improved data export capabilities.
- Updated issue export task to utilize the new Exporter and IssueExportSchema for serialization.
- Removed deprecated IssueDataExtractor and related code for cleaner implementation.

* add comprehensive README for Exporters module

- Introduced a detailed README.md for the Exporters module, outlining its features, usage, and schema definitions.
- Documented support for multiple export formats (CSV, JSON, XLSX) and type-safe field definitions.
- Included examples for basic usage, advanced features, and best practices for exporting data.
- Enhanced clarity on custom transformations, field parameters, and context usage in schemas.

* feat: implement flexible data export utility with CSV, JSON, and XLSX support

- Introduced Exporter class for handling various data formats.
- Added formatters for CSV, JSON, and XLSX exports.
- Created schemas for defining export fields and their transformations.
- Implemented IssueExportSchema for exporting issue data with nested attributes.
- Enhanced issue export task to utilize the new exporter system for better data handling.

* refactor: enhance export functionality and streamline data handling

- Removed the serialization of issues from the issue_export_task, allowing the Exporter to handle both QuerySets and serialized data.
- Updated the Exporter class to accept Django QuerySets directly, improving efficiency and reducing manual serialization.
- Enhanced the README to reflect the new usage patterns, including exporting multiple projects separately and filtering fields during export.
- Refactored IssueExportSchema to utilize context for fetching attachments, simplifying the serialization process.

* feat: extend issue export capabilities with custom properties and relations

- Introduced ExtendedIssueExportSchema to include custom properties, relations, and additional fields like parent and initiatives in the issue export process.
- Enhanced issue_export_task to prefetch related data, improving performance and data integrity during exports.
- Updated existing IssueExportSchema to accommodate new fields and ensure compatibility with the extended schema.
- Added new utility functions for fetching custom properties associated with issues.

* refactor: streamline parent preparation logic in issue export schemas

- Updated the prepare_parent method in both IssueExportSchema and ExtendedIssueExportSchema to simplify the logic for handling parent issues.
- Ensured consistent formatting for non-epic parent issues by removing redundant checks in the base schema.

* feat: enhance issue export functionality with new relations and context handling

- Updated issue export task to utilize new IssueRelation model for better relationship management.
- Refactored Exporter class to accept QuerySets directly, improving performance and flexibility.
- Enhanced IssueExportSchema to include parent issues and relations in the export.
- Improved documentation for exporting multiple projects and filtering fields during export.

* feat: enhance export functionality with field filtering and context support

- Updated Exporter class to merge fields into options for formatting.
- Modified formatters to filter fields based on specified options.
- Enhanced ExportSchema to support optional field selection during serialization.
- Improved documentation for the serialize method to clarify field filtering capabilities.

* merge conflict fix

* fixed type

* feat: add export endpoints for issues, cycles, modules, and views

- Introduced new export endpoints in `export.py` for exporting issues, work items, cycles, modules, and views.
- Created corresponding view classes for each export type in the `exporter` module.
- Removed previous export-related paths from `issue.py` and updated imports accordingly.
- Enhanced the export task functionality to handle new export types and filters.

* feat: implement export functionality for various project elements

- Added new endpoints for exporting issues, work items, cycles, modules, views, intakes, and epics from projects.
- Introduced logging for export tasks to track progress and errors.
- Updated URL routing to include new exporter patterns.
- Removed deprecated exporter view files to streamline the codebase.
- Enhanced issue filtering capabilities with new filters for epics and intake work items.

* refactor: clean up whitespace and update URL patterns in export endpoints

* feat: add ExportIssuesEndpoint for exporting issues by workspace

---------

Co-authored-by: Dheeraj Kumar Ketireddy <[email protected]>
2025-10-15 16:01:12 +05:30
sriramveeraghanta a0c15b7609 fix: merge conflicts 2025-10-15 15:59:07 +05:30
NikhilandGitHub 1a9ebc8b68 [WEB-5071] chore: implement webhook logging to MongoDB and fallback to database (#7896)
* feat: implement webhook logging to MongoDB and fallback to database (#7887)

- Added a new function `save_webhook_log` to log webhook requests and responses to MongoDB, with a fallback to the database if the MongoDB save fails.
- Updated the `webhook_send_task` to utilize the new logging function.
- Modified the `get_webhook_logs_queryset` to order logs by creation date and adjusted the chunk size for iteration.

* refactor: clean up log data formatting in save_webhook_log function

* fix: update retry_count type in save_webhook_log function
2025-10-15 14:53:43 +05:30
Jayash TripathyandGitHub 0852fe38bc [WEB-5132] feat: add label-based grouping and filtering for initiatives (#4467) 2025-10-14 21:01:18 +05:30
Dheeraj Kumar KetireddyandGitHub b131578d19 [WEB-5004] fix: rename AutomatedCycle to CycleSettings and update related models (#4484)
* fix: rename AutomatedCycle to CycleSettings and update related models

- Changed the model name from AutomatedCycle to CycleSettings to better reflect its purpose.
- Removed fields that are not necessary

* removed unncessary dependancy on user model
2025-10-14 20:08:01 +05:30
53cc661f0d fix: added PI_BASE_PATH (#4192)
* fix: added PI_BASE_PATH

* feat: add PI_URL configuration for new PI service integration

* feat: include PI_BASE_URL in InstanceEndpoint configuration and response

* feat: add NEXT_PUBLIC_PI_BASE_URL and NEXT_PUBLIC_PI_BASE_PATH to Dockerfile for PI service integration

* fix: removed SILO variables

* fix: reverted instance file changes

---------

Co-authored-by: akshat5302 <[email protected]>
2025-10-14 19:59:49 +05:30
Bavisetti NarayanandGitHub 46b8661ea7 [WEB-5004] feat: models for automated cycles and milestone (#4290) 2025-10-14 18:13:51 +05:30
NikhilandGitHub d4c4460172 [WEB-4965] feat: enhance logging for authentication processes (#4247)
* feat: enhance logging for authentication processes

Added logging capabilities across various authentication adapters and views to capture warning messages for error scenarios, including state mismatches and missing tokens. Updated logging configuration in local and production settings to ensure proper logging levels for the authentication module.

* fix: correct formatting in authentication logging

Updated the SAML, GitLab, and Google authentication views to fix formatting issues by removing unnecessary trailing whitespace in logger warning calls. This improves code consistency and readability.

* fix: remove trailing whitespace in GitHub authentication logging

Cleaned up the GitHub OAuth provider and callback endpoint files by removing unnecessary trailing whitespace in logger warning calls. This enhances code consistency and readability.

* fix: remove trailing whitespace in GitHub callback logging

Eliminated unnecessary trailing whitespace in the logger warning call within the GitHubCallbackEndpoint class, improving code consistency and readability.

* Enhancement: Add logging for error handling in API views

- Introduced logging for ValidationError, ObjectDoesNotExist, and KeyError exceptions in BaseViewSet and BaseAPIView classes.
- Replaced previous log_exception calls with structured logging to capture error details.
- Improved error tracking and debugging capabilities in the API layer.
2025-10-14 17:32:11 +05:30
Bavisetti NarayanandGitHub 16c5baab55 Merge pull request #3700 from makeplane/chore-recent-visit
[WIKI-556] fix: remove recent visit on hover
2025-10-14 17:31:45 +05:30
sriram veeraghantaandGitHub 0cfdcc395d Sync: Community Changes #4478 2025-10-14 17:28:47 +05:30
Bavisetti NarayanandGitHub 606e34ec81 [WIKI-730] chore: handle body too large error (#7963)
* chore: added middleware to handle body too large

* chore: added middleware to handle body too large

* chore: indentend the code

* chore: changed the response structure

* chore: changed the response structure

* chore: created a new file for middleware

* chore: added a standardized error key
2025-10-14 17:21:11 +05:30
1f689059a6 [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#4466)
* [WEB-5134] refactor: update `web` ESLint configuration and refactor imports to use type imports

- Enhanced ESLint configuration by adding new rules for import consistency and type imports.
- Refactored multiple files to replace regular imports with type imports for better clarity and performance.
- Ensured consistent use of type imports across the application to align with TypeScript best practices.

* refactor: replace ee regular imports with type imports for improved clarity

* [WEB-5139] fix: custom menu item link (#7959)

* fix: custom menu link action

* chore: code refactor

* chore: code refactor

* [WEB-4999] feat: implement flexible data export utility with CSV, JSON, and XLSX support (#7884)

* feat: implement flexible data export utility with CSV, JSON, and XLSX support

- Introduced Exporter class for handling various data formats.
- Added formatters for CSV, JSON, and XLSX exports.
- Created schemas for defining export fields and their transformations.
- Implemented IssueExportSchema for exporting issue data with nested attributes.
- Enhanced issue export task to utilize the new exporter system for better data handling.

* feat: enhance issue export functionality with new relations and context handling

- Updated issue export task to utilize new IssueRelation model for better relationship management.
- Refactored Exporter class to accept QuerySets directly, improving performance and flexibility.
- Enhanced IssueExportSchema to include parent issues and relations in the export.
- Improved documentation for exporting multiple projects and filtering fields during export.

* feat: enhance export functionality with field filtering and context support

- Updated Exporter class to merge fields into options for formatting.
- Modified formatters to filter fields based on specified options.
- Enhanced ExportSchema to support optional field selection during serialization.
- Improved documentation for the serialize method to clarify field filtering capabilities.

* fixed type

* refactor: standardize type imports across components

- Updated multiple files to replace regular imports with type imports for improved clarity and consistency.
- Ensured adherence to TypeScript best practices in the rich filters and issue layouts components.

* refactor: standardize type imports across rich filters components

- Replaced regular imports with type imports in multiple files for improved clarity and consistency.
- Ensured adherence to TypeScript best practices in the rich filters input components.

* refactor: standardize type imports across various components

- Updated multiple files to improve clarity and consistency by replacing regular imports with type imports.
- Ensured adherence to TypeScript best practices in the sidebar filters, initiative header, teamspaces detail header, and workspace search item components.

---------

Co-authored-by: Anmol Singh Bhatia <[email protected]>
Co-authored-by: Dheeraj Kumar Ketireddy <[email protected]>
2025-10-14 16:44:18 +05:30
Dheeraj Kumar KetireddyandGitHub 4168127803 [WEB-4999] feat: implement flexible data export utility with CSV, JSON, and XLSX support (#7884)
* feat: implement flexible data export utility with CSV, JSON, and XLSX support

- Introduced Exporter class for handling various data formats.
- Added formatters for CSV, JSON, and XLSX exports.
- Created schemas for defining export fields and their transformations.
- Implemented IssueExportSchema for exporting issue data with nested attributes.
- Enhanced issue export task to utilize the new exporter system for better data handling.

* feat: enhance issue export functionality with new relations and context handling

- Updated issue export task to utilize new IssueRelation model for better relationship management.
- Refactored Exporter class to accept QuerySets directly, improving performance and flexibility.
- Enhanced IssueExportSchema to include parent issues and relations in the export.
- Improved documentation for exporting multiple projects and filtering fields during export.

* feat: enhance export functionality with field filtering and context support

- Updated Exporter class to merge fields into options for formatting.
- Modified formatters to filter fields based on specified options.
- Enhanced ExportSchema to support optional field selection during serialization.
- Improved documentation for the serialize method to clarify field filtering capabilities.

* fixed type
2025-10-14 15:46:55 +05:30
c59e3b764c [WEB-4991] feat: add custom properties to work item rich filters (#4364)
* feat: add extended complex filter backend and custom property filters for enhanced querying capabilities

* feat: enhance filter operators and configurations with number range support and equality operator updates

* feat: add extended filter configs and helpers

* feat: add new property filter configurations for boolean, date, dropdown, member-picker, number, and text types

* fix: update property validation to allow custom properties in WorkItemFiltersAdapter

* feat: introduce custom property filter key and extend work item filter types

* feat: enhance work item filters with custom property configurations and member support

* feat: update ExtendedIssueFilterSet to support URL property type and enhance range filtering

* feat: refine ExtendedIssueFilterSet to enforce property type checks for various lookup operations

* feat: enhance ExtendedIssueFilterSet to include checks for deleted properties in filter queries

* fix: update work item filter condition data type to include boolean

* feat (temp): enhance custom property filters to include issue type icons and improve filter icon rendering

* - Updated the transformation logic to combine property_id and value into a single string for backend processing.
- Enhanced the filtering method to validate UUIDs and handle the new format for custom property values.

* refactor: update filter value input handling and enhance multi-value operator support

- Changed condition value handling in TextFilterValueInput to use optional chaining for better safety.
- Updated WorkItemFiltersAdapter to correctly parse raw values based on multi-value operator support.
- Introduced CORE_MULTI_VALUE_OPERATORS and EXTENDED_MULTI_VALUE_OPERATORS to categorize operators that support multiple values.
- Consolidated multi-value operators into a single export for easier access.

* refactor: enhance input validation and UI for filter value components

- Added input validation logic to disable the apply button in NumberRangeFilterValueInput, NumberFilterValueInput, and TextFilterValueInput based on user input.
- Updated PopoverFilterInput to conditionally render helper text and apply button state based on input validity.
- Improved styling for input fields by setting a consistent size across different filter components.

* refactor: enhance validation messages for filter value inputs

- Added validation messages for minimum and maximum values in NumberRangeFilterValueInput and NumberFilterValueInput components.
- Implemented similar validation messages for minLength and maxLength in TextFilterValueInput.
- Updated styling for validation messages to ensure consistency across filter components.

* refactor: improve condition value update logic in filter

- Added isEqual check to prevent unnecessary updates when the condition value remains unchanged.
- Introduced a deep clone of the condition before update to enhance validation and ensure accurate comparisons.
- Enhanced early return conditions for invalid expressions and conditions to streamline the update process.

* refactor: enhance ComplexFilterBackend and BaseFilterSet for Q object filtering

- Introduced BaseFilterSet to support Q object construction for complex filtering.
- Updated ComplexFilterBackend to utilize Q objects for building querysets.
- Improved error handling and validation in filter methods.
- Refactored filter evaluation logic to streamline query construction.

* fix: improve filter processing in BaseFilterSet to handle empty cleaned_data and optimize filter evaluation

- Added handling for cases where cleaned_data is None or empty, returning an empty Q object.
- Optimized filter evaluation by only processing filters that are provided in the request data.

* feat: enhance issue type logo sizes and integrate tooltip for custom property filters

* update ComplexFilterBackend to pass queryset in filter evaluation

* feat: add entity type support and enhance project-level filter logic for project level work items and epics custom properties

* fix: disable tooltip when work item type name is not available in work item filters

* feat: implement loader readiness checks and enhance filter configuration management

* feat: add invalid filter item component

* fix: ensure custom property filters are only enabled for active properties

* refactor: enhance ExtendedComplexFilterBackend and ExtendedIssueFilterSet for improved filtering

- Updated ExtendedComplexFilterBackend to validate filterset_class and utilize it for queryset filtering.
- Refactored ExtendedIssueFilterSet to return Q objects instead of querysets for better handling of custom property filters.
- Improved error handling for invalid filter conditions and missing filterset_class.

* refactor: update maxHeight options for dropdown components

- Changed maxHeight values in AddFilterButton and FilterItem components to specific sizes (3xl and 2xl).
- Updated CustomSearchSelect and helper types to support new maxHeight options, enhancing dropdown flexibility.

* fix: build errors

* fix: update operator labels for consistency

- Changed "contains" to "icontains" in both the operator labels and extended equality operator definitions to ensure uniformity in terminology.

* feat: add work item name filter configuration

- Introduced a new filter configuration for work item names in the useWorkItemFiltersConfig hook.
- Updated constants to include the "name" filter key in various filter configurations.
- Enhanced the ISSUE_DISPLAY_FILTERS_BY_PAGE to incorporate the new work item name filter for better filtering capabilities.

* refactor: improve filter row visibility handling with loading state

* feat: enhance name filter options in ExtendedIssueFilterSet

- Added new filtering options for the "name" field, including "exact", "icontains", "contains", "startswith", and "endswith" to improve search capabilities.

* feat: enhance rich filters with tooltip and right content support

- Added tooltip support to FilterItemProperty for displaying additional information on hover.
- Introduced rightContent property in filter configurations to allow custom content display in dropdown options.
- Updated AddFilterButton to utilize rightContent for enhanced UI.
- Refactored related hooks and components to accommodate new properties.

* fix: update maxHeight options in dropdown components

* chore: re structure rich filter value inputs for various data types

* chore: minor clean up

* fix: build errors

* enhance ComplexFilterBackend with transformation hooks for field validation

- Added _transform_field_name_for_validation and _preprocess_leaf_conditions methods to support custom property filtering.
- Updated field extraction logic to utilize the new transformation hooks for improved filter handling.
- Refactored ExtendedComplexFilterBackend to leverage these enhancements for custom property filters.

* refactor: reorganize rich-filters component structure and enhance filter item functionality

- Moved AddFilterButton to a new directory structure for better organization.
- Introduced AddFilterDropdown component to improve filter selection UI.
- Updated FilterItemProperty to handle filter selection and condition updates more effectively.
- Enhanced FilterInstance methods to support condition property updates with proper negation handling.
- Adjusted imports across various components to reflect the new structure.

* [WEB-5111] feat: add filters for created_at and updated_at in issue filter sets

- Updated IssueFilterSet and ExtendedIssueFilterSet to include "updated_at" as a filter option.
- Enhanced useWorkItemFiltersConfig to incorporate created_at and updated_at filter configurations.
- Introduced getCreatedAtFilterConfig and getUpdatedAtFilterConfig utility functions for date filters.
- Updated WORK_ITEM_FILTER_PROPERTY_KEYS to include created_at and updated_at.

* fix: build

---------

Co-authored-by: pablohashescobar <[email protected]>
Co-authored-by: Dheeraj Kumar Ketireddy <[email protected]>
Co-authored-by: Nikhil <[email protected]>
2025-10-14 13:12:54 +05:30
Prateek ShouryaandGitHub cfb4a8212c [WEB-5099] improvement: enhance rich filters with new components and configurations (#7916)
* feat: enhance rich filters with new components and configurations

- Added `AdditionalFilterValueInput` for unsupported filter types.
- Introduced `FilterItem` and related components for better filter item management.
- Updated filter configurations to include new properties and support for multiple values.
- Improved loading states and error handling in filter components.
- Refactored existing filter logic to streamline operations and enhance performance.

* Refactor rich filters component structure and enhance filter item functionality

- Moved AddFilterButton and AddFilterDropdown to a new directory structure for better organization.
- Updated FilterItemProperty to handle filter selection and condition updates more effectively.
- Enhanced the FilterInstance class with methods to update condition properties and operators, improving filter management.
- Added new functionality to handle invalid filter states and improve user feedback.

* [WEB-5111] feat: add 'created_at' and 'updated_at' filters to work item configuration

- Introduced new filter configurations for 'created_at' and 'updated_at' in the work item filters.
- Updated relevant components to utilize these new filters, enhancing filtering capabilities.
- Added corresponding filter configuration functions in the utils for better date handling.

* fix: build
2025-10-14 01:39:24 +05:30
Vipin ChaudharyandGitHub b34de71dfe [WIKI-729] chore: update seed video default value #4470 2025-10-13 20:40:43 +05:30
NikhilandGitHub e9a5297d40 [WEB-5058] feat: update seed data for pages and projects with enhanced descriptions and access level #4464 2025-10-13 18:04:10 +05:30
NikhilandGitHub 1a1b5075ed [WEB-5058] feat: update seed data for pages and projects with enhanced descriptions and access level (#4454)
* feat: update seed data for pages and projects with enhanced descriptions and access levels

- Modified `access` level for workspace pages to improve visibility settings.
- Enhanced descriptions in `pages.json` and `projects.json` with detailed HTML content for better presentation.
- Updated project cover image to enhance visual appeal and user engagement.

* fix: remove redundant id field from view seed data in create_views function

- Eliminated the extraction of the `id` field from `view_seed` to streamline the view creation process in the `create_views` function. This change enhances data integrity and simplifies the seed data structure.
2025-10-13 13:31:31 +05:30
sriramveeraghanta 9c0d8c12ea fix: merge conflicts 2025-10-11 21:16:14 +05:30
NikhilandGitHub c618e21aaf [WEB-5058] feat: enhance workspace seeding with cycles, modules, and views creation (#4450)
* feat: enhance workspace seeding with cycles, modules, and views creation

- Added `create_cycles`, `create_modules`, and `create_views` functions to the workspace seeding process, enabling the creation of cycles, modules, and views based on new seed data.
- Updated `create_project_issues` to associate issues with cycles and modules.
- Introduced new seed files: `cycles.json`, `modules.json`, and `views.json` to provide initial data for cycles, modules, and views.
- Integrated these new functionalities into the `workspace_seed` task for comprehensive workspace initialization.

* feat: add project_id to page seed data for improved association

- Added `project_id` field to the page with `id` 2 in `pages.json` to establish a clear link between pages and their respective projects.
- This enhancement supports better organization and retrieval of page data within the project context.

* feat: enhance workspace seed task with improved display properties and layout options

- Updated the `create_project_and_member` function to include new display properties and layout configurations for better project visualization.
- Modified display filters to group by state and added calendar layout options.
- Enhanced the `create_modules` and `create_views` functions with improved formatting and structure for better readability and maintainability.

* feat: update seed data for pages and projects with enhanced descriptions

- Added `sort_order` fields to existing pages in `pages.json` for better organization.
- Introduced new pages with detailed descriptions and HTML formatting in `pages.json`.
- Enhanced the project description in `projects.json` with HTML content for improved presentation.
- Updated the cover image for the demo project to enhance visual appeal.
2025-10-11 21:00:05 +05:30
c3dd790f7e [WEB-5058] feat: enhance workspace seeding with cycles, modules, and views creation (#7951)
* feat: enhance workspace seeding with cycles, modules, and views creation

- Added `create_cycles`, `create_modules`, and `create_views` functions to the workspace seeding process, enabling the creation of cycles, modules, and views based on new seed data.
- Updated `create_project_issues` to associate issues with cycles and modules.
- Introduced new seed files: `cycles.json`, `modules.json`, and `views.json` to provide initial data for cycles, modules, and views.
- Integrated these new functionalities into the `workspace_seed` task for comprehensive workspace initialization.

* feat: add project_id to page seed data for improved association

- Added `project_id` field to the page with `id` 2 in `pages.json` to establish a clear link between pages and their respective projects.
- This enhancement supports better organization and retrieval of page data within the project context.

* feat: enhance workspace seed task with improved display properties and layout options

- Updated the `create_project_and_member` function to include new display properties and layout configurations for better project visualization.
- Modified display filters to group by state and added calendar layout options.
- Enhanced the `create_modules` and `create_views` functions with improved formatting and structure for better readability and maintainability.

* Update apps/api/plane/bgtasks/workspace_seed_task.py

Co-authored-by: Copilot <[email protected]>

* fix: correct project_id mapping in cycle and view creation functions

- Updated the `create_cycles` function to use the correct `project_id` from the `project_map` for fetching the last cycle.
- Removed redundant `view_id` extraction in the `create_views` function to streamline view creation process.

* refactor: update create_cycles function to return project mapping

- Changed the return type of the `create_cycles` function from `None` to `Dict[int, uuid.UUID]` to provide a mapping of project IDs after cycle creation.
- This modification enhances the function's utility by allowing the caller to access the generated project mappings directly.

* refactor: remove unused view_map variable in create_views function

- Eliminated the `view_map` dictionary from the `create_views` function as it was not utilized, streamlining the code.
- This change enhances code clarity and maintainability by removing unnecessary elements.

* refactor: improve issue creation logic in create_project_issues function

- Added comments to clarify the creation of issue labels, cycle issues, and module issues within the `create_project_issues` function.
- Enhanced code readability and maintainability by structuring the issue creation process with clear conditional checks for cycles and modules.

---------

Co-authored-by: sriram veeraghanta <[email protected]>
Co-authored-by: Copilot <[email protected]>
2025-10-11 20:55:48 +05:30
Saurabh KumarandGitHub 1bb803f480 [SILO-600] Add slug to application categories and query param (#4433)
* add slug field in applications category and applications filter

* add automation categories
2025-10-11 16:26:30 +05:30
NikhilandGitHub a28f61393a [WEB-5059] feat: add page creation functionality for workspaces #4439
- Implemented `create_pages` function to create pages for each project in a workspace based on data from `pages.json`.
- Added logging for page creation events.
- Updated `workspace_seed` function to include page creation after project issues are seeded.
- Introduced `pages.json` seed file containing initial page data for workspaces and projects.
2025-10-10 19:15:04 +05:30
sriramveeraghanta 90814d692f fix: merge conflicts 2025-10-10 18:40:42 +05:30
Saurabh KumarandGitHub 4d0bb9f021 [SILO-601] Fix get app installation not filtering based on token workspace #4437 2025-10-10 18:33:32 +05:30
NikhilandGitHub 151674687c [WEB-5059] feat: add page creation functionality to workspace seeding process (#7948)
* feat: add page creation functionality to workspace seeding process

- Implemented `create_pages` function to create pages for each project in the workspace based on data from `pages.json`.
- Integrated page creation into the `workspace_seed` task, ensuring pages are created alongside project issues.
- Added a new `pages.json` seed file containing initial page data and descriptions.

* fix: update page creation logic and seed data

- Set `is_global` to `False` for pages created in the `create_pages` function.
- Adjusted the project type check to be case-insensitive in the page creation logic.
- Added `id`, `project_id`, and `description_stripped` fields to the `pages.json` seed data for improved page initialization.
2025-10-10 18:32:15 +05:30
SangeethaandGitHub 19992694e4 [WEB-5115] fix: initiative label sentry errors (#4432) 2025-10-10 15:41:23 +05:30
Saurabh KumarandGitHub 2bb52383f4 [SILO-596] Add missing fields in published apps endpoint (#4421)
* add new fields to get marketplace apps + fix fixtures

* rename application count field
2025-10-09 17:15:03 +05:30
Jayash TripathyandGitHub cb45caf6e7 [WEB-5036] feat: initiative labels (#4367) 2025-10-08 20:06:12 +05:30
pushya22andGitHub c7a865e576 promote: mobile runway to preview #4408 2025-10-08 20:03:01 +05:30
guru_sainathandGitHub 27aff260cb [MOB-1225] chore: handled the file asset by entity ids for workspace page descri… (#4392)
* chore: handled the file asset by entity ids for workspace page description

* chore: handled page description validation
2025-10-08 19:40:51 +05:30
guru_sainathandGitHub 830563821e [MOB-1203] chore: handle sort order logic in list and updated sort order page mutations (#4391)
* chore: handled the sort order in list and page mutations

* chore: udpated sorted order logic
2025-10-08 19:40:39 +05:30
Anmol Singh Bhatia dc7d7c92dc fix: preview sync merge conflict 2025-10-07 21:13:39 +05:30
SangeethaandGitHub 1a1d63a635 [WEB-5076] feat: initiative progress API (#4373) 2025-10-07 20:59:46 +05:30
SangeethaandGitHub 89ddd1bf42 [WEB-5081] fix: update timezone in user settings #7915 2025-10-07 20:51:44 +05:30
NikhilandGitHub 8ca3abb683 Merge branch 'preview' into sync/ce-ee 2025-10-07 20:32:09 +05:30
NikhilandGitHub 0b15a32ec6 [WEB-5038] fix: cycle creation in external api endpoint (#7866)
* feat: set default owner for cycle creation if not provided

* Updated CycleListCreateAPIEndpoint to assign the current user as the owner when the 'owned_by' field is not included in the request data.
* Enhanced the CycleCreateSerializer initialization to ensure proper ownership assignment during cycle creation.

* feat: add comprehensive tests for Cycle API endpoints

* Introduced a new test suite for Cycle API endpoints, covering creation, retrieval, updating, and deletion of cycles.
* Implemented tests for various scenarios including successful operations, invalid data handling, and conflict resolution with external IDs.
* Enhanced test coverage for listing cycles with different view filters and verifying cycle metrics annotations.

* feat: enhance CycleCreateSerializer to include ownership assignment

* Added 'owned_by' field to CycleCreateSerializer to specify the user who owns the cycle.
* Updated CycleListCreateAPIEndpoint to remove redundant ownership assignment logic, relying on the serializer to handle default ownership.
* Ensured that if 'owned_by' is not provided, it defaults to the current user during cycle creation.

* fix: correct assertion syntax in CycleListCreateAPIEndpoint tests

* Updated the assertion in the test for successful cycle creation to use the correct syntax for checking the response status code.
* Ensured that the test accurately verifies the expected behavior of the API endpoint.
2025-10-07 18:50:09 +05:30
pushya22andGitHub 05e00c7fc1 Sync: Community Changes #4390 2025-10-07 18:03:00 +05:30
Yaroslav HalchenkoandGitHub 2ca8620246 Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864)
* Add github action to codespell preview on push and PRs

* Add rudimentary codespell config

* [DATALAD RUNCMD] chore: run codespell throughout fixing a few typos interactively

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 4 ./apps/web/core/components/workspace/delete-workspace-form.tsx ./deployments/cli/community/README.md",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^

* Adjust coespell regex to ignore all camelCased words

* [DATALAD RUNCMD] chore: run codespell throughout fixing a few  new typos automagically

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2025-10-07 17:42:49 +05:30
Dheeraj Kumar KetireddyandGitHub 168518928d Merge branch 'preview' into sync/ce-ee 2025-10-07 17:27:55 +05:30
guru_sainathandGitHub 0cc1c7281e chore: handled the indent and format in graphql (#4385) 2025-10-07 15:01:42 +05:30
Dheeraj Kumar KetireddyandGitHub 5c842d592e Chore: Filter backend optimizations (#7900)
* refactor: enhance ComplexFilterBackend and BaseFilterSet for Q object filtering

- Introduced BaseFilterSet to support Q object construction for complex filtering.
- Updated ComplexFilterBackend to utilize Q objects for building querysets.
- Improved error handling and validation in filter methods.
- Refactored filter evaluation logic to streamline query construction.

* fix: improve filter processing in BaseFilterSet to handle empty cleaned_data and optimize filter evaluation

- Added handling for cases where cleaned_data is None or empty, returning an empty Q object.
- Optimized filter evaluation by only processing filters that are provided in the request data.

* update ComplexFilterBackend to pass queryset in filter evaluation
2025-10-06 23:36:16 +05:30
guru_sainathandGitHub ff0095662d [MOB-1199] fix: handle snoozed notifications in mobile inbox logic (#4382)
* fix: handled the snoozed notification

* chore: removed logs
2025-10-06 23:31:34 +05:30