Skip to content

Add mass actions to bulk update/close project tasks (progress, start date, deadline)#36

Merged
mapiolca merged 2 commits into2026-03-25-add-mass-actions-for-external-module-tasksfrom
2026-03-25-add-mass-actions-for-external-module-tasks-zbxd5x
Mar 25, 2026
Merged

Add mass actions to bulk update/close project tasks (progress, start date, deadline)#36
mapiolca merged 2 commits into2026-03-25-add-mass-actions-for-external-module-tasksfrom
2026-03-25-add-mass-actions-for-external-module-tasks-zbxd5x

Conversation

@mapiolca
Copy link
Copy Markdown
Owner

@mapiolca mapiolca commented Mar 25, 2026

Motivation

  • Provide mass-action support to update progress, start date, deadline and to close multiple project tasks at once from task lists and project pages.

Description

  • Render a modal UI for pre-massactions in core/tpl/massactions_pre.tpl.php with per-task inputs (progress or datetime + keep-duration) and client-side logic to size the dialog and apply a global datetime to all rows.
  • Add language keys in langs/en_US/projects.lang used by the new mass-action UI and result messages.
  • Add Task::getAuthorizedTasksForMassAction in projet/class/task.class.php to fetch and filter selected task rows by user/project permissions and entity.
  • Implement server-side handling in projet/tasks.php and projet/tasks/list.php to resolve the effective mass action, validate inputs, update tasks inside a DB transaction, handle errors, set user messages, and emit syslog traces; and register the new mass-action options in task list selectors.

Testing

  • No automated tests were added for this change and no existing automated test suites were modified or executed as part of this PR.

@mapiolca mapiolca removed the codex label Mar 25, 2026
@mapiolca mapiolca changed the base branch from develop to 2026-03-25-add-mass-actions-for-external-module-tasks March 25, 2026 22:04
…into 2026-03-25-add-mass-actions-for-external-module-tasks-zbxd5x
@mapiolca mapiolca merged commit 570fb01 into 2026-03-25-add-mass-actions-for-external-module-tasks Mar 25, 2026
2 of 4 checks passed
@mapiolca mapiolca deleted the 2026-03-25-add-mass-actions-for-external-module-tasks-zbxd5x branch March 25, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant