kolaente
b21c9acb0d
fix(routes): restore SPA routing after Echo v5 upgrade
...
In Echo v5, the 404 error for unmatched routes implements the
HTTPStatusCoder interface but is not a *HTTPError. This caused
the static middleware to fail to catch 404s and serve index.html
for SPA routes, leading to reloading SPA routes returning 404.
Caused by regression introduced in 9a61453e8 .
Fixes #2149
Fixes #2152
2026-01-25 11:07:48 +01:00
renovate[bot]
9a61453e86
fix(deps): update module github.com/labstack/echo/v4 to v5 ( #2131 )
...
Closes https://github.com/go-vikunja/vikunja/pull/2133
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kolaente <k@knt.li>
2026-01-24 20:38:32 +01:00
kolaente
dcfd096588
feat: allow setting dark custom logo
...
Resolves https://github.com/go-vikunja/vikunja/issues/1799
2025-11-12 21:07:01 +01:00
Dominik Pschenitschni
296577a875
fix: correct license header references ( #882 )
...
See originals:
- https://www.gnu.org/licenses/agpl-3.0.txt
- https://www.gnu.org/licenses/gpl-3.0.txt
2025-06-10 12:18:38 +02:00
renovate[bot]
4a75f7d4da
chore(deps): update golangci/golangci-lint-action action to v7 ( #462 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kolaente <k@knt.li>
2025-04-02 09:28:56 +02:00
kolaente
a12c169ce8
fix: do not send etag when serving the frontend index file
...
Without this change, the browser may serve an outdated index.html file which usually does not work, showing the user only a blank page.
2024-02-13 21:32:41 +01:00
kolaente
641fec1215
fix: never return frontend on routes starting with /api
...
This fixes a problem where Vikunja would sometimes return the html for the frontend when accessing an api route for a nonexistent ressource, because the static handler was the next best.
Resolves https://kolaente.dev/vikunja/vikunja/issues/2110
2024-02-13 10:05:15 +01:00
kolaente
d36b1608cf
fix: lint
2024-02-09 15:32:12 +01:00
kolaente
ca68b52991
feat: replace api url with public url
2024-02-09 14:44:41 +01:00
kolaente
2d32d900c8
feat: replace api url with public url
2024-02-09 14:42:07 +01:00
kolaente
78df83ee69
feat: replace api url
2024-02-09 14:38:54 +01:00
kolaente
db2ec45378
feat: move custom logo setting to api
2024-02-09 14:33:21 +01:00
kolaente
d7dc209f15
feat: move allow icon changes setting to api
2024-02-09 14:30:21 +01:00
kolaente
a0e770438d
feat: move sentry configuration from frontend to api
2024-02-09 14:24:29 +01:00
kolaente
b3228794c7
feat: add caching rules for more files
2024-02-09 13:42:05 +01:00
kolaente
9c45d9ca15
feat: cache header and etag generation
2024-02-09 13:41:51 +01:00
kolaente
81455242ae
chore: copy static file handler
2024-02-09 13:41:50 +01:00
kolaente
6c5194b892
feat: bundle frontend files with api in one static bundle
2024-02-09 13:41:50 +01:00