Commit Graph

2301 Commits

Author SHA1 Message Date
kolaente 18111dd9da
fix: lint 2023-09-01 16:51:04 +02:00
kolaente 1c296b6148
fix(api tokens): lint 2023-09-01 16:51:04 +02:00
kolaente 1156bc37bf
fix(api tokens): test 2023-09-01 16:51:04 +02:00
kolaente 60648c72d1
chore(api tokens): add swagger docs about api token auth 2023-09-01 16:51:04 +02:00
kolaente a343aa9738
fix(api tokens): make sure read one routes show up in routes endpoint 2023-09-01 16:51:04 +02:00
kolaente 68d6b3c8fb
chore(api tokens): remove updated date from tokens as it can't be updated anyway 2023-09-01 16:51:04 +02:00
kolaente b1a3310b98
feat(api tokens): better error message for invalid tokens 2023-09-01 16:51:04 +02:00
kolaente a4be4e17a0
feat(api tokens): move token validation middleware to new function 2023-09-01 16:51:03 +02:00
kolaente d8d3ab0977
feat(api tokens): add tests 2023-09-01 16:51:03 +02:00
kolaente 6915a24012
feat(api tokens): check permissions when saving 2023-09-01 16:51:03 +02:00
kolaente 3875c5d104
fix: lint 2023-09-01 16:51:03 +02:00
kolaente 1f79aebdd0
feat(api tokens): check for scopes 2023-09-01 16:51:03 +02:00
kolaente 88421556db
feat(api tokens): check for expiry date 2023-09-01 16:51:03 +02:00
kolaente a1bc326ebf
feat(api tokens): check if a provided token matched a hashed on in the database 2023-09-01 16:51:03 +02:00
kolaente a485d56805
feat(api tokens): properly hash tokens 2023-09-01 16:51:02 +02:00
kolaente 9926eab036
feat(api tokens): add crud routes to manage api tokens 2023-09-01 16:51:02 +02:00
kolaente b3a9c72821
feat(api tokens): add api token struct and migration 2023-09-01 16:51:02 +02:00
kolaente 956d137e33
feat: endpoint to get all token routes 2023-09-01 16:51:02 +02:00
kolaente d83034ede6
fix(kanban): don't prevent setting a different bucket as done bucket
Resolves vikunja/frontend#3373
2023-09-01 16:51:02 +02:00
kolaente 63ca453a24
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:51:02 +02:00
kolaente 019733ff95
chore: remove year from copyright headers
Resolves vikunja/api#1483
2023-09-01 16:51:01 +02:00
kolaente 5601374b29
fix: order by clause in task comments 2023-09-01 16:51:01 +02:00
kolaente c1fcdf1a0f
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-09-01 16:51:01 +02:00
kolaente 8250edce3d
fix(filter): assignee search by partial username test 2023-09-01 16:51:01 +02:00
kolaente f4649fd2f2
fix: lint 2023-09-01 16:51:01 +02:00
kolaente ef54b7c86e
feat(docs): update sample config and docs about Typesense config 2023-09-01 16:51:01 +02:00
kolaente ae623594db
fix(filters): make "in" filter comparator work with Typesense 2023-09-01 16:51:00 +02:00
kolaente 9b0e1c4acd
feat(tasks): allow filtering for reminders, assignees and labels with Typesense 2023-09-01 16:51:00 +02:00
kolaente 35f92b15a5
feat(tasks): find tasks by their identifier when searching with Typesense 2023-09-01 16:51:00 +02:00
kolaente 5ac2a5cd59
feat(tasks): make sorting and filtering work with Typesense 2023-09-01 16:51:00 +02:00
kolaente 8e88b313d4
feat(tasks): remove deleted tasks from Typesense 2023-09-01 16:51:00 +02:00
kolaente 6bd9c90788
feat(tasks): add periodic resync of updated tasks to Typesense 2023-09-01 16:51:00 +02:00
kolaente 9582e981f0
feat(tasks): add searching via typesense 2023-09-01 16:51:00 +02:00
kolaente 095e0718ec
feat(tasks): add typesense indexing 2023-09-01 16:50:59 +02:00
kolaente 2ead4b64d6
fix(user): don't prevent deleting a user if their default project was shared
Resolves vikunja/api#1595
2023-09-01 16:50:59 +02:00
kolaente 5866016ebc
chore: migration improvments 2023-09-01 16:32:09 +02:00
edel 9fa905e220 fix(kanban): Created migration to create a default bucket for projects that do not already have any buckets 2023-08-24 16:35:25 -06:00
edel ebca8abd30 fix(kanban): create stub migration file for bucket creation 2023-08-24 13:27:06 -06:00
kolaente 49d8713388
fix: typo 2023-08-24 11:16:07 +02:00
kolaente 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
kolaente 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
kolaente acb03c430e
fix(user): allow deleting a user if they have a default project
Resolves https://github.com/go-vikunja/api/issues/78
2023-08-23 16:10:51 +02:00
kolaente 40037f25f2
fix(user): don't crash when attempting to change a user's password
Resolves vikunja/api#1587
Resolves https://github.com/go-vikunja/api/issues/79
2023-08-23 15:56:18 +02:00
cr1xus 665c046717 docs: Add Caddyfile to reverse proxies setup (#1580)
Reviewed-on: vikunja/api#1580
Co-authored-by: cr1xus <christoearth@gmail.com>
Co-committed-by: cr1xus <christoearth@gmail.com>
2023-08-21 11:45:35 +00:00
renovate 2081852004 fix(deps): update module github.com/arran4/golang-ical to v0.1.0 2023-08-21 10:57:54 +00:00
renovate 69451d14a6 fix(deps): update module github.com/getsentry/sentry-go to v0.23.0 2023-08-21 10:57:45 +00:00
renovate 3523325663 fix(deps): update module golang.org/x/image to v0.11.0 2023-08-04 21:02:14 +00:00
renovate f07adb5edd fix(deps): update module xorm.io/builder to v0.3.13 2023-07-20 11:02:05 +00:00
renovate 1647282f0b fix(deps): update module github.com/labstack/echo/v4 to v4.11.1 2023-07-16 18:01:45 +00:00
renovate e42278f93f fix(deps): update module github.com/labstack/echo/v4 to v4.11.0 2023-07-14 21:01:48 +00:00