Commit Graph

516 Commits

Author SHA1 Message Date
3ab0ac9f27 fix(deps): update module github.com/swaggo/swag to v1.8.2 (#1167)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1167
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-15 19:57:00 +00:00
9845fcc170
fix: add more methods to figure out the current binary location
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-08 21:54:26 +02:00
tuxthepenguin
4960a498ff Add client-cert parameters of the Go pq driver to the Vikunja config (#1161)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: tuxthepenguin <tux@saturnv.uphus-internal.de>
Reviewed-on: vikunja/api#1161
Reviewed-by: konrad <k@knt.li>
Co-authored-by: tuxthepenguin <tuxthepenguin@noreply.kolaente.de>
Co-committed-by: tuxthepenguin <tuxthepenguin@noreply.kolaente.de>
2022-04-23 15:46:00 +00:00
e4b50e84a4 feat: add caldav tokens (#1065)
All checks were successful
continuous-integration/drone/push Build is passing
# Description

This PR adds API routes to create and manage caldav tokens. These tokens can be used instead of a user password - required for users who are using external auth providers and don't have a password.

Fixes #842

Frontend: vikunja/frontend#1186

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1065
2022-03-30 18:25:56 +00:00
de97fcbd12 fix: lint 2022-03-30 16:36:07 +00:00
d3bdafb717 fix: decoding images for blurHash generation 2022-03-30 16:36:07 +00:00
6b51fae093 fix: return BlurHash in unsplash search results 2022-03-30 16:36:07 +00:00
ba2bdff391 chore: generate swagger docs 2022-03-30 16:36:07 +00:00
7fa0865188 fix: lint 2022-03-30 16:36:07 +00:00
6df865876d feat: return BlurHash for unsplash search results 2022-03-30 16:36:07 +00:00
2ec7d7a8a8 feat: save BlurHash from unsplash when selecting a photo from unsplash 2022-03-30 16:36:07 +00:00
f83b09af59 feat: generate a BlurHash when uploading a new image 2022-03-30 16:36:07 +00:00
362706b38d feat: add migration to create BlurHash strings for all list backgrounds 2022-03-30 16:36:07 +00:00
0a1d8c9404 feat: add date math for filters (#1086)
All checks were successful
continuous-integration/drone/push Build is passing
This adds support for relative dates in filters, similar to the ones from [grafana](https://grafana.com/docs/grafana/latest/dashboards/time-range-controls) or [elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#date-math).

In short, it allows you to filter for due dates by passing in dates like "now - 7d" to get a date from 7 days ago.

This is a very powerful addition for saved filters as they will allow you to create filters for all kinds of stuff where you previously only could use fixed dates. Now you can for example create a saved filter for "all tasks this week".

Frontend PR: vikunja/frontend#1342

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1086
2022-03-27 20:35:04 +00:00
ac6818a476
fix: checking for error types
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-27 17:52:33 +02:00
5cf263a86f
feat: upgrade golangci-lint to 1.45.2
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-27 16:55:37 +02:00
b60c69c5a8
chore: cleanup namespace creation
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-06 17:09:05 +01:00
75f74b429e
fix: validate email address when creating a user via cli
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-04 19:58:40 +01:00
8bf2254f4b
fix: restoring dumps with no config file saved in them
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-19 17:46:10 +01:00
22e3f242a3
fix: disabling logging completely now works
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-19 17:42:32 +01:00
8cb92b3924
fix(dump): don't try to save a config file if none was provided and dump vikunja env variables
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-19 11:32:30 +01:00
44aaf0a4ec
fix: clarify which config file is used on startup 2022-02-19 11:32:30 +01:00
43f1daf40c
fix: microsoft todo migration not importing all tasks
All checks were successful
continuous-integration/drone/push Build is passing
Previously, we did not check if a list has more tasks than the ones returned. By default, the Microsoft Graph API only returns 10 tasks. If the user had more they would not get imported.
Now we check if there are more pages with tasks and pull them all in until we have everything.
2022-02-18 20:00:42 +01:00
1322cb16d7 feat: add long-lived api tokens (#1085)
Some checks reported errors
continuous-integration/drone/push Build was killed
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1085
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-02-06 13:18:08 +00:00
f7a06e4644 Enable a list to be moved across namespaces (#1096)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: Simon Hilchenbach <simon@hilchenba.ch>
Reviewed-on: vikunja/api#1096
Reviewed-by: konrad <k@knt.li>
Co-authored-by: shilch <simon@hilchenba.ch>
Co-committed-by: shilch <simon@hilchenba.ch>
2022-01-23 12:59:43 +00:00
61d49c3a56 feat: add time zone setting for reminders (#1092)
All checks were successful
continuous-integration/drone/push Build is passing
Instead of naeveily checking for all reminders due in the next minute, we now check all reminders in all time zones in the next minutes. This essentially means checking for reminders due in the next 14 or past 12 hours. We then check for each user who would receive a reminder from that result if it is actually due in their time zone.

This should prevent issues where users would get the reminder in the time zone of their server, not in their own.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1092
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-16 11:05:56 +00:00
a31086a7a9
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 16:03:58 +01:00
a98119f2d6
feat: save user language in the settings
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-12 15:39:47 +01:00
8bb3f8d37c
fix: importing archived lists or namespaces
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 13:18:01 +01:00
190a9f2a4c
fix: friendly name not getting synced on first login from openid
All checks were successful
continuous-integration/drone/push Build is passing
Resolves #874
2021-12-12 12:35:13 +01:00
5c88dfe88e
fix: user deletion schedule
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 12:29:05 +01:00
70e005e7ce
fix: user not actually deleted
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 12:28:18 +01:00
f581885e65
fix: user deletion reminder emails counting up
Some checks failed
continuous-integration/drone/push Build is failing
Resolves #1014
2021-12-12 12:24:42 +01:00
72d3c54efd
fix: user deletion never happens
All checks were successful
continuous-integration/drone/push Build is passing
Resolves #1024
2021-12-12 12:04:17 +01:00
73ee696fc3 feat: add marble avatar (#1060)
All checks were successful
continuous-integration/drone/push Build is passing
This adds the marble avatar from [boring avatars](https://github.com/boringdesigners/boring-avatars) as an option for user avatars. Each user gets a different one (based on their id).

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1060
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-07 21:11:23 +00:00
fd0d462bf4
fix: importing tasks from todoist without a due time set
Some checks failed
continuous-integration/drone/push Build is failing
Resolves #897
2021-11-23 22:29:57 +01:00
f8a0a7e953
fix: deleting users with no namespaces
Some checks reported errors
continuous-integration/drone/push Build encountered an error
resolves #984
2021-11-22 22:34:20 +01:00
Joseph Kavanagh
36bf3d216a
feat: gravatar - Lowercase emails before MD5 hash (#10)
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-16 22:10:22 +01:00
0b7762590f
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-16 20:37:37 +01:00
c3e0e6405a
fix: importing trello attachments
Some checks failed
continuous-integration/drone/push Build is failing
Since jan 2021, trello requires authentication to access attachments. This commit passes the required auth headers to make downloading card attachments work.

resolves https://github.com/go-vikunja/api/issues/6
2021-11-14 21:47:51 +01:00
57e5d10eee
fix: sorting for saved filters
All checks were successful
continuous-integration/drone/push Build is passing
resolves #786
2021-11-14 21:03:55 +01:00
88a2cede19
feat: use wallpaper topic for default unsplash background list
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-14 20:47:15 +01:00
093d0c65ca
feat: enable rate limit for unauthenticated routes
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-14 20:42:33 +01:00
cf05de19b3
fix: updating a list might remove its background
All checks were successful
continuous-integration/drone/push Build is passing
resolves #1039
2021-11-13 17:52:14 +01:00
2683ef23d5
feat: expose if a user is a local user through the /user endpoint
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 13:57:19 +01:00
516c812043
feat: expose if a user is a local user through its jwt token
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 12:37:31 +01:00
9eca971c93
feat: don't require a password for data export from users authenticated with third-party auth 2021-10-31 12:37:08 +01:00
8f55af07c9
feat: add more debug logging when deleting users
All checks were successful
continuous-integration/drone/push Build is passing
related to #1021
2021-10-27 22:08:31 +02:00
jayden-c
dcb52c00f1 feat: improve account deletion email grammar (#1006)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Jayden Chan <jaydencn7@gmail.com>
Reviewed-on: vikunja/api#1006
Reviewed-by: konrad <k@knt.li>
Co-authored-by: jayden-c <jaydencn7@gmail.com>
Co-committed-by: jayden-c <jaydencn7@gmail.com>
2021-10-16 21:53:33 +00:00
50b65a517d
fix: correctly load and pass the user when deleting it
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #984
2021-10-16 17:00:48 +02:00