docbrown/app/controllers/admin/settings
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
..
authentications_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
base_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
campaigns_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
communities_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
general_settings_controller.rb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
mandatory_settings_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
rate_limits_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00
smtp_settings_controller.rb Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00
user_experiences_controller.rb Add Admin:Settings controllers (#13851) 2021-06-08 10:13:55 +07:00