mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
webhooks: Add missing space in Review Board.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
c02c053ec3
commit
65868b09eb
@@ -1280,7 +1280,7 @@ details.
|
||||
- Added /digest endpoint for viewing the current digest email on the web.
|
||||
- Added alert for when a user sends a message when scrolled too far up.
|
||||
- Added internationalization for outgoing emails.
|
||||
- Added a ReviewBoard integration, and improved numerous existing integrations.
|
||||
- Added a Review Board integration, and improved numerous existing integrations.
|
||||
- Added support for multi-line messages for the /me feature.
|
||||
- Added Markdown rendering of text when displaying custom profile fields.
|
||||
- Added "silent mentions" syntax (`@_**Tim Abbott**`), which show
|
||||
|
||||
@@ -431,7 +431,7 @@ WEBHOOK_INTEGRATIONS: List[WebhookIntegration] = [
|
||||
WebhookIntegration("pivotal", ["project-management"], display_name="Pivotal Tracker"),
|
||||
WebhookIntegration("radarr", ["entertainment"], display_name="Radarr"),
|
||||
WebhookIntegration("raygun", ["monitoring"], display_name="Raygun"),
|
||||
WebhookIntegration("reviewboard", ["version-control"], display_name="ReviewBoard"),
|
||||
WebhookIntegration("reviewboard", ["version-control"], display_name="Review Board"),
|
||||
WebhookIntegration("semaphore", ["continuous-integration", "deployment"]),
|
||||
WebhookIntegration("sentry", ["monitoring"]),
|
||||
WebhookIntegration(
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
Get ReviewBoard notifications in Zulip!
|
||||
Get Review Board notifications in Zulip!
|
||||
|
||||
1. {!create-stream.md!}
|
||||
|
||||
1. {!create-bot-construct-url-indented.md!}
|
||||
|
||||
1. On your ReviewBoard **Dashboard**, click your team's name in the top-right
|
||||
1. On your Review Board **Dashboard**, click your team's name in the top-right
|
||||
corner, and click **Team administration**. Select **WebHooks** on the
|
||||
left sidebar, and click **+ Create a WebHook**.
|
||||
|
||||
|
||||
@@ -182,7 +182,9 @@ def api_reviewboard_webhook(
|
||||
user_profile: UserProfile,
|
||||
payload: Dict[str, Sequence[Dict[str, Any]]] = REQ(argument_type="body"),
|
||||
) -> HttpResponse:
|
||||
event_type = validate_extract_webhook_http_header(request, "X_REVIEWBOARD_EVENT", "ReviewBoard")
|
||||
event_type = validate_extract_webhook_http_header(
|
||||
request, "X_REVIEWBOARD_EVENT", "Review Board"
|
||||
)
|
||||
assert event_type is not None
|
||||
|
||||
body_function = RB_MESSAGE_FUNCTIONS.get(event_type)
|
||||
|
||||
Reference in New Issue
Block a user