Commit Graph

559 Commits

Author SHA1 Message Date
kolaente
415c6380a5 feat(api tokens): add task attachment to api scopes
This explicitly adds download and upload of task attachments. Because these are not handled with the usual CRUDables, they were not picked up automatically.

Resolves https://github.com/go-vikunja/vikunja/issues/112
2024-02-14 15:00:16 +01:00
kolaente
8752ae2a0b fix(webhook): fetch all event details before sending the webhook
Resolves https://community.vikunja.io/t/webhook-comment-data-issues/1952
2024-02-10 14:15:32 +01:00
kolaente
7edb53ca12 fix(export): don't crash when an exported file does not exist
Related to https://github.com/go-vikunja/vikunja/issues/110
2024-02-10 13:45:12 +01:00
kolaente
5ab9fb89bb fix(tasks): check for cycles during creation of task relations and prevent them 2024-02-10 13:30:41 +01:00
kolaente
119c68be9d feat: rename frontend url config to public url 2024-02-09 14:41:55 +01:00
kolaente
b95b92a23a fix(filters): add explicit check for string slice filter
Resolves https://github.com/go-vikunja/api/issues/109
2024-02-05 22:08:17 +01:00
kolaente
8efdc96d02 chore(filters): log type if unknown filter type 2024-02-01 16:19:22 +01:00
kolaente
7f46914d5e fix(project): pass user id to error message 2024-01-31 13:50:21 +01:00
kolaente
96b4f2d1db fix(projects): don't remove parent project id if the parent project is available in the same run
Resolves https://github.com/go-vikunja/frontend/issues/139
2024-01-28 15:28:08 +01:00
kolaente
d9875e476c fix(assignees): make sure task assignee created event contains the full task 2024-01-28 13:23:27 +01:00
kolaente
e4fec01d52 fix(assignees): subscribe assigned users directly to the task, not async
Resolves https://community.vikunja.io/t/richer-email-notifications/1891
2024-01-28 13:15:43 +01:00
kolaente
b2970c6c04 fix(assignees): prevent double notifications for assignees 2024-01-28 13:11:50 +01:00
kolaente
e03920b84a fix(assignees): improve wording for assignee emails 2024-01-28 13:11:37 +01:00
kolaente
a20f6ac815 fix(task): delete the task after all related attributes to prevent task not found errors 2024-01-28 12:23:25 +01:00
kolaente
1630e4fc08 fix: tests 2024-01-28 11:52:16 +01:00
kolaente
90ad975ca0 fix(typesense): update tasks in Typesense directly when the change happened
Resolves https://community.vikunja.io/t/no-filters-working-assignee-date-task-done-etc/1910
2024-01-28 11:47:17 +01:00
kolaente
ae9b382963 fix(webhooks): make sure all events with tasks have the full task
Resolves https://kolaente.dev/vikunja/api/issues/1676
2024-01-27 00:16:17 +01:00
kolaente
d38050f2b8 fix(subscriptions): don't crash when a project is already deleted 2024-01-26 23:53:22 +01:00
kolaente
33a47b7f43 fix(relations): don't allow creating relations which already exist
Resolves https://github.com/go-vikunja/frontend/issues/144
2024-01-26 23:37:59 +01:00
kolaente
4d48d814c9 fix: update function signatures 2024-01-16 14:06:44 +00:00
kolaente
2c84688a40 fix: lint 2024-01-14 22:23:33 +01:00
kolaente
514ea71d93 fix(api): make sure permission to read all tasks work for reading all tasks per project
Resolves https://github.com/go-vikunja/api/issues/105
2024-01-14 22:17:22 +01:00
kolaente
09696aec1b fix: create webhooks table for fresh installation
Resolves https://github.com/go-vikunja/api/issues/104
Resolves https://kolaente.dev/vikunja/api/issues/1655
2023-12-30 11:58:02 +01:00
kolaente
32611dc2d7 feat(reminders): persist reminders in the db 2023-12-23 15:40:03 +01:00
kolaente
c05f51b923 chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
kolaente
57bd5aca80 fix(webhooks): send application/json header 2023-12-06 14:09:49 +01:00
kolaente
6ef1bc3944 fix: lint 2023-12-06 14:01:09 +01:00
kolaente
cca42b9188 feat(metrics): add total number of attachments metric 2023-12-03 15:30:39 +01:00
kolaente
0ce110fa52 feat(metrics): add active link share logins 2023-12-03 15:12:43 +01:00
kolaente
8a3f16fcfb fix(labels): make sure labels of shared sub projects are usable
Resolves https://community.vikunja.io/t/cannot-filter-on-projets-labels/1736
2023-12-03 14:33:43 +01:00
kolaente
66b44da85b fix(projects): delete child projects when deleting a project 2023-12-01 17:27:40 +01:00
kolaente
bbc8da1e80 fix(tests): pass the map 2023-11-20 12:22:44 +01:00
kolaente
df1f95871a fix(projects): correctly set project's archived state if their parent was archived
Resolves https://kolaente.dev/vikunja/frontend/issues/3795
2023-11-17 20:00:08 +01:00
kolaente
1ed65d306d fix(docs): remove duplicate paths (params) in swagger docs 2023-11-16 13:07:01 +01:00
kolaente
b9a54b019d fix(tests): remove duplicate projects from assertions 2023-11-15 13:17:04 +01:00
kolaente
61bce2b349 fix(projects): don't return child projects multiple times 2023-11-15 12:56:36 +01:00
Miguel Arroyo
225d65268d feat(caldav): Add support for subtasks (i.e. RELATED-TO property) in CalDAV (#1634)
As I mentioned [here](https://kolaente.dev/vikunja/api/pulls/1442#issuecomment-55215), this is mainly a cleanup of @zewaren 's original [PR](https://kolaente.dev/vikunja/api/pulls/1442).

It adds support for the `RELATED-TO` property in CalDAV's `VTODO` and the `RELTYPE=PARENT` and `RELTYPE=CHILD` relationships. In other words, it allows for `ParentTask->SubTask` relations to be handled supported through CalDAV.

In addition to the included tests, this has been tested by both @zewaren & myself with DAVx5 & Tasks (Android) and it's been working great.

Resolves https://kolaente.dev/vikunja/api/issues/1345

Co-authored-by: Miguel A. Arroyo <miguel@codeheads.dev>
Co-authored-by: Erwan Martin <public@fzwte.net>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1634
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Miguel Arroyo <mayanez@noreply.kolaente.de>
Co-committed-by: Miguel Arroyo <mayanez@noreply.kolaente.de>
2023-11-10 22:44:03 +00:00
kolaente
6169c2e12e fix(typesense): correctly convert date values for typesense
Resolves https://kolaente.dev/vikunja/api/issues/1636
2023-11-09 12:29:52 +01:00
kolaente
b2866ca3da feat(api): enable notifications for api token routes 2023-11-07 14:58:46 +01:00
kolaente
a375223872 fix: properly tag bucket-related operations 2023-10-24 16:13:15 +02:00
kolaente
a1ea77f751 feat: accept hex values which start with a # 2023-10-24 16:12:22 +02:00
kolaente
66cf7ab50a feat(reminders): include project in reminder notification 2023-10-20 13:56:14 +02:00
kolaente
55d345e236 feat(webhooks): validate events and target url 2023-10-20 12:42:28 +02:00
kolaente
61cd08fa13 fix(webhooks): add created by user object when creating a webhook 2023-10-18 22:18:45 +02:00
kolaente
72366a5b27 feat(webhooks): add created by user object when returning all webhooks 2023-10-18 20:06:07 +02:00
kolaente
b4e3d8ee47 fix(webhooks): lint 2023-10-17 20:40:09 +02:00
kolaente
7a74e491da fix(webhooks): lint 2023-10-17 20:35:14 +02:00
kolaente
2c84cec044 docs(webhooks): add swagger docs for all webhook endpoints 2023-10-17 20:35:14 +02:00
kolaente
fc0029eed7 fix(webhooks): don't send the proxy auth header to the webhook target 2023-10-17 20:35:14 +02:00
kolaente
1b82f26d3e chore(webhooks): simplify registering webhook events 2023-10-17 20:35:13 +02:00