docbrown/app/services/notifications
Vaidehi Joshi c12cea9b02
Allow users to opt-out of welcome notifications (#6852) [deploy]
* Update some test descriptions in notifications_spec

The descriptions of these tests didn't actually match the test's assertions!

* Add welcome_notifications column to users table

Also ensures that welcome_notifications cannot be set to `nil`.

* Show an opt-out message for Welcome broadcast notifications

* Add opt-out link to notifications + welcome notification box to settings

* Allow welcome notification subscription to be updated

* Add tests for unsubscribed to welcome notification users

Also refactor generator specs a bit.

* Fix up paths, copy, tests

Use rails path helpers instead of hardcoding paths. Improve copy in a few locations.
2020-03-26 11:26:19 -07:00
..
milestone return default aspect ratio of 1 if gif id is not present and refactor (#6837) [deploy] 2020-03-25 11:21:47 -05:00
moderation Skip moderation notification if the user is the moderator (#6200) 2020-02-20 14:09:43 -05:00
new_badge_achievement Move send new badge achievement notification to ActiveJob (#2474) 2019-04-29 10:51:08 -04:00
new_comment Refactor app/services/notifications/new_comment#send (#4642) 2019-10-30 12:21:56 -04:00
new_follower Create new NewFollowerWorker and start sending jobs to it (#5556) [deploy] 2020-01-17 15:08:50 -05:00
new_mention Fix mention notification to mention proper user (#3721) 2019-08-14 14:43:21 -04:00
notifiable_action Specify on_duplicate_key_update when creating notifications to avoid constraint violation (#4993) [deploy] 2019-12-03 16:24:46 -05:00
reactions Handle Reactions Without Users When Sending Notifications (#5820) 2020-02-07 14:10:52 -05:00
tag_adjustment_notification Improve mod roundrobin notification and internal tooling (#3855) 2019-08-27 21:54:09 -04:00
welcome_notification Allow users to opt-out of welcome notifications (#6852) [deploy] 2020-03-26 11:26:19 -07:00
moderation.rb Skip moderation notification if the user is the moderator (#6200) 2020-02-20 14:09:43 -05:00
remove_all.rb Refactor remove_all and remove_each notifications and fix orphaned notifications (#3570) 2019-09-25 15:31:56 -04:00
remove_all_by_action.rb Refactor remove_all and remove_each notifications and fix orphaned notifications (#3570) 2019-09-25 15:31:56 -04:00
update.rb Remove .first query on notifications (#5943) 2020-02-07 08:58:51 -05:00