docbrown/app/controllers
Mac Siri e38196df6f
Create Settings::SMTP (#13943)
* Fix typo

* Add SMTP configs to Settings::General

* Expand Settings's show page

* Expand Settings::General's constants

* Move smtp_enabled? logic to ApplicationMailer

* Apply suggestions from code review

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* Add missing descriptions and placeholders

* Remove production guard clause

* Change delivery_method to a callback

* Create Settings::SMTP

* Run migration

* Move constants

* Remove SMTP from Settings::General

* Create SMTPSettingsController

* Add back guard clause

* Change which perform_deliveries configuration to use from

* Update config/environments/production.rb

* Rename migration to singular

* Run migration again

* Fix name

* Alphabetize and add validation for authentication

* Move settings and enabled? logic to Settings::SMTP

* Change after_action to before_action

* Fix broken spec

* Fix broken spec

* Create SMTP specs

* Provide default for port

* Create spec for ApplicationMailer

* Fix broken spec

* Move smtp_enabled?

* Search and replace

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2021-06-14 10:29:43 -04:00
..
admin Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00
api/v0 API: Remove Admin Config endpoint (#13934) 2021-06-08 09:43:51 +02:00
concerns Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
incoming_webhooks Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
notifications
oauth
stories Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
api_secrets_controller.rb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
application_controller.rb RFC #74, Pt. 2: Private Forem Landing Page (#13819) 2021-06-10 11:46:24 -06:00
application_metal_controller.rb
article_approvals_controller.rb
articles_controller.rb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
async_info_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
badges_controller.rb
chat_channel_memberships_controller.rb Fix "possible unprotected redirect" warning (#10511) 2020-12-29 14:54:34 -05:00
chat_channels_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
collections_controller.rb
comments_controller.rb add user friendly error message when a comment is made on a deleted post (#13721) 2021-06-03 10:17:26 +07:00
confirmations_controller.rb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
credits_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
dashboards_controller.rb Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
deep_links_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
devices_controller.rb Have specs run without Redis and refactor ConsumerApp and Device (#13647) 2021-05-07 08:03:16 +02:00
discussion_locks_controller.rb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
display_ad_events_controller.rb [15-minute fix] Add ThrottledCall to DisplayAdEventsController (#12924) 2021-03-09 09:06:11 +07:00
email_authorizations_controller.rb
email_subscriptions_controller.rb Split Settings::Community from SiteConfig (#13403) 2021-04-26 10:46:35 +02:00
events_controller.rb
feedback_messages_controller.rb [15-min-fix] Better feedback messaging (#13254) 2021-04-12 09:05:45 -04:00
followings_controller.rb
follows_controller.rb Fix UI showing "Following" after unfollowing a user (#13757) 2021-05-19 17:40:38 +01:00
ga_events_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
github_repos_controller.rb Fix Ruby 2.7 kwargs' warnings & misc spec warnings (#13256) 2021-04-06 16:57:59 -04:00
html_variant_successes_controller.rb
html_variant_trials_controller.rb
image_uploads_controller.rb
invitations_controller.rb
liquid_embeds_controller.rb
liquid_tags_controller.rb
listings_controller.rb Remove duplicate jquery import, remove jquery-rails and use @rails/ujs (#13891) 2021-06-01 15:28:09 +02:00
messages_controller.rb
moderations_controller.rb
notification_subscriptions_controller.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
notifications_controller.rb
omniauth_callbacks_controller.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
onboardings_controller.rb
open_search_controller.rb
organizations_controller.rb Asynchronous organization delete (#13388) 2021-04-19 18:30:35 +03:00
page_views_controller.rb Extract page view updates into workers (#12686) 2021-02-17 09:24:05 +07:00
pages_controller.rb RFC #74, Pt. 2: Private Forem Landing Page (#13819) 2021-06-10 11:46:24 -06:00
passwords_controller.rb Verify current password on password change (#12174) 2021-01-21 12:40:54 +07:00
podcast_episodes_controller.rb Remove unused podcast episode related code (#12642) 2021-02-10 17:47:39 +01:00
podcasts_controller.rb
poll_skips_controller.rb
poll_votes_controller.rb
pro_accounts_controller.rb
profile_field_groups_controller.rb
profile_pins_controller.rb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
profiles_controller.rb Migrate "static" profile fields into new columns (#13641) 2021-05-26 14:40:18 -05:00
pusher_controller.rb
rating_votes_controller.rb
reactions_controller.rb
reading_list_items_controller.rb
registrations_controller.rb Refactor RegistrationsController (#13903) 2021-06-08 17:03:41 -04:00
response_templates_controller.rb
search_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
service_worker_controller.rb Revert "Revert "Removed service worker (#12974)" (#13014)" (#13015) 2021-03-17 10:57:56 -04:00
shell_controller.rb Reduce service worker functionality to minimal offline page (#12834) 2021-03-01 19:29:26 -05:00
sidebars_controller.rb Split Settings::Campaign from SiteConfig (#13238) 2021-04-19 10:01:03 +07:00
sitemaps_controller.rb
social_previews_controller.rb
stories_controller.rb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
stripe_active_cards_controller.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
tag_adjustments_controller.rb
tags_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
user_blocks_controller.rb
user_subscriptions_controller.rb
users_controller.rb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
video_states_controller.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
videos_controller.rb