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
Brock Whittaker
b0e5aeb313
Consolidate JavaScript modal closing in modals.js.
...
This consolidates all actions to close modals into modals.js and
triggers the correct cleaning/collapsing function dependent on what the
data-overlay attribute is labeled as.
It also ensures these all have an e.stopPropagation().
Fixes #4029 .
2017-03-15 12:27:44 -07:00
Brock Whittaker
b1839268cd
Switch "settings" to new component overlay.
2017-03-15 12:17:27 -07:00
Brock Whittaker
21525ee4db
Switch "informational overlays" to new component overlay.
2017-03-15 12:17:27 -07:00
Brock Whittaker
8419eedcbd
Switch "lightbox" to new component overlay.
2017-03-15 12:17:27 -07:00
Brock Whittaker
81b2114d8c
Switch "drafts" to new component overlay.
2017-03-15 12:17:27 -07:00
aakash-cr7
f44caaf36e
Focus on the close button when viewing the edit message history.
...
Fixes #4035 .
2017-03-15 11:43:50 -07:00
Cynthia Lin
f47d7b7290
user docs: Update docs to replace *Custom alert words* with *Alert words*.
...
Fixes #4066
2017-03-15 11:25:37 -07:00
Cynthia Lin
589551b6ee
settings: Change "Custom alert words" to "Alert words".
2017-03-15 11:25:37 -07:00
Cynthia Lin
7a804de485
user docs: Update *Send a private message*.
...
Add keyboard shortcut info to user doc. Fixes #156
2017-03-14 15:54:20 -07:00
Cynthia Lin
d764f0e0f1
user docs: Update *Send a stream message*.
...
Add keyboard shortcut info to user doc.
2017-03-14 15:54:20 -07:00
Cynthia Lin
6deee116dc
user docs: Update *Enable or disable pressing enter to send*.
...
Add keyboard shortcut info to user doc.
2017-03-14 15:54:20 -07:00
Cynthia Lin
f510ada67a
templates: Add insert new line shortcut to *Keyboard shortcuts* modal.
2017-03-14 15:54:20 -07:00
Tim Abbott
87dd0c225a
keyboard_shortcuts: Move @ near more similar keys.
2017-03-14 15:54:03 -07:00
Brock Whittaker
11c7bb49d4
Restyle "invite" modal.
...
This restyles the invite modal to have the same header as the rest of
the overlays.
2017-03-14 14:47:12 -07:00
Tim Abbott
1c2f82f7fd
help: Remove now-unnecessary warning about old messages.
2017-03-14 14:10:08 -07:00
Raghav Jajodia
d21f446083
help: Add user docs for "Prevent change of name" settings.
2017-03-14 14:10:08 -07:00
Cynthia Lin
6fd6ef5d57
user docs: Mention message edit history feature in *Edit or delete a message*.
2017-03-13 15:03:35 -07:00
Cynthia Lin
1f2eddad8b
user docs: Add user guide for *View a message's edit history* feature.
...
Fixes #3730
2017-03-13 15:03:35 -07:00
Cynthia Lin
ccd2e40c3a
templates: Change button name in *Message edit history* modal.
...
Changed from **Cancel** to **Close**.
2017-03-13 15:03:35 -07:00
adnrs96
3d2fc9171f
Clean features.html to use 4 space indents.
2017-03-10 11:24:30 -08:00
adnrs96
b33836ed76
Clean subscriptions.html to use 4 space indents.
2017-03-10 11:24:30 -08:00
adnrs96
7e20c96281
Clean right_sidebar.html to use 4 space indents.
2017-03-10 11:24:29 -08:00
James Wang
405f07454c
Add server version to about page template.
...
zserver/context_processors.py: Pull in ZULIP_VERSION variable from version.py
about.html: Put server version into template.
Fixes : #3907
2017-03-09 22:10:54 -08:00
Umair Khan
b228cca377
linter: Fix periods in translatable strings.
2017-03-09 21:57:24 -08:00
Raghav Jajodia
c17e574211
Remove product_name setting and return to harcoding 'Zulip'.
...
This removes some confusion in grep for frontend strings with Zulip in
them and also cleans up the code in some places.
Fixes #1602 .
2017-03-09 21:48:15 -08:00
Tim Abbott
84d4f62abf
lint: Exclude Acme placeholders from translations.
...
These strings represented a small waste of time for our translators.
2017-03-09 00:38:15 -08:00
adnrs96
e43f446b1e
Clean portico.html to use 4 space indents.
2017-03-08 22:08:05 -08:00
adnrs96
b7b295f0ad
Clean api_endpoints.html to use 4 space indents.
2017-03-08 22:08:01 -08:00
adnrs96
c5abccc9ec
Clean accounts_accept_terms.html to use 4 space indents.
2017-03-08 22:08:01 -08:00
Brock Whittaker
db45d220a8
Disable mobile zooming of the Zulip webpage.
...
This disables the zooming ability of the mobile webpage which is good
as focusing on input will automatically zoom the page and sometimes
break content.
2017-03-08 21:08:04 -08:00
Brock Whittaker
c5ba4e11d4
Redesign "/integrations/" page in portico.
...
This redesigns the integrations page to incorporate the new landing nav,
CSS animations, and general styling of the product page set.
2017-03-08 17:42:17 -08:00
Tim Abbott
ac138b6e93
templates: Rename landing-nav.html to landing_nav.html.
2017-03-08 17:30:44 -08:00
Tim Abbott
3b59e6c3cc
subs: Rename /#subscriptions to /#streams.
...
Fixes #3653 .
2017-03-08 16:57:58 -08:00
Tim Abbott
ee231c0223
login: Improve development server login copy.
2017-03-08 12:36:04 -08:00
Tim Abbott
b126d64ead
api: Fix API Keys capitalization.
2017-03-08 12:33:37 -08:00
Umair Khan
f5a1b5d88f
capitalization: Fix Zulip Features.
2017-03-08 12:33:37 -08:00
Umair Khan
4ab06a8645
capitalization: Fix Short Name.
2017-03-08 12:33:37 -08:00
Umair Khan
a7ac0c69ac
capitalization: Fix Organization Type.
2017-03-08 12:33:37 -08:00
Umair Khan
194ac99315
capitalization: Fix Log In.
2017-03-08 12:33:37 -08:00