Eeshan Garg
222966b6ba
webhooks/zapier: Support authentication for the Zapier Zulip app.
...
If the user sets up a Zap using an incoming webhook bot's API
key, the authentication goes through our webhook.
2019-03-11 10:54:55 -07:00
Eeshan Garg
85f453998e
webhooks/zapier: Remove code related to our official Zapier app.
...
Our official Zapier app now uses our JS bindings (zulip-js) to
call the API directly and doesn't need to go through the webhook
anymore for anything.
2019-02-28 22:09:35 -08:00
Eeshan Garg
b0c761dfb1
zapier_app: Include bot details in response to auth requests.
...
The bot's details (such as ID and name) are used to format a
connection label in Zapier's UI. This allows users to distinguish
between different Zapier-to-Zulip connections set up with different
bots.
2019-02-11 21:24:52 -08:00
Eeshan Garg
20769f0fe9
zapier_app: Add support for private/huddle messages.
2019-02-05 17:25:58 -03:30
Eeshan Garg
bffc473ec8
webhooks/zapier: Support stream messages for the Zapier Zulip app.
2019-02-01 21:19:26 -03:30
Eeshan Garg
b1ce237624
webhooks/zapier: Support authentication for the Zapier Zulip app.
2019-02-01 21:19:26 -03:30
Steve Howell
ced4d81856
Sweep tests for expected_subject -> expected_topic.
...
This is all in the webhooks tests, including some
docs for how to write those tests.
2018-11-12 15:47:11 -08:00
neiljp (Neil Pilgrim)
2a2549ce9d
zapier: Support topic as preferred alternative to subject.
2018-03-18 19:18:34 -07:00
rht
969cc506d2
zerver/webhooks: Use python 3 syntax for typing.
...
Tweaked by tabbott to fix various line-wrapping issues.
2017-11-04 19:40:32 -07:00
wizsid11
d309cd29f3
webhooks/zapier: Add weather update example.
...
Add documentation for weather update through Zapier.
Contains tests and fixtures for weather example.
With minor fixes, docs migration to Markdown, and
rebasing by Eeshan Garg.
2017-06-08 09:14:18 -07:00
Tim Abbott
4060a97656
messages: Strip trailing whitespace in message contents.
...
I dug into why we never did this before, and it turns out we did, but
using `$.trim()` (which removes leading whitespace as well!). When
removing the `$.trim()` usage.
Fixes #3294 .
2017-02-11 23:01:22 -08:00
Tomasz Kolek
7de45951e2
Make webhooks as separate modules with view and tests.
...
Create python packege for every webhook with view.py and tests.py
2017-01-25 23:14:19 -08:00