Jackson
aeac3848c8
integrations: Add webhook code, API endpoint, and tests for HelloSign.
2016-12-30 14:19:31 -08:00
Juan Verhook
cfa9c2eaf2
mypy: Update zerver directory to use Text
2016-12-29 09:12:15 -08:00
Tomasz Kolek
56f530331d
Add default topics mechanism to stripe integration.
...
Fixes : #2586 .
2016-12-27 16:27:54 -08:00
Jackson
59eb7a54e2
integrations: Add documentation for GoSquared.
2016-12-20 16:59:36 -08:00
Jackson
4ff4f12aea
integrations: Add webhook code, API endpoint, and tests for GoSquared.
2016-12-20 16:59:36 -08:00
Tomasz Kolek
bb6d189fa8
Add github dispatcher to have one elegant url for both github integrations.
...
Dispatcher avoids to create new URL for github_webhook.
2016-12-15 17:42:28 -08:00
Tim Abbott
a116c86f62
tests: s/assertEquals/assertEqual/ due to deprecation.
...
Fixes #2730 .
2016-12-15 17:02:03 -08:00
Sampriti Panda
91780180f6
integrations: Add webhook code, API endpoint, and tests for AppFollow
2016-12-15 11:13:27 -08:00
reallyly
94b28e0afb
pep8: Fix E128 violations.
...
With some line-wrapping tweaks by tabbott.
2016-12-13 10:50:14 -08:00
Sampriti Panda
7c3aff92d9
integrations: Add webhook payloads, webhook code, API endpoint, and tests for heroku
2016-12-06 11:05:00 -08:00
Bickio
84765e48a9
integrations: Add webhook code, API endpoint, and tests for papertrail
2016-12-05 21:48:11 -08:00
Vamshi Balanaga
f89e732d9e
integrations: Add webhook code, API endpoint, and tests for mention.
2016-12-05 16:46:32 -08:00
bulat22101
9f68efa47b
mypy: Convert zerver/tests/ to use typing.Text.
2016-12-04 14:47:21 -08:00
AZtheAsian
441743cb89
integrations: Add webhook code, API endpoint, and tests for stripe.
...
This integration still needs documentation.
2016-12-03 20:42:43 -08:00
nikolay
abc2ff4a06
pep8: Fix many rule E128 violations.
...
[Tweaked by tabbott to adjust some approaches used in wrapping]
2016-12-03 13:33:31 -08:00
Sidhant Bhavnani
8c0c12c1d9
pep8: Fix E303 violations.
2016-12-02 15:34:11 -08:00
Rafid Aslam
41bd88d5ed
pep8: Fix E301 pep8 violations.
...
Fix "E301: expected (1 or 2) blank line" pep8 violations.
2016-11-29 08:51:44 -08:00
Tomasz Kolek
d8dee522b6
Fix trello integration by adding handling HEAD confirmation request.
...
Previously, we rejected the HEAD requests that the trello integration
uses to check if the server accepts the integration.
Add decorator for returning 200 status code if request is HEAD.
Fixes : #2311 .
2016-11-18 16:27:16 -08:00
Pweaver (Paul Weaver)
8f05ea877d
lint: Fix pep8 linter error regressions.
...
Since `lint-all --pep8` wasn't running in CI, a few errors have leaked
in.
2016-11-17 00:09:21 -08:00
Tomasz Kolek
074571dddc
Fix English grammar in push/remove tag message.
2016-11-15 10:48:12 -08:00
Tomasz Kolek
1feedbe346
Add github webhook integration.
2016-11-15 10:48:12 -08:00
Feorlen
4ed5c21821
Update Desk.com webhook integration.
...
Updates the HTML docs to match changes to the Desk.com website,
including all new screenshots for the custom action workflow.
Tests four types of messages that could be sent as notifications from
Desk.com. Desk.com allows an account administrator to send any text
in a custom action, so there isn't a standard format.
Custom actions send URL-encoded POST data, the test fixtures contain
URL-encoded text like what could be sent by a custom action configured
as described in the Zulip Integrations documentation to post a new
message to a stream. (See also #2169 , errors in this documentation.)
New zerver.tests.webhooks.test_deskdotcom.DeskDotComHookTests:
* Static text: minimal plain text string
* Case updated: activity alert with link to a Desk.com case and message
* Unicode text Italian: activity alert with message in Italian
* Unicode text Japanese: activity alert with message in Japanese
Each posts a new message in the deskdotcom stream.
Tested on Ubuntu 14.04. I created the fixtures with Emacs, I would
appreciate if someone can check that the Italian and Japanese messages
look ok. I used the same text for a live test and it displayed correctly.
Fixes #2031
2016-11-11 16:06:22 -08:00
Tomasz Kolek
f05b71b9ca
Add handling multiple push info in one request to Bitbucket2 integration.
2016-11-11 15:36:45 -08:00
Tomasz Kolek
085cdb7028
Fix Bitbucket2 push message by truncated commits list.
2016-11-11 15:36:45 -08:00
Tomasz Kolek
81f18b829d
Normalize pushing tags event messages in Bitbucket2 integration.
2016-11-11 15:36:45 -08:00
Tomasz Kolek
5980a75e07
Normalize pushing tags event messages in GitLab integration.
2016-11-11 15:36:45 -08:00
sinwar
4582a98c09
tests: Split out ZulipTestCase and WebhookTestCase to a separate file.
...
Fixes #1671 .
2016-11-10 19:29:43 -08:00
paxapy
6d93b3b60c
lint: Fix E703 pep8 violations.
2016-11-09 15:18:35 -08:00
Tim Abbott
51fcf1fb7a
tests: Fix spelling of test_transifex.py.
2016-11-04 21:49:39 -07:00
Tomasz Kolek
9026f56713
Improve English grammar in bitbucket integration modify comment message.
...
Add `a` between verb and comment word i.e. updated a [comment] instead of
updated [comment].
2016-11-03 10:18:46 -07:00
Tomasz Kolek
4dd8cd9879
Replace "Commit" to commits sha in commits comment events in git integrations.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
ce5bb22ace
Normalize comment commit event in github integration.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
6ad4cce35c
Add object number/id to mention about Issue, PR, etc. to all git integrations.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
762b6b5817
Add on betwen comment action and noun in comments messages from git integrations.
...
Improve English grammar in comment messages in git integrations
by adding 'on' between comment action and noun (PR, Issue, Commit).
2016-11-02 22:19:51 -07:00
Tomasz Kolek
cbd05eb0b2
Normalize bitbucket commit, PR and issues comment event's subject and content.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
ef6a1328ce
Normalize gitlab snippet or commit comment event's subject and content.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
4fc1488edc
Normalize gitlab issue or MR comment event's subject and content.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
6e1674aca5
Normalize github issue or PR comment event's subject and content.
2016-10-20 23:15:51 -07:00
Tomasz Kolek
56dd1a9b90
Normalize gitlab issue event's subject and content.
2016-10-20 23:15:30 -07:00
Tomasz Kolek
a8da46db92
Normalize bitbucket issue event's subject and content.
2016-10-20 23:15:30 -07:00
Tomasz Kolek
171a4861cc
Normalize github issue event's subject and content.
2016-10-20 23:15:30 -07:00
Tomasz Kolek
67adf570e7
Remove @-mentions from jira integration.
...
Because of a lot of annoying notifcations we decided to remove
all @-mentions in jira. We replaced it by just login (without @).
2016-10-20 11:55:12 -07:00
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
d2cedd3667
Rename consts in lib/webhooks/git.py to make it more general.
...
Rename:
PUSH_COMMITS_LIMIT to COMMITS_LIMIT
PUSH_COMMIT_ROW_TEMPLATE to COMMIT_ROW_TEMPLATE
PUSH_COMMITS_MORE_THAN_LIMIT_TEMPLATE to COMMITS_MORE_THAN_LIMIT_TEMPLATE
2016-10-14 16:54:13 -07:00
Tomasz Kolek
0f01150449
Add bitbucket tests for push, push a lot of commits and force push events.
2016-10-14 16:54:13 -07:00
Tomasz Kolek
165cdb79d9
Rename bitbucket2 fixtures directory to bitbucket.
...
Rename all bitbucket fixtrues from bitbucket2.* to bitbucket_v2.*.
2016-10-14 16:54:13 -07:00
Tomasz Kolek
8fa9ee1473
Add github tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
ad5d5f2c99
Add beanstalk tests for commits more than limit.
2016-10-10 17:39:05 -07:00