Aditya Bansal
64ddfc6ac0
zerver/webhooks: Change use of typing.Text to str.
2018-05-10 14:19:49 -07:00
Preston Hansen
e168f9938c
tests: Refactor use of test and webhook data fixtures.
2018-04-19 21:50:29 -07:00
Tim Abbott
73a668e7ae
python: Sort imports in webhooks.
2017-11-15 15:43:10 -08: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
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