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
Tomasz Kolek
07003ca52d
Add gitlab tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
a3e4415614
Add bitbucket2 tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
6fc1193743
Add to gitlab remove branch message handler.
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
e56e3f4aee
Normalize bitbucket2 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
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
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
d4da60fbe2
Split test_hooks file into one test file per hook.
2016-09-23 10:02:16 -07:00