Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let user choose notification email in user settings #28840

Merged
merged 6 commits into from
Sep 15, 2021

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Sep 14, 2021

Solves #27465

Default:

Screenshot_20210914_235451

After setting different mail:

Screenshot_20210914_235643

Unset option:

Screenshot_20210915_141526

Unconfirmed mails cannot be used:

Screenshot_20210915_141750

  • after setting a different email address, the indicator text ('Primary email for password reset and notifications') does not move to the newly set address. Help! @skjnldsv @Pytal – update: same applies for the disabled state and action text of setting to primary.
  • show the action entry only for emails that are verified (or make disable the entry and add a hint that they are not confirmed)
  • undo method to set addresses

@blizzz blizzz added enhancement 3. to review Waiting for reviews labels Sep 14, 2021
@blizzz blizzz added this to the Nextcloud 23 milestone Sep 14, 2021
@blizzz blizzz requested review from a team, PVince81, julien-nc and skjnldsv and removed request for a team September 14, 2021 21:59
@blizzz blizzz added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Sep 14, 2021
@blizzz blizzz requested a review from Pytal September 14, 2021 22:01
Base automatically changed from fix/noid/additional-mails-editable to master September 15, 2021 01:22
@blizzz blizzz force-pushed the enh/noid/notification-email-chooser branch from d4afea5 to 46abeaa Compare September 15, 2021 12:05
@blizzz

This comment has been minimized.

@blizzz blizzz added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 15, 2021
@blizzz
Copy link
Member Author

blizzz commented Sep 15, 2021

ready for review

@blizzz blizzz force-pushed the enh/noid/notification-email-chooser branch from bf7d776 to d85152e Compare September 15, 2021 13:23
@blizzz

This comment has been minimized.

@blizzz blizzz force-pushed the enh/noid/notification-email-chooser branch from 1032453 to 21af4b6 Compare September 15, 2021 13:37
@blizzz
Copy link
Member Author

blizzz commented Sep 15, 2021

/compile /apps/settings

blizzz and others added 6 commits September 15, 2021 15:38
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
- also the only way to reset when system mail cannot be modified

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 with minor comment

})
} catch (e) {
this.handleResponse({
errorMessage: 'Unable to choose this email for notifications',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be translated ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo yes, but the existing messages were not translated either, so i kept consistency. Would leave it as follow up.

@blizzz blizzz merged commit e26664b into master Sep 15, 2021
@blizzz blizzz deleted the enh/noid/notification-email-chooser branch September 15, 2021 15:33
@blizzz
Copy link
Member Author

blizzz commented Sep 15, 2021

/backport to stable22

@backportbot-nextcloud
Copy link

The backport to stable22 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants