Commit Graph

269 Commits

Author SHA1 Message Date
kolaente d36b1608cf
fix: lint
continuous-integration/drone/pr Build is passing Details
2024-02-09 15:32:12 +01:00
kolaente ca68b52991
feat: replace api url with public url 2024-02-09 14:44:41 +01:00
kolaente 2d32d900c8
feat: replace api url with public url 2024-02-09 14:42:07 +01:00
kolaente 119c68be9d
feat: rename frontend url config to public url 2024-02-09 14:41:55 +01:00
kolaente 78df83ee69
feat: replace api url 2024-02-09 14:38:54 +01:00
kolaente db2ec45378
feat: move custom logo setting to api 2024-02-09 14:33:21 +01:00
kolaente d7dc209f15
feat: move allow icon changes setting to api 2024-02-09 14:30:21 +01:00
kolaente a0e770438d
feat: move sentry configuration from frontend to api 2024-02-09 14:24:29 +01:00
kolaente b3228794c7
feat: add caching rules for more files 2024-02-09 13:42:05 +01:00
kolaente 9c45d9ca15
feat: cache header and etag generation 2024-02-09 13:41:51 +01:00
kolaente 81455242ae
chore: copy static file handler 2024-02-09 13:41:50 +01:00
kolaente 6c5194b892
feat: bundle frontend files with api in one static bundle 2024-02-09 13:41:50 +01:00
kolaente fceb638e75
docs: remove mention of vikunja/api and vikunja/frontend repos 2024-02-08 14:31:02 +01:00
kolaente 7f46914d5e
fix(project): pass user id to error message
continuous-integration/drone/push Build is failing Details
2024-01-31 13:50:21 +01:00
kolaente ce53663a88
fix(openid): use the calculated redirect url when authenticating with openid providers
continuous-integration/drone/push Build is failing Details
2024-01-28 12:41:35 +01:00
kolaente 514ea71d93
fix(api): make sure permission to read all tasks work for reading all tasks per project
continuous-integration/drone/push Build is failing Details
Resolves https://github.com/go-vikunja/api/issues/105
2024-01-14 22:17:22 +01:00
kolaente c05f51b923
chore(deps): update golangci-lint rules
continuous-integration/drone/pr Build is failing Details
2023-12-19 13:34:31 +01:00
kolaente 6ef1bc3944
fix: lint 2023-12-06 14:01:09 +01:00
kolaente cca42b9188
feat(metrics): add total number of attachments metric
continuous-integration/drone/push Build is failing Details
2023-12-03 15:30:39 +01:00
kolaente fd0b2d103d
feat(metrics): add total number of files metric
continuous-integration/drone/push Build is failing Details
2023-12-03 15:22:41 +01:00
kolaente 0ce110fa52
feat(metrics): add active link share logins
continuous-integration/drone/push Build is failing Details
2023-12-03 15:12:43 +01:00
kolaente c6c465c273
feat: make unauthenticated user routes rate limit configurable
continuous-integration/drone/push Build is passing Details
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)
continuous-integration/drone/push Build is passing Details
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
kolaente 46683a2516
feat(migration): migration from other services now happens in the background
continuous-integration/drone/push Build is passing Details
2023-11-09 00:15:11 +01:00
kolaente 8a4856ad87 feat: convert all markdown content to html (#1625)
continuous-integration/drone/push Build is failing Details
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
kolaente 10c9913e12
feat(notifications): add endpoint to mark all notifications as read
continuous-integration/drone/push Build is failing Details
2023-10-20 16:40:47 +02:00
kolaente 55d345e236
feat(webhooks): validate events and target url
continuous-integration/drone/pr Build is passing Details
2023-10-20 12:42:28 +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 177f367a8c
feat(webhooks): expose whether webhooks are enabled 2023-10-17 20:35:14 +02:00
kolaente 34a92b759e
feat(webhooks): add setting to enable webhooks 2023-10-17 20:35:13 +02:00
kolaente 8cc775ac4c
fix(webhooks): routes should use the common schema used for other routes already 2023-10-17 20:35:13 +02:00
kolaente 96ccf6b923
feat(webhooks): add route to get all available webhook events 2023-10-17 20:35:13 +02:00
kolaente 7f3c300240
feat(webhooks): add routes 2023-10-17 20:35:12 +02:00
kolaente 9a29b29a04
fix(user): allow openid users to request their deletion
continuous-integration/drone/push Build is failing Details
Resolves https://community.vikunja.io/t/delete-user-not-possible-when-using-oidc/1689/4
2023-10-11 19:06:59 +02:00
kolaente 56625b0b90
fix: lint
continuous-integration/drone/push Build is failing Details
2023-10-10 20:35:43 +02:00
Peter H0ffmann ad04d302af chore: reverse the coupling of module log and config (#1606)
continuous-integration/drone/push Build is passing Details
This way the config module can already use the log module with the same result (default logging to StdOut with Level INFO, same output as before) but ENV variables can already change the logging of config file related log output). It is now possible to dump as a cronjob without having to filter the default log about the used config file.

Also:
- all logging modules are now configurable when initializing which makes testing easier
- viper dependency removed from logging
- log correct settings when configured error level is invalid
- deprecation of value "false" for log.standard and log.events (already not mentioned in https://vikunja.io/docs/config-options/)

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Reviewed-on: vikunja/api#1606
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
Co-committed-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
2023-10-03 09:28:28 +00:00
kolaente c5c74e9537
chore(caldav): improve trimming .ics file ending
continuous-integration/drone/push Build is failing Details
2023-09-07 15:52:37 +02:00
kolaente bfb01898c2
fix(api tokens)!: make sure task create routes are available to use with the api
continuous-integration/drone/push Build is failing Details
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
kolaente 97b5cd306f
feat: add demo mode flag
continuous-integration/drone/push Build is passing Details
Related to vikunja/frontend#2453
2023-09-01 17:47:43 +02:00
edel 11810c9b3e
fix: validate usernames on registration
continuous-integration/drone/push Build is failing Details
2023-09-01 17:40:31 +02:00
kolaente eac4e455fd
fix(api tokens): lint
continuous-integration/drone/pr Build is passing Details
2023-09-01 15:56:35 +02:00
kolaente 974e1878f8
chore(api tokens): add swagger docs about api token auth 2023-09-01 15:53:27 +02:00
kolaente 8f3d18a809
feat(api tokens): better error message for invalid tokens 2023-09-01 10:27:56 +02:00
kolaente e295d75e6e
feat(api tokens): move token validation middleware to new function 2023-09-01 10:19:55 +02:00
kolaente e3dac16398
feat(api tokens): check permissions when saving 2023-09-01 08:52:57 +02:00
kolaente e4c71123ef
fix: lint 2023-09-01 08:39:25 +02:00
kolaente 5c6c6cd9f0
feat(api tokens): check for scopes 2023-09-01 08:36:15 +02:00
kolaente 677bd5cfc9
feat(api tokens): check for expiry date 2023-09-01 08:36:15 +02:00
kolaente fb2a1c59db
feat(api tokens): check if a provided token matched a hashed on in the database 2023-09-01 08:36:15 +02:00