Notify for ship-it revocations

Review Request #12045 — Created Feb. 4, 2022 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

  • 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

First Last Summary ID Author
Create boolean field in admin page for email
dee2620629820bf3ca6f76b811d29484a4d9ab61 Gurvir Dehal
Connect handler to revoke signal
57f846201057f8be07d382e8d5ffdd180edf95d0 Gurvir Dehal
This diff has been split across 38 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 >
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
This diff has been split across 38 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 >
Loading...