vikunja/pkg/modules/migration
kolaente 39b4568bc5
refactor: centralize HTTP error handling (#2062)
This changes the error handling to a centralized HTTP error handler in `pkg/routes/error_handler.go` that converts all error types to proper HTTP responses. This simplifies the overall error handling because http handler now only need to return the error instead of calling HandleHTTPError as previously.
It also removes the duplication between handling errors with and without Sentry.

🐰 Hop along, dear errors, no more wrapping today!
We've centralized handlers in a shiny new way,
From scattered to unified, the code flows so clean,
ValidationHTTPError marshals JSON supreme!
Direct propagation hops forward with glee,
A refactor so grand—what a sight to see! 🎉
2026-01-08 10:02:59 +00:00
..
handler refactor: centralize HTTP error handling (#2062) 2026-01-08 10:02:59 +00:00
microsoft-todo feat: move to slog for logging 2025-07-21 18:15:39 +02:00
ticktick fix: TickTick import (#1871) 2025-11-25 22:32:39 +00:00
todoist feat: move to slog for logging 2025-07-21 18:15:39 +02:00
trello feat: move to slog for logging 2025-07-21 18:15:39 +02:00
vikunja-file feat: move to slog for logging 2025-07-21 18:15:39 +02:00
create_from_structure.go fix(migration): reset buckets before creating related tasks so that they are actually created (#1015) 2025-06-25 14:03:44 +02:00
create_from_structure_test.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
db.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
errors.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
helpers.go fix(migration): return proper error message when request fails 2025-11-12 20:25:17 +01:00
helpers_test.go fix(migration): return proper error message when request fails 2025-11-12 20:25:17 +01:00
main_test.go feat: move to slog for logging 2025-07-21 18:15:39 +02:00
migration_status.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
migrator.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
testimage.jpg feat(migrators): remove wunderlist (#1346) 2022-12-29 17:12:39 +00:00