psu-libraries / scholarsphere-3

A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)
Apache License 2.0
78 stars 24 forks source link

Adds Opt Out to User profile #1603

Closed mtribone closed 5 years ago

mtribone commented 5 years ago

Adds a checkbox to the user profile and updates the email content to reflect Cynthia's changes. New column is added to the User table for the Boolean. Adds code to the jobs mailer to look for the value of the opt out checkbox and either sends or does not send the email based on user choice.

TODO:

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.02%) to 58.016% when pulling 5e791bc925b20291db97ac5ce3855c58f992027c on i#1520-email-opt-out into 1494aa72b1e1247458f99ee38119fcbc11f223fe on develop.

awead commented 5 years ago

@mtribone this is looking good to go to me... I put in a few comments to suggest some possible alternatives.