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 5 and 6

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.
cea446b49eba25b641cfb5fcfea406395105fa2d 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.
12104735761a778bc8d4283cd0d8ef263bd07210 HailanXyouknow
rbintegrations/discord/forms.py
rbintegrations/discord/integration.py
rbintegrations/discord/tests.py
rbintegrations/slack/integration.py
Loading...