Commit Graph

970 Commits

Author SHA1 Message Date
db3c7aa8b0
fix: make sure projects are correctly sorted 2023-05-24 15:52:33 +02:00
353279cbff
fix: fetch all tasks for all projects 2023-05-24 15:52:33 +02:00
3b0935d033
docs: remove all traces of namespaces 2023-05-24 15:52:33 +02:00
9011894a29
feat: check for cycles when creating or updating a project's parent 2023-05-24 15:52:33 +02:00
edcb806421
feat: remove ChildProjects project property 2023-05-24 15:52:33 +02:00
f2d943f5c4
fix: add missing error code 2023-05-24 15:52:33 +02:00
35964ce4a6
fix(projects): recalculate project's position after dragging when position would be 0 2023-05-24 15:52:33 +02:00
a8b76772ff
fix(migration): revert wrongly changed url 2023-05-24 15:52:33 +02:00
53b2ade5bb
feat(projects): return a favorites pseudo project when the user has favorite tasks 2023-05-24 15:52:32 +02:00
b482664d82
fix(projects): don't allow making a project child of itself 2023-05-24 15:52:32 +02:00
aafcb0bac4
fix(projects): don't return child projects twice 2023-05-24 15:52:32 +02:00
0110f93313
feat: make the new inbox project the default 2023-05-24 15:52:32 +02:00
f1cbe50605
fix: rename project receiver variable 2023-05-24 15:52:32 +02:00
746ac1098f
fix(test): adjust fixture bucket and list ids 2023-05-24 15:52:32 +02:00
d7396fac57
fix(test): adjust fixture id 2023-05-24 15:52:32 +02:00
3b00a5c200
fix(test): fixtures 2023-05-24 15:52:32 +02:00
a21bff3ffb
fix: compile errors 2023-05-24 15:52:32 +02:00
ebc3dd2b3e
fix: lint errors 2023-05-24 15:51:57 +02:00
017f771783
chore(test): show table content when db assertion failed 2023-05-24 15:51:56 +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
2f81791735
chore(export): remove unused events 2023-05-24 15:51:56 +02:00
8235c63f60
fix(tests): task collection fixtures 2023-05-24 15:51:56 +02:00
03b7fa6dd3
fix(tests): subscription test fixtures 2023-05-24 15:51:56 +02:00
5e6bff20f8
fix(tests): task permissions from parents 2023-05-24 15:51:56 +02:00
8e56fe558a
fix(tests): adjust parent projects 2023-05-24 15:51:56 +02:00
154ac61d7c
fix(projects): properly check if a user or link share is allowed to create a new project 2023-05-24 15:51:56 +02:00
03eb4ecd07
fix(tests): permission tests for parent projects 2023-05-24 15:51:56 +02:00
d4e644e91e
chore(project): fmt 2023-05-24 15:51:56 +02:00
48beb5f382
fix(project): don't allow un-archiving a project when its parent project is archived 2023-05-24 15:51:56 +02:00
0cd633981a
fix(project): recursively get all users from all parent projects 2023-05-24 15:51:56 +02:00
19f69419f7
fix(tasks): task relation test 2023-05-24 15:51:55 +02:00
6bb42ced9d
fix(tasks): read all tests 2023-05-24 15:51:55 +02:00
3b837a472b
fix(migration): remove wunderlist leftovers 2023-05-24 15:51:55 +02:00
537ba60f2d
fix(tasks): get all tasks from parent projects 2023-05-24 15:51:55 +02:00
ceaa9c0e03
feat(subscriptions): make sure all subscriptions are inherited properly 2023-05-24 15:51:55 +02:00
afe756e4c1
fix(tests): make the tests compile again 2023-05-24 15:51:55 +02:00
f4fc431b6f
fix(projects): permission check now works 2023-05-24 15:51:55 +02:00
438f5c8e12
fix(projects): don't check if new projects are archived 2023-05-24 15:51:55 +02:00
3e8d1b3667
chore(projects) use a slice again 2023-05-24 15:51:55 +02:00
18b9ff8512
feat(projects): check parent project when checking archived status 2023-05-24 15:51:55 +02:00
5e2567645a
feat(projects): check all parent projects for permissions 2023-05-24 15:51:55 +02:00
d799915e78
feat(projects): get all projects recursively 2023-05-24 15:51:55 +02:00
4c698dc7c7
fix: typo 2023-05-24 15:51:55 +02:00
e93a5ff11f
fix: rename after rebase 2023-05-24 15:51:54 +02:00
d79c393e5b
fix: make it compile again 2023-05-24 15:51:54 +02:00
5d02d93d31
fix(tasks): don't check for namespaces in filters 2023-05-24 15:51:54 +02:00
7c448c88a8
fix(project): don't check for namespaces in overdue reminders 2023-05-24 15:51:54 +02:00
906574adc9
fix(project): remove comments, clarifications, notifications about namespaces 2023-05-24 15:51:54 +02:00
d794a2c5ca
fix(project): remove namespaces checks 2023-05-24 15:51:54 +02:00
8cff813e9f
fix(project): remove namespaces from creating projects 2023-05-24 15:51:54 +02:00
2dcd6451a4
fix(project): remove namespaces from getting projects 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
0795828a9f
feat(projects): add parent project, migrate namespaces 2023-05-24 15:51:54 +02:00
47c2da7f18
feat: rename lists to projects 2023-05-24 15:51:53 +02:00
fc73c84bf2
feat: rename lists to projects 2023-05-24 15:51:53 +02:00
87ed68e4c8
fix(migration): remove wunderlist leftovers 2023-05-24 15:51:53 +02:00
50c922b7d1
fix: lint 2023-05-24 15:51:53 +02:00
96a0f5e169
feat: rename lists to projects 2023-05-24 15:51:53 +02:00
359d0512cc
fix: upgrade jwt v5
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 16:37:16 +02:00
7d9e8bd150
fix(cli): rename user project command
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-10 22:37:37 +02:00
7d8c42ab98
fix(migration): remove unused is_deleted flag from Todoist api response
Some checks failed
continuous-integration/drone/push Build is failing
Related discussion: https://community.vikunja.io/t/importing-tasks-from-todoist/322
2023-05-08 15:32:27 +02:00
7ad256f6cd
fix: correctly pass unix socket to xorm
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-17 19:39:38 +02:00
0a6bbc2efd fix: using mysql via a socket
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-17 10:48:59 +00:00
aa43127e52
fix: provide a proper error message when viewing a link share with an invalid token
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-17 11:08:38 +02:00
10f71c29b2
fix(saved filters): don't let query parameters override saved sorting parameters
All checks were successful
continuous-integration/drone/push Build is passing
Resolves vikunja/frontend#3380
2023-04-14 11:01:31 +02:00
2dad404217
fix: typo in email template
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 10:29:54 +02:00
eb3b4e9ed9 fix(CalDAV): naming
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-11 11:21:40 +00:00
5856f21f31
chore: fix comment url
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-04-11 11:40:06 +02:00
9bf535d06f
fix: remove old saved openid provider settings from cache when starting Vikunja
All checks were successful
continuous-integration/drone/push Build is passing
Resolves vikunja/api#1487
2023-04-10 13:32:20 +02:00
47e42238ef
fix: make sure Vikunja is buildable without swagger docs present
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-06 12:11:31 +02:00
Dominik Pschenitschni
cca430810d fix(image): json type of struct property (#1469)
Some checks failed
continuous-integration/drone/push Build is failing
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
f76bb2b4a9 fix: align task ID param
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-05 12:14:10 +00:00
7ada82ea92 fix: align namespaceID param 2023-04-05 12:14:10 +00:00
cd90db3117 chore: fix spelling 2023-04-05 12:14:10 +00:00
b6d5605ef6 fix: align "ID" param for Delete and Update method of Task model 2023-04-05 12:14:10 +00:00
ac377a7a5d fix: align "otherTaskID" param for Delete method of TaskRelation model 2023-04-05 12:14:10 +00:00
c45ad112a2
fix(migration): don't try to fetch task details of tasks whose projects are deleted
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-04 11:24:59 +02:00
84933c08cc
feat(users): don't hide user email if it was the search request
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-03 19:41:20 +02:00
dff4e01327
fix: ILIKE helper
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-03 19:19:51 +02:00
a7231e197e
feat: allow to find users with access to a project more freely
Some checks failed
continuous-integration/drone/push Build is failing
Related to vikunja/frontend#2196
2023-04-03 18:49:04 +02:00
eb93ccb827 chore(docs): add info about /buckets sorting
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-03 05:20:42 +00:00
8edbca39cf fix: accept for migrations
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-03 05:20:18 +00:00
441722372a feat: add token example
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-03 05:20:01 +00:00
4f7d69a108 fix: docs auth openID method
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-03 05:19:32 +00:00
fc2cc4a155 fix: spelling
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-03 05:19:08 +00:00
Dominik Pschenitschni
cf7423fc1a fix(api): license (#1457)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1457
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-02 19:34:06 +00:00
efa24cec44
feat: generate swagger docs at build time
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-02 16:52:54 +02:00
cernst
1cffef6908 fix(caldav): Incoming tasks do not get correct time zone (#1455)
All checks were successful
continuous-integration/drone/push Build is passing
Dates from tasks.org may be formatted like DUE;TZID=Europe/Berlin:20230402T150000
After this fix the parameter TZID is no longer ignored and the Vikunja task gets a DueDate of 13:00 UTC, which corresponds to 15:00 in Europe/Berlin. Before this fix, the time was parsed to 15:00 UTC.

Resolves vikunja/api#1453

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1455
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-04-02 12:31:31 +00:00
cernst
f45648a6f7 feat(caldav): Sync Reminders / VALARM (#1415)
All checks were successful
continuous-integration/drone/push Build is passing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-26 15:42:25 +02:00
f4e12dab27 fix: add missing license header
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-25 12:28:56 +00:00
f0dcce702f fix: lint 2023-03-25 12:28:56 +00:00
9590b82c11 feat: add logging options to mailer settings 2023-03-25 12:28:56 +00:00
cernst
5961e56d16 fix(caldav): Do not create label if it exists by title (#1444)
All checks were successful
continuous-integration/drone/push Build is passing
Resolves vikunja/api#1435

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1444
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-03-24 18:34:48 +00:00
4d5ad8f50e
chore(deps): update golangci-lint to 1.52.1
Some checks failed
continuous-integration/drone/push Build is failing
2023-03-24 19:17:45 +01:00
6aadaaaffc chore: rename files (fix typo)
Some checks failed
continuous-integration/drone/push Build is failing
2023-03-21 19:02:05 +00:00
8916de0366
fix: update redoc
Some checks failed
continuous-integration/drone/push Build is failing
2023-03-16 19:08:18 +01:00
7a9611c2da
chore: cleanup
All checks were successful
continuous-integration/drone/pr Build is passing
2023-03-13 14:28:36 +01:00
7cab3a77a9
fix(migration): rename TickTick migration 2023-03-13 14:28:25 +01:00
77ad90d53e
fix(migration): remove wunderlist leftovers 2023-03-13 14:28:20 +01:00
55410ea73d
chore: generate swagger docs 2023-03-13 14:28:19 +01:00
e4f841cf6a
fix(tasks): sql for overdue reminders 2023-03-13 14:28:19 +01:00
2940eae1aa
fix(migration): use correct struct 2023-03-13 14:28:19 +01:00
0a3fdc0344
fix: users_lists name in migration 2023-03-13 14:28:19 +01:00
06f1d2e912
fix: test fixtures 2023-03-13 14:28:07 +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
7e53a21407
fix: rename incorrectly named ProjectUsers method 2023-03-13 14:28:06 +01:00
8f4abd2fe8
feat: rename all list files 2023-03-13 14:28:06 +01:00
2fba7bdf02
feat: migrate lists to projects in db identifiers 2023-03-13 14:28:06 +01:00
349e6a5905
feat: rename lists to projects 2023-03-13 14:28:06 +01:00
c0c523f0a8
fix: don't send bad request errors to sentry
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-13 10:52:52 +01:00
672fb35bcb
fix: check if usernames contain spaces when creating a new user
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-12 15:02:34 +01:00
9f14466dfa
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-05 22:24:29 +01:00
077baba2ea
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-05 14:34:34 +01:00
066c26f83e
fix(caldav): make sure only labels where the user has permission to use them are used
Some checks failed
continuous-integration/drone/push Build is failing
Follow-up for a62b57ac62
2023-03-05 14:03:09 +01:00
cernst
a62b57ac62 feat(caldav): import caldav categories as Labels (#1413)
All checks were successful
continuous-integration/drone/push Build is passing
Resolves #1274

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1413
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-03-02 15:25:26 +00:00
534d04a1db
fix(task): correctly load tasks by id and uuid in caldav
All checks were successful
continuous-integration/drone/push Build is passing
Partially reverts 1afc72e190
2023-03-01 22:18:59 +01:00
cernst
1afc72e190 fix: Make sure labels are always exported as caldav (#1412)
All checks were successful
continuous-integration/drone/push Build is passing
Authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1412
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-02-28 10:42:57 +00:00
cernst
53197b85e3 feat(caldav): Export Labels to Caldav (#1409)
All checks were successful
continuous-integration/drone/push Build is passing
Partially resolves vikunja/api#1274

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1409
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
2023-02-27 11:22:42 +00:00
168287923f
fix(migration): make sure trello checklists are properly imported
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 12:13:18 +01:00
ca6d1946da
fix(tasks): make sure tasks are sorted by position before recalculating them
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-23 17:43:23 +01:00
1efa1696bf
fix(tasks): recalculate position of all tasks in a list or bucket when it would hit 0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-23 16:00:41 +01:00
da9d25cf72
feat: disable events log by default
All checks were successful
continuous-integration/drone/push Build is passing
BREAKING CHANGE: events log level is now off unless explicitly enabled
2023-02-15 10:44:02 +01:00
20a5994b17
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-14 20:37:16 +01:00
fceb5dae0f
fix(task): make sure the task's last updated timestamp is always updated when releated entities changed
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-14 20:09:05 +01:00
58da38adb6
fix(migration): don't try to add nonexistent tasks as related
All checks were successful
continuous-integration/drone/push Build is passing
Discussion: https://community.vikunja.io/t/todoist-migration-fails-after-51-iterations-19-minutes/1137
2023-02-07 17:06:04 +01:00
fdbe110945
chore(deps): upgrade golangci-lint to 1.51.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 11:16:07 +01:00
clos
afdceb0aff fix(list): when list background is removed, delete file from file system and DB (#1372)
Some checks failed
continuous-integration/drone/push Build is failing
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)
Some checks failed
continuous-integration/drone/push Build is failing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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
491a142378
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-29 22:42:24 +01:00
40411e4100
chore(task): add test to check if a task's reminders are duplicated
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-26 16:06:49 +01:00
682123a9c9
fix(migration): todoist pagination now avoids too many loops
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-24 22:27:57 +01:00
c59e006453
fix(migration): remove unused todoist parameters
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-24 15:45:56 +01:00
31a1452839 fix(migration): import TickTick data by column name instead of index (#1356)
All checks were successful
continuous-integration/drone/push Build is passing
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
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-23 18:30:01 +01:00
7bf7a13bb9
fix(reminders): prevent duplicate reminders when updating task details
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-23 18:14:15 +01:00
82f4a5ad50
fix(export): ignore file size for export files
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-11 18:56:30 +01:00
04614614fe
fix(tasks): don't set a repeating task done when moving it do the done bucket
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-11 18:46:24 +01:00
Rein
4b5e65d4c2
fix(mailer): forcessl config (#60)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Rein-R3 <rein@reinsan.top>
Reviewed-At: https://github.com/go-vikunja/api/pull/60
2023-01-09 12:39:43 +01:00
ef1d1e2b20 feat(migrators): remove wunderlist (#1346)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1346
2022-12-29 17:12:39 +00:00
c6429c8b13 fix(deps): update module github.com/labstack/echo/v4 to v4.10.0 (#1343)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1343
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-12-28 10:32:12 +00:00
897a6e5d5c
fix(caldav): use const for repeat modes
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-24 14:34:59 +01:00
194b88e2eb
fix(tasks): don't reset the kanban bucket when updating a task and not providing one
Resolves https://github.com/go-vikunja/api/issues/56
2022-12-24 14:30:34 +01:00
c5327845ee
feat(caldav): add support for repeating tasks
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/api/issues/57#issuecomment-1364373103
2022-12-24 12:19:51 +01:00
ea1d06bda6
fix(list): return lists for a namespace id even if that namespace is deleted
All checks were successful
continuous-integration/drone/push Build is passing
This fixes a problem where a namespace was deleted and its list were not.
Forum discussion: https://community.vikunja.io/t/list-deleted-but-tasks-showing-up-as-archived-and-overdue/1025
2022-12-23 17:48:21 +01:00
6a97a214a3
fix(migration): use Todoist v9 api to migrate tasks from them
Some checks failed
continuous-integration/drone/push Build is failing
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)
Some checks failed
continuous-integration/drone/push Build is failing
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
e9ce930230 fix(deps): update module github.com/swaggo/swag to v1.8.9 (#1327)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1327
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-12-18 16:43:30 +00:00
f93317bf5d
fix(caldav): add Z suffix to dates make it clear dates are in UTC
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-04 21:01:04 +01:00
b8c3b570a4
fix(restore): check if we're really dealing with a string
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-02 14:49:32 +01:00
1f2eb57602
fix(reminders): make sure an overdue reminder is sent when there is only one overdue task
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-01 18:41:24 +01:00
51911a8868
fix(reminders): overdue tasks join condition
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-01 18:30:05 +01:00
47aae115df
fix(tasks): don't include undone overdue tasks from archived lists or namespaces in notification mails
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/api#1324
2022-12-01 18:07:30 +01:00
fbc4b91e0f
fix(dump): make sure null dates are properly set when restoring from a dump
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-01 17:53:02 +01:00
8c67be558f
fix: restore notifications table from dump when it already had the correct format
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-01 17:33:00 +01:00
f47faf577a fix(deps): update module github.com/wneessen/go-mail to v0.3.5 (#1325)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1325
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-11-21 11:56:19 +00:00
96b5e93379
fix: swagger docs
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-11 15:34:26 +01:00
33e27c66a0
fix(filters): try parsing invalid dates like 2022-11-1
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-11 11:05:21 +01:00
986129a784
fix(filters): try parsing dates without time
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-11 10:54:50 +01:00
3d7605591e
fix(filters): try to parse date filter fields of the provided dates are not valid iso dates
All checks were successful
continuous-integration/drone/push Build is passing
Resolves https://community.vikunja.io/t/due-date-saved-filter-doesnt-seem-to-work/966/12
2022-11-10 16:39:44 +01:00
811514855b
fix(metrics): make currently active users actually work
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-09 21:12:17 +01:00
a9e6776abf
fix(tasks): allow sorting by task index
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-09 14:43:31 +01:00
f9b48ec091
fix(filter): only check for 0 values in filter fields with numeric values
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-08 17:03:07 +01:00
3b0b4a8460
fix(task): duplicate reminders when adding different ones between winter / summer time
Some checks failed
continuous-integration/drone/push Build is failing
Resolves F-889
2022-11-08 16:50:19 +01:00
2ef5e54588
fix(filter): also check for 0 values if the filter should include nulls
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://community.vikunja.io/t/due-date-saved-filter-doesnt-seem-to-work/966
2022-11-08 16:27:16 +01:00
641a9da93d fix: usage with postgres over unix socket (#1308)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1308
2022-11-04 12:25:06 +00:00
622f2f0562
fix: look for the default bucket based on the position instead of the index
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-03 15:10:20 +01:00
c495096444
fix: make sure task indexes are calculated correctly when moving tasks between lists
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/api/issues/52
2022-11-02 17:40:52 +01:00
9fc08a0790
fix(lists): return correct max right for lists where the user has created the namespace
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-25 18:54:11 +02:00
f5a33478f2
fix(migration): make sure importing works when the csv file has errors and don't try to parse empty values as dates
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-09 22:58:08 +02:00
0d044997df
fix(migration): expose ticktick migrator to /info 2022-10-09 22:45:01 +02:00
5e40f4ec89
fix(migration): properly parse duration 2022-10-09 22:44:57 +02:00
5871d32c2d
feat(migration): generate swagger docs 2022-10-09 22:44:54 +02:00
3af9855148
feat(migration): add routes for TickTick migrator 2022-10-09 22:44:49 +02:00
e5394d6d4b
feat(migration): add TickTick migrator 2022-10-09 22:44:32 +02:00
b8769c746c
feat: allow a user to remove themselves from a team
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-09 16:39:40 +02:00
2fc690a783
fix: make sure list subscriptions are set correctly when their namespace has a subscription already
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-07 14:18:36 +02:00
008908eb49
fix: make sure a user can only be assigned once to a task
All checks were successful
continuous-integration/drone/push Build is passing
See https://community.vikunja.io/t/task-can-be-assigned-twice-or-more-to-the-same-user/883
2022-10-06 18:22:19 +02:00
631a265d2d
feat: add proper checks and errors to see if an attachment belongs to the task it's being used as cover image in
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-05 15:12:29 +02:00
e113fe34d0
chore: generate swagger docs 2022-10-05 15:12:29 +02:00
0eb47096db
fix: make cover image id actually updatable 2022-10-05 15:12:29 +02:00
0e1904d50b
fix: make cover image id actually updatable 2022-10-05 15:12:29 +02:00
b4b25499f2
feat(task): add cover image attachment id property 2022-10-05 15:12:29 +02:00
5a40100ac5
feat: provide default user settings for new users via config
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-02 11:00:58 +02:00
aed560339b
fix(todoist): properly import all done tasks
Some checks failed
continuous-integration/drone/push Build is failing
2022-10-01 19:29:05 +02:00
c076f73a87
fix: make sure user searches are always case-insensitive
Some checks failed
continuous-integration/drone/push Build is failing
See vikunja/frontend#2196 (comment)
Resolves https://github.com/go-vikunja/frontend/issues/29
2022-10-01 17:39:08 +02:00
53419180be feat: upgrade xorm (#1197)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: vikunja/api#1197
2022-10-01 15:10:00 +00:00
c5bd09702a chore(deps): update dependency golang to v1.19 (#1228)
Some checks failed
continuous-integration/drone/push Build is failing
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
fcb205a842
fix: use connection string for postgres
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-01 16:57:06 +02:00
b1fd13bbcb
feat: upgrade xorm 2022-10-01 16:25:29 +02:00
878d19beb8
fix: make sure pseudo namespaces and lists always have the current user as owner
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-01 15:19:46 +02:00
96ed1e33e3
fix: don't allow setting a list namespace to 0
Some checks failed
continuous-integration/drone/push Build is failing
See https://github.com/go-vikunja/app/issues/13
2022-10-01 15:02:17 +02:00
45defebcf4
fix: tasks with the same assignee as doer should not appear twice in overdue task mails
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-30 18:35:40 +02:00
3adfeb3b34 fix(namespaces): add list subscriptions (#1254)
Some checks failed
continuous-integration/drone/push Build is failing
Add list subscriptions to namespaces call to enable frontend to show subscription state correctly.

Resolves https://github.com/go-vikunja/frontend/issues/75

Reviewed-on: vikunja/api#1254
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Luca Bernstein <luca@lucabernstein.com>
Co-committed-by: Luca Bernstein <luca@lucabernstein.com>
2022-09-29 09:49:24 +00:00
54b7f7127c fix(caldav): no failed login emails for tokens (#1252)
All checks were successful
continuous-integration/drone/push Build is passing
Prevent Vikunja from sending mail notifications for failed login attempts if CalDav token is used.

Before, as the provided password value was tested against the user password regardless of whether it was a CalDav token, it triggered a failed login attempt email every three times.

Reviewed-on: vikunja/api#1252
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Luca Bernstein <luca@lucabernstein.com>
Co-committed-by: Luca Bernstein <luca@lucabernstein.com>
2022-09-27 15:12:37 +00:00
25609db567 fix(mail): pass mail server timeout (#1253)
Some checks failed
continuous-integration/drone/push Build is failing
Fix error log for mailserver closing logic, as default timeout of 15 seconds of mail client package used triggers before our logic leading to error on close.

Resolves https://github.com/go-vikunja/api/issues/48

Reviewed-on: vikunja/api#1253
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Luca Bernstein <luca@lucabernstein.com>
Co-committed-by: Luca Bernstein <luca@lucabernstein.com>
2022-09-26 16:09:39 +00:00
Arie
090c67138a
fix: preserve dates for repeating tasks (#47)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-At: https://github.com/go-vikunja/api/pull/47
2022-09-16 17:20:08 +02:00
aaeffe925e
fix(caldav): make sure duration and due date follow rfc5545
Some checks failed
continuous-integration/drone/push Build is failing
Related discussion: https://community.vikunja.io/t/error-with-davx-synchronization/810
2022-09-07 15:39:40 +02:00
c19479757a
fix: properly log extra message
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-01 14:19:00 +02:00
beb4d07cf9
fix: don't override saved filters
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-17 17:03:01 +02:00
10ded56f66
fix: don't fail a migration if there is no filter saved
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-17 12:27:03 +02:00
0c8bed4054 fix: lint
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-16 21:27:32 +00:00
9ddd7f4889 fix: only list all users when allowed 2022-08-16 21:27:32 +00:00
3047ccfd4a feat: add migration to change user ids to usernames in saved filters 2022-08-16 21:27:32 +00:00
7f28865903 feat: search by assignee username instead of id 2022-08-16 21:27:32 +00:00
8bf0f8bb57
fix: make sure generating blur hashes for bmp, tiff and webp images works
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-15 23:37:05 +02:00
3ccc6365a6
fix: prevent moving a list into a pseudo namespace
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-15 23:25:39 +02:00
d47edac376
feat(mail): don't try to authenticate when no username and password was provided
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-03 13:41:42 +02:00
77fafd5dc3
fix: lint
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-02 15:07:08 +02:00
3688bbde20
fix: don't return email addresses from user search results
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-02 15:02:15 +02:00
c51ee94ad1
fix: return all users on a list when no search param was provided 2022-08-02 15:02:00 +02:00
8f27e7e619
fix: properly decode params in url
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/api#1224
2022-08-02 14:50:03 +02:00
382a7884be
fix: make sure to use user discoverability settings when searching list users
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/frontend#2196
2022-08-02 13:26:42 +02:00
1feb62cc45
fix: lint
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-31 15:50:38 +02:00
dd461746a6
fix: add validation for negative repeat after values
Some checks failed
continuous-integration/drone/push Build is failing
Partial fix for vikunja/frontend#2179
2022-07-21 15:00:28 +02:00
0f555b7ec7
fix: reset id sequence when importing a dump from postgres
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-21 14:54:52 +02:00
79b31673e2
fix: return 9:00 as default time for reminders if none was set
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/api#1211
2022-07-19 16:38:48 +02:00
6e15d46a93
fix(restore): use the correct initial migration
Some checks failed
continuous-integration/drone/push Build is failing
Related to vikunja/api#1199
2022-07-13 23:44:21 +02:00
54348c5891
fix(restore): make sure to reset sequences after importing a dump when using postgres
Related to vikunja/api#1199
2022-07-13 23:43:53 +02:00
596d2bf676
fix(restore): properly decode notifications json data
Related to vikunja/api#1199
2022-07-13 23:43:20 +02:00
ac92499b7d
fix(caldav): make sure description is parsed correctly when multiline
All checks were successful
continuous-integration/drone/push Build is passing
Resolves https://github.com/go-vikunja/api/issues/35
2022-07-13 22:47:25 +02:00
b1892eaf63
fix(mail): set server name in tls config so that sending mail works with skipTlsVerify set to false
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 19:57:44 +02:00
c906fc2b07
fix(mail): don't try to authenticate against the mail server when no credentials are provided
All checks were successful
continuous-integration/drone/push Build is passing
Related to https://github.com/go-vikunja/api/issues/34
2022-07-12 15:46:28 +02:00
4bb77b5539
fix(mail): don't set a username by default
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 11:49:23 +02:00
5743a4afe5
fix: properly set tls config for mailer
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 16:10:28 +02:00
62325de9cd
feat: use actual uuids for tasks
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-11 14:54:33 +02:00
5cc4927b9e
fix: add missing error check
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-07 23:23:15 +02:00
2b074c60a7
fix(caldav): properly parse durations when returning VTODOs
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/frontend/issues/55
2022-07-07 23:20:37 +02:00
f5a4c136fb
fix: cycles in tasks array when memory caching was enabled
Some checks failed
continuous-integration/drone/push Build is failing
Resolves #1119
2022-07-07 18:34:49 +02:00
230478aae9
fix: remove credential escaping for postgres connections to allow for passwords with special characters
All checks were successful
continuous-integration/drone/push Build is passing
Resolves https://github.com/go-vikunja/api/issues/22
2022-07-07 18:04:16 +02:00
73c4c399e5
feat: use embed fs directly to embed the logo in mails
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-07 15:54:38 +02:00
25ffa1bc2e
fix: prevent logging openid provider errors twice
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-07 15:47:37 +02:00
4429ba2da1
fix(caldav): make sure the caldav tokens of non-local accounts are properly checked
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-04 18:08:46 +02:00
d0e09d69d0 fix: tests
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-30 14:21:17 +00:00
f30a9d1038 chore(docs): add new mailer option to docs 2022-06-30 14:21:17 +00: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
30e0e98f77 feat: migrate away from gomail 2022-06-30 14:21:17 +00:00
01271c4c01
feat: allow only the authors of task comments to edit them
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 17:38:27 +02:00
d837f8a624
fix: add missing migration
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 16:56:35 +02:00
8869adfc27
feat: add setting to change overdue tasks reminder email time
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 16:20:26 +02:00
7eb3b96a44
feat: send overdue tasks email notification at 9:00 in the user's time zone
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 21:24:28 +02:00