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

account activation email needs to be more specific #1149

Closed
ngehlenborg opened this issue May 18, 2016 · 13 comments · Fixed by #1184
Closed

account activation email needs to be more specific #1149

ngehlenborg opened this issue May 18, 2016 · 13 comments · Fixed by #1184

Comments

@ngehlenborg
Copy link
Contributor

ngehlenborg commented May 18, 2016

Commit: a60c4e1

Steps to reproduce

  1. Register for an account.
  2. Have administrator activate the account.
  3. Receive account activation email.

Observed behavior

  1. Current message says:
Subject: Welcome to Refinery
Body: Please fill out your user profile

Expected behavior

  1. Message subject should be Welcome to <SITE NAME>
  2. Body should be:
Your account has been activated.

To log into <SITE NAME>, please follow this link and use your username or email address and password provided when you registered:

<URL TO LOGIN PAGE>

If you have any questions, please contact the <SITE NAME> team at <ADMINISTRATOR EMAIL>.

@scottx611x: Let me know if you need pointers to any of the variables that are required here.

@ngehlenborg
Copy link
Contributor Author

@hackdna and @sjhosui - please comment if you have any thoughts on that.

@hackdna
Copy link
Member

hackdna commented May 18, 2016

These are customizable for each installation via config.json.

@scottx611x
Copy link
Member

scottx611x commented May 18, 2016

@ngehlenborg @ilya: So should I be taking action on this or are these settings just something the instance's admin should be taking care of?

@hackdna
Copy link
Member

hackdna commented May 18, 2016

We can change the default text in the template to what Nils suggested but ultimately this is unique for each installation. Also, REFINERY_WELCOME_EMAIL_MESSAGE and REFINERY_WELCOME_EMAIL_SUBJECT might be useful to add to config.yaml.template for cloud deployments (@drj).

@ngehlenborg
Copy link
Contributor Author

@hackdna: can variables be inserted into the config? e.g. could REFINERY_WELCOME_EMAIL_SUBJECT be defined as `Welcome to <SITE_NAME>"?

@hackdna
Copy link
Member

hackdna commented May 18, 2016

You'd probably have to use templates for that. However, items like site name, login URL and admin email need to be set only once (at deployment), so it's sufficient to add them to REFINERY_WELCOME_EMAIL_MESSAGE and REFINERY_WELCOME_EMAIL_SUBJECT directly.

@hackdna
Copy link
Member

hackdna commented May 24, 2016

It should be possible to set REFINERY_WELCOME_EMAIL_MESSAGE and REFINERY_WELCOME_EMAIL_SUBJECT in config.yaml.template.

@ngehlenborg ngehlenborg modified the milestones: Wakefield, Upton May 24, 2016
@scottx611x
Copy link
Member

@hackdna: I believe what we're trying to achieve here can't be done with just YAML.

For Example, reusing values works great:

person: &person 'Scott Ouellette'
another_person: *person
#'another_person': 'Scott Ouellette'

But concatenating to a reused value isn't possible. The closest I've come is to make an array of reused values with normal strings inbetween.

person: &person 'Scott'
message: &message 'loves coffee'
combined: 
- *person
- 'really'
- *message
#'combined': ['Scott', 'really', 'loves coffee']

@hackdna
Copy link
Member

hackdna commented May 26, 2016

Lets just set them to simple strings that can be configured at the time of deployment for now.

@scottx611x
Copy link
Member

@hackdna Sounds good to me 👍

@mccalluc
Copy link
Member

@scottx611x : Did you approve my account right now in a non-standard way? I did not receive a confirmation email.

@scottx611x
Copy link
Member

@mccalluc Yes i just did it through the admin UI

@mccalluc
Copy link
Member

I made another account, ilya approved it, and I did get the email. Nothing to worry about here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants