Sidhant Bhavnani
8c0c12c1d9
pep8: Fix E303 violations.
2016-12-02 15:34:11 -08:00
sinwar
4582a98c09
tests: Split out ZulipTestCase and WebhookTestCase to a separate file.
...
Fixes #1671 .
2016-11-10 19:29:43 -08: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
6e1674aca5
Normalize github issue or PR comment event's subject and content.
2016-10-20 23:15:51 -07:00
Tomasz Kolek
171a4861cc
Normalize github issue event's subject and content.
2016-10-20 23:15:30 -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
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
8fa9ee1473
Add github tests for commits more than limit.
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
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
d4da60fbe2
Split test_hooks file into one test file per hook.
2016-09-23 10:02:16 -07:00