285 Commits

Author SHA1 Message Date
e7041f02d0
fix(caldav): do not crash for wrong parameters
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-06 11:05:32 +02:00
99a67e09b1
feat(api): all usable routes behind authentication now have permissions
All checks were successful
continuous-integration/drone/push Build is passing
Previously, only routes which were coming from crudable entities could be used with an api token because there was no way to assign permissions to them. This change implements a more flexible structure for api permissions under the hood, allowing to add permissions for these routes and making them usable with an api token.

Resolves https://github.com/go-vikunja/vikunja/issues/266
2024-06-03 21:35:09 +02:00
741370b613
fix(caldav): return more than 1000 tasks
Some checks failed
continuous-integration/drone/push Build is failing
Resolves #2302
2024-04-25 13:37:04 +02:00
574c7f218e
fix(labels): allow link shares to add existing labels to a task
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/vikunja/issues/252
2024-04-21 15:12:27 +02:00
1460d212ee
fix: do not push nil errors to sentry
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-13 21:46:07 +02:00
006f932dc4
feat(views)!: decouple bucket CRUD from projects 2024-03-19 00:47:47 +01:00
2502776460
feat(views)!: move task position handling to its own crud entity
BREAKING CHANGE: the position of tasks now can't be updated anymore via the task update endpoint. Instead, there is a new endpoint which takes the project view into account as well.
2024-03-19 00:47:46 +01:00
2096fc5274
feat(views): return tasks in a view 2024-03-19 00:47:46 +01:00
b39c5580c2
feat(views): add crud handlers and routes for views 2024-03-19 00:47:45 +01:00
a5c51d4b1e feat: emoji reactions for tasks and comments (#2196)
All checks were successful
continuous-integration/drone/push Build is passing
This PR adds reactions for tasks and comments, similar to what you can do on Gitea, GitHub, Slack and plenty of other tools.

Reviewed-on: #2196
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2024-03-12 19:25:58 +00:00
ffa82556e0 feat(teams): add public flags to teams to allow easier sharing with other teams (#2179)
Some checks failed
continuous-integration/drone/push Build is failing
Resolves #2173
Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2179
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-10 14:04:32 +00:00
d7fdefcead chore(deps): update golangci/golangci-lint docker tag to v1.56.2 (#2099)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #2099
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-03-10 13:47:19 +00:00
f5b90517c4
fix(sentry): send unwrapped error to sentry instead of http error
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 17:36:57 +01:00
a12c169ce8
fix: do not send etag when serving the frontend index file
Some checks failed
continuous-integration/drone/push Build is failing
Without this change, the browser may serve an outdated index.html file which usually does not work, showing the user only a blank page.
2024-02-13 21:32:41 +01:00
641fec1215
fix: never return frontend on routes starting with /api
All checks were successful
continuous-integration/drone/push Build is passing
This fixes a problem where Vikunja would sometimes return the html for the frontend when accessing an api route for a nonexistent ressource, because the static handler was the next best.

Resolves #2110
2024-02-13 10:05:15 +01:00
d4a389279c
chore: don't send http errors with a status < 500 to sentry
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 15:29:27 +01:00
d36b1608cf
fix: lint
All checks were successful
continuous-integration/drone/pr Build is passing
2024-02-09 15:32:12 +01:00
ca68b52991
feat: replace api url with public url 2024-02-09 14:44:41 +01:00
2d32d900c8
feat: replace api url with public url 2024-02-09 14:42:07 +01:00
119c68be9d
feat: rename frontend url config to public url 2024-02-09 14:41:55 +01:00
78df83ee69
feat: replace api url 2024-02-09 14:38:54 +01:00
db2ec45378
feat: move custom logo setting to api 2024-02-09 14:33:21 +01:00
d7dc209f15
feat: move allow icon changes setting to api 2024-02-09 14:30:21 +01:00
a0e770438d
feat: move sentry configuration from frontend to api 2024-02-09 14:24:29 +01:00
b3228794c7
feat: add caching rules for more files 2024-02-09 13:42:05 +01:00
9c45d9ca15
feat: cache header and etag generation 2024-02-09 13:41:51 +01:00
81455242ae
chore: copy static file handler 2024-02-09 13:41:50 +01:00
6c5194b892
feat: bundle frontend files with api in one static bundle 2024-02-09 13:41:50 +01:00
fceb638e75
docs: remove mention of vikunja/api and vikunja/frontend repos 2024-02-08 14:31:02 +01:00
7f46914d5e
fix(project): pass user id to error message
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-31 13:50:21 +01:00
ce53663a88
fix(openid): use the calculated redirect url when authenticating with openid providers
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-28 12:41:35 +01:00
514ea71d93
fix(api): make sure permission to read all tasks work for reading all tasks per project
Some checks failed
continuous-integration/drone/push Build is failing
Resolves https://github.com/go-vikunja/api/issues/105
2024-01-14 22:17:22 +01:00
c05f51b923
chore(deps): update golangci-lint rules
Some checks failed
continuous-integration/drone/pr Build is failing
2023-12-19 13:34:31 +01:00
6ef1bc3944
fix: lint 2023-12-06 14:01:09 +01:00
cca42b9188
feat(metrics): add total number of attachments metric
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-03 15:30:39 +01:00
fd0b2d103d
feat(metrics): add total number of files metric
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-03 15:22:41 +01:00
0ce110fa52
feat(metrics): add active link share logins
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-03 15:12:43 +01:00
c6c465c273
feat: make unauthenticated user routes rate limit configurable
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-28 22:27:51 +01:00
Miguel Arroyo
225d65268d feat(caldav): Add support for subtasks (i.e. RELATED-TO property) in CalDAV (#1634)
All checks were successful
continuous-integration/drone/push Build is passing
As I mentioned [here](vikunja/api#1442 (comment)), this is mainly a cleanup of @zewaren 's original [PR](vikunja/api#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 vikunja/api#1345

Co-authored-by: Miguel A. Arroyo <miguel@codeheads.dev>
Co-authored-by: Erwan Martin <public@fzwte.net>
Reviewed-on: vikunja/api#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
46683a2516
feat(migration): migration from other services now happens in the background
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 00:15:11 +01:00
8a4856ad87 feat: convert all markdown content to html (#1625)
Some checks failed
continuous-integration/drone/push Build is failing
Migration for vikunja/frontend#2222

Reviewed-on: vikunja/api#1625
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2023-10-22 13:48:22 +00:00
10c9913e12
feat(notifications): add endpoint to mark all notifications as read
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-20 16:40:47 +02:00
55d345e236
feat(webhooks): validate events and target url
All checks were successful
continuous-integration/drone/pr Build is passing
2023-10-20 12:42:28 +02:00
7a74e491da
fix(webhooks): lint 2023-10-17 20:35:14 +02:00
2c84cec044
docs(webhooks): add swagger docs for all webhook endpoints 2023-10-17 20:35:14 +02:00
177f367a8c
feat(webhooks): expose whether webhooks are enabled 2023-10-17 20:35:14 +02:00
34a92b759e
feat(webhooks): add setting to enable webhooks 2023-10-17 20:35:13 +02:00
8cc775ac4c
fix(webhooks): routes should use the common schema used for other routes already 2023-10-17 20:35:13 +02:00
96ccf6b923
feat(webhooks): add route to get all available webhook events 2023-10-17 20:35:13 +02:00
7f3c300240
feat(webhooks): add routes 2023-10-17 20:35:12 +02:00