This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/fixtures
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
..
concerns REFACTOR: Remove .erb file from javascript tests 2020-10-08 18:36:09 -04:00
about.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
badges-fixture.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
category-fixtures.js UX: transition to edit URL when adding a category (#11634) 2021-01-05 08:34:35 -05:00
dashboard-general.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
dashboard.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
directory-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
discovery-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
draft.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
drafts.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
group-fixtures.js FIX: moderators can add/remove group owners (#10960) 2020-10-19 16:30:21 -04:00
groups-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
notification-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
poll.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
post.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
private-messages-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
problems.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
reports-bulk.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
reports.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
search-fixtures.js FIX: Show all topic statuses on full page search. 2020-12-23 10:30:35 +08:00
session-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
site-fixtures.js UX: Move category editing/creation to its own page (#10973) 2020-10-23 12:49:02 -04:00
site-settings.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
static-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
top-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
topic.js FIX: Users without shared drafts access can still have access to the category. (#11476) 2020-12-14 16:08:20 -03:00
user-badges.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
user-fixtures.js FEATURE: Create notification schedule to automatically set do not disturb time (#11665) 2021-01-20 10:31:52 -06:00
watched-words-fixtures.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00