mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-22 13:05:43 -05:00
[PR #1456] [MERGED] feat: share logic for bulk update #1509
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-vikunja/vikunja/pull/1456
Author: @kolaente
Created: 9/10/2025
Status: ✅ Merged
Merged: 9/10/2025
Merged by: @kolaente
Base:
main← Head:codex/implement-bulk-task-editing-endpoint📝 Commits (4)
b6c73e5fix: refine bulk task update permissions4e7ef3ffix test assertions83888f3refactor52e4262feat: add test for done_at validation📊 Changes
5 files changed (+262 additions, -161 deletions)
View changed files
📝
pkg/models/bulk_task.go(+47 -76)📝
pkg/models/bulk_task_test.go(+92 -67)📝
pkg/models/error.go(+27 -0)📝
pkg/models/tasks.go(+82 -18)📝
pkg/models/tasks_test.go(+14 -0)📄 Description
This change refactors the bulk task update logic so that it updates all fields a single task update would update as well.
Could be improved in the future so that it is more efficient, instead of calling the update function repeatedly. Right now, this reduces the complexity by a lot and it should be fast enough for most cases using this.
Resolves #1452
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.