379b0b24b3
fix(auth): test assertion
2024-03-02 15:38:01 +01:00
a4a0ea973a
feat(auth): update team name in Vikunja when it was changed in the openid provider
2024-03-02 15:27:15 +01:00
fc4303a778
chore(auth): add oidc suffix to openid team name in db
...
Related to vikunja/vikunja#2150
2024-03-02 15:23:19 +01:00
4f1f96f1e9
chore(auth): refactor openid team creation
2024-03-02 15:22:37 +01:00
ed4da96ab1
feat: assign users to teams via OIDC claims ( #1393 )
...
This change adds the ability to sync teams via a custom openid claim. Vikunja will automatically create and delete teams as necessary, it will also add and remove users when they log in. These teams are fully managed by Vikunja and cannot be updated by a user.
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/vikunja#1393
Resolves vikunja/vikunja#1279
Resolves https://github.com/go-vikunja/vikunja/issues/42
Resolves vikunja/vikunja#950
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-committed-by: viehlieb <pf@pragma-shift.net>
2024-03-02 08:47:10 +00:00
e40a0043d4
fix(migration): do not halt the whole migration when copying a background file failed
2024-02-19 19:21:06 +01:00
162741e940
fix: lint
2024-02-13 22:24:46 +01:00
205f330f8a
fix(migration): make sure to correctly check if a migration was already running
...
This change fixes a bug where Vikunja would not correctly check if a migration was already running. That meant it was not possible for users who had never before migrated anything to start a migration, because Vikunja assumed they already had a migration running for them.
This state was neither properly reflected in the frontend, which is now fixed as well.
2024-02-13 22:21:59 +01:00
2facbae0d7
fix(dump): only allow imports from the same version they were dumped on
...
Previously, Vikunja would allow imports from any version which then caused problems since the table structure might have changed between releases. This change now checks if the current version is the same as the one the dump was created on.
2024-02-13 21:25:31 +01:00
119c68be9d
feat: rename frontend url config to public url
2024-02-09 14:41:55 +01:00
30a2dcd04c
fix: lint
2024-01-28 15:27:14 +01:00
ce53663a88
fix(openid): use the calculated redirect url when authenticating with openid providers
2024-01-28 12:41:35 +01:00
3ff4d81618
fix(migration): ignore tasks with empty titles
2024-01-19 23:04:24 +01:00
ec6e3e99e0
chore: check if import zip contains a VERSION file
2024-01-14 22:21:55 +01:00
a5a6aba7c8
fix(auth): don't reset user settings when updating name or email from external auth provider
...
Resolves https://github.com/go-vikunja/api/issues/102
2023-12-25 17:09:19 +01:00
c05f51b923
chore(deps): update golangci-lint rules
2023-12-19 13:34:31 +01:00
d35c30dd0c
fix(import): make sure importing works if parent / child projects are created in a different order
...
Resolves https://community.vikunja.io/t/migrating-from-self-hosted-instance/1805
2023-12-03 14:14:27 +01:00
ab2eda4bd5
fix(openid): make sure usernames with spaces work
2023-11-13 11:38:24 +01:00
46683a2516
feat(migration): migration from other services now happens in the background
2023-11-09 00:15:11 +01:00
707bb6f89e
fix(migration): make sub project hierarchy work when importing from other services
2023-11-08 22:56:10 +01:00
4d3ba495a7
fix(tests): use string IDs in Todoist test
2023-11-07 13:28:06 +01:00
27984157c1
fix(migration): use string for todoist project note id
2023-11-03 12:06:23 +01:00
56625b0b90
fix: lint
2023-10-10 20:35:43 +02:00
1ee243f2bd
fix(project background): add more checks for whether a background file exists when duplicating or deleting a project
...
Related discussion: https://community.vikunja.io/t/500-internal-server-error-when-selecting-unsplash-background-image/778/18
2023-09-13 11:20:59 +02:00
c6bdb5752a
fix(import): create related tasks without an id
2023-09-07 11:16:04 +02:00
b2f3a23cb3
fix(import): correctly set child project relations
2023-09-07 10:45:15 +02:00
93795d2f29
fix(import): resolve task relations by old task ids
2023-09-07 10:24:15 +02:00
adf4b95ed3
fix(import): ignore duplicate project identifier
2023-09-07 10:12:15 +02:00
ce3a06f03b
fix(import): don't fail when importing from dev exports
2023-09-07 10:11:59 +02:00
e4c71123ef
fix: lint
2023-09-01 08:39:25 +02:00
fb2a1c59db
feat(api tokens): check if a provided token matched a hashed on in the database
2023-09-01 08:36:15 +02:00
e518fb1191
chore: remove year from copyright headers
...
Resolves vikunja/api#1483
2023-09-01 08:32:28 +02:00
d83e3a0a03
chore: remove cache options
...
Cache was not working correctly, added more complexity and actually made response times slower. Because of this, I'm removing all cache options until we figure out a better solution.
Resolves vikunja/api#1496
Resolves vikunja/api#907
2023-06-08 17:05:36 +02:00
a8b76772ff
fix(migration): revert wrongly changed url
2023-05-24 15:52:33 +02:00
a21bff3ffb
fix: compile errors
2023-05-24 15:52:32 +02:00
abe5f72493
fix(migration): enable insert from structure work recursively
2023-05-24 15:51:56 +02:00
4b55e2ce03
fix(migration): make file migration work with new structure
2023-05-24 15:51:56 +02:00
afe756e4c1
fix(tests): make the tests compile again
2023-05-24 15:51:55 +02:00
906574adc9
fix(project): remove comments, clarifications, notifications about namespaces
2023-05-24 15:51:54 +02:00
ac0d84a7d8
feat(migration): ignore namespace changes
2023-05-24 15:51:54 +02:00
386e218b95
feat(migration): use new structure for migration
2023-05-24 15:51:54 +02:00
fef253312c
feat(projects): cleanup namespace leftovers
2023-05-24 15:51:54 +02:00
16de7cd591
feat(projects): remove namespaces
2023-05-24 15:51:54 +02:00
96a0f5e169
feat: rename lists to projects
2023-05-24 15:51:53 +02:00
359d0512cc
fix: upgrade jwt v5
2023-05-23 16:37:16 +02:00
7d8c42ab98
fix(migration): remove unused is_deleted flag from Todoist api response
...
Related discussion: https://community.vikunja.io/t/importing-tasks-from-todoist/322
2023-05-08 15:32:27 +02:00
9bf535d06f
fix: remove old saved openid provider settings from cache when starting Vikunja
...
Resolves vikunja/api#1487
2023-04-10 13:32:20 +02:00
Dominik Pschenitschni
cca430810d
fix(image): json type of struct property ( #1469 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1469
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-04-06 09:53:09 +00:00
c45ad112a2
fix(migration): don't try to fetch task details of tasks whose projects are deleted
2023-04-04 11:24:59 +02:00
8edbca39cf
fix: accept for migrations
2023-04-03 05:20:18 +00:00