api/pkg/user
konrad 61d49c3a56 feat: add time zone setting for reminders (#1092)
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
..
db.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
delete.go fix: user deletion reminder emails counting up 2021-12-12 12:24:42 +01:00
error.go Disable the user account after 10 failed password attempts 2021-07-29 18:45:22 +02:00
events.go User Data Export and import (#967) 2021-09-04 19:26:31 +00:00
listeners.go Add crud endpoints for notifications (#801) 2021-02-21 14:50:34 +00:00
main_test.go Update copyright year 2021-02-02 20:19:13 +01:00
notifications.go feat: improve account deletion email grammar (#1006) 2021-10-16 21:53:33 +00:00
test.go Fix setting up keyvalue storage in tests 2021-07-30 15:31:51 +02:00
token.go User account deletion (#937) 2021-08-11 19:08:10 +00:00
totp.go Notify the user after three failed login attempts 2021-07-30 15:01:04 +02:00
update_email.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
user.go feat: add time zone setting for reminders (#1092) 2022-01-16 11:05:56 +00:00
user_create.go feat: don't require a password for data export from users authenticated with third-party auth 2021-10-31 12:37:08 +01:00
user_email_confirm.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
user_email_confirm_test.go Update copyright year 2021-02-02 20:19:13 +01:00
user_password_reset.go Disable the user account after 10 failed password attempts 2021-07-29 18:45:22 +02:00
user_test.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
users_list.go Enable searching users by full email or name 2021-04-07 18:28:58 +02:00