Notify for ship-it revocations
Review Request #12045 — Created Feb. 4, 2022 and updated — Latest diff uploaded
- Create boolean field in admin page for email
- Connect handler to revoke signal
- Prepare ship-it revoked email message
- Create new email template for text and HTML
- Modified email settings tests to include the new field.
- Added email test to verify that the email has actually been sent and contains the right text.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 8. See what's changed.
orig
1
2
3
4
5
6
7
8
Commits
Files
reviewboard/accounts/backends/ad.py | |||
---|---|---|---|
Revision e2ac6fce44cd2d4850ade5aa49b05afed02c5a22 | New Change | ||
1 |
"""Active Directory authentication backend."""
|
1 |
"""Active Directory authentication backend."""
|
2 | 2 | ||
3 |
from __future__ import absolute_import, unicode_literals |
||
4 | |||
3 |
import itertools |
5 |
import itertools |
4 |
import logging |
6 |
import logging |
5 | 7 | ||
6 |
import dns |
8 |
import dns |
7 |
from django.conf import settings |
9 |
from django.conf import settings |
537 lines |
reviewboard/accounts/backends/base.py |
---|
reviewboard/accounts/backends/http_digest.py |
---|
reviewboard/accounts/backends/ldap.py |
---|
reviewboard/accounts/backends/nis.py |
---|
reviewboard/accounts/backends/registry.py |
---|
reviewboard/accounts/backends/standard.py |
---|
reviewboard/accounts/backends/x509.py |
---|
reviewboard/accounts/evolutions/__init__.py |
---|
reviewboard/accounts/evolutions/extra_data.py |
---|
reviewboard/accounts/evolutions/is_private.py |
---|
reviewboard/accounts/evolutions/localsiteprofile_permissions.py |
---|
reviewboard/accounts/evolutions/open_an_issue.py |
---|
reviewboard/accounts/evolutions/profile_default_use_rich_text.py |
---|
reviewboard/accounts/evolutions/profile_settings.py |
---|
reviewboard/accounts/evolutions/profile_should_send_email.py |
---|
reviewboard/accounts/evolutions/profile_should_send_own_updates.py |
---|
reviewboard/accounts/evolutions/reviewrequestvisit_visibility.py |
---|
reviewboard/accounts/evolutions/timezone.py |
---|
reviewboard/accounts/evolutions/timezone_length_30.py |
---|