docbrown/app/lib
Ridhwana 1025900d16
Improve the UX of the SMTP Section (#16223)
* feat: allow reply_to and email_from to be set for an SMTP config

* feat: use these SMTP values in the mailers

* spec: test the application_mailer

* fix: validate with email, and not url

* feat: mimic macs changes from https://github.com/forem/forem/pull/16216 to use in this PR

* setup packs for admin

* refactor: order the keys and add a const for the auth methods

* feat: rename the header to a more user friendlly name

* chore: move the section with Emails

* feat: add a toggle that will show and hide the SMTP form under certain conditions

* feat: add the javaScript to handle the toggles

* feat: add a better description until we convert to a dropdown

* feat: ensure that we have declared sendgrid_enabled

* chore: add  anote to the config controller

* chore: remove references of the email addresses to keep brnach scoped

* feat: tweak js

* test: cypress workflow to update smtp settings

* feat : update the smtp tests

* remove comments

* update test

* chore: rename NOTE

* feat: polisha dn test ForemInstance.only_sendgrid_enabled?

* chore: remove specs

* Update app/lib/constants/settings/smtp.rb

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

* Update spec/system/admin/config/admin_updates_smtp_settings_spec.rb

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

* Update spec/system/admin/config/admin_updates_smtp_settings_spec.rb

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

* Update spec/system/admin/config/admin_updates_smtp_settings_spec.rb

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

* Update app/javascript/packs/admin/config/smtp.js

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* refactor js as per comments

* refactor as per comments

* Update cypress/integration/seededFlows/adminFlows/config/emailServerSettingsSection.spec.js

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* refactor: update the Cypress tests

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2022-02-15 18:40:14 +02:00
..
acts_as_taggable_on Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
constants Improve the UX of the SMTP Section (#16223) 2022-02-15 18:40:14 +02:00
forem_stats_drivers Arrange Datadog Redis integrations more usefully (#14185) 2021-07-09 15:19:37 -04:00
honeycomb [deploy] Optimization:Throttle Noisy Honeycomb Events More (#10143) 2020-09-01 15:21:07 -05:00
middlewares Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
redcarpet/render Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
reverse_markdown/converters Spelling fixes to live code (#15670) 2021-12-06 12:11:25 +02:00
acts_as_forem_stats_driver.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
api_constraints.rb [15 min fix] Fix some autoloading deprecation warnings (#13793) 2021-05-20 18:10:25 +02:00
app_secrets.rb [deploy] Feature: Setup Admin Area to Update Vault Secrets (#8935) 2020-06-29 15:08:09 -05:00
black_box.rb Move BlackBox to app/lib (#16183) 2022-01-20 09:37:53 +07:00
forem_stats_driver.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
html_css_to_image.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
menu.rb RFC#50-P4: Feature Flagged Routes and Interaction Design (#12967) 2021-03-23 11:12:54 +02:00
rails_env_constraint.rb Easier feature flag handling for Cypress (#16379) 2022-02-03 10:42:13 -05:00
release_phase_notifier.rb [deploy] Refactor:Send a Couple More Errors to Honeybadger (#9223) 2020-07-09 10:53:16 -05:00
seeder.rb Cleaning Test Runs for End to End (E2E) Tests (#12143) 2021-01-29 13:34:01 +01:00
string_attribute_cleaner.rb Refactoring to use StringAttributeCleaner (#15641) 2021-12-02 08:55:27 -05:00
throttled_call.rb Spike: Add ThrottledCall utility class (#12779) 2021-03-01 08:51:04 +07:00
url.rb Relax tag validation restriction to permit non-ascii strings (#14710) 2021-09-14 14:03:54 -05:00