Discord Integration Option

Review Request #11201 — Created Sept. 24, 2020 and submitted — Latest diff uploaded

Information

rbintegrations
master

Reviewers

Added a Discord Integration option.
This allows Review Board to have an option of notifying Discord channels on
any Review Request changes. This commit also includes a refactoring of the
notify() function in SlackIntegration.

Added unit tests in discord/tests.py and they pass in RB3 virtual
environment. RB4 has two exceptions (please see below).

Tested it manually in reviewboard 3.0.x and 4.0.x.

Issues that still need to be addressed:

  • Add assets (e.g. logos, trophies, etc.) at this location:
    https://static.reviewboard.org/integration-assets/discord

  • It has the same problem as the Slack and Mattermost Integration:
    two of the unit tests are complaining about this image here in RB4 -
    /var/folders/f1/r8mpbfkd321804b47_tgytgw0000gn/T/rb-tests-EQOxMU/
    static/rb/images/logo.png

Changes between revision 14 and 15

orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Commits

Summary ID Author
Discord Chat Integration
This allows Review Board to have an option of notifying Discord channels on any Review Request changes. This commit also includes a refactoring of the notify() function in SlackIntegration.
905081342dbed39d3af26f8a34e36c3a781e9332 HailanXyouknow
Discord Chat Integration
This allows Review Board to have an option of notifying Discord channels on any Review Request changes. This commit also includes a refactoring of the notify() function in SlackIntegration.
b1cff2eb4fe7f953704b96c252b7b96564b31464 HailanXyouknow
rbintegrations/discord/forms.py
rbintegrations/discord/integration.py
rbintegrations/slack/integration.py
Loading...