docbrown/app/controllers
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
..
admin [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
api/v0 API: Fetch article by slug (#8929) 2020-07-01 10:58:45 +02:00
concerns Routine rubocop fixes (#8346) 2020-06-08 17:37:25 +02:00
incoming_webhooks Add health check endpoint for Mailchimp unsubscribe webhook (#6034) [deploy] 2020-02-12 15:55:21 -05:00
internal [deploy] Allow internal chat channels to be searched by their name (#9020) 2020-06-30 14:43:25 -05:00
notifications [deploy] Remove All Notification Count Helper Classes (#8221) 2020-06-02 09:48:02 -05:00
oauth Change Webhook::DestroyJob to Wehook::DestroyWorker and move to sidekiq (#5424) [deploy] 2020-01-13 12:38:10 -06:00
stories [deploy] Add alternate comment-oriented feed algos (#8042) 2020-05-26 13:23:03 -04:00
api_secrets_controller.rb Add ApplicationRecord#errors_as_sentence (#8265) 2020-06-04 16:02:41 +02:00
application_controller.rb [deploy] Add SiteConfig for feed style (#8721) 2020-06-24 12:14:33 -04:00
application_metal_controller.rb Add ApplicationMetalController to relevant controllers (#4937) 2019-11-26 16:29:07 -05:00
article_approvals_controller.rb Allow tag mods to approve posts even if they mod just one tag (#6525) [deploy] 2020-03-08 15:42:38 -04:00
articles_controller.rb [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
async_info_controller.rb [deploy] Add SiteConfig for feed style (#8721) 2020-06-24 12:14:33 -04:00
badges_controller.rb Add badges index page. (#4236) 2019-10-06 17:34:52 -04:00
blocks_controller.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
buffer_updates_controller.rb replace hardcoded twitter hashtag (#7895) 2020-05-19 14:02:28 +02:00
buffered_articles_controller.rb Various optimizations (#6249) [deploy] 2020-02-25 13:42:24 -05:00
chat_channel_memberships_controller.rb [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
chat_channels_controller.rb [deploy] Remove dead code in chat-channels-controller (#8943) 2020-06-29 09:32:20 -04:00
comments_controller.rb [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
credits_controller.rb Replace activerecord-import with Rails 6 insert_all and upsert_all (#8407) 2020-06-12 11:16:06 +02:00
dashboards_controller.rb [deploy] Paginate /dashboard posts (#8868) 2020-06-23 17:29:24 -04:00
display_ad_events_controller.rb Ignore unused display_ads columns (#6785) 2020-03-25 17:59:53 -04:00
email_authorizations_controller.rb [deploy] Add automated email ownership emails (#7556) 2020-05-06 12:07:54 -05:00
email_subscriptions_controller.rb Replaced remaining hardcoded DEV with the configurable community name (#7435) 2020-04-22 17:16:21 +03:00
events_controller.rb Return a 404 response If @event is Not Found (#5798) [deploy] 2020-02-03 11:30:52 -05:00
feedback_messages_controller.rb Fix erblint errors on the app/views/pages folder (#8401) 2020-06-11 15:46:50 +02:00
followings_controller.rb Move followings to internal API (#6494) 2020-03-06 19:33:26 +01:00
follows_controller.rb [deploy] Routine Rubocop fixes (#8293) 2020-06-05 18:46:10 -04:00
ga_events_controller.rb Removal of morrrre hardcoded dev.to links (#7390) 2020-04-21 11:50:18 +02:00
github_repos_controller.rb [deploy] Fix bug in determining if repo is featured (#8676) 2020-06-15 16:39:30 +02:00
html_variant_successes_controller.rb Move HtmlVariantSuccessesCreate from job to inline (#5879) [deploy] 2020-02-04 10:24:39 -08:00
html_variant_trials_controller.rb Move HtmlVariantTrial#create inline (#5901) [deploy] 2020-02-04 17:29:46 -08:00
html_variants_controller.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
image_uploads_controller.rb [deploy] Remove logging of image data to Datadog (#7829) 2020-05-13 16:23:42 -04:00
liquid_embeds_controller.rb Modify headers to allow embed (#3935) 2019-09-03 16:38:04 -04:00
listings_controller.rb Fix erblint errors on the app/views/listings folder (#8374) 2020-06-10 16:38:21 +02:00
messages_controller.rb [deploy] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105) 2020-04-08 18:14:34 -04:00
moderations_controller.rb Mod Center MVP 🎉 (#8744) 2020-06-23 14:58:16 -04:00
notification_subscriptions_controller.rb soft save notification_subscription and then check persisted (#5962) [deploy] 2020-02-10 16:37:28 -05:00
notifications_controller.rb Routine rubocop fixes (#7743) 2020-05-08 19:38:06 +02:00
omniauth_callbacks_controller.rb Add ApplicationRecord#errors_as_sentence (#8265) 2020-06-04 16:02:41 +02:00
onboardings_controller.rb Cache onboarding at edge (#6966) 2020-03-31 16:12:14 +02:00
organizations_controller.rb [deploy] Remove logging of image data to Datadog (#7829) 2020-05-13 16:23:42 -04:00
page_views_controller.rb [deploy] Add trailing slash back in (#8838) 2020-06-22 17:22:42 -04:00
pages_controller.rb Fix erblint errors on the app/views/pages folder (#8401) 2020-06-11 15:46:50 +02:00
partnerships_controller.rb Refactored creating sponsorships (#7946) 2020-05-19 18:00:01 -04:00
podcast_episodes_controller.rb Feat: #3498 Display episode's published_at (#4272) 2019-10-08 17:06:46 -04:00
podcasts_controller.rb [deploy] Validate both images and pattern_images when creating podcasts (#7828) 2020-05-14 11:23:04 -04:00
poll_skips_controller.rb Small ActiveRecord optimizations: begone race conditions and hello bulk insert (#8436) 2020-06-15 17:57:14 +02:00
poll_votes_controller.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
pro_accounts_controller.rb Add basic pro accounts lander test (#3433) 2019-07-09 22:10:50 -04:00
profile_pins_controller.rb CacheBuster refactoring (#4766) 2019-11-13 10:51:23 -05:00
pusher_controller.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
rating_votes_controller.rb [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
reactions_controller.rb [deploy] Only clear negative reactions when using thumbsup (#8874) 2020-06-24 09:23:18 -04:00
reading_list_items_controller.rb [deploy] Execute Reading List searches in Elasticsearch (#7440) 2020-04-24 10:30:17 -04:00
registrations_controller.rb [deploy] Authentication refactoring: cleanups (#7576) 2020-04-29 10:33:30 -04:00
response_templates_controller.rb Add ApplicationRecord#errors_as_sentence (#8265) 2020-06-04 16:02:41 +02:00
search_controller.rb [deploy] Use Javascript to Display Jobs Banner (#8303) 2020-06-08 18:58:00 -04:00
service_worker_controller.rb Replace serviceworker-rails gem with custome implementation (#4987) [deploy] 2019-12-03 08:50:56 -05:00
shell_controller.rb Add edge caching to shell (#5146) [deploy] 2019-12-16 19:08:59 -05:00
sitemaps_controller.rb [deploy] Update manual Fastly header assignments (#7119) 2020-04-07 13:22:32 -04:00
social_previews_controller.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
stories_controller.rb [deploy] Optimization: Cache Article cache_tagged_with Counts (#8712) 2020-06-16 12:26:52 -05:00
stripe_active_cards_controller.rb Remove Unnecessary User Touch From Strip Controller (#7924) 2020-05-19 12:45:56 +02:00
tag_adjustments_controller.rb [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
tags_controller.rb Move onboarding tags from public to internal API (#6329) 2020-03-06 19:34:31 +01:00
twilio_tokens_controller.rb Added rubocop-rails (#3059) 2019-06-06 09:47:57 -04:00
twitch_live_streams_controller.rb Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
twitch_stream_updates_controller.rb Replace Airbrake with Honeybadger (#5007) [deploy] 2019-12-05 11:29:51 -06:00
user_blocks_controller.rb Add ApplicationRecord#errors_as_sentence (#8265) 2020-06-04 16:02:41 +02:00
user_subscriptions_controller.rb UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
users_controller.rb [deploy] Remove Unused Pro Memberships (#7894) 2020-05-20 11:54:30 -05:00
video_chats_controller.rb Routine rubocop fixes (#7356) 2020-04-17 15:48:39 +02:00
video_states_controller.rb [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
videos_controller.rb Improve video controllers caching and retrieving (#5709) [deploy] 2020-01-27 15:51:12 -05:00