discourse/spec
Martin Brennan f6b62919d2
FIX: Confirm new email not sent for staff if email disabled with "non-staff" option (#10794)
See https://meta.discourse.org/t/email-address-change-confirmation-email-not-sent-but-every-other-notification-emails-are/165358

In short: with disable emails set to non-staff, email address change confirmation emails (those sent to the new address) are not sent for staff or admin members.

This was happening because we were looking up the staff user with the to_address of the email, but the to address was the new email address because we are sending a confirm email change email, and thus the user could not be found. We didn't need to do this anyway because we are passing the user into the Email::Sender class anyway.
2020-10-08 14:18:33 +10:00
..
components FIX: Confirm new email not sent for staff if email disabled with "non-staff" option (#10794) 2020-10-08 14:18:33 +10:00
fabricators FEATURE: allows published pages to be public (#10053) 2020-06-17 12:42:20 +02:00
fixtures SECURITY: return error on oversized images 2020-09-14 11:31:48 +10:00
helpers Fix the build. 2020-06-22 14:50:17 +08:00
import_export FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
initializers FIX: We need to skip users with associated reviewables when auto-approving (#9080) 2020-03-02 14:33:52 -05:00
integration FIX: If creating a flag for a watched word, include the reason 2020-06-02 11:49:02 -04:00
integrity DEV: Check English locale for errors in CI 2020-06-03 21:54:58 +02:00
jobs SECURITY: Ensure users can see the topic before setting a topic timer. (#10841) 2020-10-06 17:05:45 -03:00
lib FIX: Restoring backup from PG12 could fail on PG10 2020-06-16 16:04:14 +02:00
mailers FIX: Use correct URL for unsubscribe (#10077) 2020-06-24 09:31:20 +02:00
models SECURITY: return error on oversized images 2020-09-14 11:31:48 +10:00
multisite FIX: invalid urls should not break store.has_been_uploaded? 2020-07-02 15:09:10 -04:00
requests SECURITY: Ensure users can see the topic before setting a topic timer. (#10841) 2020-10-06 17:05:45 -03:00
script/import_scripts FIX: Change base importer to create new Bookmark records (#9603) 2020-05-01 11:34:55 +10:00
serializers FIX: uploading an image as a site setting 2020-07-03 14:59:15 +02:00
services FIX: update theme fields when updating from ThemesInstallTask (#10143) 2020-07-02 15:12:15 -04:00
support FIX: Redirects containing Unicode usernames didn't work 2020-06-08 10:26:29 +02:00
tasks FEATURE: Add uploads:batch_migrate_from_s3 task to limit total posts migrated at once (#9933) 2020-06-04 09:48:11 +10:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb Always require pry gems in rails_helper 2020-06-17 10:08:53 +10:00
swagger_helper.rb DEV: Add rswag to aid in api documention (#9546) 2020-04-27 16:40:07 -06:00