Armaan Ahluwalia
54bf2a6231
css/webpack: Transition landing-page.css to webpack.
...
This commit transitions landing-page.css from the Django pipeline
to being compiled by webpack as landing-page.scss under the
'landing-page' and 'integration' bundles.
2018-05-03 19:15:23 -07:00
Tim Abbott
697fd3c69b
templates: Fix duplicate inclusion of portico CSS.
...
Apparently, essentially every one of our landing pages extending
portico.html had two copies of portico.css included in their head
section; one from porticocustomhead (or the super of customhead) and
the other directly included.
Clean this up by removing all these duplicate inclusions of the
portico stylesheet.
2018-04-24 08:45:31 -07:00
Eeshan Garg
3df759337d
integrations/capistrano: Update docs to conform to style guide.
...
Thanks to Wes of TurboVote for submitting this integration!
https://gist.github.com/cap10morgan/5100822
2018-04-23 11:43:15 -07:00
Aditya Bansal
b9f1acb300
linter: Enforce 2 space indents on tags spread over multiple lines.
...
We make some specific cases of tags use 2 space indents.
The case description:
* A tag with opening tag spread over multiple lines and closing tag
on the same line as of the closing angle bracket of the opening tag.
* A tag with opening tag spread over multiple lines and closing tag
not on the same line as of the closing angle bracket of the opening
tag.
Example:
Case 1:
Not linted:
<button type="button"
class="btn btn-primary btn-small">{{t "Yes" }}</button>
After linting:
<button type="button"
class="btn btn-primary btn-small">{{t "Yes" }}</button>
Case 2:
Before linting:
<div class = "foo"
id = "bar"
role = "whatever">
{{ bla }}
</div>
After linting:
<div class = "foo"
id = "bar"
role = "whatever">
{{ bla }}
</div>
2018-04-07 20:08:44 -07:00
Aditya Bansal
2fe012ffff
linter: Make html singleton tags use 2 space indentation.
2018-04-07 20:08:31 -07:00
Eeshan Garg
ee895fa182
integrations/rss: Recommend integrating RSS via Zapier.
...
An integration with RSS can be much easier to set up with Zapier.
Since the current RSS integration predates Zapier, we should at
least mention that there is an easier way to set it up via
Zapier!
2018-03-25 08:58:08 -07:00
Robert Hönig
146b833454
marketing: Update integration count.
...
This also automizes the integrations count update for
the /integrations page.
2018-02-06 08:50:41 -08:00
Vishnu Ks
6e85122724
integrations: Fix broken ifttt link.
2017-12-07 10:28:53 -08:00
Eeshan Garg
8b43e07fc5
webhooks/codebase: Use indented Markdown macros.
2017-11-25 17:01:11 -08:00
derAnfaenger
73915a9631
docs: Move integration docs to /api.
2017-11-17 11:58:54 -08:00
Tim Abbott
638eb7a8e4
docs: Update links to ReadTheDocs to always use https.
...
This is better security practice.
We also add a lint rule to enforce this for the future.
2017-11-16 10:59:24 -08:00
Tim Abbott
054952a44a
docs: Update links from codebase to point to ReadTheDocs.
2017-11-16 10:53:49 -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
derAnfaenger
a61a127ca5
integrations: Update twitter bot commands.
...
This removes redundant arguments for specifying
the zulip server address (it's already contained
in the zuliprc).
2017-11-07 09:44:24 -08:00
Greg Price
31302c3670
integrations/redmine: Clean up a bit of grammar in the docs.
...
It's kind of awkward that this takes the scheme-relative URL -- either
the full URL, or maybe just the host, would make more sense. But on a
bit of study of the plugin's source, I can't convince myself that it
won't break if given the full URL with the scheme. (See a code
comment thread in #7116.) So leave the substance as is, pending the
plugin itself getting some cleanup, but do fix the sentence's English
grammar since we're looking at it.
2017-11-03 13:38:59 -07:00
Greg Price
e9a4596ea9
integrations/hubot: Fix URL in example config.
...
tabbott checked the source and confirmed my suspicion
(in eb55a3a1b
) that this should be a full URL, not scheme-relative.
2017-11-03 13:38:59 -07:00
Greg Price
eb55a3a1ba
template context: Give better names to the URLs for the API.
...
The "subdomain" label is redundant, to the extent it's even
accurate -- this is really just the URL we want to display,
which may or may not involve a subdomain. Similarly "external".
The former `external_api_path_subdomain` was never a path -- it's a
host, followed by a path, which together form a scheme-relative URL.
I'm not quite convinced that value is actually the right thing in
2 of the 3 places we use it, but fixing that can start by giving an
accurate name to the thing we have.
2017-10-30 18:29:29 -07:00
Greg Price
aeb69dfd61
template context: Eliminate now-constant variable `api_site_required`.
2017-10-30 18:29:29 -07:00
derAnfaenger
64025d2ce7
integrations: Add Errbot documentation.
...
Fixes zulip/python-zulip-api#49 .
2017-10-27 09:22:51 -07:00
Cynthia Lin
0f2a05e081
integrations: Remove link underline from back arrow icon.
...
Fixes #7137 .
2017-10-24 16:38:59 -07:00
Robert Hönig
447eba23ba
twitter bot: Update instructions.
2017-09-15 00:56:36 -07:00
Brock Whittaker
44ace3e062
Remove link :hover animation & remove negating class.
...
This removes the link :hover underline animation and then also removes
all instances of `.no-style` that negated the effect.
2017-08-30 16:04:30 -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
c21470e10d
twitter bot: Correct doc instruction.
2017-08-23 09:59:44 -07:00
Jack Zhang
ffe14e339d
Extract /integrations code from landing-page into separate bundle.
2017-08-10 10:21:53 -07:00
Jack Zhang
b85d3e28ce
portico: Update display text for integrations categories dropdown.
...
Category 'All' -> text 'Filter by category'; icon chevron right when
the dropdown is closed, icon chevron down when the dropdown is open
All other categories -> text CATEGORIES[state.category]; icon chevron down
2017-08-10 10:21:53 -07:00
Jack Zhang
f9b5a270d0
integrations: Remove titles from integration docs.
2017-08-10 10:21:53 -07:00
Jack Zhang
b255949501
Show integration categories on integration sub-pages.
2017-08-10 10:21:53 -07:00
Jack Zhang
0e41ace321
Hide deprecated integrations with legacy tag.
2017-08-10 10:21:53 -07:00
Jack Zhang
3e04062da1
Show name of integration in mobile single-integration view.
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
Jack Zhang
d3cc201332
Refactor /integrations state, routing, and rendering logic.
...
A large portion of the diff for landing-page.js is due to refactoring the
contents of integrations_search into top level UI update functions.
State flows as follows: dispatch(action) -> render(state) -> update UI
Routes now use pushState instead of hashes.
On transition between categories scrolling position is fixed,
and on transition between catalog and integration sub-pages the page
scrolls to the top.
2017-08-10 10:21:53 -07:00
Brock Whittaker
38440d6ba4
Change product page nav and hero styling.
2017-07-17 16:12:36 -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
Jack Zhang
9ddef6a4da
landing-page: Add 'Create your own!' integration tile.
2017-07-13 20:37:09 -07:00
Jack Zhang
e29893a420
Fix indentation for templates/zerver/integrations/index.html.
2017-07-13 20:37:09 -07:00
Jack Zhang
2bc5d07a90
landing-page: Internationalize 'All' category.
2017-07-13 20:33:02 -07:00
Jack Zhang
16385db3d7
landing-page.js: Implement fuzzysearch and category filtering.
...
On /integrations.
For scalability and people who type fast, update_integrations is
debounced; the function will postpone its execution until after
50 milliseconds after it was last invoked.
2017-07-06 15:28:50 -07:00
Jack Zhang
3f9bfd2ae2
portico: Create search/catalog visuals in /integrations.
...
Responsive designs for the search bar, categories sidebar,
categories dropdown, and integration tiles.
2017-07-06 15:28:50 -07:00
Jack Zhang
37a80d5cc4
portico: Redesign and rewrite /integrations text headings.
2017-07-06 15:28:50 -07: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
fc11615f55
google-calendar: Fix typo and improve Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
90fff71677
integrations/nagios: Use create-stream macro.
2017-06-26 12:30:04 -04:00
Eeshan Garg
e46053e393
integrations/codebase: Use change-zulip-config-file macro.
2017-06-26 12:30:04 -04:00
Eeshan Garg
3db11d83da
integrations/trac: Use Markdown macros.
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
6a84b50758
capistrano: Wrap long lines and improve Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
000ae04899
integrations/twitter: Use create-stream macro.
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
Shane Kearns
790c2929f5
integrations/perforce: Document new config variables.
2017-06-22 14:27:13 -04:00
Aditya Bansal
914ab1040d
integrations/codebase.html: Migrate to Markdown.
2017-06-13 16:32:00 -07:00
Mehanig
ae29d4b8d2
webpack: Move landing-page.js to webpack bundle.
2017-06-13 12:36:55 -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
Tim Abbott
ec6abddc38
portico: Remove obsolete code for Zulip open sourcing announcement.
...
This was only ever used on the old zulip.com.
2017-06-06 11:36:03 -07:00
Umair Khan
ad5780c03e
lint: Mark alt argument for translation.
2017-05-26 15:28:46 -07:00
Tim Abbott
a3ddd94aa3
integrations: Remove unnecessary email_integration_enabled.
...
Previously, we were ending up with 2 copies of the email integration
in there.
2017-05-10 11:24:25 -07:00
Tim Abbott
f94193c231
integrations: Remove unnecessary conditional.
2017-05-10 11:21:10 -07:00
Tim Abbott
b0bd501c0d
portico: Remove now-unused hello-footer code.
2017-05-04 16:09:12 -07:00
Brock Whittaker
ec956d6d6e
integrations: Preserve scroll position on integration inspect.
...
This preserves the scrolltop state of the user when they enter into
an integration's specifics, so when they exit out it scrolls them
back down the page.
Fixes : #4424 .
2017-04-12 21:14:21 -07:00
Brock Whittaker
b6d285f1f4
integrations: Fixup inconsistent lozenge heights.
...
This normalizes images to all take up 100px even if they fall short
so that the text that is underneath will always be horizontally
aligned.
2017-04-12 13:10:41 -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
Brock Whittaker
391a384c75
integrations: Clear float after #integration-instruction-block.
...
Clear the float after the instruction block so that the parent
container will respect the height of the child contents.
Fixes : #4425 .
2017-04-05 17:31:05 -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
Tomasz Kolek
484fef059b
integrations doc: Move nagios doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
489a7d1784
integrations doc: Move mercurial doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
372c7224f0
integrations doc: Move jira-plugin doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
f0ace02e6c
integrations doc: Move jenkins doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
34500f755c
integrations doc: Move hubot doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
bd1103373d
integrations doc: Move google-calendar doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
6ff130b829
integrations doc: Move git doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
d1b4a4546d
integrations doc: Move email doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
3c0287cfc7
integrations doc: Move codebase doc to separate file.
2017-04-05 13:37:37 -07:00
Tomasz Kolek
cbe00e020c
integrations doc: Move capistrano doc to separate file.
2017-04-05 13:37:37 -07:00
Tomasz Kolek
a39c55b4ab
integrations doc: Move asana doc to separate file.
2017-04-05 13:19:58 -07:00
Tomasz Kolek
5b17622589
docs: Move integrations.html to integrations/index.html.
...
Add omiting rule for all of integrations docs in test_templates.
2017-04-05 13:19:58 -07:00