Eeshan Garg
0d39b05cf6
webhooks/beanstalk: Update text and remove screenshots.
...
This commit:
* Removes the unnecessary screenshot.
* Reorders the instructions and combines them in to 4 steps.
* Improves the contents of the webhook-url-with-bot-email-indented.md
macro and makes it more consistent with create-bot-construct-url.md.
* Sets the recommended stream name to "commits", since that's what
the webhook function for Beanstalk expects in
zerver/webhooks/beanstalk/view.py. This allows us to use the
create-stream.md macro.
2018-02-24 06:21:02 -05:00
nyan-salmon
03624b78c2
webhooks: Add Facebook integration.
2018-02-19 09:41:49 -08:00
Ricky
1303248b0b
integration: Add statuspage.io webhook integration.
2018-02-07 09:59:12 -08:00
Privisus
9fdd6f2bd4
integrations: Add Insping integration.
2018-01-31 14:36:54 -08:00
rht
9a8d2244ca
django-2.0: Shift to resolvers from urlresolvers.
...
The old name is deprecated.
2018-01-30 10:53:54 -08:00
Privisus
c758636c1e
integrations: Add webhook code, API endpoint, and tests for Raygun.
2018-01-17 12:53:22 -05:00
Ricky
a90e99dd3e
webhooks: Add Beeminder webhook.
2018-01-17 09:24:12 -05:00
fredfishgames
4e2b99a98b
integrations: Add webhook code, API endpoint, and tests for Opbeat.
2018-01-17 09:17:19 -05:00
Viraat Chandra
64034241a0
webhooks: Create Intercom integration and docs.
2018-01-16 08:51:17 -05:00
Robert Hönig
d1d8365a6b
embedded bots: Add config data UI.
...
This adds UI fields in the bot settings for specifying
configuration values like API keys for a bot. The names
and placeholder values for each bot's config fields are
fetched from the bot's <bot>.conf template file in the
zulip_bots package. This also adds giphy and followup
as embedded bots.
2018-01-09 11:50:54 -05:00
infinitelooped
ffa7637215
integrations: Add webhook code, API endpoint, and tests for Groove.
2018-01-09 09:32:52 -05:00
greysome
f2f9efd1a7
mypy: Use Python 3 type syntax in zerver/lib/integrations.py
2017-12-26 08:30:33 -05:00
Aastha Gupta
78e8d18ef3
integrations: Rename HUBOT_INTEGRATIONS_LEGACY.
...
It is now simply called HUBOT_INTEGRATIONS.
Fixes #7402
2017-12-22 10:38:47 -05:00
Angelika Serwa
2f575cca72
Add Dropbox webhook integration.
...
This is just a basic Dropbox webhook integration. It just
notifies a user when something has changed, it does not
specify what changed. Doing so would require storing data,
as Dropbox API was created mainly for file managers, not
integrations like this.
Closes #5672
2017-12-22 10:36:21 -05:00
Tim Abbott
9645c8b31f
integrations: Remove disabled googlesearch integration.
...
This was moved to another part of the python-zulip-api codebase
because it was unfinished.
2017-11-27 20:50:37 -08:00
rht
561ba33f69
zerver/lib: Use python 3 syntax for typing.
...
Split by tabbott from a larger commit; this covers a batch of files
with no open PRs touching them.
2017-11-21 20:45:52 -08:00
Eeshan Garg
73d0f1db81
lib/integrations: Remove Integration.doc_context.
...
An Integration object doesn't need access to the context dict used
to render its doc.md, since the context dict is just passed directly to
render_markdown_path.
2017-11-21 20:39:30 -08:00
Eeshan Garg
9138d3b8d7
integrations: Move integration-specific context to integration_doc.
...
Instead of populating the context dict with integration-specific
information in render_markdown_path, we now do that in
zerver.views.integrations.integration_doc instead.
Fixes #7401 .
Tweaked by tabbott to use cast to handle the typing issues here.
2017-11-19 20:48:46 -08:00
Tim Abbott
6a5b965a90
integrations: Rename HUBOT_LOZENGES to HUBOT_INTEGRATIONS.
2017-11-15 14:04:19 -08:00
Aastha Gupta
3b53c692a4
integrations: Add integrations/doc/assembla.
...
Significantly modified by tabbott and rishig to be more maintainable.
Fixes #4542 .
2017-11-15 14:04:19 -08:00
Tim Abbott
85844107fd
integrations: Remove code for legacy Hubot lozenges.
...
We no longer display the only model anyway.
2017-11-15 14:04:19 -08:00
rht
09af29b051
zerver/lib: Text-wrap long lines exceeding 110.
2017-11-15 10:58:03 -08:00
rht
80a8d4f9f3
refactor: Remove six.moves.map import.
2017-11-07 10:46:42 -08:00
rht
e311842a1b
zerver/lib: Remove inheritance from object.
2017-11-06 08:53:48 -08:00
rht
c4fcff7178
refactor: Replace super(.*self) with Python 3-specific super().
...
We change all the instances except for the `test_helpers.py`
TimeTrackingCursor monkey-patching, which actually needs to specify
the base class.
2017-10-30 14:30:25 -07:00
derAnfaenger
64025d2ce7
integrations: Add Errbot documentation.
...
Fixes zulip/python-zulip-api#49 .
2017-10-27 09:22:51 -07:00
derAnfaenger
8680541912
embedded bots: Add message flow tests.
2017-10-25 16:13:37 -07:00
derAnfaenger
3cf88d8c09
embedded bots: Add virtual_fs bot.
...
This will be our main bot for testing the StateHandler code.
2017-10-25 15:39:28 -07:00
Eeshan Garg
46132dade2
integrations: Distinguish between static/ URLs and logo file paths.
...
Previously, to check whether a logo file existed, we simply took
the static/ URL for the logo and treated it as a file path. This
led to problems when static/* was not the correct parent directory
for our static files (for example, when settings.PRODUCTION = True).
Now, we treat URLs and file paths differently and the logo file
path is constructed by joining settings.STATIC_ROOT and the
relative path to the logo file.
Fixes #7018 .
2017-10-17 16:26:19 -07:00
Eeshan Garg
0ca1224b3e
integrations: Render xkcd bot's documentation.
2017-10-09 11:40:44 -07:00
Eeshan Garg
71eee35bce
webhooks: Add a Google Code-in integration.
2017-10-09 09:04:39 -07:00
Tim Abbott
94ba678f5b
email_mirror: Clean up EMAIL_GATEWAY_EXAMPLE setting.
...
This isn't something that a user can ever modify, so it doesn't belong
in DEFAULT_SETTINGS. While we're at it, we align the appearance of
the email gateway in the docs with whether this setting in the docs
will be valid.
2017-09-29 21:32:26 -07:00
rht
f43e54d352
zerver/lib: Remove absolute_import.
2017-09-27 10:00:39 -07:00
Eeshan Garg
385eb4ce99
integrations: Add hubot to "Interactive bots" category.
2017-09-26 16:00:41 -07:00
Eeshan Garg
11b7d219bd
integrations: Render bots' docs alongside integration docs.
...
This commit implements support for rendering static files in
under static/generated/bots/ in the same manner as we render
our webhooks/integration documentation. Said static files are
generated by tools/setup/generate_zulip_bots_static_files.py
during provisioning.
2017-09-22 15:19:20 -07:00
Juliana Bacelar
928dd06cc8
linter: Add lint rule banning 'import os.path'
2017-09-22 10:32:21 -07:00
David Taylor
2bb5013efc
integrations: Add discourse integration.
...
The actual integration lives on the Discourse side.
2017-08-23 15:25:12 -07:00
Robert Hönig
4be814fc16
integrations: Add OpsGenie integration.
2017-08-15 08:42:19 -07:00
Jack Zhang
ab9021678e
Remove secondary lines of text from JIRA, Github, and Trello integrations.
2017-08-10 10:21:53 -07:00
Jack Zhang
4125311d6f
integrations.py: Add tag for legacy integrations.
2017-08-10 10:21:53 -07:00
Jack Zhang
a704dad06b
integrations: Replace underscores with dashes in CATEGORIES keys.
...
The CATEGORIES keys, in a similar fashion to INTEGRATIONS keys,
are utilized for links.
2017-08-10 10:21:53 -07:00
neiljp (Neil Pilgrim)
814dce0452
mypy: Set self.doc_context in integrations.py to Optional.
2017-08-03 11:03:14 -07:00
Abhijeet Kaur
c13d466f68
embedded bots: Add registry class and list for embedded bots service.
2017-07-24 17:14:14 -07:00
Jack Zhang
6e2f90c8c9
Improve /integrations page load time.
...
Prior to this commit, 7 megabytes of images (through 253 individual requests)
were heavily slowing down the initial load. With this commit, we load only the
logos (60 or so images).
Documentation and images for the individual integration sub-pages is requested
separately using the /integrations/doc/ endpoint, which returns HTML.
2017-07-13 20:37:09 -07:00
Tim Abbott
afa8c8259c
integrations: Eliminate analytics category.
2017-07-06 15:28:50 -07:00
Tim Abbott
194f03cb77
integrations: Update the categorization.
2017-07-06 15:23:39 -07:00
Tim Abbott
b32dfd99fd
integrations: Fix configuration for phabricator.
2017-07-06 15:16:14 -07:00
Tim Abbott
e85aafdb8b
integrations: Add initial categories to our integrations page.
2017-07-06 13:04:43 -07:00
Jack Zhang
cb3e930159
integrations: Extend integrations classes with categories.
...
For now, all integrations are temporarily under the category
'analytics'. Real categorizations should be added prior to
deployment.
2017-07-06 13:04:43 -07:00
Eeshan Garg
708f3a4bb1
lib/integrations: Stop rendering HTML files.
...
Now that all of our integrations/webhooks docs have been migrated
to Markdown, we no longer need to render HTML.
2017-06-26 12:30:04 -04:00
Eeshan Garg
4ad951f256
integrations/perforce: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
ed388ed320
integrations/redmine: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
53c1a53120
integrations/jenkins: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
9115be0e9e
integrations/trello-plugin: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
c17600e3be
integrations/rss: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
421c71919c
integrations/mercurial: Use create-stream macro.
2017-06-26 12:30:04 -04:00
Eeshan Garg
9dde906115
integrations/git: Use macros and improve Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
b60c95d971
integrations/svn: Use Markdown macros.
2017-06-26 12:30:04 -04:00
Eeshan Garg
b9ac92c1a0
integrations/openshift: Use Markdown macros.
2017-06-26 12:30:04 -04:00
Eeshan Garg
31fa2f7c6d
integrations/hubot: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
3eeb90c599
integrations/puppet: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
fc0d7ed882
integrations/phabricator: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
169d7393a6
jira-plugin: Use create-stream macro and improve Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
70448a9c65
integrations/email: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
5fa71a4369
integrations/asana: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Tim Abbott
0904d61e96
integrations: Remove compatibility code for HTML format docs.
...
This fixes a coverage error in Travis CI caused by this code no longer
being used.
2017-06-15 12:34:46 -07:00
Aditya Bansal
914ab1040d
integrations/codebase.html: Migrate to Markdown.
2017-06-13 16:32:00 -07:00
Eeshan Garg
f1c209b38d
lib/integrations: Stop passing kwargs as positional args to super.
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
902ae31e15
webhooks/deskdotcom: Migrate docs to Markdown.
2017-06-13 15:30:35 -07:00
Eeshan Garg
32550159de
github_webhook: Use Integration.stream_name as recommended stream.
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
Eeshan Garg
9cefdb9ed2
bitbucket/doc.md: Use Integration.stream_name as default stream.
2017-06-13 15:30:35 -07:00
Eeshan Garg
db09913f38
lib/integrations: Add stream_name attribute to Integration.
...
Instead of using the name of the integration as a recommended
stream name in its documentation, the Integration object now
has a dedicated attribute stream_name to explicitly specify a
recommended stream name for when it is different than the name
of the integration itself.
2017-06-13 15:30:35 -07:00
Aditya Bansal
12c6ffa593
Migrate integrations/twitter.html to markdown.
2017-06-06 22:00:35 -07:00
Aditya Bansal
642deef72f
Migrate integrations/google-calendar.html to markdown.
2017-06-06 22:00:03 -07:00
Aditya Bansal
2adfc8be4d
Migrate integrations/trac.html to markdown.
2017-06-06 21:57:32 -07:00
Aditya Bansal
08c5af5e39
Migrate integrations/subversion.html to markdown.
2017-06-06 21:56:46 -07:00
Aditya Bansal
26212a55dd
Migrate integrations/openshift.html to markdown.
2017-06-06 21:55:16 -07:00
Aditya Bansal
ee53f80de9
Migrate integrations/nagios.html to markdown.
2017-06-06 21:50:25 -07:00
Aditya Bansal
a712a789fc
Migrate integrations/git.html to markdown.
2017-06-06 21:48:54 -07:00
Aditya Bansal
a1f24dc6a3
Migrate integrations/mercurial.html to markdown.
2017-06-06 21:48:04 -07:00
Aditya Bansal
6fec949678
Migrate integrations/jira-plugin.html to markdown.
2017-06-06 21:46:46 -07:00
Aditya Bansal
6b86de3a3c
Migrate capistrano.html to markdown.
2017-06-06 21:40:28 -07:00
Eeshan Garg
ae8eb14e5a
integrations: Specify a generic URL in GithubIntegration.
...
We now supply a generic URL for our legacy and webhook GitHub
integrations, as opposed to a dynamically generated URLs
for all other WebhookIntegration(s). Previously, within
GithubIntegration, an invalid URL was dynamically generated
which wasn't even used. Now, we just manually supply the URL
to GithubIntegration.
Furthermore, we'll now be able to access the correct URL in
`render_markdown_path` for our macros.
2017-06-05 11:19:57 -07:00
Tim Abbott
248785e66e
integrations: Fix missing links to non-webhook integrations.
...
Apparently help_content was attached to the wrong class.
Fixes #4744 .
2017-05-10 11:17:56 -07:00
Cynthia Lin
ef2ff9f9a0
integrations: Remove deprecated Stash integration.
2017-04-24 22:35:23 -07:00
Umair Khan
21c129c93b
integrations: Support writing docs in markdown.
...
Fixes #4011
2017-04-07 15:52:15 -07:00
Umair Khan
db81cd1c41
integrations: Create help_content property.
...
This property handles the rendering of help content.
2017-04-07 15:52:15 -07:00
Umair Khan
21f5c5cbf4
integrations: Pass context to integration objects.
2017-04-07 15:52:15 -07:00
Tomasz Kolek
a8633e0975
integrations doc: Move twitter doc to separate file.
2017-04-05 13:43:48 -07:00
Tomasz Kolek
1b6cdb92b7
integrations doc: Move trello-plugin doc to separate file.
2017-04-05 13:43:48 -07:00
Tomasz Kolek
85940aef7f
integrations doc: Move trac doc to separate file.
2017-04-05 13:43:48 -07:00
Tomasz Kolek
d8ed13740d
integrations doc: Move subversion doc to separate file.
2017-04-05 13:43:48 -07:00
Tomasz Kolek
68ca7e7fc5
integrations doc: Move rss doc to separate file.
2017-04-05 13:43:48 -07:00
Tomasz Kolek
65dfc97fc4
integrations doc: Move redmine doc to separate file.
2017-04-05 13:43:48 -07:00
Tomasz Kolek
06e4adc01d
integrations doc: Move puppet doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
f4bd9dfda5
integrations doc: Move phabricator doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
4a6acc4fb9
integrations doc: Move perforce doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
5426725c43
integrations doc: Move openshift doc to separate file.
2017-04-05 13:43:47 -07:00