Commit Graph

1562 Commits

Author SHA1 Message Date
Frederick [Bot]
76bba1fb92 chore(i18n): update translations via Crowdin 2025-05-23 00:55:39 +00:00
kolaente
d7d277f9b6 fix(config): do not attempt to parse config values from env when they contain an invalid data type
Related https://github.com/go-vikunja/vikunja/issues/719
2025-05-22 17:06:20 +02:00
Frederick [Bot]
b96a1701d8 chore(i18n): update translations via Crowdin 2025-05-22 00:55:50 +00:00
kolaente
ca98b7da73 feat: add /token/test route
This new route returns 200 if a valid bearer token was presented. It does not return any information about the user.
2025-05-21 22:27:34 +02:00
kolaente
c4566fdb53 chore(i18n): improve overdue task emails translation 2025-05-21 10:28:50 +02:00
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
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
Frederick [Bot]
5df5030c68 chore(i18n): update translations via Crowdin 2025-05-18 00:59:45 +00:00
Frederick [Bot]
fad3e05ba8 chore(i18n): update translations via Crowdin 2025-05-17 00:54:35 +00: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
Frederick [Bot]
53f201bdfc chore(i18n): update translations via Crowdin 2025-05-16 00:55:58 +00:00
kolaente
9f30a099ee fix(projects): (un-)archive child projects when archiving parent (#775) 2025-05-15 14:31:56 +00:00
kolaente
3e46457c03 fix: remove unused import 2025-05-15 09:54:15 +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
Frederick [Bot]
ee0c68b1a2 chore(i18n): update translations via Crowdin 2025-05-15 00:54:18 +00:00
Frederick [Bot]
c19a8cfcc4 [skip ci] Updated swagger docs 2025-05-13 11:27:04 +00:00
kolaente
4d8c17f577 feat(i18n): make overdue reminder translations more explicit (#761) 2025-05-13 11:12:56 +00:00
Piotr Sarna
1d38306e7d fix(docs): improve swagger output by setting swaggertype and enums (#705)
Co-authored-by: Piotr Sarna <piotr@piksar.eu>
2025-05-13 11:02:12 +00:00
kolaente
f7229ba647 fix(i18n): translate all parts of reminder notifications 2025-05-12 16:24:20 +02:00
Frederick [Bot]
aaf6de11a5 [skip ci] Updated swagger docs 2025-05-12 10:24:22 +00:00
Vladimir
c3fffefcf4 fix(db): refactor filtering with subqueries (#701)
Resolves #285
2025-05-12 10:52:48 +02:00
Frederick [Bot]
3e02604317 chore(i18n): update translations via Crowdin 2025-05-12 00:57:57 +00:00
Frederick [Bot]
48814867b4 chore(i18n): update translations via Crowdin 2025-05-11 00:58:59 +00:00
Frederick [Bot]
7b693f055f chore(i18n): update translations via Crowdin 2025-04-28 00:56:09 +00:00
Frederick [Bot]
ad8a17571c chore(i18n): update translations via Crowdin 2025-04-12 00:52:09 +00:00
Frederick [Bot]
8e6b059634 chore(i18n): update translations via Crowdin 2025-04-11 00:52:53 +00:00
Frederick [Bot]
9fe2caa251 chore(i18n): update translations via Crowdin 2025-04-10 00:52:35 +00: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
Frederick [Bot]
c381e47720 chore(i18n): update translations via Crowdin 2025-03-31 00:55:09 +00:00
kolaente
7803fe8aef fix(avatar): use keyvalue store to cache gravatar instead of map
Resolves https://community.vikunja.io/t/docker-crash-concurrent-map-writes-google-login/3454
2025-03-30 16:24:34 +02:00
kolaente
6847f44058 chore(openid): add more debug logging when retrieving token 2025-03-29 19:24:07 +01:00
kolaente
4ea3c01b5f chore: add more debug logging when returning error 2025-03-29 18:21:34 +01:00
kolaente
303dbec78a feat(i18n): add Hebrew translation for selection 2025-03-27 11:58:23 +01:00
kolaente
cfc7f17352 feat(i18n): add Finnish translation for selection 2025-03-27 11:54:17 +01:00
Frederick [Bot]
03ca85aaf1 chore(i18n): update translations via Crowdin 2025-03-26 00:21:22 +00:00
kolaente
25f3c5d9d7 fix(migration): cast to text 2025-03-25 21:47:52 +01:00
kolaente
26eeb07829 fix(i18n): adjust task strings 2025-03-25 09:18:13 +01:00
Frederick [Bot]
04a7cabbcb chore(i18n): update translations via Crowdin 2025-03-25 00:23:17 +00:00
kolaente
2e11c55e9e fix(test): use correct assertion
Resolves a regression introduced in 1bdb01712e
2025-03-24 17:41:39 +01:00
kolaente
1bdb01712e fix(filter): correctly use user time zone when filtering for date fields
Resolves https://community.vikunja.io/t/upcoming-list-doesnt-display-repeating-tasks/3539
2025-03-24 17:22:33 +01:00
kolaente
3509f1beb3 chore!: remove deprecated config settings 2025-03-24 16:52:46 +01:00
kolaente
13d4e0e00d chore(utils): remove deprecated MakeRandomString function 2025-03-24 16:52:46 +01:00
Frederick [Bot]
f188762b86 chore(i18n): update translations via Crowdin 2025-03-24 00:22:33 +00:00
kolaente
62b2c6771a fix(project): correctly migrate old project view filters
This fixes a bug where old filters where not converted to the new json format correctly, leading to issues when trying to decode the raw filter string as json.
It is unclear whether that old migration had a bug or was not executed at all.

This change adds a new migration to fix all filters in views still stuck in the old filter string format.

Resolves https://github.com/go-vikunja/vikunja/issues/420
2025-03-23 21:34:49 +01:00
kolaente
063753a543 fix(filter): do not try to set timezone when doer does not exist
Resolves https://vikunja.sentry.io/issues/6025547266/events/e0d0a5fdf01c46a2ac9101d94ab4f304/
2025-03-23 19:08:11 +01:00