Mark VanLandingham
1a7922bea2
FEATURE: Create notification schedule to automatically set do not disturb time ( #11665 )
...
This adds a new table UserNotificationSchedules which stores monday-friday start and ends times that each user would like to receive notifications (with a Boolean enabled to remove the use of the schedule). There is then a background job that runs every day and creates do_not_disturb_timings for each user with an enabled notification schedule. The job schedules timings 2 days in advance. The job is designed so that it can be run at any point in time, and it will not create duplicate records.
When a users saves their notification schedule, the schedule processing service will run and schedule do_not_disturb_timings. If the user should be in DND due to their schedule, the user will immediately be put in DND (message bus publishes this state).
The UI for a user's notification schedule is in user -> preferences -> notifications. By default every day is 8am - 5pm when first enabled.
2021-01-20 10:31:52 -06:00
..
2021-01-20 12:43:57 +01:00
2020-12-15 15:25:10 +01:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2021-01-12 14:29:05 +01:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2021-01-19 16:14:59 +01:00
2021-01-12 14:29:05 +01:00
2020-04-28 10:13:59 +10:00
2021-01-20 10:31:52 -06:00
2021-01-19 16:14:59 +01:00
2021-01-05 14:27:00 +01:00
2021-01-20 12:43:57 +01:00
2021-01-19 16:14:59 +01:00
2021-01-20 12:43:57 +01:00
2021-01-19 16:14:59 +01:00
2021-01-20 12:43:57 +01:00
2021-01-12 14:29:05 +01:00
2021-01-05 14:27:00 +01:00
2020-12-22 14:49:40 +01:00
2021-01-19 16:14:59 +01:00
2021-01-12 14:29:05 +01:00
2021-01-19 16:14:59 +01:00
2021-01-05 14:27:00 +01:00
2021-01-05 14:27:00 +01:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2021-01-20 12:43:57 +01:00
2021-01-20 12:43:57 +01:00
2021-01-05 14:27:00 +01:00
2021-01-20 12:43:57 +01:00
2021-01-20 12:43:57 +01:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2021-01-05 14:27:00 +01:00
2021-01-05 14:27:00 +01:00
2021-01-20 12:43:57 +01:00
2021-01-05 14:27:00 +01:00
2020-12-15 15:25:10 +01:00
2021-01-12 14:29:05 +01:00
2021-01-20 12:43:57 +01:00
2021-01-19 16:14:59 +01:00
2021-01-12 14:29:05 +01:00
2021-01-12 14:29:05 +01:00
2021-01-20 12:43:57 +01:00
2021-01-12 14:29:05 +01:00
2021-01-20 15:09:18 +01:00
2019-05-13 09:31:32 +08:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2021-01-05 14:27:00 +01:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2020-12-29 19:44:53 +01:00
2021-01-05 14:27:00 +01:00
2021-01-19 16:14:59 +01:00
2021-01-05 14:27:00 +01:00
2019-05-20 13:47:20 +02:00
2021-01-19 08:53:49 +10:00
2021-01-19 16:14:59 +01:00
2020-12-29 19:44:53 +01:00
2021-01-19 16:14:59 +01:00
2021-01-19 16:14:59 +01:00
2021-01-20 12:43:57 +01:00
2021-01-19 16:14:59 +01:00
2021-01-19 16:14:59 +01:00
2020-11-10 15:23:06 +01:00
2021-01-12 14:29:05 +01:00
2020-10-30 16:06:32 +01:00
2021-01-19 16:14:59 +01:00
2021-01-12 14:29:05 +01:00
2021-01-19 16:14:59 +01:00
2020-10-17 00:07:21 +02:00
2020-10-17 00:07:21 +02:00
2021-01-05 14:27:00 +01:00
2021-01-12 14:29:05 +01:00
2021-01-20 12:43:57 +01:00
2021-01-20 12:43:57 +01:00
2021-01-05 14:27:00 +01:00
2021-01-19 16:14:59 +01:00
2021-01-20 12:43:57 +01:00
2021-01-05 14:27:00 +01:00
2020-12-29 19:44:53 +01:00
2021-01-05 14:27:00 +01:00
2020-10-06 15:43:13 +02:00
2021-01-19 16:14:59 +01:00
2021-01-05 14:27:00 +01:00
2020-12-29 19:44:53 +01:00
2020-10-17 00:07:21 +02:00
2021-01-19 16:14:59 +01:00
2021-01-19 16:14:59 +01:00
2021-01-12 14:29:05 +01:00
2021-01-05 14:27:00 +01:00
2021-01-19 16:14:59 +01:00
2021-01-12 14:29:05 +01:00
2019-04-25 22:49:21 +02:00