1
0
Commit Graph

490 Commits

Author SHA1 Message Date
98102e59f2 feat(typesense): add new tasks to typesense directly when they are created 2023-09-29 21:15:28 +02:00
8f4ee3a089 fix(typesense): make sure searching works when no task has a comment at index time 2023-09-29 16:35:59 +02:00
feacbbff74 fix(caldav): do not update dates of tasks when repositioning them (#1605)
When a task is updated, the position of the tasks of the whole project/bucket are updated. This leads to column "updated" of model Task to be updated quite often. However, that column is used for the ETag field of CALDAV.
Thus, changing a task marks all the other tasks as updated, which prevents clients from synchronizing their edited tasks.

Co-authored-by: Erwan Martin <erwan@pepper.com>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1605
Co-authored-by: Erwan Martin <public@fzwte.net>
Co-committed-by: Erwan Martin <public@fzwte.net>
2023-09-27 16:17:52 +00:00
f065dcf4ad fix(typesense): add typesense sync to initial structs 2023-09-15 12:53:29 +02:00
addcbdd8ca fix(test): don't check for error 2023-09-13 12:52:42 +02:00
054f21821c fix(typesense): don't try to index tasks if there are none 2023-09-13 12:19:09 +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
bfcefa0217 fix(caldav): check for related tasks synced back from a caldav client
Related discussion https://community.vikunja.io/t/tasks-org-subtask-syncing-issue/737/9
2023-09-07 11:29:44 +02:00
68d4dcd7e6 fix(projects): don't limit results to top-level projects when searching
Resolves https://github.com/go-vikunja/api/issues/82
2023-09-07 10:56:59 +02:00
b8e73f4fa5 fix: lint 2023-09-06 10:52:30 +02:00
bfb01898c2 fix(api tokens)!: make sure task create routes are available to use with the api
BREAKING CHANGE: The api route to create a new task is now /projects/:project/tasks instead of /projects/:project
2023-09-06 10:33:52 +02:00
f38535b2f4 fix(typesense): upsert all documents at once 2023-09-04 11:19:55 +02:00
093b5b99a0 fix(typesense): pass the correct user when fetching task comments 2023-09-04 10:42:10 +02:00
490d374cfd fix(typesense): add more error logging 2023-09-04 10:20:51 +02:00
21a1f02ea3 fix(typesense): add more error logging 2023-09-03 22:54:50 +02:00
1a492722dd fix(typesense): upsert one document at a time 2023-09-03 22:51:43 +02:00
0e32d478d1 fix(projects): save done and default bucket when updating project 2023-09-03 15:50:47 +02:00
60bd5c8a79 feat: make default bucket configurable 2023-09-03 15:17:17 +02:00
bbbb45d224 feat: move done bucket setting to project 2023-09-03 15:01:35 +02:00
60cd1250a0 feat: api tokens
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1600
2023-09-01 14:34:39 +00:00
edbfc06a41 fix(kanban): don't prevent setting a different bucket as done bucket
Resolves https://kolaente.dev/vikunja/frontend/issues/3373
2023-09-01 16:18:59 +02:00
769b4f8d66 fix(task): remove task relation in the other direction as well
Resolves https://community.vikunja.io/t/removing-parent-relationship-doesnt-remove-the-subtask-relationship/1492/3
2023-09-01 16:12:20 +02:00
eac4e455fd fix(api tokens): lint 2023-09-01 15:56:35 +02:00
a4d946b4a9 fix(api tokens): test 2023-09-01 15:54:39 +02:00
14c5a8ca5b fix(api tokens): make sure read one routes show up in routes endpoint 2023-09-01 12:58:29 +02:00
e3c5a93f4f chore(api tokens): remove updated date from tokens as it can't be updated anyway 2023-09-01 11:16:36 +02:00
d9bfcdab8e feat(api tokens): add tests 2023-09-01 10:19:31 +02:00
e3dac16398 feat(api tokens): check permissions when saving 2023-09-01 08:52:57 +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
c88cbaa973 feat(api tokens): properly hash tokens 2023-09-01 08:36:11 +02:00
e6b25bd57b feat(api tokens): add crud routes to manage api tokens 2023-09-01 08:35:54 +02:00
3faf48706a feat(api tokens): add api token struct and migration 2023-09-01 08:35:54 +02:00
e518fb1191 chore: remove year from copyright headers
Resolves https://kolaente.dev/vikunja/api/pulls/1483
2023-09-01 08:32:28 +02:00
5811d2a13b fix: order by clause in task comments 2023-08-31 15:44:59 +02:00
5392ca788c fix(comments): make sure comment sort order is stable
Resolves https://community.vikunja.io/t/comment-order-is-not-by-time/1147/3?u=kolaente
2023-08-29 14:09:53 +02:00
02184663e5 fix(filter): assignee search by partial username test 2023-08-29 11:40:53 +02:00
29317b980e fix: lint 2023-08-29 11:32:45 +02:00
4f2796ac58 fix(filters): make "in" filter comparator work with Typesense 2023-08-29 11:14:36 +02:00
d0e3062bee feat(tasks): allow filtering for reminders, assignees and labels with Typesense 2023-08-29 10:54:18 +02:00
748651447a feat(tasks): find tasks by their identifier when searching with Typesense 2023-08-29 09:31:36 +02:00
2ca193e63b feat(tasks): make sorting and filtering work with Typesense 2023-08-28 19:10:18 +02:00
09cfe41e4f feat(tasks): remove deleted tasks from Typesense 2023-08-28 13:34:47 +02:00
1a82d6da44 feat(tasks): add periodic resync of updated tasks to Typesense 2023-08-28 13:26:40 +02:00
010b4ce783 feat(tasks): add searching via typesense 2023-08-28 12:14:50 +02:00
dee46d527a feat(tasks): add typesense indexing 2023-08-28 11:11:30 +02:00
693a77ae51 fix(user): don't prevent deleting a user if their default project was shared
Resolves https://kolaente.dev/vikunja/api/issues/1595
2023-08-25 15:14:25 +02:00
49d8713388 fix: typo 2023-08-24 11:16:07 +02:00
1b9c4204a8 fix(reminders): make sure reminders are only sent once per user
Previously, when a user was creator and assigned to a task, they would get two reminder notifications for the same task. This was caused by Vikunja first fetching all creators and then all assignees and not removing duplicates from that list.

Related: https://community.vikunja.io/t/duplicate-email-reminders/1505/3
2023-08-24 10:47:17 +02:00
5e8084c194 fix(project): duplicating a project should not create two backlog buckets
Resolves https://community.vikunja.io/t/when-duplicating-a-project-the-resulting-project-has-an-extra-bucket/1524
2023-08-23 16:19:42 +02:00