Tommy Ip
e44b8809b2
/team: Render contributors list in tabs client side.
2017-11-22 11:33:24 -08:00
David Rosa Tamsen
11b8b8f483
docs: Add rtd layout template.
...
The readthedocs theme overrides a few settings in their layout template.
We might want to change some settings back to their default values.
This commit copies the original readthedocs layout file from
https://github.com/rtfd/sphinx_rtd_theme/blob/master/sphinx_rtd_theme/layout.html
to _templates/layout.html, and excludes it from lint and template checks.
Addresses #7417 .
2017-11-22 10:59:14 -08:00
rht
6cce0e346e
refactor: Remove six.moves.filter import.
2017-11-07 10:51:44 -08:00
Brock Whittaker
e86e259cb1
/api/: Add Markdown-based /api-new documentation.
...
This commit allows for the /api-new/ page to rendered similarly to our
/help pages. It's based on the old content for /api, but we're not
replacing the old content yet, to give a bit of time to restructure
things reasonably.
Tweaked by eeshangarg and tabbott.
2017-10-30 22:32:43 -07:00
Aditya Bansal
0ddad98c98
features.html: Cleanup to use 4 space and consistant indentation.
2017-10-25 10:58:57 -07:00
Aditya Bansal
3fb0f7c092
home.html: Cleanup to use 4 space indentation.
...
Tweaked by tabbott to also make the translation tags make more sense.
2017-10-25 10:58:49 -07:00
Tim Abbott
c9e29b1c54
check-templates: Document status of remaining bad_files items.
2017-10-19 16:56:46 -07:00
Tim Abbott
2fb46df005
check-templates: Remove exclude rules for removed HTML files.
...
These webhook integrations were converted to using markdown some time
ago.
2017-10-19 16:56:46 -07:00
Tim Abbott
fc4b87ed04
templates: Clean some whitespace issues in markdown_help.
...
Unfortunately, the rest cannot be easily fixed.
2017-10-19 16:56:46 -07:00
Tim Abbott
e80fc93e87
templates: Fix search_operators indentation.
2017-10-19 16:56:46 -07:00
Tim Abbott
59344d77df
templates: Clean various items off HTML linter bad list.
...
Most of these already pass the linter; for the ones that don't, the
fixes are small and don't make the HTML any worse.
2017-10-19 16:56:00 -07:00
Tim Abbott
540cae19a8
puppet: Remove obsolete sparkle configuration.
...
Sparkle was the auto-update system used by the legacy desktop app. We
haven't been capable of using it for auto-update in years, so there's
no reason to keep around the configuration.
The new Electron app uses a different system anyway.
2017-10-19 16:35:55 -07:00
rht
f15bdce90e
tools: Remove print_function.
...
Tweaked by tabbott to exclude the linter libraries.
2017-09-29 15:44:56 -07:00
rht
bf4eda7374
tools: Remove absolute_import in most tools.
...
Tweaked by tabbott to not remove it from lister.py, linter_lib, and
friends, since those are intended to support both Python 2 and 3
(we're planning to extract them from the repository).
2017-09-29 12:28:43 -07:00
Tim Abbott
b49448de7d
message_edit: Eliminat whitespace in recipient row controls.
...
This is hacky, but I can't figure out another way to do it that
doesn't cause other problems.
Ideally, we'd add some sort of exclude rule to our HTML template
linter so we can check the rest of the file.
2017-08-27 22:18:29 -07:00
Greg Price
a099e698e2
py3: Switch almost all shebang lines to use `python3`.
...
This causes `upgrade-zulip-from-git`, as well as a no-option run of
`tools/build-release-tarball`, to produce a Zulip install running
Python 3, rather than Python 2. In particular this means that the
virtualenv we create, in which all application code runs, is Python 3.
One shebang line, on `zulip-ec2-configure-interfaces`, explicitly
keeps Python 2, and at least one external ops script, `wal-e`, also
still runs on Python 2. See discussion on the respective previous
commits that made those explicit. There may also be some other
third-party scripts we use, outside of this source tree and running
outside our virtualenv, that still run on Python 2.
2017-08-16 17:54:43 -07:00
Jack Zhang
47b4056948
register.html: Fix indentiation via check-templates.
2017-07-21 13:09:06 -07:00
Jack Zhang
e29893a420
Fix indentation for templates/zerver/integrations/index.html.
2017-07-13 20:37:09 -07:00
Rishi Gupta
c827c7840d
lint: Re-indent digest.html and missed_message.html.
2017-07-06 15:46:03 -07:00
James Rowan
0d76da27b4
emails: Add base template for missed message and digest emails.
...
Also removes the files from lint, so that the new indentation doesn't
obscure the change. The files are reindented in the next commit.
2017-07-06 15:46:03 -07:00
Aditya Bansal
914ab1040d
integrations/codebase.html: Migrate to Markdown.
2017-06-13 16:32:00 -07:00
Tim Abbott
4d66d74938
check-templates: Remove exclude for some migrated files.
...
This integration docs have all been moved to markdown.
2017-06-13 16:30:27 -07:00
Aditya Bansal
9a38b51254
check-templates: Fix filter condition in Jinja2 template linting.
...
In this commit we basically stop ignoring 'base.html' from linting
point of view. Basically the condition was implemented in a bad way
resulting in ignorance of every template ending with `base.html`.
As well since removing it doesn't complain about the base.html
non parsable(We have made progress with our linter) we can safely
remove the filter condition.
2017-06-14 04:48:07 +05:30
Aditya Bansal
9cc3e8cf62
followup_day2.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
39a88019f8
followup_day1.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
9a0edad604
find_team.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
9fc16888ca
digest.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
fa28dcd008
invitation_reminder.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
07e7482228
confirm_registration.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
1b82e90331
invitation.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
e12bb65c0b
confirm_new_email.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
d2f0e17454
linter: Fix bug resulting in <pre> being indented cyclically.
2017-06-13 08:39:59 -04:00
Cory Lynch
6219128d87
dev: Add /emails/ URL for testing email templates.
...
Fixes #5270 .
2017-06-09 16:21:49 -07:00
Aditya Bansal
8f8149c0a5
Clean invite_user.html to use 4 space and consistent indentation.
2017-06-06 22:04:55 -07:00
Aditya Bansal
8555770646
Clean zephyr.html to use 4 space and consistent indentation.
2017-06-06 22:04:55 -07:00
Aditya Bansal
864ee6aaf9
Clean left_sidebar.html to use 4 space indentation.
2017-06-06 22:04:55 -07:00
Aditya Bansal
9219298774
Clean main.html to use 4 space indentation.
2017-06-06 22:04:55 -07:00
Aditya Bansal
f9edf8bc0e
Clean accounts_home.html to use 4 space and consistent indentation.
2017-06-06 22:04:32 -07:00
Aditya Bansal
f58d102664
Clean confirm_email_change.html to use 4 space indentation.
2017-06-06 22:00:37 -07:00
Aditya Bansal
d8bfeb6b98
Clean realm_summary_table.html to use 4 space indentation.
2017-06-06 22:00:36 -07:00
Aditya Bansal
f2679448e8
Clean ad_hoc_query.html to use 4 space indentation.
2017-06-06 22:00:36 -07:00
Aditya Bansal
1143aec53b
Clean 404.html to use 4 space indentation.
2017-06-06 22:00:36 -07:00
Aditya Bansal
cb36ce26de
Remove files from ignore list which were migrated to markdown.
2017-06-06 22:00:36 -07:00
Aditya Bansal
c579a0515b
Clean confirm.html to use 4 space and consistent indentation.
2017-06-06 21:28:08 -07:00
Aditya Bansal
1769a444de
Remove unnecessary ignore files.
...
In this commit we remove user_sidebar_actions.handlebars from
IGNORE_FILES as well remove the check for files to be in a
IGNORE list thus reaching 100% 4 space indent checking for
handlebar templates.
Fixes : #1661 .
2017-05-15 11:51:21 -07:00
Aditya Bansal
debcf507bd
Clean organization-settings-admin to use 4 space indents.
2017-05-15 11:51:21 -07:00
Aditya Bansal
8530997542
Clean default-streams-list-admin to use 4 space indents.
2017-05-15 11:51:21 -07:00
Aditya Bansal
33f3d773b0
Clean user-list-admin to use 4 space indents.
2017-05-12 12:23:01 -07:00
Aditya Bansal
0c39a45d72
Clean bot-list-admin to use 4 space indents.
2017-05-12 12:23:01 -07:00
Rishi Gupta
c10d3114eb
email: Move and rename followup_day* templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
21a6377204
email: Move and rename find_team_email templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
ebfae36494
email: Move and rename digest_email templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
26ac344b19
email: Move and rename invitation_reminder_email templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
713303deff
email: Move and rename invite_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
ed0c310aa3
email: Move and rename preregistrationuser_confirmation_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
235abe0b72
email: Move and rename emailchangestatus_confirmation_email templates.
2017-05-03 20:54:40 -07:00
Tim Abbott
c7ba9a2ae5
templates: Remove old Zulip, Inc. privacy policy.
...
This isn't useful for anything anymore, especially now since we have a
sysadmin-configurable PRIVACY_POLICY settings.
2017-05-03 17:59:53 -07:00
Rohitt Vashishtha
47eb19331d
ux: Display error on login/registration if no auth backends are enabled.
...
Also makes a small tweak to CSS to ensure the styling is consistent on
the two pages.
Fixes #4525 .
2017-05-01 17:17:37 -07:00
Aditya Bansal
e961d6a834
Clean account-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
6f49579e65
Clean actions_popover_content.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
acef0b1f32
Clean bot_avatar_row.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
ae2585ac8d
Clean admin_user_list.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
af880b8bab
Clean ui-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
73cd6948de
Clean realm-filter-settings-admin.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
d5bb128f56
Clean notification-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
338c2d618a
Clean display-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
a2d0976002
Clean deactivation-user-modal.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
4219bec14f
Clean auth-methods-settings-admin.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
065dd9ae10
Clean emoji-settings-admin.handlebars to use 4 space indents.
2017-04-18 12:06:31 -07:00
Aditya Bansal
1f09e38101
Clean bot-settings.handlebars to use 4 space indents.
2017-04-18 12:06:30 -07:00
Aditya Bansal
c12f93efc4
Clean stream_privacy.handlebars to use 4 space indents.
2017-04-18 12:06:28 -07:00
Aditya Bansal
c98cf5ba63
Clean message_edit_history.handlebars to use 4 space indents.
2017-04-18 12:06:28 -07:00
Aditya Bansal
23f8ec9759
Clean single_message.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
5f7c89b087
Clean stream_sidebar_row.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
83da92c316
Clean recipient_row.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
0494944f3f
Clean draft.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
face3562af
Clean subscription_settings.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
bdcff375ab
Clean deactivated-users-admin.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
4c1b89a2ef
Clean attachment-item.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
e5d57c31b8
Clean muted-topics-settings.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
2a15fa17b9
Clean admin_auth_methods_list.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
c0ca8b10ed
Clean deactivation-stream-modal.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
0e906b683d
Clean realm-domains-modal.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
257b930492
Clean admin-realm-domains-list.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
e21731c1ae
Clean streams-list-admin.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
71c5444b86
Clean alert-word-settings.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
b11866c2a8
Clean message_edit_form.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Tomasz Kolek
a8633e0975
integrations doc: Move twitter 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
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
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
cbe00e020c
integrations doc: Move capistrano doc to separate file.
2017-04-05 13:37:37 -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
Harshit Bansal
0605a9fb0f
templates: Rename `admin-alias-list.handlebars`.
...
Rename `admin-alias-list.handlebars` to
`admin-realm-domains-list.handlebars`.
Fixes : #3145 .
2017-04-04 15:48:03 -07:00
Elliott Jin
2e246a936f
tools: Support checking specific files in `check-templates`.
2017-03-19 14:13:38 -07:00