mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
integrations: Add discourse integration.
The actual integration lives on the Discourse side.
This commit is contained in:
BIN
static/images/integrations/discourse/001.png
Normal file
BIN
static/images/integrations/discourse/001.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
static/images/integrations/logos/discourse.png
Normal file
BIN
static/images/integrations/logos/discourse.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
21
templates/zerver/integrations/discourse.md
Normal file
21
templates/zerver/integrations/discourse.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
On your {{ settings_html|safe }},
|
||||||
|
[create a bot](/help/add-a-bot-or-integration) for
|
||||||
|
{{ integration_display_name }}. Make sure that you select
|
||||||
|
**Incoming webhook** as the **Bot type**:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The API keys for "Incoming webhook" bots are limited to only
|
||||||
|
sending messages via webhooks. Thus, this bot type lessens
|
||||||
|
the security risks associated with exposing the bot's API
|
||||||
|
key to third-party services.
|
||||||
|
|
||||||
|
Copy the `USERNAME` and `API KEY` - you'll need it later.
|
||||||
|
|
||||||
|
Head over to the
|
||||||
|
[Discourse Chat Integration Setup Instructions](https://meta.discourse.org/t/68501)
|
||||||
|
and complete them.
|
||||||
|
|
||||||
|
{!congrats.md!}
|
||||||
|
|
||||||
|

|
||||||
@@ -315,6 +315,8 @@ INTEGRATIONS = {
|
|||||||
),
|
),
|
||||||
'codebase': Integration('codebase', 'codebase', ['version-control'],
|
'codebase': Integration('codebase', 'codebase', ['version-control'],
|
||||||
doc='zerver/integrations/codebase.md'),
|
doc='zerver/integrations/codebase.md'),
|
||||||
|
'discourse': Integration('discourse', 'discourse', ['communication'],
|
||||||
|
doc='zerver/integrations/discourse.md'),
|
||||||
'email': EmailIntegration('email', 'email', ['communication'],
|
'email': EmailIntegration('email', 'email', ['communication'],
|
||||||
doc='zerver/integrations/email.md'),
|
doc='zerver/integrations/email.md'),
|
||||||
'git': Integration('git', 'git', ['version-control'], doc='zerver/integrations/git.md'),
|
'git': Integration('git', 'git', ['version-control'], doc='zerver/integrations/git.md'),
|
||||||
|
|||||||
Reference in New Issue
Block a user