A task could end up with more than one task_positions row for the same (task_id, project_view_id): rapid/concurrent creation raced the check-then-insert paths, and the create path could insert a position that a triggered RecalculateTaskPositions had already persisted for the new task. The table had no unique constraint, so the duplicates were stored silently (#2844). In the table view this made the LEFT JOIN on task_positions emit the task twice; getTasksForProjects enriched only the map entry, so the duplicate slice row kept an empty identifier and rendered as "#N" instead of "PREFIX-N" (#2725). - Add a unique index on task_positions(task_id, project_view_id) via a dedup migration (mirrors the task_buckets fix in 20250624092830) plus the unique(task_view) struct tag so fresh installs get it too. - Harden the create path: only queue a position insert when one does not already exist for the task+view, and dedupe within the batch. - Dedupe the task slice returned by getTasksForProjects by id, returning the enriched entry, so duplicate position rows can never surface a task twice or with a missing identifier. Fixes #2844 Fixes #2725 |
||
|---|---|---|
| .claude | ||
| .github | ||
| .vscode | ||
| .zed | ||
| build | ||
| contrib | ||
| desktop | ||
| examples/plugins/example | ||
| frontend | ||
| pkg | ||
| rest | ||
| veans | ||
| .devcontainer.json | ||
| .dockerignore | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| .golangci.yml | ||
| .opensourcefinder-verify | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| cliff.toml | ||
| code-header-template.txt | ||
| conductor.json | ||
| config-raw.json | ||
| crowdin.yml | ||
| devenv.lock | ||
| devenv.nix | ||
| devenv.yaml | ||
| go.mod | ||
| go.sum | ||
| magefile.go | ||
| main.go | ||
| mise.toml | ||
| nfpm.yaml | ||
| publiccode.yml | ||
| renovate.json | ||
| tsconfig.json | ||
| vikunja.initd | ||
| vikunja.service | ||
README.md
Vikunja
The Todo-app to organize your life.
If Vikunja is useful to you, please consider buying me a coffee, sponsoring me on GitHub or buying a sticker pack. I'm also offering a hosted version of Vikunja if you want a hassle-free solution for yourself or your team.
Table of contents
Security Reports
If you find any security-related issues you don't want to disclose publicly, please use the contact information on our website.
Features
See the features page on our website for a more exhaustive list or try it on try.vikunja.io!
Docs
All docs can be found on the Vikunja home page.
Roadmap
See the roadmap (hosted on Vikunja!) for more!
Contributing
Please check out the contribution guidelines on the website.
License
Most of this repository is licensed under AGPL‑3.0‑or‑later.
The contents of desktop/ are licensed under
GPL‑3.0‑or‑later.
Unsplash Images
Background images from Unsplash are distributed under the Unsplash License. The license requires giving credit to the photographer and Unsplash. See Unsplash’s terms for more information.