dhanus
|
1169329a71
|
Annotate zerver/views/webhooks/github.py.
|
2016-06-26 08:13:49 -07:00 |
Eklavya Sharma
|
85cb3e6103
|
zerver/views/webhooks/github.py: Make exception string str.
Passing a unicode string to Exception can sometimes fail.
Convert it to str to prevent that.
|
2016-06-26 08:13:49 -07:00 |
Eklavya Sharma
|
a32f83b182
|
zerver/views/webhooks/github.py: Fix string literals.
Change some string literals to unicode.
|
2016-06-26 08:13:49 -07:00 |
Tomasz Kolek
|
9ae68ade8b
|
Add is_webhook option to authentication decorats.
Modified:
authenticated_rest_api_view
authenticated_api_view and validate_api_key.
|
2016-06-21 11:47:38 -07:00 |
Tim Abbott
|
960144a49e
|
Desupport using uninstantiated REQ with has_request_variables.
This makes life difficult for doing static type annotations, and
didn't make the code look that much better anyway.
|
2016-05-31 07:31:15 -07:00 |
Tomasz Kolek
|
c74483e69e
|
github_webhook: change double quotes to single quotes for consistency.
|
2016-04-21 17:04:25 -07:00 |
Tomasz Kolek
|
09e40b27c2
|
github_webhook: throw an exception on unhandled events types.
|
2016-04-21 17:03:58 -07:00 |
Tomasz Kolek
|
fafc9cb742
|
github_webhook: remove redundant parenthesis.
|
2016-04-21 17:02:49 -07:00 |
Tomasz Kolek
|
43b0cfaebc
|
github_webhook: Use more one-line pythonic assignments.
|
2016-04-21 17:00:47 -07:00 |
Tomasz Kolek
|
decb686255
|
github_webhook: factor out is_test_repository function.
|
2016-04-21 16:57:19 -07:00 |
Tomasz Kolek
|
e1079d8475
|
github_webhook: extract the constants to the top of the file.
|
2016-04-21 16:56:44 -07:00 |
Tomasz Kolek
|
6a3ab0605d
|
Moved github webhook into its own file github.py
|
2016-03-14 20:44:41 -07:00 |