docbrown/app/lib/constants
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
..
settings Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00
random_gifs.rb Remove app/labor/random_gif.rb (#11611) 2020-11-25 14:58:32 +00:00
redcarpet.rb Move constant from initializer to app/lib/constants (#12034) 2020-12-26 19:19:09 +01:00
role.rb Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
settings.rb Improve information architecture of Settings (#11347) 2020-11-24 12:26:06 -08:00
tags.rb [Search 2.0] Homepage query (#13339) 2021-04-21 12:41:24 +02:00