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