vikunja/pkg
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
..
caldav fix(caldav): do not assume the first element is the VTODO component 2025-12-13 15:30:22 +01:00
cmd fix(positions): detect and repair duplicate task positions automatically (#1998) 2025-12-20 19:38:28 +01:00
config fix(files): upload should work with vhost style (#1994) 2025-12-16 20:32:15 +00:00
cron fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
db fix(kanban): repeating tasks dates won't update when moved in done bucket (#1638) 2025-11-14 16:57:53 +00:00
events fix(events): only trigger task.updated once when marking task done 2025-11-16 11:01:15 +01:00
files feat(files): validate file storage is writable on startup (#2053) 2026-01-06 16:29:56 +01:00
health feat: introduce shared health check logic (#1073) 2025-07-02 21:01:41 +00:00
i18n chore(i18n): update translations via Crowdin 2025-12-12 00:59:39 +00:00
initialize feat: add S3 file storage support (#1688) 2025-11-06 08:37:04 +01:00
log feat: move to slog for logging 2025-07-21 18:15:39 +02:00
mail feat: add thread IDs to task notification emails for client-side threading (#1826) 2025-11-15 18:58:32 +01:00
metrics fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
migration fix: handle mixed-format bucket configurations in migration (#2033) 2026-01-05 22:30:10 +01:00
models refactor: centralize HTTP error handling (#2062) 2026-01-08 10:02:59 +00:00
modules refactor: centralize HTTP error handling (#2062) 2026-01-08 10:02:59 +00:00
notifications feat: format user mentions with display names in email notifications (#1930) 2025-12-10 12:39:05 +01:00
plugins feat(plugins): allow plugins to register routes 2025-08-01 17:06:02 +02:00
red fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
routes refactor: centralize HTTP error handling (#2062) 2026-01-08 10:02:59 +00:00
swagger [skip ci] Updated swagger docs 2025-12-15 15:44:47 +00:00
user fix: properly quote email sender names containing @ symbols (#1768) 2025-11-07 11:44:24 +01:00
utils fix(auth): retry up to three times when an auth provider cannot be reached 2026-01-05 21:50:40 +01:00
version fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
web refactor: centralize HTTP error handling (#2062) 2026-01-08 10:02:59 +00:00
webtests refactor: centralize HTTP error handling (#2062) 2026-01-08 10:02:59 +00:00