[MODTEMPENG-1] Generate a Change Password email Created: 16/Jul/18  Updated: 05/Dec/18  Resolved: 09/Nov/18

Status: Closed
Project: mod-template-engine
Components: None
Affects versions: None
Fix versions: 1.0.1

Type: Story Priority: P3
Reporter: Khalilah Gambrell Assignee: Khalilah Gambrell
Resolution: Done Votes: 0
Labels: epam-vega
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by FOLIO-1371 API Design: A Folio module to send an... Closed
Relates
relates to UXPROD-39 Local password management Closed
relates to FOLIO-1371 API Design: A Folio module to send an... Closed
relates to MODEMAIL-1 Create mod-email for sending email no... Closed
relates to MODNOTIFY-33 Extend mod-notify to support sending ... Closed
relates to MODTEMPENG-2 Add template processing component Closed
relates to UICIRC-70 Settings for patron notice templates Closed
Sprint: EPAM-Veg Sprint 2
Story Points: 1
Development Team: Vega

 Description   

As a Folio user
I want to be notified when my password has changed
So that I am aware of any change to my Folio account.

From Email Address: folio-administration@folio.org
From Email Name: Folio Administration
To Email Address: <<user email address>>
Subject Line: Your Folio password changed

Email Body
Dear <<First name>>,

Your password has been changed.

This is a confirmation that your password was changed on < hh:mm>> <<time zone>> on <<Month DD, YYYY>>.

Did not change your password? Contact your Folio System Administrator to help secure your account.

Regards,

Folio Support

Date/Time Stamp requirements

  • Time included in the email should represent the server time that the password changed occurred.
    • If possible convert the time based on user's location
  • Time zone should reflect the time displayed in email
  • Date should represent the server time
    • And if time can be converted based on user's location then Date should reflect that conversion.

From email address

  • A user is unable to reply to this email folio-administration@folio.org

Implementation Details

  • Script template email to the template db/module

Email template formats

  • HTML
  • Text

Test against the following browsers

  • Chrome (last two versions)
  • FF (last two versions)


 Comments   
Comment by Oleksii Popov [ 17/Jul/18 ]

Khalilah Gambrell can you please help to clarify email template requirements.
Should we check final email in:

  1. browsers (Chrome, Firefox, etc. ?),
  2. mobile web,
  3. mobile email clients (Gmail, Outlook).
Comment by Khalilah Gambrell [ 19/Jul/18 ]

Oleksii Popov and Natalia Zaitseva, currently Chrome is the only browser Folio officially supports BUT for this user story, I like for us to test with the latest two versions of Chrome and Safari.

Mobile web - I am unsure I understand. Is the question related to responsive design?

Mobile email client - We should test with Outlook for now. Will confirm other clients.

Comment by Khalilah Gambrell [ 20/Jul/18 ]

Slack conversation with Heikki Levanto.

Hey Heikki, I am working on local password management requirements. We have two requirements in which the user must receive an email when s/he changes his/her password AND user must receive an email when the Folio Administrator clicks a link that triggers sending a Set your password email to a user. I noticed you have worked on mod-notify, would the work you have done so far address this requirement?

Heikki Levanto [4:09 AM]
Well, in principle yes.
At the moment, mod-notify only stores the notification in the database, and I think the UI can display it when the user logs in. That will not work in practice. But the plan is that mod-notify will be extended to send email, SMS, and other forms of messages. I have no idea how far we are with that part of the project, and how high priority it has.
You might use mod-notify for now, at least to get started. Even if you would need a different module, the interface is likely to be similar, so it should not be a very hard thing to change.

Khalilah Gambrell [7:13 AM]
So we have the ability to store the notification template sent to a user?

Heikki Levanto [7:14 AM]
No, there is no templating yet. You can post a message to mod-notify together with the userId for whom it is, and that's all.

Khalilah Gambrell [7:19 AM]
So we store the notification sent to the user?

Heikki Levanto [7:19 AM]
Yes. At least until it has been shown to the user.

Khalilah Gambrell [7:19 AM]
Ah ok
Thanks. So we store that the notification has been sent. But the mechanism to send the notification to the user has not been developed yet?

Heikki Levanto [7:23 AM]
Not yet. I think the UI can display the message, when the user is on line. Useless for telling the password, I know, but can at least be used to verify that the message has been posted correctly.

Khalilah Gambrell [7:27 AM]
And one more question. To confirm, you think the work to send an email to a user that his/her password change should happen in mod-notify for now?

Heikki Levanto [7:28 AM]
It is my understanding that there are plans to extend mod-notify to handle all kind of messaging, so yes. Unless the plans get changed. But for now, yes, use mod-notify.

Comment by Natalia Zaitseva [ 20/Jul/18 ]

Khalilah Gambrell Thank for details. I also have questions to the issue:

  • Will we have email templates? Is there is a chance that we will have more than one template?
  • What about email styling?
  • What SMTP server will we use?
  • Do we have "folio-administration@folio.org" account or it assumed to be created by dev team?
  • Will we have a translation to other languages? If yes, whom I can get this translation from (google translator/native speaker, etc.)?
Comment by Jakub Skoczen [ 23/Jul/18 ]

Natalia Zaitseva a placeholder feature UXPROD-596 Closed calls for a FOLIO module responsible for formatting and sending e-mails. When built, this module would offer a RESTful JSON API for sending e-mails (with FOLIO SMTP configuration stored in mod-config) and formatting e-mails with a selected templating language (Patron Notice stories talk about a particular templating language implementation). API design and implementation of this module has not started yet. Khalilah Gambrell and I have discussed that one approach would be for you to work on a proposal for an API for such module.

Comment by patty.wanninger [ 08/Nov/18 ]

Khalilah Gambrell. I am not sure where to go to test this. Do we have access to the email box? A scenario would help. Thanks.

Generated at Thu Feb 08 23:12:52 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.