Commit Graph

32 Commits

Author SHA1 Message Date
Sangeetha
731a37243e [WEB-4346] fix: links and attachments not duplicating (#3455)
* fix: links and attachments are not duplicating

* fix: attachment not downloaded

* chore: use deepcopy

* fix: attachment not copying in s3

* chore: tests for IssueDuplicateEndpoint

* chore: resolve copilot reviews

* chore: separate function for attachment asset duplication

* chore: separate function for attachment asset duplication

* WIP

* fix: issue description copy

* fix: unused imports

* chore: tests for issue attachment bg task

* fix: function name

* chore: add comments and type hints.
2025-07-14 17:18:54 +05:30
sriramveeraghanta
ca90b62774 fix: merge conflicts 2025-07-14 17:15:52 +05:30
Akshat Jain
f90e553881 [INFRA-209] Remove nginx related configurations from plane community (#7406)
* Remove deprecated Nginx configuration files and scripts, including Dockerfiles, environment scripts, and configuration templates, to streamline the project structure.

* Update environment configuration and Docker setup for proxy services

- Added LISTEN_PORT and LISTEN_SSL_PORT variables to .env.example and related files.
- Updated Docker Compose files to reference new port variables instead of deprecated NGINX_PORT.
- Adjusted README and variable documentation to reflect changes in port configuration.
- Changed build context for proxy services to use the new directory structure.

* Refactor port configuration in environment and Docker files

- Renamed LISTEN_PORT and LISTEN_SSL_PORT to LISTEN_HTTP_PORT and LISTEN_HTTPS_PORT in .env.example and related files.
- Updated Docker Compose configurations to reflect the new port variable names.
- Adjusted documentation in README and variables.env to ensure consistency with the new naming conventions.
2025-07-14 16:38:27 +05:30
sriramveeraghanta
9e493e9ba1 fix: merge conflicts 2025-07-14 13:20:57 +05:30
Nikhil
c8dab1cc9c [WEB-4484]chore: streamline issue saving process with advisory locks for sequence management (#7396)
* chore: streamline issue saving process with advisory locks for sequence management

* fix: update advisory lock usage in issue model for improved concurrency management
2025-07-14 13:08:26 +05:30
Masoom Wahid
a3714c8e3e feat : added Kabul to the list of timezones (#7370) 2025-07-12 19:30:39 +05:30
sriram veeraghanta
517b1663f3 Sync: Community Changes #3651 2025-07-11 21:23:35 +05:30
Nikhil
71cd36865b [WEB-4484]chore: streamline issue saving process with advisory locks for sequence management #7395 2025-07-11 21:18:31 +05:30
Dheeraj Kumar Ketireddy
4501e44702 [WEB-4481] optimize workspace member view by prefetching related assets (#7390) 2025-07-11 21:17:33 +05:30
Dheeraj Kumar Ketireddy
59567f9efb Fix: Import background task to register it (#3650) 2025-07-11 21:12:33 +05:30
Nikhil
7fe6ec7d38 fix: xmlsec version (#3644) 2025-07-11 14:31:01 +05:30
Bavisetti Narayan
f877a8e23d [WEB-4227] chore: optimised the gantt views endpoint (#3630) 2025-07-10 17:06:07 +05:30
Vamsi Krishna
f8d239b1ec [WEB-4227] feat: gantt layout for global views (#3387)
* draft: global views gantt

* draft: filters

* chore: new endpoints for gantt view

* draft: gantt view

* chore: updated get endpoint

* chore: removed the values

* feat: added issue dates update

* * feat: added permissions for dependecy and dates update

* chore: added guest level view filters

* chore: code split

* feat: added feature flags

* chore: refactor

* chore: updated feature flag for global views

* fix: build errors

* chore: optimised the query

* resiolved comments

* chore: removed redundant change

* fix: removed the sql file

* chore: removed unused type

* fix: runtime errors

* chore: moved components to new structure

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-07-10 01:37:15 +05:30
Nikhil
5063c3383b [WEB-4391] feat: work item template, recurring work item configuration and logs model migrations (#3504)
* feat: add recurring workitem models and update workitem template relationships

- Introduced `RecurringWorkitemConfiguration` and `RecurringWorkitem` models to manage recurring workitems.
- Updated `WorkitemTemplate` to include `parent_workitem_template` and `project_template` fields for better hierarchy and association.
- Enhanced model imports in `__init__.py` to include new recurring models.

* refactor: rename and enhance recurring workitem models

- Renamed `RecurringWorkitemConfiguration` to `RecurringWorkitemTask` and `RecurringWorkitem` to `RecurringWorkitemTaskLog` for clarity.
- Updated model fields to include `start_at`, `end_at`, `interval_seconds`, and `cron_expression` for improved scheduling flexibility.
- Added validation to ensure either `interval_seconds` or `cron_expression` is provided.
- Established a one-to-one relationship with Celery Beat's `PeriodicTask` for task management.
- Enhanced related names and help texts for better understanding and usability.

---------

Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
2025-07-09 16:23:38 +05:30
Saurabh Kumar
5c2597b405 [SILO-356] Migrations for applications new fields (#3588)
* add migrations for configuration url in apps

* add is_internal flag to applications
2025-07-09 16:08:51 +05:30
Dheeraj Kumar Ketireddy
ee7e457a39 [WEB-4445] Enhancement: Add OpenSearch batch update tasks and monitoring features (#3605)
* Enhancement: Add OpenSearch batch update tasks and monitoring features

- Introduced new Celery tasks for processing batched OpenSearch updates and logging queue metrics.
- Updated the task registry in `celery.py` to include `process-batched-opensearch-updates` and `log-opensearch-update-queue-metrics`.
- Created a new module for batched search update tasks with comprehensive logging and error handling.
- Added a management command for monitoring OpenSearch batch update queues with various options for real-time and detailed statistics.
- Enhanced the OpenSearch documents module with new entity definitions and improved field handling for better search capabilities.
- Updated settings to utilize the new batched signal processor for OpenSearch operations.
- Removed deprecated signal handler to streamline the codebase.

* Refactor: Update logging and registry access in search-related tasks

- Changed logger name from "plane.api" to "plane.worker" for better context.
- Simplified model search relevance checks by utilizing the registry's public API.
- Enhanced cascade processing logic to improve clarity and efficiency.
- Minor adjustments in the monitoring command to streamline confirmation checks.

* Fix: Improve timestamp parsing in search queue monitoring

* Refactor search queue monitoring command to support sub-commands

* Update force-drain command to accept models as an option

* Implement chunked processing for Redis queue updates

- Added max_batch_size parameter to retrieve_all_queued_updates to limit the number of items processed at once, preventing memory issues.
- Updated cleanup_stale_queue_for_model to process items in chunks, improving efficiency and stability for large queues.
- Introduced OPENSEARCH_UPDATE_BATCH_MAX_SIZE setting for configurable batch processing limits.

* Refactor: Replace retrieve_all_queued_updates with get_queued_updates_chunks for improved memory efficiency

- Updated batched_search_update_task to utilize get_queued_updates_chunks, allowing for chunked processing of queued updates.
- Modified related imports and settings to reflect the new chunking approach.
- Enhanced queue processing logic to log progress and handle errors more effectively during chunk processing.

* Changed the return value for unknown health statuses to use WARNING instead of HTTP_INFO

* Multiple enhancements for chunk processing and metric logging

- Reduced the chunk size for processing updates from 15000 to 1000 to improve performance.
- Simplified the logging of queue metrics by focusing on essential metrics and removing unnecessary health status checks.
- Updated timestamp handling to use epoch seconds for consistency.
- Enhanced the alerting mechanism to only flag large queues, streamlining monitoring efforts.

* Updated readme
2025-07-09 16:07:20 +05:30
sriram veeraghanta
b1d1c0fc50 chore: format files (#3611)
* chore: format all files

* chore: format apiserver changes

* chore: format silo app

* chore: format etl and mobile-editor
2025-07-09 02:22:18 +05:30
sriram veeraghanta
67dfd1d652 fix: merge conflicts 2025-07-08 23:15:36 +05:30
sriram veeraghanta
6ce700fd5d chore: format files using prettier (#7364)
* chore: format files using prettier

* chore: api server files formatted
2025-07-08 20:41:11 +05:30
sriram veeraghanta
016e40fa4e promote: mobile-runway to preview #3603 2025-07-08 18:34:37 +05:30
sriram veeraghanta
67b042f903 Sync: Community Changes #3604 2025-07-08 18:31:23 +05:30
gurusinath
ead099f669 conflicts: resolved merge conflicts 2025-07-08 18:30:46 +05:30
Nikhil
fd9da3164e [WEB-4452] fix: enhance URL detection logic in contains_url function (#7352)
* fix: enhance URL detection logic in contains_url function

* fix: improve error handling in URL detection logic

* fix: enhance URL detection logic with length limits and edge case handling

* fix: adjust URL line length limit for improved detection accuracy
2025-07-08 18:28:47 +05:30
pushya22
61c65cc894 Sync: Community Changes #3597 2025-07-08 16:09:51 +05:30
Sangeetha
16332e0f6d [WEB-4380] chore: work item link sentry error (#7316)
* chore: add warning param in log_exception:''

* fix: logging the exception
2025-07-08 15:43:42 +05:30
Sangeetha
5d8658121f [WEB-4413] fix: initiatives count updation (#3541)
* fix: initiatives not deleting from project properties

* feat: tests for ProjectSerializer
2025-07-08 15:41:53 +05:30
Bavisetti Narayan
e2a0685c66 [WEB-4449] bug: move page internally in wiki #3587 2025-07-07 17:41:34 +05:30
sriramveeraghanta
a193bb9aa5 fix: upgrade lxml version 2025-07-04 17:56:59 +05:30
sriram veeraghanta
66c6654c6c Merge branch 'preview' into sync/ce-ee 2025-07-04 16:30:24 +05:30
sriram veeraghanta
509db32267 chore: updated node version to 22 and python version to 3.12.10 (#7343)
* chore: updated node version to 22 and python version to 3.12.10

* chore: remove unneccessary comments

* chore: remove nodejs-current dependency
2025-07-04 16:28:30 +05:30
sriramveeraghanta
46a46b7ef6 fix: merge conflicts 2025-07-04 15:37:59 +05:30
sriram veeraghanta
fdbe4c2ca6 chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30