docbrown/spec/services
Joshua Wehner 3f26694976
Refactor reaction categories as abstract class collection (#18540)
* Try a ReactionCategory abstract 'model'

* Use ReactionCategory

* Lookup category, pre-reaction

* Lookup category > constant

* Category can sometimes be nil?

* Try something friendlier for code reloading

* Refactor: extract point calculation out of Reaction

* Reaction Category can have color

* Rename reaction points service to follow convention

* method signature changed as well, calculate -> call

* Fix typo, leading comment, and rename data structures for clarity
2022-11-01 10:50:37 +01:00
..
admin Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
articles Feed experiment for 10-11-2022 (#18566) 2022-10-11 08:56:49 -06:00
audit Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
authentication Devise skip_confirmation on authenticator service (#18169) 2022-07-20 07:26:26 -06:00
badges Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
broadcasts/welcome_notification Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
color Spelling (#15702) 2021-12-07 06:59:10 -07:00
credits ✂️✂️✂️ Part 2: Remove Sponsorship (#18522) 2022-10-04 19:02:44 +02:00
discover Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
edge_cache ✂✂✂ Remove events (#15062) 2021-10-15 09:31:08 -04:00
exporter Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00
fastly_config Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
feeds Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
follows Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
giphy Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
github Implement Unified Embeds for Github Repo, Issue, Pull-Request and Comment URLs (#16422) 2022-02-07 16:38:43 -05:00
homepage Extracting duplicate logic (#16035) 2022-01-10 15:19:04 -05:00
html Remove line break after linking username mentions (#15788) 2021-12-16 10:39:07 -06:00
images Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
listings ListingsToolkit refactoring (#16184) 2022-01-21 09:27:10 +07:00
loggers Move LogWorkerQueueStats from labor to services (#11642) 2020-11-30 09:31:15 +07:00
mailchimp Permanently delete users from Mailchimp automatically (#17395) 2022-04-26 09:48:50 -04:00
markdown_processor Possibly fixes style injection? (#18053) 2022-07-07 16:05:33 +02:00
mentions Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00
moderator Remove rack attack throttle for admin users in API requests (#18612) 2022-10-25 09:26:38 -06:00
notification_subscriptions Add Article post_commit when user_id changes with specs (#15132) 2021-10-25 10:53:21 +07:00
notifications Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
organizations Organizations delete optimizations and refactoring (#13610) 2021-05-11 12:14:55 +03:00
payments Validate payment info present before attempting to process (#15629) 2021-12-03 13:09:23 -06:00
podcasts Add timeout to GetMediaUrl's HTTParty (#18136) 2022-07-15 17:33:44 -04:00
profile_fields Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
push_notifications Fix Rpush app when creating Android notification (#15529) 2021-11-30 10:05:40 +05:30
re_captcha Spelling (#15702) 2021-12-07 06:59:10 -07:00
search Try context-based sorting for username search (#18311) 2022-08-18 17:08:46 +02:00
settings/authentication Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
slack ✂️✂️✂️ Part 1: Remove Sponsorship (#18512) 2022-10-03 16:26:32 +02:00
spam Adding configurations to tighten spam handling (#18195) 2022-08-01 11:21:34 -04:00
tag_moderators ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
twitter_client Match error class using case instead of if/elsif/else (#16952) 2022-03-21 15:34:49 -05:00
user_subscriptions Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
users ✂️✂️✂️ Part 2: Remove Sponsorship (#18522) 2022-10-04 19:02:44 +02:00
analytics_service_spec.rb Expect to raise error should use a block (#17131) 2022-04-05 13:21:23 -06:00
article_with_video_creation_service_spec.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
bulk_sql_delete_spec.rb Routine rubocop fixes (#10237) 2020-09-08 12:06:47 -04:00
calculate_reaction_points_spec.rb Refactor reaction categories as abstract class collection (#18540) 2022-11-01 10:50:37 +01:00
comment_creator_spec.rb Try fixing comment like count bugs (#18438) 2022-09-12 10:12:46 +02:00
display_ad_event_rollup_spec.rb Rollup service to compact DisplayAdEvent records (#18508) 2022-10-19 16:21:47 +02:00
email_digest_article_collector_spec.rb Don't include "anti-followed" tags in email digest (#14782) 2021-09-30 10:44:38 +07:00
email_digest_spec.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
feature_flag_spec.rb Add FeatureFlag.all (#16496) 2022-02-11 13:38:17 +07:00
flare_tag_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
medium_article_retrieval_service_spec.rb Nokogiri::HTML should receive the body, not the response object (#5297) 2019-12-31 08:46:49 -05:00
open_graph_spec.rb OpenGraph fallback for Embeds (merge-by-any-core) (#17001) 2022-04-04 15:31:38 -04:00
rate_limit_checker_spec.rb Fixing Rubocop's auto-correct recommendations (#16098) 2022-01-13 21:40:19 -05:00
reaction_handler_spec.rb Try an idempotentish reaction create API (#18377) 2022-08-30 16:43:18 +02:00
tag_adjustment_creation_service_spec.rb Make reason for adjustment optional in moderator tag adjustment (#18606) 2022-10-20 09:54:52 -06:00
tag_adjustment_update_service_spec.rb Make reason for adjustment optional in moderator tag adjustment (#18606) 2022-10-20 09:54:52 -06:00