docbrown/spec/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 Bump rubocop from 1.15.0 to 1.16.0 (#13894) 2021-06-02 09:11:38 -04:00
moderation Round Robin Notification Tweaks (#18995) 2023-01-26 19:31:45 +02:00
new_badge_achievement Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
new_comment Add spec to ensure we filter by proper user IDs for sending push notifications (#14187) 2021-07-12 08:51:00 -05:00
new_follower Ensure arguments to perform_async are json safe (#16285) 2022-01-25 18:07:40 -06:00
new_mention app/models i18n (#16124) 2022-02-03 13:41:42 -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 [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
welcome_notification Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
moderation_spec.rb Round Robin Notification Tweaks (#18995) 2023-01-26 19:31:45 +02:00
remove_all_by_action_spec.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
remove_all_spec.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
update_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00