docbrown/spec/system/admin
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
..
config Improve the UX of the SMTP Section (#16223) 2022-02-15 18:40:14 +02:00
admin_awards_badges_spec.rb Use Rails path helpers in admin system specs (#11399) 2020-11-13 10:45:57 -06:00
admin_bans_or_warns_user_spec.rb Rubocop fixes (#15892) 2021-12-28 09:11:41 -06:00
admin_creates_new_page_spec.rb [15-minute fix] Disable 'Locked Screen' prompt for public Forems (#14029) 2021-06-30 10:09:38 +07:00
admin_creates_new_tag_spec.rb Adds local: true to admin/tags/edit.html.erb remove mod button (#14057) 2021-06-23 12:34:53 -06:00
admin_deletes_user_spec.rb Use Rails path helpers in admin system specs (#11399) 2020-11-13 10:45:57 -06:00
admin_invites_user_spec.rb Only enable user invitations page when SMTP is enabled (#15219) 2021-10-29 17:41:30 +02:00
admin_manages_organizations_spec.rb Uncomments line 26 in admin_manages_organizations_spec.rb (#14051) 2021-06-23 09:22:59 +02:00
admin_manages_pages_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
admin_manages_profile_fields_spec.rb Adds a feature flag for Data Update Scripts (#12641) 2021-02-10 18:22:27 +02:00
admin_manages_reports_spec.rb [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00
admin_updates_tag_spec.rb Now Bg color hex is labeled Tag Color (#16492) 2022-02-11 08:31:57 -05:00
admin_views_tags_spec.rb Add sorting feature to /admin/tags (#12249) 2021-01-13 17:03:17 -05:00
admin_visits_overview_spec.rb Update admin welcome checklist (#14261) 2021-07-28 14:27:17 -04:00
user_email_tools_spec.rb Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00