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

Events should correspond to users in demo.sql.gz #7

Open
kaihendry opened this issue Jun 23, 2018 · 4 comments
Open

Events should correspond to users in demo.sql.gz #7

kaihendry opened this issue Jun 23, 2018 · 4 comments
Assignees

Comments

@kaihendry
Copy link
Contributor

Users should use https://www.mailinator.com/ email addresses, e.g. [email protected] -> [email protected] so we can check notifications were sent successfully.

Currently if we send emails to example.com, we cannot check they were successful.

@franck-boullier
Copy link
Member

workaround:

  • go to the BZFE
  • log in as administrator
  • go to ../editusers.cgi (Administration >> Users)
  • Search for any user
  • change the login name of the user to the email address you want to use for test

@franck-boullier
Copy link
Member

I am no keen to have valid email addresses in the public seed script demo.sql.gz: this can get out of hand if abused or if mistakes are made

This change is to test emailing fuctionality we should not assume that this would be the default reason that people will have to install the Unee-T demo

@franck-boullier
Copy link
Member

that being said, the email address we use for the user is stored in the MEFE/Mongo DB so there is no point using the email address recorded in the BZ database.

Also the demo.sql.gz script does not seed anything in the Mongo DB so this would not help...

@kaihendry
Copy link
Contributor Author

kaihendry commented Sep 25, 2018

Mailinator is unreliable. Since I better understand how one can receive email with AWS SES, I think we should have test users that look like:

We can setup a rule on test so that mails are dumped in an indexed directory, e.g.

https://s3-ap-southeast-1.amazonaws.com/demo-email-unee-t/test/2018-08-17/

(or we could do a SNS, or a Webhook etc etc)

And from there we can inspect the emails that for example [email protected] received on the day of 2018-08-17.

kaihendry pushed a commit to unee-t/bz-database that referenced this issue Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants