Robert Hönig
7a8c1ec9dc
outgoing webhooks: Send additional useful data.
...
This adds the fields `trigger` and `service_email`
to each message event dispatched by outgoing webhook bots.
`trigger` will be used by the Botserver to determine if
a bot is mentioned in the message.
`service_email` will be used by the Botserver to determine
by which outgoing webhook bot the message should be handled.
2018-05-25 10:33:40 -07:00
novokrest
036bc120c3
outgoing_webhook: Extend process_success() return value to tuple.
...
Change return value type of OutgoingWebhookServiceInterface.process_success
to 2-elements tuple as (success_message, failure_message)
2018-05-02 11:57:08 -07:00
rht
4f5b1c0a5a
zerver/tests: Use python 3 syntax for typing in most files.
2017-11-16 21:52:01 -08:00
rht
26f5d9a32c
zerver/tests: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
1e87a4b68c
zerver/tests: Remove absolute_import.
2017-09-27 10:00:39 -07:00
Elliott Jin
fcb889c5c0
outgoing webhooks: Remove process_failure interface method.
2017-07-24 14:10:14 -07:00
Elliott Jin
3d815bcea9
outgoing webhooks: Return None instead of "" in process_success.
2017-07-24 14:10:14 -07:00
Elliott Jin
a7713840d4
outgoing webhooks: Remove underscore from test class names.
2017-07-24 14:10:14 -07:00
Elliott Jin
6a61a8a431
outgoing webhooks: Consolidate interfaces into lib/outgoing_webhook.py
2017-07-24 14:10:14 -07:00
vaibhav
4c50c4fc76
Add outgoing webhook interface for Slack.
2017-07-24 14:10:14 -07:00
vaibhav
e5be29bc3c
Add tests for Generic Interface.
2017-07-24 14:10:14 -07:00