Tomasz Kolek
92bfadcca4
Normalize github pull requests event message.
...
Add detailed info (description, source and target branch, assignee) to message.
Change subject to 'repo_name / PR #id title'.
Modify some test fixtures for better coverage.
2016-10-14 16:54:13 -07:00
Tomasz Kolek
ce9ac30fac
Normalize bitbucket pull requests event message.
...
Add detailed info (description, source and target branch, assignee) to message.
Change subject to 'repo_name / PR #id title'.
Modify some test fixtures for better coverage.
2016-10-14 16:54:13 -07:00
Tomasz Kolek
421c51cc14
Normalize gitlab pull requests event message.
...
Add detailed info (description, source and target branch, assignee) to message.
Change subject to 'repo_name / MR #id title'.
Modify some test fixtures for better coverage.
Fixes : #1883 .
2016-10-14 16:54:13 -07:00
Tomasz Kolek
6fc1193743
Add to gitlab remove branch message handler.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
89ef6c73d1
Normalize github and beanstalk remove branch event message.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
56208d7ea1
Add bitbucket2 remove branch message handler.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
b031d6b029
Add bitbucket2 force push event handler.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
f084dd05a8
Normalize github and beanstalk force push event message.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
e56e3f4aee
Normalize bitbucket2 push event subject.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
741a91d249
Normalize bitbucket push event subject.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
1f0f197479
Normalize github and beanstalk push event subjects.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
bc4ce7e781
Normalize gitlab push event message.
...
Fixes : #1884 .
2016-10-10 17:39:05 -07:00
Tomasz Kolek
6a727bc476
Normalize bitbucket2 push event.
...
Normalize bitbukcet2 push event by creating it by
get_push_commits_event_message common function.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
06ad0102a2
Remove now-unused build_commit_list_content.
2016-10-10 17:38:41 -07:00
Tomasz Kolek
809bc5f29b
Normalize bitbucket push event.
...
Normalize bitbukcet push event by creating it by
get_push_commits_event_message common function.
2016-10-10 17:33:02 -07:00
Tomasz Kolek
1c1a003ba1
Normalize github push event.
...
Normalize github push event by creating it by
get_push_commits_event_message common function.
2016-10-10 17:33:02 -07:00
Tomasz Kolek
464ced2b48
Add Pipeline Hook event handling to gitlab integration.
2016-10-02 09:35:07 -07:00
Tomasz Kolek
36745a68cf
Add Build Hook event handling to gitlab integration.
2016-10-02 09:35:07 -07:00
Tim Abbott
49faad7bb1
GitLab: Fix minor bytes/text types issue.
2016-09-25 23:29:36 -07:00
Tim Abbott
a3eb0be52a
GitLab: simplify topics in GitLab integration.
2016-09-25 23:12:24 -07:00
Tomasz Kolek
95825973c7
Add branch name to topic in Gitlab integration.
...
Fixes : #1831 .
2016-09-23 10:04:01 -07:00
Tomasz Kolek
8cdc5b7a02
Fix bug with wrong branch name in Gitlab integration.
...
Need to change lstrip to replace particular string with empty string.
Fixes : #1830 .
2016-09-23 10:03:09 -07:00
Tomasz Kolek
acbfe7e624
Add Librato integration.
...
Fixes : #68 .
2016-09-13 21:55:25 -07:00
Tim Abbott
e5b8ad6666
Fix teamcity.py annotations.
2016-09-12 08:30:42 -07:00
Tomasz Kolek
8b9e9a386a
Add mypy annotations to various integrations-related functions.
...
Added to:
zerver/lib/integrations.py
zerver/tests/test_integrations.py
zerver/tests/test_management_commands.py
zerver/views/integrations.py
zerver/views/webhooks/circleci.py
2016-09-11 17:11:25 -07:00
Tomasz Kolek
848635005f
Add Sentry integration.
...
Fixes : #618 .
2016-09-07 19:39:45 -07:00
Tomasz Kolek
69a9fece70
Add GitLab integration.
...
Fixes : #33 .
2016-08-25 13:49:51 -07:00
Taranjeet Singh
eef1d78e68
bitbucket2.py: Fix line with length greater than 120.
...
This updates file zerver/views/webhooks/bitbucket2.py.
2016-08-19 11:56:43 -07:00
Tim Abbott
2eb5baa024
zendesk: Add missing type annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
a7086d3d8a
trello: Fix accidentally commented type annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
af823f7a76
Annotate circleci integration.
2016-08-04 15:53:23 -07:00
Christie Koehler
31efecf03d
Add HelloWorld webhook integration + Walkthough.
...
Improves webhook integration docs and Hello World webhook. Includes
many suggested improvements from @timabbott and @tomaszkolek.
2016-07-29 21:38:40 -07:00
Tim Abbott
832951d2dd
Fix IFTTT integration documention on 'content' field.
2016-07-28 14:05:45 -07:00
Taranjeet Singh
9bea1f46c7
zerver/views/webhooks/bitbucket2.py: Fix line with length greater than 120.
2016-07-23 14:33:11 -07:00
Eklavya Sharma
09e4e5aea7
Add links after `type: ignore`s.
2016-07-22 13:59:31 -07:00
Eklavya Sharma
674f6999e1
Improve annotations of decorators.
2016-07-22 11:14:33 -07:00
Taranjeet Singh
5462341cb4
zerver/views/webhooks/github.py: Fix lines with length greater than 120.
2016-07-18 15:10:41 -07:00
Taranjeet Singh
5499136bfd
zerver/views/webhooks/teamcity.py: Fix line with length greater than 120.
2016-07-18 14:42:39 -07:00
Taranjeet Singh
7199ee8f08
zerver/views/webhooks/taiga.py: Fix line with length greater than 120.
2016-07-18 14:42:39 -07:00
Taranjeet Singh
3e17011f9c
zerver/views/webhooks/pivotal.py: Fix line with length greater than 120.
2016-07-18 14:42:39 -07:00
Taranjeet Singh
c437659cd9
zerver/views/webhooks/pingdom.py: Fix line with length greater than 120.
...
zerver/views/webhooks/pingdom.py: Fix indetation for function args.
2016-07-18 14:42:39 -07:00
Taranjeet Singh
7ddb254d2e
zerver/views/webhooks/circleci.py: Fix line with length greater than 120.
...
zerver/views/webhooks/circleci.py: Fix indentation for function args.
2016-07-18 14:42:39 -07:00
Taranjeet Singh
1323685140
zerver/views/webhooks/beanstalk.py: Fix line with length greater than 120.
...
zerver/views/webhooks/beanstalk.py: Capture string in a temp variable.
2016-07-18 14:42:39 -07:00
Taranjeet Singh
569d14a826
zerver/views/webhooks/airbrake.py: Fix line with length greater than 120.
...
zerver/views/webhooks/airbrake.py: Fix Indentation.
zerver/views/webhooks/airbrake.py: Fix Indentation for args in function.
2016-07-18 14:42:39 -07:00
Tomasz Kolek
f689fbfa4d
Replace old Trello integration with a webhook integration.
...
Fixes : #709 .
[With tweaks on the documentation by tabbott]
2016-07-13 21:00:27 -07:00
Eklavya Sharma
a7d2dab28f
Fix non-deterministic output from Taiga integration.
...
Taiga's webhook integration would give output events in a random
order which caused test failures on python 3 (seems like python
3 is more prone to non-deterministic failures). Fix that by
sorting the outputs obtained from events before concatenating them.
2016-07-13 16:00:46 -07:00
Eklavya Sharma
5382aeb385
Render PagerDuty message using ujson.dumps.
...
Use ujson.dumps to render raw messages sent by the PagerDuty
integration instead of using pprint.pformat. pprint.pformat
gives different results on python 2 and 3.
2016-07-13 16:00:46 -07:00
Eklavya Sharma
e6502710b6
Change exception.message to str(exception).
...
The 'message' attribute in Exception has been deprecated.
It has been removed in python 3.
2016-07-13 16:00:46 -07:00
Tomasz Kolek
d0066c37ff
Add bitbucket2 integration.
...
Bitbucket changed the format of their API. The old format is still
useful for BitBucket enterprise, but for the main cloud verison of
Bitbucket, we need a new BitBucket integration supporting the new API.
2016-07-12 17:34:34 -07:00
Eklavya Sharma
6c3f1bb967
beanstalk.py: Encode and decode strings correctly.
2016-07-07 12:42:51 -07:00