docbrown/config/initializers
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
..
rack Optimization:Throttle Tag Index Endpoints (#12520) 2021-02-03 11:14:54 -05:00
0_application_config.rb [deploy] Refactor:Change Unset Var Warnings to Debug Level (#9985) 2020-08-25 09:45:42 +02:00
1_imgproxy.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
acts_as_taggable_on.rb [deploy] Enable ActsAsTaggableOn.strict_case_match (#8299) 2020-06-05 13:52:01 -04:00
ahoy.rb Rubocop: fix additional violations in todo file (#9218) 2020-07-09 10:25:44 -04:00
ahoy_email.rb Upgrade to Ahoy 2.0.x (#13085) 2021-04-06 10:12:32 -05:00
application_controller_renderer.rb Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
assets.rb Get a11y lint script paths from rails helper (#13912) 2021-06-10 09:25:29 +01:00
audit_events.rb Fix autoloading deprecation (#12338) 2021-01-20 15:11:46 +01:00
backtrace_silencers.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
cache_logger.rb Enable cache logging in development if requested (#5330) 2020-01-02 08:11:58 -05:00
carrierwave.rb Bump rubocop from 1.15.0 to 1.16.0 (#13894) 2021-06-02 09:11:38 -04:00
carrierwave_monkeypatch.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
cloudinary.rb [15 min fix] Fallback to the image URL if Cloudinary/Imgproxy are not configured (#13767) 2021-05-19 15:03:20 +02:00
content_security_policy.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
cookies_serializer.rb Initial commit 2018-02-28 16:11:08 -05:00
cors.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
cypress_rails.rb Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
devise.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
devise_monkeypatch.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
docker.rb Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
doorkeeper.rb Bump doorkeeper from 5.4.0 to 5.5.0 (#12742) 2021-02-19 17:49:18 +01:00
filter_parameter_logging.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
flipper.rb [deploy] Bump flipper, flipper-active_record and flipper-ui (#8966) 2020-06-30 08:19:27 -05:00
honeybadger.rb [15 min fix] Fix some autoloading deprecation warnings (#13793) 2021-05-20 18:10:25 +02:00
honeycomb.rb [deploy] Replace HEROKU_SLUG_COMMIT with custom footprint (naive) (#9904) 2020-08-25 13:47:14 -04:00
hypershield.rb Hide the correct email PII on Blazer (#13733) 2021-05-11 18:43:46 +02:00
inflections.rb Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00
liquid.rb Rails 6: enable zeitwerk autoloader (#8766) 2020-06-22 16:27:55 +02:00
middlewares.rb [15 min fix] Fix some autoloading deprecation warnings (#13793) 2021-05-20 18:10:25 +02:00
mime_types.rb Initial commit 2018-02-28 16:11:08 -05:00
new_framework_defaults_5_2.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
new_framework_defaults_6_0.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
new_framework_defaults_6_1.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
octokit.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
omniauth.rb Update OmniAuth to 2.0 (#12715) 2021-02-25 12:46:13 -06:00
permissions_policy.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
pusher.rb Replace Pusher Beams with Rpush PN delivery ✂️ ✂️ (#13588) 2021-05-05 08:37:20 -06:00
rails_settings.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
reserved_words.rb Add react and reactjs (#13572) 2021-04-28 16:21:26 -04:00
reverse_markdown.rb Fix autoloading deprecation (#12338) 2021-01-20 15:11:46 +01:00
rolify.rb #260 increase mentee-mentor description length (#405) 2018-08-20 10:20:23 -04:00
rpush.rb Have specs run without Redis and refactor ConsumerApp and Device (#13647) 2021-05-07 08:03:16 +02:00
s3_direct_upload.rb [deploy] Attempt to get carrierwave configured correctly for containers and tests passing (#9558) 2020-07-29 17:27:13 -04:00
session_store.rb [deploy] Change to same_site: lax for session store (#9967) 2020-08-24 12:29:45 -04:00
sidekiq.rb Explicitly adds the unique jobs middleware (#12441) 2021-01-27 08:16:55 -06:00
sidekiq_unique_jobs.rb [deploy] ensure that often run sidekiq jobs are unique until they execute (#7168) 2020-04-08 19:19:30 -04:00
slack_notifier.rb Bump rubocop from 1.15.0 to 1.16.0 (#13894) 2021-06-02 09:11:38 -04:00
sprockets_uglifier_with_source_maps_compressor.rb Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
stats.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
strong_migrations.rb Bump strong_migrations from 0.6.8 to 0.7.0 (#9525) 2020-07-27 11:10:18 +02:00
timeout.rb Adds optional support for Docker/Compose (#296) 2018-10-12 11:48:53 -04:00
vault.rb [deploy] Remove Vault ENV variables from Envfile so they arent Required in Prod (#8895) 2020-06-24 15:02:16 -05:00
wrap_parameters.rb Disable ActionController auto params wrapping (#11692) 2020-12-02 15:17:43 +01:00
zeitwerk.rb Add settings model generator (#13003) 2021-03-19 12:55:31 +01:00