Commit Graph

134 Commits

Author SHA1 Message Date
e6b25bd57b feat(api tokens): add crud routes to manage api tokens 2023-09-01 08:35:54 +02:00
e518fb1191 chore: remove year from copyright headers
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/api#1483
2023-09-01 08:32:28 +02:00
32689531ec chore(docs): move login and register routes to auth category in api docs
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-03 18:10:01 +02:00
04e2c51fac feat: allow saving frontend settings via api
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-11 17:49:14 +02:00
e93a5ff11f fix: rename after rebase 2023-05-24 15:51:54 +02:00
d79c393e5b fix: make it compile again 2023-05-24 15:51:54 +02:00
fef253312c feat(projects): cleanup namespace leftovers 2023-05-24 15:51:54 +02:00
16de7cd591 feat(projects): remove namespaces 2023-05-24 15:51:54 +02:00
fc73c84bf2 feat: rename lists to projects 2023-05-24 15:51:53 +02:00
359d0512cc fix: upgrade jwt v5
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 16:37:16 +02:00
cca430810d fix(image): json type of struct property (#1469)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1469
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-04-06 09:53:09 +00:00
7ada82ea92 fix: align namespaceID param 2023-04-05 12:14:10 +00:00
8916de0366 fix: update redoc
Some checks failed
continuous-integration/drone/push Build is failing
2023-03-16 19:08:18 +01:00
7e53a21407 fix: rename incorrectly named ProjectUsers method 2023-03-13 14:28:06 +01:00
8f4abd2fe8 feat: rename all list files 2023-03-13 14:28:06 +01:00
349e6a5905 feat: rename lists to projects 2023-03-13 14:28:06 +01:00
530bb0a63c fix(user): make reset the user's name to empty actually work
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-23 18:30:01 +01:00
ef1d1e2b20 feat(migrators): remove wunderlist (#1346)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1346
2022-12-29 17:12:39 +00:00
f5a33478f2 fix(migration): make sure importing works when the csv file has errors and don't try to parse empty values as dates
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-09 22:58:08 +02:00
0d044997df fix(migration): expose ticktick migrator to /info 2022-10-09 22:45:01 +02:00
382a7884be fix: make sure to use user discoverability settings when searching list users
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/frontend#2196
2022-08-02 13:26:42 +02:00
c62e26b6fe fix: revert renaming Attachments to Embeds everywhere 2022-06-30 14:21:17 +00:00
f4f8450d16 feat: embed the vikunja logo as inline attachment 2022-06-30 14:21:17 +00:00
8869adfc27 feat: add setting to change overdue tasks reminder email time
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 16:20:26 +02:00
2f25b48869 feat: restrict max avatar size
All checks were successful
continuous-integration/drone/push Build is passing
resolves #1171
2022-06-12 18:29:12 +02: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
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
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
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
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
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
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
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
ae8db176db feat: expose if task comments are enabled or not in /info
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-26 13:37:57 +02:00
90146aea5b User Data Export and import (#967)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#967
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-04 19:26:31 +00:00
27119ad6d4 User account deletion (#937)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#937
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-08-11 19:08:10 +00:00
c3da454854 Update module github.com/golang-jwt/jwt to v4 (#930)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#930
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-08-03 21:43:18 +00:00
d746c1bede Notify the user after three failed login attempts
Some checks failed
continuous-integration/drone/push Build is failing
2021-07-30 15:01:04 +02:00
220f43331f Reset failed totp attempts when logging in successfully
Some checks failed
continuous-integration/drone/push Build is failing
2021-07-30 14:46:10 +02:00
5cfc9bf2f9 Disable the user account after 10 failed password attempts
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-29 18:45:22 +02:00
3572ac4b82 Send a notification on failed TOTP
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-29 18:05:25 +02:00
eae3cbc7bb Replace jwt-go with github.com/golang-jwt/jwt
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-27 10:46:28 +02:00
d5d4d8b6ed Fix lint
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-13 12:16:12 +02:00
9559cbf1ec Add more logging for test data api endpoint
Some checks failed
continuous-integration/drone/push Build is failing
2021-07-13 12:14:59 +02:00
78a206c818 Add setting for first day of the week
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 18:11:44 +02:00
fc5703ac8c Add truncate parameter to test fixtures setup
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 15:30:31 +02:00
3277f6acf7 Add default list setting (#875)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Sytone <github@sytone.com>
Reviewed-on: vikunja/api#875
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-06-02 21:20:22 +00:00
d07b284ee3 Add reminders for overdue tasks (#832)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#832
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-04-11 15:08:43 +00:00
b3c604fd2f Add link share password authentication (#831)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#831
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-04-11 13:17:50 +00:00
126f3acdc8 Enable searching users by full email or name
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-07 18:28:58 +02:00