Refactor email module to use Djblets EmailMessage

Review Request #7602 — Created Aug. 18, 2015 and submitted

Information

Review Board
release-2.6.x

Reviewers

The reviewboard.notifications.email module has been refactored to use
the EmailMessage class provided by Djblets. Review Board subclasses
it to provide customization based off of site configuration settings.

Unit tests pass.

Description From Last Updated

'EmailMultiAlternatives' imported but unused

reviewbotreviewbot

'EmailMessage' imported but unused

reviewbotreviewbot

If you don't specify a default, it should fall back to the sitewide default.

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
  2. reviewboard/notifications/email.py (Diff revision 1)
     
     
    Show all issues
     'EmailMultiAlternatives' imported but unused
    
  3. reviewboard/notifications/tests.py (Diff revision 1)
     
     
    Show all issues
     'EmailMessage' imported but unused
    
  4. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
  2. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
  2. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
  2. 
      
chipx86
  1. 
      
  2. reviewboard/notifications/email.py (Diff revision 4)
     
     
     
    Show all issues

    If you don't specify a default, it should fall back to the sitewide default.

  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/email.py
        reviewboard/notifications/tests.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.6.x (d236574)