docbrown/app/services
Alex 9ee024f9d0
UserSubscription backend refactor (#9060)
* Refactor controller validations to model

* Update specs and move current email validation back

* Refactor #subscribed

* Cleanup UserSubscriptions::Create service

* Refactor service

* Move source inside of call for clarity

* Specs for UserSubscription::Create

* Cleanup spec

* Fix Article spec

* Updated for subscriber_email

* Add comment for explicitness of subscriber_email

* Fix reference in comment...oops!

* I know what I'm doing...sometimes...maybe

* Rename CachChecker - Subscription to IsSubscribed

* Use include vs eq in specs for error messages

* attr_accessor --> attr_reader

* Don't explicitly set nil

* Rename Create service to CreateFromService

* Use errors_as_sentence

* Rename service to CreateFromControllerParams

* Assign Struct to a new constant
2020-07-02 12:08:37 -04:00
..
articles [deploy] Redesign article editor (#7524) 2020-05-29 11:59:37 -04:00
audit Remove Audit::Event::Util (#8704) 2020-06-16 12:50:53 -04:00
authentication Rails 6: enable zeitwerk autoloader (#8766) 2020-06-22 16:27:55 +02:00
broadcasts/welcome_notification Optimize WelcomeNotification::Generator by only querying when necessary (#9039) [deploy] 2020-06-30 14:35:45 -07:00
credits [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
data_sync/elasticsearch ensure that when Tag and ActsAsTaggableOn::Tag are updated their respective related docs are as well (#7218) 2020-04-14 08:38:09 -05:00
edge_cache/commentable [deploy] remove no longer used index! and check for main_image method in view (#7526) 2020-04-27 10:16:49 -05:00
exporter [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
fastly_config [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
giphy Deduplicate giphy_img? function and add tests (#4590) 2019-10-30 11:40:17 -04:00
github [deploy] Temporarily raise read_timeout of Github::OauthClient (#8220) 2020-06-01 18:16:34 +02:00
mentions Duplicate notifications, when replying to and mentioning the same user (#8156) 2020-06-17 08:47:31 -04:00
moderator [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
notifications [deploy] Remove private reactions from notifictaions (#8675) 2020-06-14 15:00:42 -04:00
payments Add DataDog monitors (#6188) 2020-02-25 11:06:25 -08:00
podcasts Replace activerecord-import with Rails 6 insert_all and upsert_all (#8407) 2020-06-12 11:16:06 +02:00
rss_reader Fix RSS import (#8877) 2020-06-24 10:51:07 -04:00
search [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
secrets Use a sortable unique ID for the event_id (#3972) 2019-09-09 10:15:12 -04:00
slack [deploy] Log RateLimit hits to Datadog for Better Reporting (#7653) 2020-05-01 16:47:31 -05:00
streams Don't try to register webhook when twitch returns empty data (#3219) 2019-06-18 21:34:06 -04:00
suggester/users [deploy] Refactor: Remove Unused Article Suggester Services and Specs (#9031) 2020-06-30 12:06:56 -05:00
twitter_client [deploy] Decouple Twitter authentication from fetching tweets (#7920) 2020-05-19 18:05:41 -04:00
user_blocks Remove algolia from chat channel memberships (#6323) 2020-02-27 09:59:12 -05:00
user_subscriptions UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
users [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
webhook Move Webhook::DispatchEventJob to Sidekiq (#5722) [deploy] 2020-01-27 14:36:27 -05:00
analytics_service.rb Routine rubocop fixes (#8685) 2020-06-16 11:09:15 +02:00
application_service.rb [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
article_api_index_service.rb [deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926) 2020-05-26 12:36:28 -04:00
article_with_video_creation_service.rb Upgrade Rubocop to 0.81 (#7219) 2020-04-11 10:10:04 +02:00
bulk_sql_delete.rb Use SQL DELETE statement to delete notifications without a SELECT (#5303) [deploy] 2019-12-31 07:30:27 -06:00
chat_channel_creation_service.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
chat_channel_update_service.rb [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
flare_tag.rb [deploy] Refactor Flare Tag Class (#9064) 2020-07-01 16:57:03 -04:00
medium_article_retrieval_service.rb Nokogiri::HTML should receive the body, not the response object (#5297) 2019-12-31 08:46:49 -05:00
notifications.rb Remove notifiable access from articles and comments notifications (#5415) [deploy] 2020-01-09 10:19:45 -05:00
rate_limit_checker.rb [deploy] User subscriptions API and backend updates (#8779) 2020-06-23 13:43:32 -04:00
rss_reader.rb Fix RSS import (#8877) 2020-06-24 10:51:07 -04:00
tag_adjustment_creation_service.rb [deploy] Fix tag removal case sensitivity for mods (#8024) 2020-05-22 15:44:10 -04:00
tag_adjustment_update_service.rb [WIP] Allow mods to remove tags and send user notification (#1252) 2018-12-04 16:45:32 -05:00