mirror of
https://github.com/makeplane/plane.git
synced 2026-07-14 06:25:58 +02:00
* 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>