Vamshi Balanaga
1b2472b5cb
integrations: Modify solano labs integration.
...
This adds support for the "running" status and adds a test fixture.
2017-01-05 10:19:32 -08:00
Vamshi Balanaga
d6b551d508
integrations: Add webhook payloads for solano labs
2017-01-03 20:18:34 -08:00
Jackson
aeac3848c8
integrations: Add webhook code, API endpoint, and tests for HelloSign.
2016-12-30 14:19:31 -08:00
Tim Abbott
b36e94c954
bugdown: Blacklist linkifying the .md TLD.
...
Fixes #2065 .
2016-12-29 18:17:50 -08:00
Tim Abbott
39f0ffdedd
Move static/third/gemoji to static/generated/emoji.
...
Fixes #1153 .
2016-12-27 20:16:23 -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
Sampriti Panda
91780180f6
integrations: Add webhook code, API endpoint, and tests for AppFollow
2016-12-15 11:13:27 -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
root
20a55ea6e0
integrations: Add webhook payloads for appfollow.
2016-12-05 23:48:00 -08:00
Bickio
84765e48a9
integrations: Add webhook code, API endpoint, and tests for papertrail
2016-12-05 21:48:11 -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
anirudhjain75
3b891ef080
integrations: Add webhook payloads for mention.
2016-12-03 18:04:22 -08:00
anirudhjain75
a697261e74
integrations: Add webhook payloads for papertrail.
2016-12-03 10:28:49 -08:00
Bickio
7bf3ac7e90
integrations: Add webhook payloads for Stripe.
2016-12-02 20:05:37 -08:00
Tomasz Kolek
1feedbe346
Add github webhook integration.
2016-11-15 10:48:12 -08:00
hackerkid
67120d7a9d
Support backend unicode-emoji rendering without whitespace.
2016-11-14 21:02:18 -08:00
hackerkid
b2e91eae13
Add marked.js support to emojis in miscellaneous and dingbats block.
...
https://en.wikipedia.org/wiki/Emoji#Unicode_blocks
2016-11-14 15:58:16 -08:00
hackerkid
8c83b34ad5
Support backend emoji rendering without whitespace.
2016-11-11 16:18:57 -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
Igor Tokarev
852bc6b491
bugdown: Re-enable support for italics in bugdown.
...
Fixes : #1103 .
2016-11-10 19:14:40 -08:00
Meena Rajan
30acb23314
bugdown: Add support for strikethrough in markdown processor.
...
[Tweaked to move tests to bugdown_data.json, add additional tests, and
add frontend processor support by tabbott]
2016-11-07 22:26:38 -08:00
umkay
5fe6e7c07c
bugdown: Add tests for escaping raw html.
...
Adds additional tests in bugdown-data.json to check that we escape raw
html properly with script tags.
Many of these tests are based on the bleach "advanced" test suite.
2016-10-25 15:21:46 -07:00
Tomasz Kolek
a8da46db92
Normalize bitbucket issue event's subject and content.
2016-10-20 23:15:30 -07:00
hackerkid
bca1953aa4
Add support for !gravatar syntax in echo.js.
2016-10-20 14:40:45 -07:00
hackerkid
95b5ac1d5d
Add support for !avatar syntax in echo.js.
2016-10-20 14:40:33 -07:00
Tim Abbott
31b245eaea
bugdown: Add tests for avatar/gravatar syntax.
2016-10-20 11:18:41 -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
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
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
Tomasz Kolek
acbfe7e624
Add Librato integration.
...
Fixes : #68 .
2016-09-13 21:55:25 -07:00
umkay
82d03d603a
Update Pygments to latest upstream version.
...
In HTML, the line break immediately following a start tag is ignored
(see: https://www.w3.org/TR/html4/appendix/notes.html#h-B.3.1 ). An
extra span tag has been introduced in the upstream Pygments
HtmlFormatter in order to preserve the first new line. The Bugdown
Tests as well as our fenced_code.js frontend markdown processor have
been updated to reflect this new behavior.
2016-09-12 21:58: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
Tim Abbott
e7aac717e8
Fix markdown ordering bugs with some custom syntax.
...
!avatar, !modal_link, !gravatar, etc. were incorrectly being processed
before the escape character for code blocks.
While we're at it, we add tests for these special syntaxes.
2016-08-18 14:47:37 -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
Eklavya Sharma
5691ca61b0
Add tests for email_mirror management command.
2016-07-29 19:13:52 -07:00
Steve Howell
2484d870b4
Add test_build_narrow_filter().
2016-07-20 11:04:00 -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
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
Alex Wilson
b040839c76
Add unicode emoji to frontend markdown parser.
...
Fixes 2nd half of #1011 .
2016-06-30 15:48:02 -07:00
Rishi Gupta
17b6d136d5
Add Semaphore webhook integration.
2016-06-29 16:36:19 -07:00
Tomasz Kolek
76cbe89613
Add IFTTT integration.
2016-06-16 15:30:45 -07:00
Tomasz Kolek
4e51a86ea4
Add updownio integration.
2016-06-14 12:14:07 -07:00
Tomasz Kolek
14d69348d3
Add Airbrake integration.
2016-06-13 20:36:40 -07:00
Umair Khan
c8d139b2b1
Fix emoji urls interaction with i18n.
...
When accessing emojis with relative urls we should start the urls with
a slash so that language code doesn't become part of these urls.
Fixes #1014 .
2016-06-13 09:10:11 -07:00
Tomasz Kolek
8411b2e574
Add Crashlytics integration.
2016-06-04 15:18:42 -07:00
Tomasz Kolek
c4254497b2
Add WebhookTestCase abstract class for writing webhook tests.
...
This cuts a ton of code duplication and semi-duplication between the
webhook tests, and thus should make it a lot easier to write new ones.
2016-05-18 14:37:31 -07:00
Tomasz Kolek
eeeb4d0c92
Add CircleCI integration.
...
Fixes : #617 .
2016-05-11 21:17:37 -07:00
Antek Grzanka
646ea3214a
Add Taiga integration.
2016-04-28 13:44:53 -07:00
Tomasz Kolek
5fbda3a9c1
Add codeship integration.
2016-04-26 09:54:01 -07:00
David Payne
8c62a27769
Add teamcity webhook integration.
...
This integration relies on the Teamcity "tcWebHooks" plugin which is
available at
https://netwolfuk.wordpress.com/category/teamcity/tcplugins/tcwebhooks/
It posts build fail and success notifications to a stream specified in
the webhook URL.
It uses the name of the build configuration as the topic.
For personal builds, it tries to map the Teamcity username to a Zulip
username, and sends a private message to that person.
2016-04-26 09:45:26 -07:00
Tim Abbott
78febc3abb
Fix missing newlines at end of .txt files.
2016-04-14 14:36:29 -07:00
Tim Abbott
5195d1ecb7
Fix missing newlines at ends of JSON files.
2016-04-14 10:48:52 -07:00
Tomasz Kolek
44ed9da7f0
Add pingdom integration.
2016-04-08 10:36:29 -07:00
Josh Mandel
716e2d9184
Add integration for Travis CI.
2015-11-30 20:41:33 -08:00
Luke Faraone
8ea139c772
Fix bugdown fixture for dummy camo key
...
(imported from commit 698b261918457117a01ce51f69d49f54f35b3297)
2015-08-16 16:45:15 -07:00
Jason Michalski
4eaf88e8d1
Add missing pagerduty fixture
...
(imported from commit 692317cfac44343788327dbd8fc65319512276de)
2015-02-10 23:56:03 -08:00
Jason Michalski
f4239d60ca
Add pagerduty webhook
...
(imported from commit 06219066b423f53d08094f3f97a98016e145b2a7)
2015-02-07 18:16:11 -08:00
Paul Ruan
12cb8ceae0
Time out when waiting for OpenGraph links that take too long.
...
One common place that this happens (for us) is on a local
Dropbox .dev.corp.dropbox.com instance, which can't be reached
by the Zulip servers.
This commit also:
* Fixes the test suite
* Properly previews /photos/ links
(imported from commit b4788b6236e7a9d390e1efc4673be34d9ba5e091)
2014-07-29 21:46:35 -07:00
Steve Howell
8f37c3f5fd
Tolerate spaces after language in markdown fences.
...
See #2357 . We now support `~~~ .py ` with that trailing space.
Note that the test coverage is Python-side only due to
bugdown_matches_marked being set to false, since we don't yet
support language syntax on the client side.
(imported from commit ccd5fcb0eee01478d349161400103480678d7486)
2014-03-06 10:15:20 -05:00
Leo Franchi
05d911b913
Allow auto-linked URLs to end with a !, without including the ! in the url
...
(imported from commit 26fbf8d8318dc32f31f94f366750521afab94ac5)
2014-03-05 15:22:05 -05:00
Leo Franchi
b80293c80d
JIRA: Show all updated fields as long as one is not truthy
...
(imported from commit 543204b84a0b5625c4185b9ae32d5a3725cd9f9e)
2014-02-27 20:25:35 -05:00
Leo Franchi
8ad2ca15cd
bugdown: Match up to 8 groups of nested parens
...
(imported from commit e3d61ec644fdb293322cab0a4449d8e1a27a513a)
2014-02-06 17:26:01 -05:00
Leo Franchi
c218fc98b1
Add one more bugdown test
...
(imported from commit 43b2ef02c05faf73e4607f76cd00c67e9ba38b8d)
2014-02-05 12:02:27 -05:00
Leo Franchi
bb21400732
[localecho] Properly escape HTML in code blocks
...
(imported from commit 11f7e4f440cdd3a2ef6debb10c3d5a07f4fd1a1a)
2014-02-03 12:57:54 -05:00
Leo Franchi
ffb816391c
Use our own fenced code preprocessor, fixing output mismatches
...
(imported from commit 3d4abb1043349e30adf265342ee7c946a99b3ce2)
2014-01-28 15:35:32 -05:00
Leo Franchi
5441409044
Consolidate emoji tests and test on frontend as well
...
(imported from commit 3244a93209b56b655b80633713a3f58ae46d06ff)
2014-01-27 12:07:48 -05:00
Leo Franchi
1c9a59fd3f
Add newlines outside code blocks in marked.js to match bugdown
...
(imported from commit 7618260dbfa11209b3cc45d007407476897c2a20)
2014-01-23 16:50:29 -05:00
Leo Franchi
aee127cdbe
Share bugdown test data across frontend and backend tests
...
(imported from commit b278a60b5899cd336840e71d8e632e2b31338d82)
2014-01-23 16:50:29 -05:00
acrefoot
d8b15f4202
Improve Backend for Github integration
...
Refactor github webhook to handle multiple payload verions
split github fixtures into v1 and v2 versions
Group together all realm-specific logic. When v2 becomes available, we can
ask someone in each org to make the changes via the Github Hook configuration, and
slowly remove the special cases.
TODO: when our pull request for github-services gets merged, the integrations page
should say to look for Zulip instead of Humbug
(imported from commit 4790a730010b37186640f9996291afa6e8f96c2b)
2014-01-22 16:44:34 -05:00
Steve Howell
033e0e5969
Add github_pull_request_synchronize.json
...
(imported from commit e71614bda2db3c85f8c22eac8b33f6b01113d19b)
2014-01-22 11:21:55 -05:00
Leo Franchi
45d3bb4f04
Update our pivotal integration to handle v5 of their API
...
(imported from commit 2deba4ed2f72c7d7ccedafbb8fc4370b2faa5490)
2014-01-10 21:39:00 -05:00
Jessica McKellar
545e2539f8
Use non-ASCII characters in Freshdesk tests, to catch encoding bugs.
...
(imported from commit 0cc3ebf3548b28c018d75d51e7e66de5dbb59a0b)
2013-11-15 12:28:30 -05:00
Jessica McKellar
59117f0e03
Display Freshdesk's inline images in notifications.
...
(imported from commit b40de8282ac26e7b77e6d9de439b521bbe7adbe2)
2013-11-12 10:24:26 -05:00
Jessica McKellar
30151eff92
Add tests for the Freshdesk webhook.
...
(imported from commit 5b745ef1a590812d4b3c1adbba7d43d25983c4ad)
2013-11-12 10:24:26 -05:00
Jessica McKellar
3551b211f2
tests: add missing stash fixture.
...
(imported from commit 696e789bcab872d570275a64630317af784abb25)
2013-10-29 23:07:07 -04:00
Leo Franchi
f0f4ff61f0
Attempt to convert JIRA mentions to Zulip mentions
...
(imported from commit 0d763c8fdefd8cc2c2ae527fdb80e66635ded3d6)
2013-10-07 13:59:36 -04:00
Leo Franchi
02a48e94f0
Turn JIRA users into mentions where possible
...
(imported from commit faddc2127fe3fdb95e278df06a834cda700b97f4)
2013-10-07 13:59:36 -04:00
Zev Benjamin
4129541206
github: Add support for commit comments
...
(imported from commit 43abd740e563952d1291939e6a530b8366232eb3)
2013-10-04 15:53:21 -04:00
Leo Franchi
028711baef
Handle some JIRA formatting and make it like our own
...
(imported from commit 1e8369067668b0c375f226c1911814f496637d16)
2013-10-02 11:18:17 -04:00
Zev Benjamin
0394459f04
github: Put pull request comments on the 'commits' stream
...
(imported from commit d50c1f577737a07da1f08a1fbfc4242ca9d6d4a1)
2013-09-19 23:44:21 -04:00
Zev Benjamin
f99cf15358
github: Add tests for pull requests
...
(imported from commit dd099cd0e630c09f490ecd5aac761ce131b0a8e2)
2013-09-19 23:44:21 -04:00
Zev Benjamin
4996eb1e61
tests: Add Github issues tests
...
(imported from commit 1aa7a2c78f148f5e6ea9c7551f25374cbfe32f15)
2013-09-17 13:55:39 -04:00
Zev Benjamin
067997287e
tests: Use real data for testing Github pushes
...
(imported from commit 83b800a8711cf045ffc7da3305227f495819a5da)
2013-09-17 12:59:18 -04:00
Leo Franchi
252045fe2e
Fix assignee in JIRA created message
...
(imported from commit 5ebadd14dee58c20746c80dfd99ba70a3d772ab6)
2013-09-06 11:24:03 -04:00