Commit Graph

11437 Commits

Author SHA1 Message Date
Frederick [Bot]
1648b71634 [skip ci] Updated swagger docs 2025-05-20 08:12:41 +00:00
Weijie Zhao
00c4148f05 feat(auth): add ForceUserInfo option to OpenID provider (#797)
Problem:

When using Casdoor as an OpenID provider, there's an inconsistency between the user information in the JWT token and the UserInfo endpoint. The token contains the user's unique ID in the `name` field, while the UserInfo endpoint correctly returns the user's display name.

Solution:

This PR adds a new `ForceUserInfo` option to the OpenID provider configuration. When enabled, it forces the use of the UserInfo endpoint to retrieve user information instead of relying on claims from the ID token.

Impact:

- Default behavior remains unchanged (backward compatible)
- New option allows administrators to force using UserInfo endpoint data
- Particularly useful for providers like Casdoor that don't fully comply with OIDC standards

Related:

I've opened an issue in the Casdoor repository (https://github.com/casdoor/casdoor/issues/3806) to discuss the root cause. However, changing Casdoor's token structure might cause significant compatibility issues for existing integrations, so it's unclear if this can be fixed at the provider level. This PR provides a workaround in Vikunja that doesn't affect existing functionality.
2025-05-20 08:06:34 +00:00
kolaente
80b1f6cab3 fix(test): wait for redirect
In some cases (https://github.com/go-vikunja/vikunja/actions/runs/15130244134/job/42529938835) this test does not run, while it works in others without issues. I hope to fix that with the wait, even though that's more of a workaround.
2025-05-20 09:55:12 +02:00
renovate[bot]
22018cc341 fix(deps): update dependency marked to v15.0.12 (#801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-20 06:15:04 +00:00
renovate[bot]
20db7b5aae chore(deps): update dev-dependencies (#800)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-20 06:12:58 +00:00
renovate[bot]
e37c01bd5e fix(deps): update dependency dompurify to v3.2.6 (#799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-20 08:08:52 +02:00
Frederick [Bot]
adf54f97ab chore(i18n): update translations via Crowdin 2025-05-20 00:56:51 +00:00
kolaente
5acca8144b fix(projects): do not try to fetch project permissions when no projects exist
Resolves https://vikunja.sentry.io/issues/6572520737/events/2a747d0e53e7431fafca89429c552eae/
2025-05-19 18:21:05 +02:00
renovate[bot]
6b0d6891ce fix(deps): update dependency @sentry/vue to v9.20.0 (#798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 13:34:06 +00:00
renovate[bot]
72c4184f90 chore(deps): update dev-dependencies (#796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 09:55:06 +02:00
renovate[bot]
bdd2cb1476 chore(deps): update useblacksmith/build-push-action digest to e09a088 (#792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 09:54:54 +02:00
renovate[bot]
da490633e1 fix(deps): update module github.com/yuin/goldmark to v1.7.12 (#795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 09:54:24 +02:00
Frederick [Bot]
5df5030c68 chore(i18n): update translations via Crowdin 2025-05-18 00:59:45 +00:00
renovate[bot]
01f3dd7501 chore(deps): update dependency eslint to v9.27.0 (#793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-17 09:18:48 +02:00
Frederick [Bot]
fad3e05ba8 chore(i18n): update translations via Crowdin 2025-05-17 00:54:35 +00:00
kolaente
b635c96923 fix(auth): set default data to empty when initializing password reset
Resolves https://github.com/go-vikunja/vikunja/issues/776
2025-05-16 22:08:27 +02:00
kolaente
d16d13d730 feat(i18n): use plural translations in humanize duration 2025-05-16 21:57:07 +02:00
kolaente
96369f3b1c feat(i18n): add params replacement to translation functions 2025-05-16 21:57:07 +02:00
kolaente
43f9fb61a7 feat(i18n): add pluralization function for translation strings 2025-05-16 21:57:07 +02:00
renovate[bot]
a281df6666 chore(deps): update golangci/golangci-lint-action action to v8 (#738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kolaente <k@knt.li>
2025-05-16 21:46:48 +02:00
renovate[bot]
a1125c7a4e chore(deps): update node.js to 152270c (#784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-16 19:26:12 +00:00
renovate[bot]
84bbf2d968 fix(deps): update module github.com/pquerna/otp to v1.5.0 (#790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-16 19:22:32 +00:00
renovate[bot]
de599187d5 chore(deps): pin cypress/browsers docker tag to 05d30b9 (#789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-16 19:20:32 +00:00
kolaente
b262e5c8a6 feat(ci): use docker image when testing with cypress parallel 2025-05-16 21:12:19 +02:00
kolaente
d58f24e5d3 chore(ci): rename frontend-build step for better naming consistency 2025-05-16 19:09:28 +02:00
kolaente
deb598faf5 fix(ci): improve cypress parallelization 2025-05-16 19:09:28 +02:00
kolaente
9d90030bc4 fix(deps): update go-testfixtures/testfixtures to latest main
This halves the time for postgres integration tests, but the fix is not
yet released, hence we're pointing to the version on main with the fix.

See https://github.com/go-testfixtures/testfixtures/issues/288
2025-05-16 18:09:20 +02:00
renovate[bot]
64c0dc39f1 chore(deps): update dev-dependencies (#785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-16 10:36:40 +02:00
Frederick [Bot]
53f201bdfc chore(i18n): update translations via Crowdin 2025-05-16 00:55:58 +00:00
renovate[bot]
d22f9752c0 chore(deps): update node.js to v22.15.1 (#783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 22:06:29 +02:00
renovate[bot]
9d20edd41e fix(deps): update module github.com/getsentry/sentry-go/echo to v0.33.0 (#779)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 14:45:40 +00:00
kolaente
589f7c5535 fix(user): use correct link for user deletion
Resolves https://github.com/go-vikunja/vikunja/issues/777
2025-05-15 16:40:36 +02:00
kolaente
9f30a099ee fix(projects): (un-)archive child projects when archiving parent (#775) 2025-05-15 14:31:56 +00:00
renovate[bot]
a924cb6e48 fix(deps): update dependency vue to v3.5.14 (#773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 10:17:26 +00:00
kolaente
feb182d37a fix(ci): reuse frontend built in test 2025-05-15 12:12:03 +02:00
kolaente
2bdb5c9b67 feat(ci): build frontend before test 2025-05-15 11:51:26 +02:00
kolaente
d472e043c5 feat(ci): run cypress tests in parallel 2025-05-15 11:51:26 +02:00
kolaente
410ad13a70 feat(ci): disable postgres durability features when testing 2025-05-15 10:05:07 +02:00
kolaente
3e46457c03 fix: remove unused import 2025-05-15 09:54:15 +02:00
kolaente
cc62fca5aa fix(ci): setup go when testing so that go compile steps are cached 2025-05-15 09:53:20 +02:00
kolaente
13dfe78121 fix(project): correctly handle invalid project id error 2025-05-15 09:50:33 +02:00
kolaente
cb0e68f625 fix(i18n): make notification settings link translatable 2025-05-15 09:18:27 +02:00
renovate[bot]
6310673bbc chore(deps): update dev-dependencies (#772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 07:14:42 +02:00
renovate[bot]
e209d07bb1 chore(deps): update node.js to v22.15.1 (#771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 07:14:28 +02:00
Frederick [Bot]
ee0c68b1a2 chore(i18n): update translations via Crowdin 2025-05-15 00:54:18 +00:00
kolaente
fdc0860252 fix(auth): only use query parameters instead of local storage for password reset token (#770)
Resolves https://github.com/go-vikunja/vikunja/issues/682
2025-05-14 20:51:45 +00:00
renovate[bot]
6ba4cb8001 chore(deps): update useblacksmith/build-push-action digest to f0d8aee (#769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-14 22:03:22 +02:00
renovate[bot]
f40b27a57c chore(deps): pin useblacksmith/cache action to c5fe29e (#763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-14 22:03:11 +02:00
kolaente
5276b0f1fa fix(task): make sure task comment url only contains one slash 2025-05-14 21:48:04 +02:00
kolaente
aa98b9ba0d chore(renovate): update github actions only once a month 2025-05-14 21:45:58 +02:00