Story #1776

User receives automatic email notification when account gets activated

Added by Tom Clegg almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Start date:
04/08/2014
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
1.0

Description

See: http://guides.rubyonrails.org/action_mailer_basics.html

Use "rails generate mailer" to create a UserNotifier; add an account_is_setup method & view

Add a boolean param "send_notification_email" to the "users.setup" action. (Should be able to specify this with default=true in _setup_requires_parameters().)

And of course, if send_notification_email param is set and the setup action succeeds, send the notification email to the user.

Bonus: add themes_for_rails to services/api (set it up just like in Workbench) and add a "default" theme showing how to customize the notification message.

Subtasks

Task #2558: Add send_notification_email optional parameter to the setup-new-user script and send it when invoking setup methodResolvedRadhika Chippada

Task #2557: Add send_notification_email config param to workbench and send it during the setup method invocationsResolvedRadhika Chippada

Task #2556: Test mailer functionalityResolvedRadhika Chippada

Task #2555: Update users.setup to send email on successResolvedRadhika Chippada

Task #2554: Add mailer named UserNotifierResolvedRadhika Chippada

Task #2586: Add theme to api server similar to workbenchResolvedRadhika Chippada

Task #2581: Review 1776 implementationResolvedRadhika Chippada

History

#1 Updated by Ward Vandewege almost 7 years ago

  • Target version set to 2014-03-26 Debt service and dev painkillers

#2 Updated by Tom Clegg almost 7 years ago

  • Story points set to 1.0

#3 Updated by Ward Vandewege almost 7 years ago

  • Assigned To set to Radhika Chippada

#4 Updated by Tom Clegg over 6 years ago

  • Target version changed from 2014-03-26 Debt service and dev painkillers to 2014-04-16 Dev tools and data/resource management

#5 Updated by Tom Clegg over 6 years ago

  • Description updated (diff)

#6 Updated by Radhika Chippada over 6 years ago

  • Status changed from New to Resolved

All implementation is completed and reviewed. Code is merged into master.

Also available in: Atom PDF