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
441722372a
feat: add token example
2023-04-03 05:20:01 +00:00
4f7d69a108
fix: docs auth openID method
2023-04-03 05:19:32 +00:00
cernst
f45648a6f7
feat(caldav): Sync Reminders / VALARM ( #1415 )
...
Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1415
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-04-01 11:09:11 +00:00
cernst
3f5252dc24
feat: Add relative Reminders ( #1427 )
...
Partially resolves #1416
Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1427
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-03-27 20:07:06 +00:00
823c817b1f
fix(import): don't try to load a nonexistant attachment file
2023-03-26 15:42:25 +02:00
4d5ad8f50e
chore(deps): update golangci-lint to 1.52.1
2023-03-24 19:17:45 +01:00
7a9611c2da
chore: cleanup
2023-03-13 14:28:36 +01:00
7cab3a77a9
fix(migration): rename TickTick migration
2023-03-13 14:28:25 +01:00
2940eae1aa
fix(migration): use correct struct
2023-03-13 14:28:19 +01:00
61a3380a94
fix: trello import tests
2023-03-13 14:28:07 +01:00
fb818ea186
fix: test import
2023-03-13 14:28:06 +01:00
349e6a5905
feat: rename lists to projects
2023-03-13 14:28:06 +01:00
9f14466dfa
fix: lint
2023-03-05 22:24:29 +01:00
168287923f
fix(migration): make sure trello checklists are properly imported
2023-02-24 12:13:18 +01:00
58da38adb6
fix(migration): don't try to add nonexistent tasks as related
...
Discussion: https://community.vikunja.io/t/todoist-migration-fails-after-51-iterations-19-minutes/1137
2023-02-07 17:06:04 +01:00
clos
afdceb0aff
fix(list): when list background is removed, delete file from file system and DB ( #1372 )
...
Co-authored-by: testinho.testador <testinho.testador@noreply.kolaente.de>
Reviewed-on: vikunja/api#1372
Reviewed-by: konrad <k@knt.li>
Co-authored-by: clos <clos@noreply.kolaente.de>
Co-committed-by: clos <clos@noreply.kolaente.de>
2023-02-01 11:38:23 +00:00
ef8e97f95e
fix(deps): update module github.com/go-redis/redis/v8 to v9 ( #1377 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1377
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2023-01-31 16:45:58 +00:00
clos
f660badc3d
feat(background): add Last-Modified header ( #1376 )
...
Reviewed-on: vikunja/api#1376
Co-authored-by: clos <clos@noreply.kolaente.de>
Co-committed-by: clos <clos@noreply.kolaente.de>
2023-01-29 22:07:46 +00:00
682123a9c9
fix(migration): todoist pagination now avoids too many loops
2023-01-24 22:27:57 +01:00
c59e006453
fix(migration): remove unused todoist parameters
2023-01-24 18:44:33 +01:00
1971df7b84
fix(migration): use the proper authorization method for Todoist's api, fix issues with importing deleted items
2023-01-24 15:45:56 +01:00
31a1452839
fix(migration): import TickTick data by column name instead of index ( #1356 )
...
Resolves: https://github.com/go-vikunja/api/issues/61
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1356
Co-authored-by: kooshi <kolaente.dev@pat.de.com>
Co-committed-by: kooshi <kolaente.dev@pat.de.com>
2023-01-24 13:58:18 +00:00
530bb0a63c
fix(user): make reset the user's name to empty actually work
2023-01-23 18:30:01 +01:00
ef1d1e2b20
feat(migrators): remove wunderlist ( #1346 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1346
2022-12-29 17:12:39 +00:00
6a97a214a3
fix(migration): use Todoist v9 api to migrate tasks from them
...
Discussion: https://community.vikunja.io/t/importing-tasks-from-todoist/322/7
2022-12-18 20:38:58 +01:00
a79b1de2d0
feat: provide logout url for openid providers ( #1340 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1340
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-committed-by: viehlieb <pf@pragma-shift.net>
2022-12-18 18:26:28 +00:00
8c67be558f
fix: restore notifications table from dump when it already had the correct format
2022-12-01 17:33:00 +01:00
96b5e93379
fix: swagger docs
2022-11-11 15:34:26 +01:00
f5a33478f2
fix(migration): make sure importing works when the csv file has errors and don't try to parse empty values as dates
2022-10-09 22:58:08 +02:00
5e40f4ec89
fix(migration): properly parse duration
2022-10-09 22:44:57 +02:00
e5394d6d4b
feat(migration): add TickTick migrator
2022-10-09 22:44:32 +02:00
aed560339b
fix(todoist): properly import all done tasks
2022-10-01 19:29:05 +02:00
c5bd09702a
chore(deps): update dependency golang to v1.19 ( #1228 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1228
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-10-01 15:05:12 +00:00
8bf0f8bb57
fix: make sure generating blur hashes for bmp, tiff and webp images works
2022-08-15 23:37:05 +02:00
6e15d46a93
fix(restore): use the correct initial migration
...
Related to vikunja/api#1199
2022-07-13 23:44:21 +02:00
596d2bf676
fix(restore): properly decode notifications json data
...
Related to vikunja/api#1199
2022-07-13 23:43:20 +02:00
25ffa1bc2e
fix: prevent logging openid provider errors twice
2022-07-07 15:47:37 +02:00
c62e26b6fe
fix: revert renaming Attachments to Embeds everywhere
2022-06-30 14:21:17 +00:00
f4f8450d16
feat: embed the vikunja logo as inline attachment
2022-06-30 14:21:17 +00:00
de97fcbd12
fix: lint
2022-03-30 16:36:07 +00:00
d3bdafb717
fix: decoding images for blurHash generation
2022-03-30 16:36:07 +00:00
6b51fae093
fix: return BlurHash in unsplash search results
2022-03-30 16:36:07 +00:00
7fa0865188
fix: lint
2022-03-30 16:36:07 +00:00
6df865876d
feat: return BlurHash for unsplash search results
2022-03-30 16:36:07 +00:00
2ec7d7a8a8
feat: save BlurHash from unsplash when selecting a photo from unsplash
2022-03-30 16:36:07 +00:00
f83b09af59
feat: generate a BlurHash when uploading a new image
2022-03-30 16:36:07 +00:00
5cf263a86f
feat: upgrade golangci-lint to 1.45.2
2022-03-27 16:55:37 +02:00
8bf2254f4b
fix: restoring dumps with no config file saved in them
2022-02-19 17:46:10 +01:00
8cb92b3924
fix(dump): don't try to save a config file if none was provided and dump vikunja env variables
2022-02-19 11:32:30 +01:00
43f1daf40c
fix: microsoft todo migration not importing all tasks
...
Previously, we did not check if a list has more tasks than the ones returned. By default, the Microsoft Graph API only returns 10 tasks. If the user had more they would not get imported.
Now we check if there are more pages with tasks and pull them all in until we have everything.
2022-02-18 20:00:42 +01:00
1322cb16d7
feat: add long-lived api tokens ( #1085 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1085
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-02-06 13:18:08 +00:00
8bb3f8d37c
fix: importing archived lists or namespaces
2021-12-12 13:18:01 +01:00
190a9f2a4c
fix: friendly name not getting synced on first login from openid
...
Resolves #874
2021-12-12 12:35:13 +01:00
73ee696fc3
feat: add marble avatar ( #1060 )
...
This adds the marble avatar from [boring avatars](https://github.com/boringdesigners/boring-avatars ) as an option for user avatars. Each user gets a different one (based on their id).
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1060
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-07 21:11:23 +00:00
fd0d462bf4
fix: importing tasks from todoist without a due time set
...
Resolves #897
2021-11-23 22:29:57 +01:00
Joseph Kavanagh
36bf3d216a
feat: gravatar - Lowercase emails before MD5 hash ( #10 )
2021-11-16 22:10:22 +01:00
0b7762590f
fix: lint
2021-11-16 20:37:37 +01:00
c3e0e6405a
fix: importing trello attachments
...
Since jan 2021, trello requires authentication to access attachments. This commit passes the required auth headers to make downloading card attachments work.
resolves https://github.com/go-vikunja/api/issues/6
2021-11-14 21:47:51 +01:00
88a2cede19
feat: use wallpaper topic for default unsplash background list
2021-11-14 20:47:15 +01:00
cf05de19b3
fix: updating a list might remove its background
...
resolves #1039
2021-11-13 17:52:14 +01:00
516c812043
feat: expose if a user is a local user through its jwt token
2021-10-31 12:37:31 +01:00
82a3330412
Added the ability to configure the JWT expiry date using a new server.jwtttl config parameter. ( #999 )
...
Co-authored-by: Stephen Hill <stephen@gatekiller.co.uk>
Reviewed-on: vikunja/api#999
Co-authored-by: stephen-hill <stephen@gatekiller.co.uk>
Co-committed-by: stephen-hill <stephen@gatekiller.co.uk>
2021-10-09 11:02:28 +00:00
90146aea5b
User Data Export and import ( #967 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#967
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-04 19:26:31 +00:00
c3da454854
Update module github.com/golang-jwt/jwt to v4 ( #930 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#930
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-08-03 21:43:18 +00:00
6ccb85a0dc
Reorder tasks, lists and kanban buckets ( #923 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#923
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 19:06:40 +00:00
eae3cbc7bb
Replace jwt-go with github.com/golang-jwt/jwt
2021-07-27 10:46:28 +02:00
4216ed7277
Refactor user email confirmation + password reset handling ( #919 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#919
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-13 20:56:02 +00:00
32a07c4c61
Fix importing archived projects and done items from todoist
2021-07-08 11:37:50 +02:00
5b825f1cc8
Make sure a bucket exists or use the default bucket when importing tasks
2021-07-08 10:34:03 +02:00
8b6aeb8571
Fix lint
2021-07-07 20:53:26 +02:00
0c5dfe5c48
Better logging for errors while importing a bunch of tasks
2021-07-06 18:14:40 +02:00
d7932d2648
Don't fail when removing the last bucket in migration from other services
2021-07-06 15:43:38 +02:00