docbrown/app/services/notifications
Ridhwana 9ba3df4453
Round Robin Notification Tweaks (#18995)
* Remove jQuery

* Added jquery back to videos

* feat: increase the available moderator count

* Removed jquery code

* Nit fix

* Revert incorrect code

* Updated jquery code to javascript

* Removed jquery from comments

* feat: updates the last_reacted_at value when saving a creation

* feat: update the query for available moderators

* spec: write a test for the available moderators

* fic: update the reaction spec with current time

* fix: add last_reacted_at to the send_spec

* fix: add last_reacted_at to the user

* chore: move the queries around

* fix: change timecop block

* fix: update the last_reacted_at for the user

* chore: try to fix timecop

* Update app/services/notifications/moderation.rb

Co-authored-by: Mac Siri <mac@forem.com>

* feat: update the tests

Co-authored-by: rt4914 <rajattalesra4914@gmail.com>
Co-authored-by: Rajat Talesra <rajat@forem.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-01-26 19:31:45 +02:00
..
milestone Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
moderation Rename User.dev_account to User.staff_account (#14321) 2021-07-26 10:46:26 -04:00
new_badge_achievement Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
new_comment app/services i18n (#16189) 2022-01-20 09:25:25 -05:00
new_follower Ensure arguments to perform_async are json safe (#16285) 2022-01-25 18:07:40 -06:00
new_mention app/services i18n (#16189) 2022-01-20 09:25:25 -05:00
notifiable_action Context Notifications (#17243) 2022-04-18 10:30:30 +03:00
reactions Fix integer > nil error when sending reaction notifications (#16627) 2022-02-17 16:30:39 -06:00
tag_adjustment_notification Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
welcome_notification Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
moderation.rb Round Robin Notification Tweaks (#18995) 2023-01-26 19:31:45 +02:00
remove_all.rb Fix notifications not deleting because mentions already destroyed (#14987) 2021-10-14 09:41:10 -06:00
remove_all_by_action.rb Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
update.rb Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00