Add a profile field controlling whether users want to receive email.
Review Request #5907 — Created May 30, 2014 and submitted — Latest diff uploaded
Not everyone wants to get emails from Review Board. This change adds a flag to
the profile to control whether users will get anything directly addressed to
them.This implementation was done on release-2.0.x because of the testing
infrastructure, but I also plan to backport this to release-1.7.x
- Ran unit tests
- Tested database evolution.
- Tested the account settings.
reviewboard/accounts/models.py |
---|
reviewboard/accounts/evolutions/__init__.py |
---|
reviewboard/accounts/evolutions/profile_should_send_email.py |
---|
reviewboard/accounts/forms/pages.py |
---|
reviewboard/notifications/email.py |
---|
reviewboard/notifications/tests.py |
---|