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

Revive the "send email to new users" toggle for the user form #19664

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Feb 26, 2020

Fixes #11172

This is the minimalist version, so we can easily backport it. Someone can later integrate this better into the new form.

Todo

  • Add back toggle in bottom left
  • Send preference to server with user data
  • Only send email when admin wishes so
  • Persist toggle value

@ChristophWurst ChristophWurst added this to the Nextcloud 19 milestone Feb 26, 2020
@ChristophWurst ChristophWurst force-pushed the feature/revive-send-welcome-email-toggle branch from 5c09e1b to 1606636 Compare February 27, 2020 13:42
@ChristophWurst ChristophWurst marked this pull request as ready for review February 27, 2020 13:42
@ChristophWurst ChristophWurst self-assigned this Feb 27, 2020
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 27, 2020
@ChristophWurst ChristophWurst force-pushed the feature/revive-send-welcome-email-toggle branch from 1606636 to 8ab9daf Compare February 28, 2020 07:36
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the feature/revive-send-welcome-email-toggle branch from 8ab9daf to d47daef Compare February 28, 2020 13:01
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

Seems to do the trick!

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 28, 2020
@ChristophWurst
Copy link
Member Author

/backport to stable17

@ChristophWurst
Copy link
Member Author

/backport to stable18

@ChristophWurst ChristophWurst merged commit 0cb0091 into master Feb 28, 2020
@ChristophWurst ChristophWurst deleted the feature/revive-send-welcome-email-toggle branch February 28, 2020 16:11
@backportbot-nextcloud
Copy link

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

@backportbot-nextcloud
Copy link

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

*
* @return JSONResponse
*/
public function setPreference(string $key, string $value): JSONResponse {
Copy link
Member

Choose a reason for hiding this comment

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

We have an ocs api to set app configs. It even comes with a nice JS api for it

@tobiasKaminsky
Copy link
Member

/backport to stable-16

@tobiasKaminsky
Copy link
Member

/backport to stable16

@backportbot-nextcloud
Copy link

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

@skjnldsv
Copy link
Member

/backport to stable16

@backportbot-nextcloud
Copy link

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

@ChristophWurst
Copy link
Member Author

We don't need this in 16.

@skjnldsv
Copy link
Member

ok :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing setting to send welcome mail when creating a user
5 participants