Add a profile field controlling whether users want to receive email. (1.7.x)
Review Request #5908 — Created May 31, 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 is the release-1.7.x version of the change. It differs from the 2.0.x
version in that it doesn't include the unit test, and the profile forms code
is different.
- Ran unit tests.
- Tested database evolution.
- Tested the account settings.
reviewboard/accounts/forms.py |
---|
reviewboard/accounts/models.py |
---|
reviewboard/accounts/views.py |
---|
reviewboard/accounts/evolutions/__init__.py |
---|
reviewboard/accounts/evolutions/profile_should_send_email.py |
---|
reviewboard/notifications/email.py |
---|