Brock Whittaker
0b89561524
portico: Redesign the /features landing page.
...
This is a redesign of the features landing page from the current style
that includes the new sections in a grid format as well as some new
high-quality sections.
2017-08-01 23:39:44 -07:00
Rishi Gupta
852bbfa16a
tutorial: Remove tutorial_finale.
...
Was already orphaned, since skip is always true. This is just removing the
code.
2017-08-01 22:38:22 -07:00
Rishi Gupta
be7f6db854
tutorial: Remove rest of tutorial.
...
Replaces the call to welcome() in tutorial.start with finale(true), and then
iteratively removes all orphaned code.
2017-08-01 22:38:22 -07:00
Tim Abbott
3425d83f52
twitter: Update links to point to our new Twitter username.
2017-08-01 17:13:33 -07:00
rht
a2edbcbe94
Do s/ top-right / top right /g.
2017-08-01 15:30:37 -07:00
rht
89afd0da22
Standardize the description of icon-vector-cog at navbar.
...
While humans can disambiguate 'upper right' and 'top right' to one area,
it might help with any machine reading comprehension task by choosing a
more regular wording.
2017-08-01 15:30:37 -07:00
Rishi Gupta
5aa626e73e
help: Link to guides from index.html.
2017-07-31 21:47:33 -07:00
Rishi Gupta
2a69298a1b
help: Add Getting started with Zulip.
2017-07-31 21:47:33 -07:00
Rishi Gupta
83fa4708aa
help: Move Guides section to top of file.
2017-07-31 21:47:33 -07:00
Rishi Gupta
ffe717342e
help: Rename Administration to Guides.
2017-07-31 21:47:33 -07:00
Brock Whittaker
8445f886d7
Add ability to pan and zoom lightbox images.
...
This adds the ability to pan and zoom lightbox images because they
are now converted to <canvas> elements.
2017-07-31 17:03:31 -07:00
Tim Abbott
41f37d0a6f
jinja2: Use function interface for render_markdown_path.
...
Apparently, the filters implementation was doing some sort of strange
caching, where you would need to restart the server in order to
refresh for changes to the markdown content.
We fix this by switching to just calling the render_markdown_path
function from Jinja2.
Fixes #5974 .
2017-07-31 14:54:54 -07:00
Tim Abbott
ed10ce70d4
invites: Migrate to non-legacy API format.
...
This has the side effect of making it possible for a bot user to
invite users with its API key, which seems useful.
2017-07-31 13:08:06 -07:00
Vaida Plankyte
b8b0cd41d0
help: Add explanation of pointer/unread count behavior.
...
Fixes #5770 .
2017-07-27 18:07:58 -07:00
Vaida Plankyte
282eb5585e
docs: Add section explaining GitHub/Google auth for dev env.
2017-07-27 17:35:14 -07:00
Brock Whittaker
36f6da9ebf
/register/: Hide sign up on invite-only realms.
...
This hides the right-hand sign up form for realms that are
invite-only, and shows some text that states the realm is invite-only.
2017-07-27 16:53:57 -07:00
Brock Whittaker
dc671ac0bd
/apps/: Redesign apps page.
...
Tweaked by tabbott to update the URLs to point to the Electron desktop app.
2017-07-26 09:56:04 -07:00
Vaida Plankyte
636f1d5523
help: Document @all mentions.
2017-07-26 12:09:11 -04:00
Vaida Plankyte
f9ec2b395e
frontend: Modify google/github auth buttons to use forms.
...
Those buttons were contained in an anchor element. This isn't
valid HTML5 and caused the buttons to be focused on twice when
using tab-based navigation. Replacing the anchor with a form
element fixes this issue.
2017-07-25 18:12:19 -07:00
Vaida Plankyte
388acbbfcb
frontend: Remove old required div & css from registration pages.
...
Removes class="required" divs that used to contain an asterisk
for valid/invalid input, and their associated css.
2017-07-25 13:39:34 -07:00
Cynthia Lin
89abe5d398
user docs: Document Analytics feature.
...
Fixes #3648 .
2017-07-25 11:18:44 -07:00
Rishi Gupta
ad47d3b651
settings: Update wording in organization-permissions-admin.handlebars.
2017-07-24 17:33:14 -07:00
Rishi Gupta
481c85fb48
settings: Update text in templates.
2017-07-24 17:33:14 -07:00
Brock Whittaker
04ece5e5c5
portico: Redesign /why-zulip and /for/ open-source to be more readable.
...
This redesigns these pages to be more readable and more in line with
the rest of the portico page styling.
2017-07-21 14:17:20 -07:00
Jack Zhang
04e80093cf
register.html: Stop height offset from client-side error messaging.
2017-07-21 13:09:06 -07:00
Jack Zhang
7d1824f26e
register.html: Indent under new org / user sections.
2017-07-21 13:09:06 -07:00
Jack Zhang
1c9426fdce
registration: Divide form into user and org sections.
2017-07-21 13:09:06 -07:00
Jack Zhang
948d9c8d29
registration: Add domain text next to subdomain input field.
2017-07-21 13:09:06 -07:00
Jack Zhang
149572e14a
registration: Style register form into a centered layout.
2017-07-21 13:09:06 -07:00
Jack Zhang
8469908c33
registration: Rename 'Short name' to 'Organization handle'.
2017-07-21 13:09:06 -07:00
Jack Zhang
47b4056948
register.html: Fix indentiation via check-templates.
2017-07-21 13:09:06 -07:00
Jack Zhang
0995780f82
portico: Auto-correct and error-handle short name input.
2017-07-21 13:09:06 -07:00
Jack Zhang
8e2ec1cddc
portico: Update registration form placeholders.
2017-07-21 13:09:06 -07:00
Jack Zhang
e3ef056991
portico: Update registration form help messages.
2017-07-21 13:09:06 -07:00
Jack Zhang
e915321f89
registration: Remove organization type selection in realm creation.
2017-07-21 13:09:06 -07:00
Jack Zhang
7f96b3ef2f
portico: Fix /accounts/register autofocus.
2017-07-21 13:09:06 -07:00
Jack Zhang
c938c3be2d
portico: Remove green checkboxes from forms.
...
More than half of these are buggy. Adding them back will be
separate project for the future.
2017-07-21 13:09:06 -07:00
Rishi Gupta
9782911aca
portico: Add initial why zulip page.
2017-07-19 11:53:06 -07:00
Vaida Plankyte
edc341abe7
help: Add documentation on deleting a message.
...
Fixes #5393 .
2017-07-18 16:04:02 -07:00
Tim Abbott
2317819e47
nginx: Use the Django 404 page for files under static/.
...
This elimintes the need for us to maintain duplicate copies of the
Zulip 404 error pages.
Fixes #5382 .
2017-07-18 09:55:30 -07:00
Vaida Plankyte
c9bc803118
frontend: Change inaccurate aria-hidden assignments on buttons.
...
This either removes aria-hidden=true assignments from buttons with
text, or adds a span to only hide the 'x' symbol rather than the
button for closing buttons.
2017-07-17 16:40:28 -07:00
Brock Whittaker
005a58ecd6
settings: Add border-top to <li> for logout.
...
This makes the logout option in settings look more consistent with the
rest of the settings UI.
2017-07-17 16:14:46 -07:00
Brock Whittaker
38440d6ba4
Change product page nav and hero styling.
2017-07-17 16:12:36 -07:00
Brock Whittaker
c27f57ed4b
Change top of the /hello/ page to lighter scheme.
...
This changes the top of the page to a lighter scheme that uses a
gradient rather than having a dark blue background.
2017-07-17 16:10:54 -07:00
Vaida Plankyte
358a35f4cb
help: Rename Manage organization snippets.
2017-07-17 11:52:15 -07:00
Tim Abbott
fd63d98786
navbar: Add link to /stats from the gear menu.
...
This adds a link to the Zulip statistics UI, making it easy for users
to discover. We'd been waiting on doing this until the visual design
of that page was satisfactory, which it is now.
Fixes #5774 .
2017-07-16 15:12:49 -07:00
Tim Abbott
40cc6a3fa1
docs: Document disabling message edit history.
2017-07-16 10:13:26 -07:00
Yago González
28d4ec7236
apps: Improve formatting and capitalization.
2017-07-14 16:27:17 -07:00
Yago González
eb597a5af3
i18n: Mark strings for translation.
...
Tweaked by gnprice to omit proper names.
2017-07-14 16:27:17 -07:00
James Rowan
21b5536353
emails: Update subject lines of emails.
2017-07-14 15:20:04 -07:00
Vaida Plankyte
28ea174ed9
backend: Implement high contrast mode display setting.
2017-07-14 14:53:24 -07:00
Vaida Plankyte
216900b9e3
frontend: Add aria-label attributes to textareas/input fields.
2017-07-14 14:45:10 -07:00
Vaida Plankyte
b533732c6b
frontend: Change custom_invite_body to use an ID.
2017-07-14 14:45:10 -07:00
Vaida Plankyte
c7c533fd4d
frontend: Add feature illustrations to landing page.
2017-07-13 22:12:26 -07:00
James Rowan
59b5a2f862
emails: Rewrite the day 1 followup email.
2017-07-13 20:51:54 -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
Rishi Gupta
f0ed556730
emails: Remove comments from tops of email templates.
...
The comments are not very helpful, in some cases incorrect, and make
skimming the template harder.
2017-07-13 19:17:53 -07:00
Rishi Gupta
d8eaae278d
emails: Update text of emails.
...
Partial update; likely more to be done.
2017-07-13 19:17:53 -07:00
James Rowan
71bc40d829
emails: Update subject for invitation emails.
2017-07-13 18:47:21 -07:00
James Rowan
88b8d98d34
emails: Update subject for missed message emails.
2017-07-13 18:47:17 -07:00
James Rowan
9bd1b0ba58
emails: Update subject for digest emails.
2017-07-13 18:47:02 -07:00
Brock Whittaker
1cf7ee966b
help: Redesign /help/ pages to be a single page app.
...
This redesigns the /help/ page sets to be a single page app that uses
history.pushState to work the same as the old app.
The big new feature is that now we have the index in a nicely designed
left sidebar.
2017-07-13 15:43:44 -07:00
James Rowan
05934fd4c6
user docs: Clarify that drafts are only stored locally.
2017-07-13 11:21:44 -07:00
Vaida Plankyte
74ab5b607a
frontend: Change main UI content to not be background images.
2017-07-11 16:30:07 -07:00
Eeshan Garg
b37ace33ee
help: Document bot types in add-a-bot-or-integration.
2017-07-11 13:25:51 -04:00
Eeshan Garg
37fbed0993
webhooks: Recommend creating "incoming webhook" bot.
...
In all our webhooks' docs, we now recommend creating a bot with the
"Incoming webhook" bot type.
2017-07-11 13:25:51 -04:00
Vaida Plankyte
1e04ab8b54
help: Add docs on new manage organization features.
2017-07-11 12:35:50 -04:00
Vaida Plankyte
7d98e569c5
help: Add docs for new organization permission settings.
2017-07-10 11:50:40 -07:00
Vaida Plankyte
90877c2100
help: Update links to point to organization permissions.
2017-07-10 11:50:40 -07:00
Tim Abbott
dcc40c7035
devtools: Document the --input option to collectstatic.
2017-07-07 17:48:52 -07:00
Tim Abbott
2ccd5aa758
devtools: Document better solution for editing error pages.
2017-07-07 17:45:11 -07:00
Tim Abbott
780b77d84d
devtools: Document portico.css issues with static/html/ files.
2017-07-07 17:30:45 -07:00
Greg Price
4b765ae304
i18n: Fix a smattering of strings that weren't getting translated.
...
These are some strings I spotted in English when playing around a bit
with the UI set to German, where our translations are near complete.
It'd be great to have a more systematic way of spotting this kind of
omission. Probably a fairly simple linter could catch a lot of cases.
2017-07-07 16:59:23 -07:00
Tim Abbott
5ee9599acd
help: Link to zulipchat.com/apps to have the latest apps page.
...
Ideally, we'd be using {{ apps_page_url }}, but the /help/ markdown
system doesn't support custom Jinja2 content in its code.
2017-07-07 16:58:04 -07:00
Brock Whittaker
bd664b0dd5
portico: Fix background color; remove need for bg-image classes.
2017-07-07 15:30:47 -07:00
Jack Zhang
c5cdede891
portico-css: Reposition header, portico-page content, and footer.
2017-07-07 15:29:43 -07:00
Vaida
d5517bae36
Delete the old zulip.com "referrals" system.
...
This system hasn't been in active use for several years, and had some
problems with it's design. So it makes sense to just remove it to declutter
the codebase.
Fixes #5655 .
2017-07-07 14:59:18 -07:00
Vishnu Ks
81f9d5810e
portico: Remove check mark from password field.
2017-07-07 14:48:06 -07:00
Vishnu Ks
caf9b55cd2
register.html: Include translations bundle.
2017-07-07 14:48:06 -07:00
Rishi Gupta
e84e6aa818
create_realm: Make placeholder text more generic.
...
Fixes #2058 .
2017-07-06 23:13:29 -04:00
James Rowan
dc9a41c543
emails: Add preheader content to missed message emails.
2017-07-06 15:46:03 -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
Rishi Gupta
e04bf3273c
emails: Rename email_base.html to email_base_default.html.
...
About to add another template for digest and missed message emails. Another
natural name would be email_base_transactional, but the followup_day{1,2}
emails aren't really transactional.
2017-07-06 15:46:03 -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
Tim Abbott
4f762dd27b
keyboard_shortcuts: Fix capitalization of new heading.
2017-07-06 11:04:13 -07:00
Rishi Gupta
ab63612c5b
keyboard_shortcuts: Rename Streams to Streams Settings.
2017-07-06 10:39:52 -07:00
Cynthia Lin
0fc93278ca
user docs: Add guide on *Require topics in messages to streams* setting.
...
Edited by tabbott to simplify the language and explain the purpose of
the setting a bit more.
Fixes #5675 .
2017-07-05 11:51:54 -07:00
Vishnu Ks
faf5c0cd2d
portico: Make backend validation errors similar to frontend.
...
The backend errors are currently displayed to the right side of the
input field. This is different from the frontend validation errors
which are displayed at the bottom of the input field (and also looks
really bad). Also frontend validation uses <p> instead of <div> to
display errors so I have changed this also to make both uniform.
2017-07-05 11:05:18 -07:00
Vaida Plankyte
0d8720fe0c
missed_message.txt: Use the singular 'they' pronoun.
2017-07-05 09:27:43 -07:00
Vaida Plankyte
b68ba0a13e
missed_message.html: Use the singular 'they' pronoun.
2017-07-05 11:34:45 +02:00
James Rowan
1ea9a23f95
emails: Fix two grammar nits.
2017-07-04 13:57:54 -07:00
Rishi Gupta
81220e050b
context_processors: Remove zulip_admin from zulip_default_context.
...
There is no real distinction between zulip_admin and support_email in the
codebase, so fold them into a single variable.
2017-06-29 11:20:32 -07:00
Rishi Gupta
bf996f91ba
deactivated.html: Use support_email instead of custom context variable.
2017-06-29 11:20:32 -07:00
Greg Price
5c9f02924f
for/open-source: Use real em-dashes.
...
Ideally these shouldn't have spaces around them either, but the
font we're using (at least in my browser) has em-dashes that
hardly merit the name -- about twice the width of an interword space.
So I leave them bulked up with spaces.
2017-06-26 22:45:54 -04:00
Greg Price
6ed5cd3356
for/open-source: Give each point a title phrase.
2017-06-26 22:45:54 -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
085ce20feb
markdown: Recommend installing bindings to the server with bot.
...
Instead of recommending our users to download and install our
bindings "to the <integration_name> server", we now recommend
installing our bindings "to the server where the
<integration_name> bot lives". Technically, the latter is more
accurate.
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
1d9ab996c7
markdown: Clarify stream name recommendations in create-stream.
...
Now, we further clarify in the create-stream.md macro that even
if users follow our default stream name recommendation for a
given integration, said stream must still be explicitly created.
2017-06-26 12:30:04 -04:00
Eeshan Garg
242162f9db
markdown: Add macros for changing integration config files.
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
James Rowan
7ccdc319c7
help: Fix typos in the guide for new organizations.
2017-06-25 11:20:03 -04:00
Greg Price
c9e35c459a
landing: Write up why open source projects should use Zulip
...
This isn't very slick, but it should get the main points down,
and it's past time we got something like this up. Definitely
needs in the future another pass at the text, and also some images
(screenshots, etc.) and styling.
2017-06-22 16:26:50 -07:00
Harshit Bansal
0b03fd97a2
webpack: Don't include katex bundle in base.html.
...
Since we use katex only in the main webapp, we don't need it in things
like landing page etc, so it is better to move it to index.html.
2017-06-22 19:06:32 -04:00
Harshit Bansal
c0e4f24a25
webpack: Migrate `common.js` bundle to webpack.
2017-06-22 19:06:32 -04:00
Harshit Bansal
6615f2f2e8
common.js: Migrate `common.js` module to use IIFE module style.
...
This module was exposing its functions as globals. This PR fixes
it use the IIFE module style that we use in our other modules.
2017-06-22 19:06:32 -04:00
Shane Kearns
790c2929f5
integrations/perforce: Document new config variables.
2017-06-22 14:27:13 -04:00
Vaida Plankyte
c52e964db3
frontend: Toggle aria-hidden for overlay container visibility.
2017-06-22 10:57:37 -04:00
digi0ps
4c6abc033b
register: Modify short name help text.
...
Fixes #5432
2017-06-22 08:54:29 -04:00
Vaida Plankyte
7b146fa56f
frontend: Fix unnecessary positive tabindex assignments.
2017-06-22 08:29:52 -04:00
Vaida Plankyte
c85446c8bf
frontend: Fix deprecated Windows 7 app link.
2017-06-22 08:12:33 -04:00
Cynthia Lin
27e1393610
docs: Update keyboard shortcuts documentation.
2017-06-21 15:54:09 -04:00
James Rowan
19ffb84ac2
Make notification email for new login give browser and os.
...
notify_new_login.subject: include browser and os in subject line.
test_new_users: test for subject line to include browser/os.
2017-06-21 14:36:41 -04:00
Cynthia Lin
96dc204841
hotkeys: Document `u` hotkey.
2017-06-21 10:38:05 -04:00
Rishi Gupta
ca3b9f3059
user docs: Clean up intro text.
2017-06-20 21:25:56 -04:00
Vaida Plankyte
b7ea876056
docs: Document ability for admins to delete messages.
2017-06-20 21:17:53 -04:00
vaibhav
d9bc3932ec
settings: Move "download personal API key" from "your-bots" to "your account"
...
Fixes : #5355 .
2017-06-20 15:46:23 -04:00
Harshit Bansal
c50b3672c2
webpack: Migrate `signup.js` bundle to webpack static asset pipeline.
2017-06-20 09:45:26 -04:00
Cory Lynch
472e788ee0
Add user documentation for is:unread.
2017-06-19 06:51:13 -04:00
Cory Lynch
86d3e00bd0
Add search support for is:unread.
...
Fixes #1423 .
2017-06-19 06:51:13 -04:00
Cory Lynch
5b03236b90
dev: Update dev_tools.html with error pages.
...
Fixes #5391 .
2017-06-14 21:18:45 -07:00
Cory Lynch
cb4dadfdcd
tools: Create /devtools page for useful dev URLs.
...
Fixes #5179 .
2017-06-14 20:17:56 -07:00
Nick Sweeting
458fcfa646
docs: Add blurb to docs about topic lifetime.
...
Edited by tabbott to also address the issue of deleting topics.
2017-06-14 19:21:54 -07:00
Eeshan Garg
0d817f0870
markdown: Add macro for appending stream name to integration URL.
2017-06-14 17:42:17 -07:00
Eeshan Garg
aa25348ddc
markdown: Recommend substituting bot email and API key in URL.
...
We now recommend substituting the appropriate bot email and
API key in the webhook URL in the webhook-url-with-bot-email.md
macro.
2017-06-14 17:42:14 -07:00
Aditya Bansal
914ab1040d
integrations/codebase.html: Migrate to Markdown.
2017-06-13 16:32:00 -07:00
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
d4e827c618
email_base.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
Eeshan Garg
4444960c6f
api.html: Fix broken link to our PyPI package.
2017-06-13 15:30:35 -07:00
Eeshan Garg
8efb3aeee7
templates: Update .md macros to use recommended_stream_name.
...
Previously, we used Integration.name as the recommended stream
in our macros. Now, we have a dedicated attribute set in the
Integration class (that WebhookIntegration and GithubIntegration
inherit from) for the recommended stream name in cases where
the stream name is different than the name of the integration
itself.
2017-06-13 15:30:35 -07:00
Mehanig
1e5ce918e3
webpack: Move app_debug.js to webpack bundle.
2017-06-13 12:45:40 -07:00
Mehanig
04626acd5a
webpack: Move zxcvbn.js to webpack bundle.
2017-06-13 12:45:39 -07:00
Mehanig
ae29d4b8d2
webpack: Move landing-page.js to webpack bundle.
2017-06-13 12:36:55 -07:00
Aditya Ramesh
a77aa79da9
emails: Add html versions of emails that do not have them.
...
Fixes #4691 .
2017-06-12 23:02:28 -07:00
Rishi Gupta
9a02739008
emails: Remove invitation_mit.
2017-06-12 23:02:28 -07:00
Rishi Gupta
3332ebaf22
emails: Remove confirmation_registration_mit.
...
Not enough new Zephyr signups to justify the carrying cost :(.
2017-06-12 23:02:28 -07:00
Brock Whittaker
244c4dc7fa
landing-pages: Add working "×" for mobile navigation.
...
This adds a working "×" icon that you can click to close the nav
on the mobile product pages.
Fixes #5260 .
2017-06-12 21:32:18 -07:00
Rishi Gupta
1d702d13a4
emails: Replace context variable zulip_support with support_email.
2017-06-10 01:35:03 -07:00
Rishi Gupta
c3aa799192
emails: Remove verbose_support_offers conditional where unneccesary.
...
For almost all of these, the verbose support offer clause is almost the same
as the non-verbose version. The distinction carries extra carrying cost when
coming up with new copy, testing new email designs, etc.
2017-06-10 01:04:00 -07:00
Vaida Plankyte
114b080d01
emails: Add base template for html emails.
2017-06-09 23:34:24 -07:00
Rishi Gupta
9cba5573e6
emails: Remove Zulip logo and tagline from the top of emails.
...
We're about to add a new base html template that will provide formatting and
other embellishments, so this touch is no longer needed.
2017-06-09 23:34:24 -07:00
Rishi Gupta
69e7029663
test_emails: Use zerver.lib.send_email for rendering email.
...
Previously the rendering code in test_emails.py did not match the rendering
code in send_email.py. This commit removes the duplication to reduce the
chance they drift in the future.
This commit also changes test_emails.html to ensure that we always display
both the HTML and text versions of an email.
2017-06-09 23:34:24 -07:00
Cory Lynch
6219128d87
dev: Add /emails/ URL for testing email templates.
...
Fixes #5270 .
2017-06-09 16:21:49 -07:00
Mehanig
8c0e500d6b
webpack: Migrate api and katex js files to Webpack bundler.
...
This also injects the dev webpack sockets to katex, since that's part
of the main web app bundle.
2017-06-09 12:33:52 -07:00
Jack Zhang
ec673c739c
product-pages: Add integrations section to hello (landing) page.
2017-06-08 19:41:50 -07:00
Brock Whittaker
5606435a90
components: Make button component styles sensible.
...
This removes the old base button style which was a blue button and
kills the unnecessary .white class which was essentially just acting as
the new button base.
This then removes all references throughout the settings/subscriptions
pages to those button styles.
This also fixes the strange button styles that changed the :hover and
:active opacity to 0.05 which led to unpredictable results on various
backgrounds.
2017-06-08 17:09:31 -07:00
Rishi Gupta
7aa735294f
emails: Remove unneeded safe tags from non-HTML email templates.
...
Reverts 7527ac9
, and removes an additional |safe tag in
missed_messages.txt. These files are now rendered by a template engine
with autoescape=False.
2017-06-06 23:22:22 -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
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
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
Aditya Bansal
7f15cfea91
integrations: Add download python bindings macro.
...
This will be used in various integration docs.
2017-06-06 21:40:27 -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
Greg Price
4165c9a62e
apps: Link directly to the upstream /apps page.
...
Now that this page redirects to upstream, make our own links
to it point directly upstream. This saves a redirect, and
makes it more transparent where the link points if the user
examines it before following.
2017-06-06 11:21:20 -07:00
Greg Price
c78bfc356f
apps: Stop distinguishing an SSO-only desktop app.
...
The "new" Electron desktop app has only one build, so link to it
unconditionally.
2017-06-06 11:21:20 -07:00
rht
486e4e30da
Update 'OS X' reference to macOS.
2017-06-05 22:11:34 -07:00
Eeshan Garg
3c47efb1fc
templates: Add macro for appending branches to webhook URLs.
...
This macro is an alternative to git-webhook-url-with-branches.md,
which contains the full URL with a `branches` query parameter at
the end. This macro is for when we just want to specify that this
can be done but the URL to append to can be variable or is unique
to a particular integration (and thus, doesn't warrant its own
macro and a full URL example).
2017-06-05 11:22:06 -07:00
Eeshan Garg
433686457a
templates: Add Markdown macro for URLs with bot_email@api_key.
2017-06-05 11:22:06 -07:00
Eeshan Garg
fab20ec6fd
templates: Add macro for appending branch names to Git webhook URLs.
2017-06-05 11:20:48 -07:00
Rishi Gupta
7527ac9a8c
emails: Mark variables in non-HTML emails as HTML-safe.
...
Make sure 's, &s, and other characters are not HTML-escaped in subject
lines and plain-text emails.
Hack so that this isn't blocking the release of Zulip 1.6. A more robust way
to do this would be to have two different template Engines, one that renders
HTML, and one that doesn't.
Fixes #5088 .
2017-06-03 16:04:06 -07:00
Eeshan Garg
af88695c28
templates: Add macro for appending the topic to the webhook URL.
2017-06-01 22:16:10 -07:00
Jeremy Bowman
2137aadda0
portico: Make the realm icon an img element.
...
The realm avatar icon on the login and registration pages was
being set as a background image, which could vanish in high
contrast mode in many browsers. Converted it to an img tag and
verified that it is still styled correctly. I think the empty
alt attribute (to remove it from the audio description) is
appropriate in this context, since the realm name and description
are already provided immediately afterwards in the page content.
Fixes #4889 .
2017-06-01 22:07:43 -07:00
Jeremy Bowman
1dae2af7b0
Fix ARIA markup for settings menu
...
The settings dropdown was marked as having the "menu" ARIA role,
but contained no items with the "menuitem" role. I assigned this
role to the focusable link elements, and gave the intervening "li"
elements (and other "li" elements used as separators and such)
the "presentation" role to allow those to be gracefully ignored
when appropriate. Some of the links previously had the "button"
role, which I think was a holdover from a previous UI layout.
Fixes #5000 .
2017-05-30 23:08:12 -07:00
Eeshan Garg
2e81fdd319
api.html: Recommend pip install for installing API bindings.
...
We have an updated PyPI package now for our API bindings, so we
now recommend `pip install` rather than providing a download link
to the package.
2017-05-30 21:21:06 -07:00
K.Kanakhin
2434f2d96c
messages: Add support for admins deleting messages.
...
This makes it possible for Zulip administrators to delete messages.
This is primarily intended for use in deleting early test messages,
but it can solve other problems as well.
Later we'll want to play with the permissions model for this, but for
now, the goal is just to integrate the feature.
Note that it saves the deleted messages for some time using the same
approach as Zulip's message retention policy feature.
Fixes #135 .
2017-05-29 21:59:38 -07:00
Tim Abbott
4acc89d379
help: Document the : hotkey for choosing reactions.
2017-05-29 15:43:55 -07:00
Tim Abbott
7b152bf0ad
help: Clarify discussion of the emoji reactions picker.
...
The word "menu" was kinda confusing here.
Follow-up to #4547 .
2017-05-29 15:43:44 -07:00
Daniel Lau
3037be9bc0
help: Document how to navigate the emoji reactions picker.
...
Fixes #4547 .
2017-05-29 15:43:07 -07:00
Cory Lynch
c95abd4618
Replace broken aria-labelledby with aria-label in help modal.
...
Fixes #4921 .
2017-05-28 22:49:16 -07:00
Cory Lynch
30e54a94f2
html: Add aria-labels for search bars for accessibility.
...
Added an attribute which can be read by assistive technology.
Fixes #4996 .
2017-05-28 22:49:00 -07:00
Eeshan Garg
dd5ce955bd
webhooks/delighted: Migrate docs to Markdown.
2017-05-28 18:44:00 -07:00
Eeshan Garg
14ce3a94db
webhooks/codeship: Migrate docs to Markdown.
2017-05-28 18:44:00 -07:00
Tim Abbott
c864bb59c6
apps: Fix typo in template syntax.
2017-05-26 19:06:20 -07:00
Umair Khan
ad5780c03e
lint: Mark alt argument for translation.
2017-05-26 15:28:46 -07:00
Jeremy Bowman
5436f872f7
Provide alt text for validation check mark
...
The check mark which appears for valid input in assorted forms
(such as login and registration) didn't have alternative text
for better accessibility. Added "Valid" as the alt text in all
places it's used.
Fixes #4876 .
2017-05-25 16:06:47 -07:00
Jeremy Bowman
7053103896
Fix registration email field label association
...
The label element for the registration form's email field was
missing a "for" attribute to link it to the input field. Added
the missing attribute.
Fixes #4896 .
2017-05-25 13:36:27 -07:00
Jeremy Bowman
64721abac3
Correctly associate bot name field label
...
The label element for the bot name editing field was trying to use
a "for" attribute to link it to the input field, but the field had
no ID for it to associate with. Added the ID value which it
was trying to use.
Fixes #4999 .
2017-05-25 10:46:01 -07:00
Reid Barton
d7db7aa84f
api-docs: Fix line break in API keys section.
2017-05-24 20:30:35 -07:00
Mehanig
3f5d0e69fb
Build and handle jsfiles using webpack instead of django-pipeline.
...
Also renames bundle.js to translations.js.
2017-05-24 18:38:03 -07:00
Eeshan Garg
3cb758d339
templates: Support parametric Markdown macros for webhooks docs.
2017-05-24 17:00:19 -07:00
Cynthia Lin
344f284431
user docs: Document Streams menu hotkeys.
...
Also includes refactoring to **Keyboard shortcuts** user docs.
2017-05-24 12:19:15 -07:00
Cynthia Lin
eba2ee9cba
user docs: Update Invite users screenshots.
2017-05-22 18:35:22 -07:00
Cynthia Lin
e4543a98ff
user docs: Update Streams modal UI screenshots.
2017-05-22 18:35:22 -07:00
Cynthia Lin
6b9dfcec4e
user docs: Delete *View information about a message* doc.
...
Deprecated feature; replaced by message sender info.
2017-05-22 18:35:22 -07:00
Cynthia Lin
561cb64f33
user docs: Update docs with compose box UI changes.
2017-05-22 18:35:22 -07:00
Cynthia Lin
f0c5b68a5e
user docs: Delete *Restore the last unsent message* doc.
...
Deprecated feature; Drafts feature has replaced it.
2017-05-22 18:35:22 -07:00
Cynthia Lin
314a506890
user docs: Update *The Zulip browser window* doc.
2017-05-22 18:35:22 -07:00
Cynthia Lin
226e30d9ea
user docs: Update *Add custom emoji* doc.
2017-05-22 18:35:22 -07:00
Cynthia Lin
bfcb0552e8
user docs: Merge *The announce stream* and *Make an announcement* docs.
2017-05-22 18:35:22 -07:00
Cynthia Lin
6977232dcc
user docs: Update *Zulip on Android* doc.
2017-05-22 18:35:22 -07:00
Cynthia Lin
5628e467ac
user docs: Update *Send message in a different language* doc.
2017-05-22 18:35:22 -07:00
Cynthia Lin
8211e19074
user docs: Update *Format your messages using Markdown* with UI changes.
2017-05-22 18:35:22 -07:00
Cynthia Lin
bafa976376
user docs: Update *Add a bot or integration* with UI changes.
2017-05-22 18:35:22 -07:00
Cynthia Lin
eb472411ce
user docs: Document status messages in Message formatting docs.
...
Removes *Send a status message*. Fixes #4522 .
2017-05-22 18:35:22 -07:00
Eeshan Garg
2e3081e93d
webhooks: Add Markdown macros for repetitive documentation.
2017-05-22 18:19:14 -07:00
Brendan Kiu
082f451885
lightbox: update help text for `v` shortcut.
...
New behavior of the `v` shortcut updated in documentation.
Follow up to #4869
2017-05-22 16:48:37 -07:00
Steve Howell
e00f9f3dcb
Split out Organization Permissions page.
2017-05-18 12:37:03 -07:00
Tim Abbott
575dde3881
help: Add link to new organization getting-started guide.
2017-05-16 13:52:58 -07:00
Tim Abbott
f15e134bb0
apps: Update link to point to future Zulip iOS app ID.
...
Previously, this was linked to the now-removed old Dropbox iOS app for
Zulip. The link won't work for a few more days, but we're just
waiting on app store approval and know the ID, at least.
Fixes #3267 .
2017-05-16 13:45:02 -07:00
Tim Abbott
1c03ec2e23
help: Add a detailed article on creating a new Zulip organization.
...
Thanks to Rishi Gupta, James Rowan, and many others for their work on
this.
This replaces most of the content in prod-customize.md; we'll
deduplicate soon.
2017-05-16 00:29:23 -07:00
Tim Abbott
61d9f5647e
compare: Clean up comparison chart entries.
2017-05-15 23:23:27 -07:00
Tim Abbott
5c745bf72a
landing: Fixup styling of /compare/ page.
2017-05-15 22:21:04 -07:00
Tim Abbott
fb2647397b
landing: Fix navigation to not link to registration.
2017-05-15 21:56:02 -07:00
Tim Abbott
a0006e4328
design: Rename @-mentions filter to Mentions.
...
This should make the design a bit more consistent and usable.
2017-05-15 20:55:27 -07:00
Brock Whittaker
07ecf971c6
Fix accounts_home and login to display no-password correctly.
...
This fixes the /register/ (accounts_home) and /login/ pages to not
display the login form if login isn’t allowed at the organization level.
2017-05-15 15:49:02 -07:00
Tim Abbott
400845d1d5
docs: Remove shortcuts list documentation of drafts navigation.
...
These are fairly intuitive given how navigation works elsewhere, and
not having them here helps avoid things feeling intimidating.
2017-05-15 13:42:30 -07:00
Tim Abbott
feeb648e00
hotkeys: Swap Drafts with Menus.
...
It seems good to have "Show keyboard shortcuts" be last.
2017-05-15 13:42:11 -07:00
Cynthia Lin
36b66cda74
user docs: Update keyboard shortcuts docs with Drafts modal shortcuts.
2017-05-15 13:32:21 -07:00
Cynthia Lin
934bae5232
user docs: Add user guide for *View and edit your message drafts*.
...
Fixes #4335 .
2017-05-15 13:32:18 -07:00
Tim Abbott
d6059d0d9a
landing: Add template containing comparison checkmarks.
...
Can be added to the landing pages via:
+ {% include 'zerver/compare.html' %}
+
I'm avoiding adding that include into the landing pages until we have
time to do a bit of tweaking of the styling to integrate better into
/hello/ (primarily color-wise).
Most of the work for this was done by Brock, huge thanks to him!
2017-05-13 14:32:24 -07:00
Tim Abbott
4d2bb0dec8
templates: Clean up visuals for account-not-found SSO flow.
...
Also, clarify that the account that isn't found is your Zulip account,
not a GitHub/Google Oauth account.
2017-05-13 12:46:05 -07:00
James Rowan
0facaa0797
Changes sender and subject lines for missed message emails.
...
Now, in the event of messages between two other members of a huddle,
the missed message emails are threaded in "Group PMs with name1 and
name2" and not in separate threads by sender.
Also, now the order of recipients in get_display_recipient consistent
with the order of names that appears in the list of personal messages
on the left sidebar.
Fixes most of #4553 .
2017-05-12 13:29:43 -07:00
Joshua Pan
235d06e7e5
docs: Correct bullet point formatting in keyboard shortcuts.
2017-05-11 18:46:24 -07:00
Brock Whittaker
f95021d419
Add settings sections to header.
...
This adds the settings section that you are in to the page header.
2017-05-11 17:49:26 -07:00
Rishi Gupta
0ce04556bf
CSS: Change color of PMs from yellow to blue-grey.
2017-05-11 16:18:39 -07:00
Tim Abbott
223624be25
settings: Add support for longer, markdown-powered realm descriptions.
...
This makes it possible to create much prettier login pages.
Further work on styling may be necessary.
2017-05-11 13:59:46 -07:00
Umair Khan
dc2a9a4c5b
github: Add sign up button on registration page.
2017-05-10 17:49:08 -07:00
Umair Khan
d56db0a3b4
auth.py: Add confirmation handlers for signup.
...
These handlers will kick into action when is_signup is False. In case
the account exists, the user will be logged in, otherwise, user will
be asked if they want to proceed to registration.
2017-05-10 17:20:34 -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
9f7236eec1
message: Remove unused old gravatar_hash field from message dicts.
...
This was deprecated and replaced some 4 years ago.
2017-05-09 22:33:27 -07:00
Tim Abbott
c21d336bfe
css: Use the Zulip static asset pipeline for emoji sprite sheet CSS.
...
This should be a nonfunctional change in most cases; the main benefit
should be preventing caching issues if/when our sprite sheets change.
2017-05-09 19:45:57 -07:00
Brock Whittaker
7dbf0c8811
Normalize left and right sidebar font size.
...
This normalizes the left and right sidebar font size to be 0.89rem.
2017-05-09 18:54:10 -07:00
Brock Whittaker
3fd3ae4199
Restyle /hello/ page.
...
This restyles the /hello/ page to be the new portico branding.
2017-05-09 16:31:57 -07:00
Tim Abbott
484adf1461
about: Update words of developer documentation.
2017-05-09 15:04:17 -07:00
Tim Abbott
6dd85a78ce
about: Update to have slightly more current numbers.
2017-05-09 15:03:30 -07:00
Rohitt Vashishtha
5be7494ddf
Remove duplicate connection-error message.
...
There's really no need for a separate user-visible error message for
get_messages vs. get_events.
Fixes #4703 .
2017-05-09 11:13:27 -07:00
Tomasz Kolek
61d5d41067
Add Slack importer bot.
2017-05-09 10:48:08 -07:00
Mahim Goyal
49fec57768
Add hotkey for narrowing to next unread topic.
...
Fixes : #4199 .
2017-05-09 10:02:54 -07:00
Rishi Gupta
8321bd3f92
notifications: Refactor missed message queue to use send_email.
...
This commit also changes the sender from "Zulip <NOREPLY_EMAIL_ADDRESS>" to
NOREPLY_EMAIL_ADDRESS when it is not set explicitly.
2017-05-05 14:38:25 -07:00
Rishi Gupta
72ee5e5159
email: Make context for invitation_reminder template jsonable.
...
We are about to change send_future_email in a way that will require all
callers to use jsonable context.
2017-05-05 14:38:25 -07:00
Brock Whittaker
c8902d5d71
settings: Make settings overlay more responsive.
...
This doesn't completely fix settings responsiveness, but it's a big
step along the way. Outstanding issues include:
1. When switching tabs from settings to organization, it will launch
the first item which is more annoying in this view since it brings you
into that tab. Haven’t decided on an elegant solution to this yet.
2. Sidebar scrolling doesn’t work. I have to restructure how the top
section and bottom sections of content are displayed to fix this.
Likely by enforcing min-height of 100% - bottom height on the top piece.
3. Most of it is actually reasonably responsive but some isn’t, and
should be fixed on a case-by-case.
2017-05-05 13:42:09 -07:00
Brock Whittaker
2ae23054ee
informational-overlays: Focus overlay body on shortcut "?".
...
This focuses the body content of the informational overlay after
going to it from "?" so that you can use up and down arrows to then
scroll the content easily.
Fixes : #4480 .
2017-05-05 09:53:58 -07:00
Tim Abbott
106d83c75a
password reset: Fix buggy template quoting.
2017-05-04 16:41:31 -07:00
hackerkid
83eb161249
Set user timezone automatically during signup.
2017-05-04 16:36:51 -07:00
Tim Abbott
ecb8d3c7fa
password reset: Fix weird translation tags.
...
There was way too much markup in these translation tags, for no good
reason.
2017-05-04 16:09:12 -07:00
Tim Abbott
b0bd501c0d
portico: Remove now-unused hello-footer code.
2017-05-04 16:09:12 -07:00
Brock Whittaker
d21e1ccc1c
Unify styling on password reset flow pages.
2017-05-04 16:09:12 -07:00
Brock Whittaker
736701f900
Add account_send_confirm styling.
2017-05-04 16:09:12 -07:00
Brock Whittaker
48ac49385e
Fix lack of uniformity with box content layout.
...
The various portico pages had various styling differences that made
them less consistent when responsive.
2017-05-04 16:09:12 -07:00
Brock Whittaker
89242da269
Remove .footer_padder in favor of proper screen tolerances.
...
This removes the .footer_padder element in favor of just having correct
min/max heights and margins on the footers.
2017-05-04 16:09:12 -07:00
Brock Whittaker
58d00af6c3
portico-pages: Fix flex height issues with content.
...
This fixes the existing issue where the titles of content is chopped
off when the screen height is too small.
2017-05-04 16:09:12 -07:00
Rishi Gupta
92dd76822f
email: Move and rename password reset templates.
2017-05-03 23:26:14 -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
a1f0c1d6ac
email: Move and rename new_login_alert 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
21a2c7b9d9
email: Remove translation tags from email templates.
...
The only thing being translated in any email was the title of the Zulip
header image in the html file, probably because not doing so breaks a linter
rule.
he name "Zulip" doesn't make sense to translate anyway.
2017-05-03 23:25:33 -07:00
Rishi Gupta
975d5bd8c0
email: Move and rename notify_change_in_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
4e779c3e6f
email: Move and rename mituser_invite_email templates.
2017-05-03 20:54:40 -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
aa21012783
email: Move and rename mituser_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
Rishi Gupta
cafc60dd1d
email: Move and rename missed_message_email templates.
...
All email templates are being moved to templates/zerver/emails.
2017-05-03 20:54:39 -07:00
Tim Abbott
b20a24875a
emoji: Switch to using iamcal sprite sheets for reactions and pickers.
...
Without changing how we render emoji in messages or changing the data
set used for emoji names, this switches us to the superior
percentage-based system for choosing which emoji from the spritesheet
to select and the iamcal sprite sheets.
It requires some small changes to CSS to ensure emoji are centered
properly in the new design.
Based on Harshit Gupta's work on "Interrelated emoji infrastructure changes".
2017-05-03 13:30:42 -07:00
Tim Abbott
07db233ffd
register: Remove long-unused company-email HTML/CSS.
2017-05-01 17:18:03 -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
Jack Zhang
a9505654da
emoji: Replace the old compose emoji picker with the reactions picker.
...
This removes the old compose emoji picker in its entirety, changing
the few callbacks needed to launch the reactions-style emoji picker
instead and hook it up properly.
Callbacks for reactions and composing messages are distinguished by
selecting for, respectively, the .reaction and .composition classes.
Fixes #4122 .
2017-04-30 15:14:42 -07:00
Tim Abbott
a7f85739a9
login: Fix extra '.' in template after wrong_subdomain_error.
2017-04-28 14:34:20 -07:00
Tim Abbott
6c9daf7c3b
alerts: Clean up network error messages a bit.
2017-04-28 12:58:30 -07:00
Brock Whittaker
dcc2b3a900
left-sidebar: Restructure <a> to cover the <li>.
...
This restructures the <a> tag to be clickable essentially anywhere
within the <li> tags, unlike before where due to it being “inline”, you
had to hover over the text in particular.
2017-04-28 09:56:15 -07:00
Tim Abbott
331207a02b
create_realm: Fix heading for creating an organization.
2017-04-27 11:12:09 -07:00
Brock Whittaker
7afbc9ddd6
Redesign login and registration pages.
...
This completes a major redesign of the Zulip login and registration
pages, making them look much more slick and modern.
Major features include:
* Display of the realm name, description and icon on the login page
and registration pages in the subdomains case.
* Much slicker looking buttons and input fields.
* A new overall style for the exterior of these portico pages.
2017-04-26 18:04:05 -07:00
Brock Whittaker
c506a92d05
left-sidebar: Restyle to have new look.
...
This restyles the color swatches to either be locks or hashes,
and changes the notifications to be rounded rather than squared.
2017-04-25 17:47:36 -07:00
Yago González
43bc4cd762
formatting help: Remove unnecessary space.
2017-04-21 14:59:57 -07:00
Yago González
fac8d1a91d
formatting help: Add documentation for TeX math.
2017-04-21 14:59:57 -07:00
Cynthia Lin
2e1d9b7e95
modals: Document nested list bullets in Message formatting modal.
2017-04-17 21:51:14 -07:00
Cynthia Lin
0e6815fbf6
user docs: Document nested list bullets.
...
Fixes #4456
2017-04-17 21:51:14 -07:00
Benjamin Gilbert
a282cbb493
emails: Fix typo in spelling of "recognize".
2017-04-17 20:29:14 -07:00
Benjamin Gilbert
4775f55ca7
Fix spelling of "occurred" in various places.
2017-04-17 20:29:07 -07:00
Raghav Jajodia
d4e1f0a9a8
stream_filter: Add clear-search button to Search stream input field.
2017-04-17 11:12:01 -07:00
Raghav Jajodia
99f8750684
Refactor code associated with clear_search button.
...
Transfer css from right-sidebar.css to components.css to make it reusable.
The 'margin-bottom' property is removed from 'input-append' class as
it does not affect the styling of the element.
2017-04-17 11:12:01 -07:00
Abhijeet Kaur
ddfdf0e4c6
Organization settings: "Filter settings" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Filter settings".
("Actions" column and form to add a new filter are not available).
Fixes : #3636
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
dc801eb5ed
Organization settings: "Default streams" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Default streams" ("Actions"
and the form to add new default stream is not visible).
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
f1e966bfaa
Organization settings: "Bots" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Bots" ("Actions"
column is not made visible).
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
3f0e33e498
Organization settings: "Users" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Users" (Actions are not
visible).
2017-04-16 12:21:30 -07:00
Abhijeet Kaur
2c88e073fc
Organization settings: "Authentication methods" view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view Authentication methods.
2017-04-15 08:12:56 -07:00
Joshua Pan
6be482b0e7
Link /help/ documentation from in-app documentation.
...
Fixes : #4455 .
2017-04-14 11:35:40 -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
K.Kanakhin
4891a8d850
Add default response for `terms` and `privacy` endpoints.
...
- Add setting for `privacy policy` template defining.
- Configure default templates for `privacy policy` and
`terms of service` pages.
- Add route for privacy page.
- Remove condition for showing `privacy` and `terms` pages.
- Add `privacy_policy` setting to context processor.
- Add documentaion part for `privacy` and `terms` templates
configuration.
- Add tests.
Fixes #3686 .
2017-04-12 14:09:14 -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
Brock Whittaker
d74f72f08f
gear-menu: Re-add the organization settings link.
...
This re-adds the organization settings link and toggles the text
dependent on whether the user is an administrator or not.
Fixes : #4201 .
2017-04-11 16:31:33 -07:00
Rishi Gupta
794c7c5508
user docs: Add info about max size for uploaded files.
2017-04-08 12:59:24 -07:00
Abhijeet Kaur
8f88b045a4
Rename "Administration" to "Organization" in the settings UI.
...
This better sets expectatations for the fact that in Zulip, the
Organization settings UI is available read-only to non-administrator
users.
Tweaked by tabbott to update some additional references.
2017-04-07 17:32:56 -07:00
Joshua Pan
7ce200f8d7
Add documentation for Ctrl + [ hotkey.
2017-04-07 16:54:56 -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
a45f8b463a
app_filters.py: Use Django to load template.
...
This commit allows us to load template using Django in
render_markdown_path.
2017-04-07 15:52:15 -07:00
Steve Howell
153c24d071
Remove dead code related to bot/stream settings.
...
We had never-enabled code to allow users to set default
streams for their bots (for event registration, default sending, etc.).
This commit removes the code.
2017-04-07 15:20:12 -07:00
Abhijeet Kaur
015229fc68
Rename "Administration" to "Organization" in settings.
...
Rename "Administration" tab in Settings to "Organization."
Also rename the same in the navigation-bar for admin-users.
2017-04-07 07:18:50 -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
Tomasz Kolek
62603940a7
integrations doc: Remove basecamp old-style doc.
2017-04-05 13:19:58 -07:00
Tomasz Kolek
fe55542078
integrations doc: Add footer about logos to all integrations.
...
Fixes : #4293
2017-04-05 13:19:58 -07:00
Cynthia Lin
59bfd4e1c7
integrations: Update logos.
...
Fixes #3219
2017-04-05 11:45:51 -07:00
Rohitt Vashishtha
f27b0231f1
api-docs: Fix JavaScript code sample.
2017-04-04 18:16:19 -07:00
Yago González
c1fea74a65
markdown: Load KaTeX in the app.
2017-04-03 17:01:50 -07:00
Tim Abbott
943a3b1cff
alerts: Fix "Try Now" retry get_events button.
...
This has apparently been broken since we renamed get_updates to
get_events.
2017-04-03 16:22:05 -07:00
Brock Whittaker
34f9ccb87c
alerts: Change sidebar alerts to be at top of the screen.
...
This changes the alerts to be individual boxes that slide down from
the top of the screen for a better UI experience.
2017-04-03 16:22:05 -07:00
Rohitt Vashishtha
4659f97649
sidebar: Make icon clickable for '< All Streams' in left sidebar.
2017-03-30 10:12:19 -07:00
Yago González
2f5addc174
i18n: Add missed strings.
2017-03-27 14:30:28 -07:00
Yago González
58880b6695
frontend: Remove unnecessary punctuation.
2017-03-27 14:30:28 -07:00
Brock Whittaker
45a5932236
Merge ./static/images/landing-page/assets into parent folder.
...
There appears to be an issue in which on production the
./landing-page/assets folder is excluded from the build process,
so move it to the parent folder to fix the assets to appear in
production.
2017-03-27 14:08:45 -07:00
Jonathan Pan
5556d2341c
hotkey.js: Add hotkey for drafts.
...
* 'd' in message view opens drafts.
This also adds hotkeys within the drafts UI:
* Up/down arrow keys navigate the drafts.
* Pressing enter edits the selected draft.
* Pressing backspace deletes the selected draft.
Some variable names tweaked by tabbott.
2017-03-27 14:05:00 -07:00
Bao Chau
9b6e648acb
registration: Fetch length limits from the backend's actual sizes.
...
This makes these more likely to remain accurate over time.
Fixes #4211 .
2017-03-25 20:10:12 -07:00
Rishi Gupta
b416587aab
Change sender_domain to sender_realm_str in message dict.
2017-03-25 19:50:24 -07:00
Rishi Gupta
88abb7871d
Remove domain from list of pre-fetched fields for message recipients.
2017-03-25 19:50:24 -07:00
hollywoodno
75d9630258
Add notifications on new logins to Zulip.
...
This adds helpful email notifications for users who just logged into a
Zulip server, as a security protection against accounts being hacked.
Text tweaked by tabbott.
Fixes #2182 .
2017-03-25 16:50:52 -07:00
Joshua Pan
0ce38b6a92
Add documentation for M hotkey.
2017-03-25 09:42:49 -07:00
Tim Abbott
36b9c5792a
compose: Move hotkey out of translation tags in title.
...
The hotkey will be the same anywhere, and this saves an extra couple
strings that translators shouldn't need to have to translate.
2017-03-23 14:03:09 -07:00
Rishi Gupta
b1afafb8d5
compose.html: Fix hotkey advice for New Private Message button.
2017-03-23 13:16:15 -07:00
Joshua Pan
f40b43a491
hotkeys: Add hotkey `G` an alias for End.
...
Fixes #4195 .
2017-03-23 11:38:36 -07:00
Brock Whittaker
5ed482cf2c
compose: Apply consistent styling for compose buttons.
...
This applies the consistent :hover effect for all compose buttons.
Fixes : #4239 .
2017-03-22 13:15:44 -07:00
Tim Abbott
3d3f9bc58e
devlogin: Link to the normal login page.
2017-03-22 13:03:45 -07:00
sinwar
397e9c109e
auth: Separate development login from main login page.
...
This allows us to enable EmailAuthBackend by default in development
without cluttering the development login experience.
Fixes #3652 .
2017-03-22 12:54:30 -07:00
Eeshan Garg
b8f71c5d24
Document how to set up an Asana integration via Zapier.
...
Fixes #3948 .
2017-03-21 19:56:47 -07:00
Yago González
34a9e1ae11
markdown: Add TeX typesetting support.
...
Co-authored-by: Reid Barton <rwbarton@gmail.com>
Fixes #2056 .
2017-03-21 16:40:00 -07:00
Yago González
0c6251e58d
docs: Add reference to tilde-fenced code blocks.
2017-03-21 13:58:40 -07:00
Tim Abbott
17597e2ddf
register: Fix maximum length of realm name field.
2017-03-21 11:04:22 -07:00
Brock Whittaker
d89ea13358
portico: Redesign apps page.
2017-03-20 23:08:24 -07:00
Jeremy Philemon
d13901c22b
Changed "Choose a user" to "Click on a user to log in".
...
- Set the width of .login-page-header to 100% to make it responsive on
smaller screens. Previously, the header went off screen for screen
widths <360 px.
Tweaked by tabbott to remove unnecessary translation tags.
Fixes #4106 .
2017-03-20 21:55:11 -07:00
Brock Whittaker
2775707a67
hotkeys: Add lightbox image feed with controls.
...
This adds an image feed that you can scroll through with hotkeys
in the lightbox.
The left and right arrow keys along with the left and right arrows
will go to the prev/next image, and clicking on an image will also
take a user to that image.
2017-03-19 22:11:38 -07:00
Brock Whittaker
fa5a093738
hotkeys: Add keyboard shortcut for opening the gear menu.
...
This adds the shortcut “g” for opening the gear menu.
2017-03-19 22:08:21 -07:00
Brock Whittaker
2c28e519d8
Fix un-tab-able links in gear menu.
...
This fixes some un-tab-able links in the gear menu to have a tabindex
so that they can be tabbed over with shortcuts.
2017-03-19 22:06:27 -07:00
Tim Abbott
7e74af3cea
docs: Shorten some keyboard shortcut descriptions.
...
In particular, this fixes some unnecessarily multi-line descriptions
that made the keyboard shortcuts display look bad.
2017-03-19 14:45:16 -07:00
Joshua Pan
93609cc39d
Update shortcuts modal and documentation with reaction hotkeys.
2017-03-19 14:45:00 -07:00
Daw-Ran Liou
81f9de7cc8
Add "*" hotkey to toggle starred flag on the selected message.
2017-03-19 13:42:11 -07:00
Daw-Ran Liou
f67751d1f0
Add hotkey "l" for opening image in lightbox.
...
Open the lightbox in the current selected message. Only the first image
shows in the lightbox.
2017-03-19 11:43:21 -07:00
Tim Abbott
e9f1531fc7
hotkey: Remap v hotkey -> P.
2017-03-19 11:41:02 -07:00
Cynthia Lin
037eca4d64
Add Pygments syntax highlighting info to *Message formatting* modal.
2017-03-18 20:48:01 -07:00
Cynthia Lin
8241f7b40b
user docs: Update *Format your message using markdown* with Pygments.
...
Fixes #4081
2017-03-18 20:48:01 -07:00
Tim Abbott
f67e9a7e5e
CSS: Rename #overlay to #lightbox_overlay.
2017-03-18 13:54:11 -07:00
Jeremy Philemon
f68529e56c
Add exit class to the cancel button in invite_user.html.
...
- Previously, in the invite users modal, the click event of Cancel
(button) triggered the submit-invitation event. (Naturally, if the form
is empty, this throws the validators and doesn’t exit the modal).
- This fixes the abnormal action by including the ‘exit’ class to the
cancel button in invite_user.html, line 36.
2017-03-18 08:12:57 -07:00
Arpith Siromoney
e073220e21
Add typing notifications front end.
...
Send typing notification events when user types in the compose box.
Listen for these events and display a notification.
Sending notifications: Notifications are throttled, so that start
notifications are sent every 10 seconds of active typing, and stop
notifications are sent 5 seconds after active typing stops or when the
compose box is closed.
Displaying notifications:
When a typing notification is received, if the current narrow is private
messages or is: pm-with and the user is not the sender,
"Othello is typing..." is displayed underneath the last message. This notification is
removed after 15 seconds. If another notification is received during this period, the
expiration is extended. When a stop notification is received the notification is removed.
Internally, a list of users currently typing is maintained for each
conversation (in a dict). When an event is received the list (for the appropriate
conversation) is updated and the notifications template is re-rendered
based on the narrow information. This template is also re-rendered when
the narrow changes.
Significantly modified by tabbott for clarity.
Fixes #150 .
2017-03-17 20:45:07 -07:00
Amala Deshmukh
0398ec7f81
register: Advertise Zulip's unicode support in registration.
2017-03-17 14:53:20 -07:00
Brock Whittaker
966e161fb2
Fix ui.home_tab_obscured to detect modals open.
...
All open modals now should have the selector ".overlay.show",
so checking if a modal is open is as simple as checking the length
of the selection ".overlay.show".
Fixes #3655 .
2017-03-15 15:45:10 -07:00
Brock Whittaker
3bc2ed6dc9
Switch "invite users" to new component overlay.
...
Fixes #4036 .
2017-03-15 12:29:09 -07:00