vikunja-api/pkg/models
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: https://kolaente.dev/vikunja/api/pulls/1092
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-16 11:05:56 +00:00
..
bulk_task.go Add events (#777) 2021-02-02 22:48:37 +00:00
bulk_task_test.go Add events (#777) 2021-02-02 22:48:37 +00:00
error.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
events.go User Data Export and import (#967) 2021-09-04 19:26:31 +00:00
export.go Fix tasks not exported 2021-09-08 18:40:54 +02:00
favorites.go Make sure list / task favorites are set per user, not per entity (#915) 2021-07-10 10:21:54 +00:00
kanban.go Fix moving the done bucket around 2021-07-29 17:32:33 +02:00
kanban_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
kanban_test.go Reorder tasks, lists and kanban buckets (#923) 2021-07-28 19:06:40 +00:00
label.go Fix swagger docs for create requests 2021-05-26 21:56:31 +02:00
label_rights.go Make sure all tables are properly pluralized 2021-03-28 20:17:35 +02:00
label_task.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
label_task_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
label_task_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
label_test.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
link_sharing.go Update module github.com/golang-jwt/jwt to v4 (#930) 2021-08-03 21:43:18 +00:00
link_sharing_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
link_sharing_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list.go fix: updating a list might remove its background 2021-11-13 17:52:14 +01:00
list_duplicate.go fix: updating a list might remove its background 2021-11-13 17:52:14 +01:00
list_duplicate_test.go Update copyright year 2021-02-02 20:19:13 +01:00
list_rights.go Fix not able to make saved filters favorite 2021-04-03 16:49:20 +02:00
list_team.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_team_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
list_team_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_users.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_users_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
list_users_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
list_users_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
listeners.go fix: make sure the full task is available in notifications 2021-10-16 16:38:59 +02:00
main_test.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
mentions.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
mentions_test.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
message.go Update copyright year 2021-02-02 20:19:13 +01:00
models.go Make sure list / task favorites are set per user, not per entity (#915) 2021-07-10 10:21:54 +00:00
namespace.go User Data Export and import (#967) 2021-09-04 19:26:31 +00:00
namespace_rights.go Make sure all tables are properly pluralized 2021-03-28 20:17:35 +02:00
namespace_team.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_team_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_team_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_team_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_users.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_users_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_users_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_users_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
notifications.go fix: make sure the full task is available in notifications 2021-10-16 16:38:59 +02:00
notifications_database.go Add crud endpoints for notifications (#801) 2021-02-21 14:50:34 +00:00
rights.go Update copyright year 2021-02-02 20:19:13 +01:00
saved_filters.go Fix setting a saved filter as favorite 2021-07-20 21:32:25 +02:00
saved_filters_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
saved_filters_test.go Fix setting a saved filter as favorite 2021-07-20 21:32:25 +02:00
subscription.go Fix swagger docs for create requests 2021-05-26 21:56:31 +02:00
subscription_rights.go Subscriptions and notifications for namespaces, tasks and lists (#786) 2021-02-14 19:18:14 +00:00
subscription_test.go Subscriptions and notifications for namespaces, tasks and lists (#786) 2021-02-14 19:18:14 +00:00
task_assignees.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
task_assignees_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_attachment.go Fix getting user info from /user endpoint for link shares 2021-04-07 15:02:57 +02:00
task_attachment_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_attachment_test.go Add names for link shares (#829) 2021-04-07 12:44:39 +00:00
task_collection.go fix: sorting for saved filters 2021-11-14 21:03:55 +01:00
task_collection_filter.go Update copyright year 2021-02-02 20:19:13 +01:00
task_collection_sort.go Reorder tasks, lists and kanban buckets (#923) 2021-07-28 19:06:40 +00:00
task_collection_sort_test.go Update copyright year 2021-02-02 20:19:13 +01:00
task_collection_test.go fix: sorting for saved filters 2021-11-14 21:03:55 +01:00
task_comment_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_comments.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
task_comments_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
task_overdue_reminder.go Improve sending overdue task reminders by only sending one for all overdue tasks 2021-04-18 15:32:02 +02:00
task_overdue_reminder_test.go Add reminders for overdue tasks (#832) 2021-04-11 15:08:43 +00:00
task_relation.go Fix task relations not getting properly cleaned up when deleting them 2021-07-19 23:40:18 +02:00
task_relation_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_relation_test.go Add events (#777) 2021-02-02 22:48:37 +00:00
task_reminder.go feat: add time zone setting for reminders (#1092) 2022-01-16 11:05:56 +00:00
task_reminder_test.go feat: add time zone setting for reminders (#1092) 2022-01-16 11:05:56 +00:00
tasks.go User Data Export and import (#967) 2021-09-04 19:26:31 +00:00
tasks_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
tasks_test.go Reorder tasks, lists and kanban buckets (#923) 2021-07-28 19:06:40 +00:00
team_members.go Fix swagger docs for create requests 2021-05-26 21:56:31 +02:00
team_members_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
team_members_test.go Add events (#777) 2021-02-02 22:48:37 +00:00
teams.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
teams_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
teams_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
teams_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
unit_tests.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
unsplash.go Update copyright year 2021-02-02 20:19:13 +01:00
user_delete.go fix: user deletion schedule 2021-12-12 12:29:05 +01:00
user_delete_test.go fix: deleting users with no namespaces 2021-11-22 22:34:20 +01:00
user_list.go Make sure all tables are properly pluralized 2021-03-28 20:17:35 +02:00
users.go Fix getting user info from /user endpoint for link shares 2021-04-07 15:02:57 +02:00
users_list_test.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00