Notify a slack channel as well as each user for all review hooks in rbslack

Review Request #8777 — Created Feb. 23, 2017 and discarded

Information

rb-extension-pack
master

Reviewers

This change changes the behaviour of notification to also send messages directly to users. This requires users in Slack and ReviewBoard to match (documentation added). This provides a nice feed for each user to get updates on only the reviews they care about. The users it notifies are the submitter, any people/group members assigned the to review and any commenters.

Also this adds a header on the payload sent, Content-type: application/json to support the Slack open-source alternative MatterMost. (This follows the slack documentation's request to have this header present)

Tested with MatterMost, which claims 100% api compatibility with Slack.

Description From Last Updated

undefined name 'self'

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbslack/rbslack/extension.py
    
    Ignored Files:
        rbslack/README.md
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbslack/rbslack/extension.py
    
    Ignored Files:
        rbslack/README.md
    
    
  2. rbslack/rbslack/extension.py (Diff revision 1)
     
     
    Show all issues
     undefined name 'self'
    
  3. 
      
SI
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbslack/rbslack/extension.py
    
    Ignored Files:
        rbslack/README.md
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbslack/rbslack/extension.py
    
    Ignored Files:
        rbslack/README.md
    
    
  2. 
      
david
Review request changed
Status:
Discarded