Eeshan Garg
31986d1b94
github_webhook: Update "pull_request unassigned" event fixture.
...
The older fixture for this event assumed that the "assignee" key
had a value of '{}' if no one was assigned to a PR anymore.
However, that is no longer true because testing with requestbin
showed that in the latest JSON payload for this event, the key
"assignee" now has the value of 'null' (None when converted to
Python) when a user is unassigned from a PR. The current code
didn't handle this correctly. This commit makes sure it does!
Its unclear as to whether the old fixture was simply wrong or
whether GitHub changed its payloads in any way.
2017-08-24 16:48:00 -07:00
Robert Hönig
18a080cd6c
Don't handle json payload key errors inside webhooks.
...
Fixes first part of #6213 .
2017-08-24 11:33:14 -07:00
Robert Hönig
c5f0478374
linter: Add trailing whitespace check for json files.
2017-08-15 09:28:11 -07:00
Robert Hönig
4be814fc16
integrations: Add OpsGenie integration.
2017-08-15 08:42:19 -07:00
Jack Zhang
f9b5a270d0
integrations: Remove titles from integration docs.
2017-08-10 10:21:53 -07:00
Jack Zhang
e56b060ef4
github_webhook/doc.md: Add link to deprecated Github Services integration.
2017-08-10 10:21:53 -07:00
Jack Zhang
8187b7ab57
bitbucket2/doc.md: Add link to deprecated Enterprise integration.
2017-08-10 10:21:53 -07:00
Jack Zhang
9461f2f799
docs: Update /integrations links to new pushState routes.
...
Update Email, Beanstalk, Hubot, JIRA, and Trello integrations
links.
The Hubot integrations section (/integrations#hubot-integrations)
was removed in an earlier redesign of /integrations. This commit
replaces the link with the hubot-scripts organization on
Github, which displays the comprehensive list of all integrations
available via Hubot.
Fixes #5875 .
2017-08-10 10:21:53 -07:00
neiljp (Neil Pilgrim)
82bac5ca11
Webhook: Remove duplicate trello code.
2017-08-08 15:55:09 -07:00
neiljp (Neil Pilgrim)
60baedcab9
mypy: strict-optional fixes for Trello integration.
2017-08-07 21:27:50 -07:00
Eeshan Garg
8f3e997a47
webhooks/trello: Ignore Card movement within a single list.
2017-07-26 22:22:14 -07:00
Greg Price
7cd621bc9d
webhooks/updown: Fix a JsonableError to provide a real error message.
2017-07-24 16:41:22 -07:00
Eeshan Garg
2ed7b7b6a1
webhooks/slack: Support unicode.
...
If an incoming payload contained a unicode character, it raised
a UnicodeEncodeError, because the message template was an str. Now,
the message template is unicode, so it can be formatted to include
unicode characters, should the incoming payloads contain any.
2017-07-20 10:30:03 -07:00
Eeshan Garg
c16e4c7d32
github_webhook: Support "ping" events from organization webhooks.
...
In addition to "ping" webhook payloads from repository-specific
webhooks, we now also support "ping" events from organization-wide
webhooks.
2017-07-17 10:15:28 -07:00
neiljp (Neil Pilgrim)
8611a2cafa
tidying: Combine multiple 'import typing' lines onto one line.
2017-07-16 16:43:21 -07:00
Vishnu Ks
a25ba763bf
semaphore: Remove unused get_user_profile_by_email import.
2017-07-14 13:35:43 -07:00
Vishnu Ks
795a1a5701
jira: Replace get_user_profile_by_email in view.py.
2017-07-14 13:35:43 -07:00
neiljp (Neil Pilgrim)
6cb3a2ab1a
mypy: Move type annotation in jira/view.py before general comments.
2017-07-07 10:56:33 -07:00
Kenji Okimoto
2eb6c49a89
github_webhook: Fix a typo to handle issues event properly.
...
issue -> issues in the HTTP_X_GITHUB_EVENT.
2017-06-30 10:55:01 -07:00
Sadjad Fouladi
92fefa0e7e
Fix a grammatical error in status change message.
2017-06-30 11:44:04 -04:00
Eeshan Garg
843dbbf3a1
webhooks/slack: Restructure docs to use create-stream.md macro.
2017-06-26 12:30:04 -04:00
Nick Sweeting
8e84c72acb
Add error checking to payload['previous'] for Circle.CI.
...
This webhook used to fail if there was no previous payload.
2017-06-26 08:15:07 -04:00
Rohitt Vashishtha
c802967808
webhooks/travis: Fix typos in docs.
2017-06-15 11:11:56 -07:00
Rohitt Vashishtha
d671dea29f
webhooks/yo: Migrate docs to markdown.
2017-06-15 11:10:44 -07:00
Rohitt Vashishtha
1fe58eb325
webhooks/slack: Migrate docs to markdown.
2017-06-15 11:10:44 -07:00
Eeshan Garg
2344e26b1a
webhooks/zendesk: Migrate docs to Markdown.
2017-06-14 17:42:17 -07:00
Eeshan Garg
9e77749bfc
webhooks/wordpress: Migrate docs to Markdown.
...
Markdown doesn't support tables, so I used an unordered list
instead for the HTML table at the end.
2017-06-14 17:42:17 -07:00
Eeshan Garg
4a3137be97
webhooks/taiga: Migrate docs to Markdown.
2017-06-14 17:42:17 -07:00
Eeshan Garg
1c5d0bb0fa
webhooks/semaphore: Use append-stream-name.md macro.
2017-06-14 17:42:17 -07:00
Eeshan Garg
0d611d4c8a
webhooks/stripe: Migrate docs to Markdown.
2017-06-14 17:42:17 -07:00
Eeshan Garg
b741f45408
webhooks/splunk: Migrate docs to Markdown.
2017-06-13 15:33:22 -07:00
Eeshan Garg
df28bb40f2
webhooks/sentry: Migrate docs to Markdown.
2017-06-13 15:33:22 -07:00
Eeshan Garg
84da473da5
webhooks/semaphore: Migrate docs to Markdown.
2017-06-13 15:33:22 -07:00
Eeshan Garg
d5fa02c7da
webhooks/pingdom: Migrate docs to Markdown.
2017-06-13 15:33:22 -07:00
Eeshan Garg
0b1296ed83
webhooks/librato: Migrate docs to Markdown.
2017-06-13 15:33:21 -07:00
Eeshan Garg
ac1ddc4dc8
webhooks/jira: Migrate docs to Markdown.
2017-06-13 15:33:21 -07:00
Eeshan Garg
571130e2fe
webhooks/homeassistant: Migrate docs to Markdown.
2017-06-13 15:33:21 -07:00
Eeshan Garg
cfa0f5332a
webhooks/freshdesk: Migrate docs to Markdown.
2017-06-13 15:30:35 -07:00
Eeshan Garg
902ae31e15
webhooks/deskdotcom: Migrate docs to Markdown.
2017-06-13 15:30:35 -07:00
Eeshan Garg
c3c004743c
github/doc.md: Use Integration.stream_name as default stream.
2017-06-13 15:30:35 -07:00
wizsid11
d309cd29f3
webhooks/zapier: Add weather update example.
...
Add documentation for weather update through Zapier.
Contains tests and fixtures for weather example.
With minor fixes, docs migration to Markdown, and
rebasing by Eeshan Garg.
2017-06-08 09:14:18 -07:00
Rohitt Vashishtha
5a3a41a644
webhooks/travis: Migrate docs to markdown.
2017-06-07 14:06:01 -07:00
Eeshan Garg
ffb3994b4e
webhooks/bitbucket: Migrate docs to Markdown.
2017-06-05 11:22:06 -07:00
Eeshan Garg
def4650d84
webhooks/beanstalk: Migrate docs to Markdown.
2017-06-05 11:22:06 -07:00
Eeshan Garg
0cfe089152
webhooks/github: Migrate docs to Markdown.
2017-06-05 11:22:06 -07:00
Eeshan Garg
7cfc592202
webhooks/bitbucket2: Migrate docs to Markdown.
...
The change to `render_markdown_path` in `app_filters.py` was
required because for bitbucket2, `integrations.name` is
`bitbucket2`, which is substituted for the stream name in our
Markdown macros. It didn't make sense to recommend the name
`bitbucket2` as a default stream name to our users (for them,
it's just bitbucket). However, the URL is still
`api/v1/external/bitbucket2`.
2017-06-05 11:22:05 -07:00
Eeshan Garg
2f28b3d35b
webhooks/gogs: Migrate docs to Markdown.
2017-06-05 11:22:05 -07:00
Eeshan Garg
a12fe65166
webhooks/gitlab: Migrate docs to Markdown.
2017-06-05 11:22:04 -07:00
Eeshan Garg
dd15b2d997
github_webhook: Migrate docs to Markdown.
2017-06-05 11:20:49 -07:00
Aditya Bansal
e28cafebaf
pep8: Add compliance with rule E261 hellosign/view.py.
2017-06-04 09:18:18 -07:00