Commit Graph

2234 Commits

Author SHA1 Message Date
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
Umair Khan 7f129397a6 capitalization: Fix Bot Email. 2017-03-08 12:33:37 -08:00
Umair Khan 935cacfc86 capitalization: Fix View Source. 2017-03-08 12:33:37 -08:00
Umair Khan 523f8ecd79 capitalization: Fix Upload New Avatar. 2017-03-08 12:33:37 -08:00
Umair Khan 3dd823b0af capitalization: Fix Stream Name. 2017-03-08 12:33:36 -08:00
Tim Abbott 6dfbdec82c lint: Fix closing tags in api.html. 2017-03-08 01:16:08 -08:00
Rohitt Vashishtha 6e238c9235 docs: Update API docs to include complete list of supported Env Vars. 2017-03-08 01:02:33 -08:00
Rohitt Vashishtha fc41a37db3 docs: Update API docs to include Environment Variables details. 2017-03-08 01:02:33 -08:00
Brock Whittaker 3b55519b11 Redesign "/features/" page in portico.
This redesigns the features page to incorporate the new landing nav,
CSS animations, and general styling of the product page set.
2017-03-07 23:25:39 -08:00
Archana BS a6b5b03122 stats: Change time ranges for bar graph and pie chart.
- Change templates/analytics/stats.html to use 'Last
  Week', 'Last Month', 'Last Year' time ranges instead
  of 'Last 10 days', 'Last 30 days'.
- Change static/styles/stats.css to not set background
  color for default time option, for messages sent by
  client and message by recipient type.
- Change static/js/stats/stats.js to show only available
  time range options, and set background color for the
  default. The default is Last Month if it exists, and
  otherwise All Time.

Fixes: #3856
2017-03-07 17:25:58 -08:00
Raghav Jajodia d52e08a25c analytics: Add a "Last updated" to the bottom of the stats page.
Fixes #3857.
2017-03-07 16:02:27 -08:00
Tim Abbott 9e8023843a zilencer: Remove obsolete desktop_sso_dispatch.
This feature has been obsolete since when Zulip was released as open
source software, since it's purpose was to avoid putting a "server
url" prompt in the desktop app, and now that prompt is required
anyway.
2017-03-06 00:01:47 -08:00
Cynthia Lin 0f02031846 user docs: Add user guide for *View messages containing files or links*.
Fixes #3754
2017-03-05 14:17:25 -08:00
Tim Abbott 90bc76cf87 base.html: Remove commented-out HTML5 shim code.
From reading the history, I think this was actually never uncommented
in any version of Zulip; and regardless we no longer support IE8.
2017-03-04 20:42:25 -08:00
Raghav Jajodia c3dbce810e right-sidebar: Added clear-search button on user-list searchbar.
A clear-search option to clear the user-list searchbox has been added.
This feature was present in the main searchbar but absent elsewhere.
Fix a part of #3716.
2017-03-04 20:30:58 -08:00
Cynthia Lin f7db3a7d3d user docs: Fix broken link in *Upload and share files* doc. 2017-03-04 19:07:46 -08:00
Cynthia Lin 777b7d4cb7 user docs: Add user guide for *Manage your uploaded files* feature.
Fixes #3723
2017-03-04 17:50:49 -08:00
Cynthia Lin 33e7ae1fd0 user docs: Mention file upload management in *Upload and share files*. 2017-03-04 17:50:49 -08:00
Cynthia Lin 9ed15fa100 user docs: Update *Mute a topic* doc with new Settings feature.
Fixes #3793
2017-03-04 17:48:42 -08:00
Raghav Jajodia 4752eb39b4 help: Added user docs for change of email address. 2017-03-04 17:32:48 -08:00
Tim Abbott 9b11993fa7 settings: Fix need to reload when changing time format.
I noticed while reviewing #3807 that we still haven't fixed this;
because timestamps are primarily displayed in the message view, fixing
this is trivial.
2017-03-01 22:43:19 -08:00
Tim Abbott 97c23bc1ab compose: Rename 'New stream message' to 'New topic'.
This doesn't update documentation, because we need to update that
anyway to show screenshots of the new compose box.
2017-03-01 21:31:43 -08:00
Tim Abbott b0f53fd1a8 check-templates: Check left and right sidebars. 2017-03-01 09:08:09 -08:00
Tim Abbott c21365cacf templates: Rename image-overlay.html to lightbox_overlay.html. 2017-03-01 09:03:35 -08:00
Tim Abbott 0712926b84 templates: Rename right-sidebar.html to right_sidebar.html. 2017-03-01 09:02:15 -08:00
Tim Abbott 748ec32349 templates: Rename left-sidebar.html to left_sidebar.html. 2017-03-01 09:00:51 -08:00
Tim Abbott 291cfa3c11 templates: Fix settings-sidebar.html usage. 2017-03-01 08:59:23 -08:00
Brock Whittaker b8f2685b18 Change bots actions to sidebar.
This changes the bot actions to a sidebar that resides in the settings
overlay.
2017-02-28 20:02:23 -08:00
Rishi Gupta bf6415cf72 analytics: Remove sidebar from /stats.
It's currently broken (e.g. see Issue #3713) and non-responsive. The whole
page needs to be styled anyway, so these can be added back once that
happens.
2017-02-28 15:50:57 -08:00
adnrs96 fee774e6b6 Clean markdown_help.html to use 4 space indents. 2017-02-28 13:57:48 -08:00
adnrs96 2181434efd Clean portico_signup.html to use 4 space indents. 2017-02-28 13:55:20 -08:00
adnrs96 22264d6086 Clean portico.html to use 4 space indents.
Tweaked manually by tabbott for minor formatting improvements.
2017-02-28 13:54:59 -08:00
Tim Abbott 9f67feba0b invite_user: Add missing translation tag. 2017-02-28 13:53:21 -08:00
adnrs96 4e73e50f6f Clean invite_user.html to use 4 space indents. 2017-02-28 13:52:03 -08:00
adnrs96 8e76b81a15 Clean api_endpoints.html to use 4 space indents.
Tweaked a bit by tabbott.
2017-02-28 13:51:48 -08:00
adnrs96 0a2c771504 Clean authors.html to use 4 space indents. 2017-02-28 13:49:59 -08:00
adnrs96 bf2bccb6f8 Clean base.html to use 4 space indents. 2017-02-28 13:49:35 -08:00
K.Kanakhin 23706a3c9e Add server error response for failed handlebars template compilation.
- Add stamp file creation for the failed templates compilation.
- Add error response to `home` route if stamp file exists. It appears
  just for the development environment.
- Add jinja2 template for failed handlebars templates compilation error.

Fixes #3650.
2017-02-28 09:44:08 -08:00
adnrs96 a4f99fdb22 Clean search_operators.html to use 4 space indents. 2017-02-26 19:33:39 -08:00
adnrs96 9320fbd1a0 Clean accounts_home.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 05ad108268 Clean zulipchat_migration_tos.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 8a08f39cde Clean tutorial_finale.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 d7ed6bd645 Clean terms.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 74b6978cc1 Clean settings_overlay.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 92d6d5a213 Clean reset_emailed.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 3664236713 Clean reset_confirm.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 aba825f858 Clean reset.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 35b3daacf3 Clean missed_message_email.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 8f5670dfbc Clean logout.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 11bf32073d Clean find_my_team.html to use 4 space indents. 2017-02-26 19:32:21 -08:00
adnrs96 5116f00b2a Clean drafts.html to use 4 space indents. 2017-02-26 19:32:20 -08:00
adnrs96 07b2fe7d27 Clean debug.html to use 4 space indents. 2017-02-26 19:32:20 -08:00
adnrs96 2465191a9a Clean deactivated.html to use 4 space indents. 2017-02-26 19:32:20 -08:00
adnrs96 15414aaeab Clean about.html to use 4 space indents. 2017-02-26 19:32:20 -08:00
adnrs96 0b9669d1df Clean create_realm.html to use 4 space indents. 2017-02-26 19:32:20 -08:00
adnrs96 f37d354cc5 Clean accounts_send_confirm.html to use 4 space indents. 2017-02-26 19:32:20 -08:00
Sampriti Panda fcfa3123d3 Fix compose box opening when clicking drafts button. 2017-02-26 18:37:03 -08:00
Elliott Jin 8decddb44b Clean up Google Calendar integration docs.
This change fixes a broken link, fixes minor typo, and includes some minor
rewording for clarity / consistency.
2017-02-25 18:20:58 -08:00
Brock Whittaker 9ee5ac6d23 Redesign compose box.
This redesigns it to closer to the new implementation design.
2017-02-24 15:07:33 -08:00
Brock Whittaker 0f9a5108fc settings: Change admin pages to have readonly view for non-admins.
This changes the layout of administration for non-administrators such
that they can view organization settings and emoji settings and
displays everything as readonly unless they have the capability to edit.

For now, we just enabled this for the emoji settings and organization
settings features.
2017-02-23 14:20:31 -08:00
Umair Khan 5bf83f9e0a change-email: Implement confirmation flow.
This adds to Zulip support for a user changing their own email
address.

It's backed by a huge amount of work by Steve Howell on making email
changes actually work from a UI perspective.

Fixes #734.
2017-02-23 03:15:17 -08:00
Sampriti Panda 1929cc5190 Implement persistent drafts functionality
* Created a drafts modal to display/restore/delete drafts
* Created a Draft model to support storing draft data in localstorage
* Removed existing restore-draft functionality
* Added casper and node tests for drafts functionality

Fixes #1717.
2017-02-23 02:58:23 -08:00
adnrs96 27c0d93ecc Clean message_history.html to use 4 space indents. 2017-02-22 20:36:12 -08:00
adnrs96 aa194f8ea9 Clean image-overlay.html to use 4 space indents. 2017-02-22 20:36:12 -08:00
adnrs96 77f412f05f Clean bankruptcy.html to use 4 space indents. 2017-02-22 20:36:12 -08:00
Ayush Jain 455c1919fc Add customizable invite-new-user text.
This makes life a lot easier for people inviting users to a new Zulip
organization, since they can give some form of context now.

Modified by tabbott to clean up CSS, backend code flow, and improve
the formatting of the emails.

Fixes: #1409.
2017-02-21 22:35:01 -08:00
Brock Whittaker 021e43356f Replace settings v1 toggle with v2 component toggle.
This replaces the settings toggle which had the same markup as the
current component toggle, but not the same JavaScript, along with
having an issue with inline-block spacing, with the new JS generated
one.
2017-02-21 11:31:00 -08:00
Kartik Maji 1a697b6e02 Add frontend to show message edit history.
Fixes #268.

Modified significantly by tabbott to:
* improve code cleanliness / repetition
* add missing translation tags
* move code into message_edit.js
* correspond with the new backend.
* not display the option for messages only topic-edited
2017-02-19 17:41:06 -08:00
Tim Abbott bbecd41376 help: Fix link to index page being present on index page.
Fixes #3613.
2017-02-18 14:59:43 -08:00
Cynthia Lin d75a1b0bfc user docs: Add user guide for *Add an emoji reaction to a message*.
Fixes #3616.
2017-02-18 14:13:57 -08:00
Cynthia Lin 6890f80383 user docs: Fix minor errors in *Star a message*. 2017-02-18 09:21:35 -08:00
Cynthia Lin 3647a6414a user docs: Add"emoji reaction" to Zulip glossary. 2017-02-18 09:21:35 -08:00
aakash-cr7 b72262e8ec Add UI for seeing all muted topics in settings page.
Fixes #2322.
2017-02-17 00:10:18 -08:00
paxapy 9a5179c460 Add support for managing and deleting attachments.
Modified substantially by tabbott to fix tons of issues.

Fixes #454.
2017-02-16 23:44:44 -08:00
Brock Whittaker 2592ea56bb Change portico navbar style.
This changes the portico navbar style to be in the new brand color
scheme along with removing the borders around the bottom nav bar.
2017-02-13 17:02:03 -08:00
Igor Tokarev 55cffa1e69 Added keyboard shortcut to edit the last message.
Tweaked significantly by tabbott to update Casper tests, document the
new feature, and fix hotkeys.

Fixes #1147.
2017-02-12 00:29:28 -08:00
Tim Abbott dd37f9ab1f help: add :s to hotkeys docs. 2017-02-11 23:19:45 -08:00
Tim Abbott 6ddb625003 help: Clean up hotkeys doc, e.g. using symbols for arrow keys. 2017-02-11 23:19:04 -08:00
Naren Surampudi 373c7c8f95 help: Document MacOS specific version of various hotkeys.
Fixes #3577.
2017-02-11 23:18:54 -08:00
Robert Hönig 6ee845d027 Add html versions of the invite and signup mails
This commit adds html versions of the invite and signup mails and renames
the existing .txt files to the preferred file extensions '.subject', '.html'
and '.txt'. The html versions of the mails are being sent along with the
text-only versions by the 'send_confirmation' function.
This fixes #3134.
2017-02-11 17:08:57 -08:00
Brock Whittaker c2e9690e34 Add line break to prevent image inline-block'ing.
The image in the page will display next in line to the previous
paragraph which is not how it should look. This adds a <br> to
make the image appear to work as a block element and go down to
the next line without corrupting the <ol> it lives within.
2017-02-10 21:46:09 -08:00
Brock Whittaker 993189f2a3 Remove link to /#settings in header.
This removes the linke to /#settings in the "Change your settings"
header at the top of the /help/change-your-settings page.
2017-02-10 21:46:09 -08:00
Brock Whittaker 5f6632c9e9 Add "back to home" button at top of help pages.
This adds a button that will bring a user back to the home
of the help section "/help".
2017-02-10 21:46:09 -08:00
Tim Abbott 85fbdd6b2d emails: Remove old 'Keyboard Shortcuts' capitalization. 2017-02-10 15:18:41 -08:00
brockwhittaker 642dac27b9 Replace the modal footers with an exit button at top of overlay.
This replaces the bootstrap default modal footers that have a
[data-dismiss] button with an .exit button in the top section of the
overlay that is styled congruently to the current subscriptions page.
2017-02-10 15:18:41 -08:00
brockwhittaker 2ef8e425d1 Change information overlay to use toggle component.
This switches from a custom tab interface to the toggle component
layout.
2017-02-10 15:18:41 -08:00
brockwhittaker 47a3ce2d35 Seperate information overlay CSS into own file.
This takes the information overlay CSS and moves it from zulip.css to
informational-overlays.css to help separate out isolated components.
2017-02-10 15:18:41 -08:00
Brock Whittaker 1500e93092 Convert overlay modals to unified modal system.
This converts three modals:

1. Markdown Help
2. Keyword Shortcuts
3. Search Operators

Into a system in which they all appear in the same overlay now.
2017-02-10 15:18:41 -08:00
Rishi Gupta cf3ae2eafe stats: Turn messages_sent_by_client into a bar chart.
Also includes a number of changes to messages_sent_by_recipient_type that
were convenient to do at the same time, since the two charts share a lot of
code.
2017-02-10 14:41:18 -08:00
Brock Whittaker 1143ed7219 redesign: Change /#settings and /#administration to an overlay.
This also adds a box-shadow to the #deactivate_self_modal so that it
looks similar to the old backdrop.
2017-02-09 23:35:10 -08:00
Tim Abbott 72ff55db2f help: Fix capitalization of various menu items. 2017-02-08 23:07:14 -08:00
Rishi Gupta 18508ca02c stats.js: Clean up code for the number of users chart. 2017-02-07 18:55:35 -08:00
Feorlen 676f0ad63f Add WordPress webhook.
Adds a new webhook integration for WordPress blogs. Both WordPress.com
and self-installed blogs are supported, with minor differences that
are described in the documentation. It creates a new message for each
action, the stream and topic may be specified or use default values.

WordPress actions supported:

publish_post:  a new blog post was published
publish_page:  a new page was published
user_register: a new user account was created
wp_login:      a user logged in

Notes: comment_post only provides the id of the parent post, not title
or link, so was not included. On further testing, I found edit_post is
not very practical, it also fires while a new post is being written, and
when posts are deleted. (I think it tracks drafts too.) I've removed it,
as it seems more confusing than useful.

Fixes #3245
2017-02-07 18:14:31 -08:00
Rishi Gupta e0cb009f1b analytics: Refactor and clean up messages_sent_over_time. 2017-02-07 15:35:43 -08:00
Tim Abbott cf87f7cd38 find_team: Automatically focus the target input box. 2017-02-07 15:29:51 -08:00
Tim Abbott 92979e3aac find_team: Show development environment email reminder. 2017-02-07 15:29:38 -08:00
Tim Abbott ec52322ae1 stats: Include Zulip and realm name in heading. 2017-02-07 11:22:57 -08:00
Rishi Gupta cd2205ac94 analytics: Remove portico header and footer from stats.html. 2017-02-07 10:49:57 -08:00
Tim Abbott babb6aaa47 settings: Stop serving zxcvbn from node_modules/.
Now that we have the minified_source_filenames feature, we don't need
to serve zxcvbn from node_modules/ directly to avoid re-minifying it.

Moving this this allows us to stop shipping the (duplicate)
node_modules directory in release tarballs, which will save many
megabytes of unnecessary increase in our release tarball size.
2017-02-06 17:21:34 -08:00
Cynthia Lin ac4d551b32 user docs: Conform *Reply to a message* to user docs styling guide. 2017-02-05 15:19:44 -08:00
Cynthia Lin 362001eb9d user docs: Make minor edits to *Add a bot or integration* doc. 2017-02-05 15:19:44 -08:00
Cynthia Lin 1ec5f01e4d user docs: Make minor edits to *Edit or delete a message* doc. 2017-02-05 15:19:44 -08:00
Cynthia Lin ee7fc103aa user docs: Make minor edits to *Make an announcement* doc. 2017-02-05 15:19:44 -08:00
Cynthia Lin d634cdbefe user docs: Make minor edits to *Join a Zulip organization* doc. 2017-02-05 15:19:44 -08:00
Cynthia Lin 862f501818 user docs: Make minor edits to *Signing out* doc. 2017-02-05 15:19:44 -08:00
Amy Liu 24f0716df3 analytics: Clean up graph styling.
This fixes a number of issues in the prototype /stats graphs, including:

* Adding a Total Users number to the Users graph.
* Changing the Messages sent over time graph so that the bot
trace is hidden by default.
* Fades out the last bars in the weekly view to represent unfinished
ata.
* Sets the default view to weekly only if the realm is > 12 weeks old.
* Gets rid of the tooltips and replaces them with hover text
for the Number of Users graph.
* Fixes a bug in the legend colors for the Messages Over Time
graph.
* It also adds the year to the hover text.
* Sets the pie chart colors and adds spaces between sectors.
* Changes the font to Humbug.
2017-02-03 17:17:23 -08:00
Cynthia Lin 0efb806861 portico: Add links to 'Features' and 'User documentation' pages. 2017-02-02 12:25:58 -08:00
Cynthia Lin 944b809fd7 docs: Replace "search help" with "search operators".
For better clarification and to avoid confusion with user documentation tab.
2017-02-02 12:25:58 -08:00
Amy Liu 0a39e354dc analytics: Add graphs of usage statistics on /stats.
This adds a frontend for the analytics system we've had for a few
months, showing several graphs of the data in Zulip.

There's a ton more that we can do with this tooling, but this initial
version is enough to provide users with a pretty good experience.

Fixes #2052.
2017-01-31 22:18:54 -08:00
Rishi Gupta d8012c5b7b user docs: Change footer to be less prominent. 2017-01-31 18:17:49 -08:00
Rishi Gupta 89c5ef76b4 user docs: Move Basics and Apps into a Misc category. 2017-01-31 18:17:49 -08:00
Tim Abbott a64cb1d687 navbar: Add a link to the /help/ site. 2017-01-31 18:15:14 -08:00
Tim Abbott 55e3731707 navbar: Rearrange the icons. 2017-01-31 18:11:54 -08:00
Cynthia Lin 056eb8d5c5 docs: Replace all instances of "accessibility" with "privacy" 2017-01-31 18:04:59 -08:00
Cynthia Lin 42487d372e docs: Update *Searching for messages* doc with new UI and features. 2017-01-31 18:04:59 -08:00
Rishi Gupta 7d02a44bc6 user docs: Rename searching-for-messages to search-for-messages. 2017-01-31 17:13:51 -08:00
Rishi Gupta 4be0fd6a6d user docs: Comment out links without articles on index.md. 2017-01-31 17:13:50 -08:00
Rishi Gupta 10810b85ab user docs: Cleanup index in preparation for 1.5. 2017-01-31 17:13:40 -08:00
Tim Abbott b3c9e186f9 help: Clean up change-your-organization-settings. 2017-01-29 23:02:20 -08:00
Cynthia Lin 7766c122b4 docs: Conform *View messages from a stream* to style guide. 2017-01-29 22:57:38 -08:00
Cynthia Lin c739e6e752 docs: Update *About streams and topics* doc. 2017-01-29 22:56:23 -08:00
synicalsyntax 969b6db7ed docs: Rename documentation URLs and titles to be the same. 2017-01-29 22:56:23 -08:00
Cynthia Lin 41d66f1ddf docs: Conform *Send a group of people a private message* to style guide. 2017-01-29 22:51:54 -08:00
synicalsyntax 26c13a42f8 docs: Conform *Enable or disable Press Enter to send* to style guide.
Also, tabbott made a number of edits to the content.
2017-01-29 22:49:23 -08:00
synicalsyntax 7ea84aa0af docs: Conform *Send a private message* to style guide. 2017-01-29 22:36:48 -08:00
synicalsyntax 8932d46657 docs: Conform *Send a stream message* to style guide. 2017-01-29 22:35:24 -08:00
Jackson db1d6933de docs: Add user guide for Using Zulip on Windows. 2017-01-29 11:38:12 -08:00
Cynthia Lin 522ac3ea4a frontend: Add #search-operators link to search icon; Fixes #1369. 2017-01-29 07:20:15 -08:00
Cynthia Lin d8c648ac05 docs: Update *Verify that you message has been successfully sent* doc.
Change wording for better clarification.
2017-01-28 22:56:09 -08:00
synicalsyntax 21534930b1 docs: Update *Searching for messages* doc. 2017-01-28 22:49:11 -08:00
synicalsyntax f6fc218ba3 docs: Fix *Join Zulip Chat button* doc.
With tweaks from tabbott to clean it up and better explain it.
2017-01-28 22:47:18 -08:00
Tim Abbott 5f4ddb9079 glossary: Add more clarity to private message discussions. 2017-01-28 22:39:35 -08:00
synicalsyntax 4504818e5e docs: Add user guide for *Send someone a private message* 2017-01-28 19:16:56 -08:00
Cynthia Lin 30b7eee3ef docs: Add user guide for *Configure email notifications* 2017-01-28 19:09:03 -08:00
Tim Abbott f96979ae72 templates: Clean references to zulip.com. 2017-01-28 18:38:43 -08:00
Tim Abbott 37dbed7a81 zephyr: Remove Webathena text from translations. 2017-01-28 18:32:57 -08:00
Tim Abbott d73a19927f zephyr: Remove unnecessary hardcoding of hostname. 2017-01-28 18:26:38 -08:00
Tim Abbott bd6f71580e docs: Remove obsolete terms-enterprise page.
This was documentation for the old zulip.com enterprise service that
no longer exists.
2017-01-28 18:12:19 -08:00
Yago González 7fe090f902 translations: Improve some poorly-worded strings. 2017-01-28 18:04:17 -08:00
Tim Abbott 36d54cf5ff Replace references to zulip.com/dist with zulip.org/dist.
Now that zulip.org has all the files to distribute, there's no reason
to still point to the soon-to-be-decommissioned zulip.com/dist.
2017-01-28 17:56:25 -08:00
synicalsyntax 7ba62c0e79 docs: Conform *Format your message using Markdown* to style guidelines. 2017-01-28 16:03:00 -08:00
synicalsyntax 3c8c72b816 docs: Update *Add emoji* doc. 2017-01-28 16:02:53 -08:00
synicalsyntax 4c0c7dd3f9 docs: Conform *@-mention a team member* to user documentation styling guidelines. 2017-01-28 15:59:44 -08:00
synicalsyntax 0f2327f9ce docs: Conform *Restore the last unsent message* to user documentation styling guidelines. 2017-01-28 15:59:44 -08:00
synicalsyntax 07d84941de docs: Update *Zulip glossary* doc. 2017-01-28 15:59:44 -08:00
sinwar 21083278b5 Fix banners for unknown streams.
Fixes #3443
2017-01-28 13:11:31 -08:00
Tim Abbott 3951e650c9 formatting help: Clean up reference to zulip.com. 2017-01-27 16:55:21 -08:00
Tim Abbott dff9b31546 help: Clean up discussion of search operators. 2017-01-27 16:00:22 -08:00
Cynthia Lin de0329b4f9 docs: Modify *Searching for messages* to include directions on viewing the first message in a topic. 2017-01-27 16:00:22 -08:00
Cynthia Lin c72d51ec45 docs: Add user guide for *Configure email digest notifications* 2017-01-27 15:32:13 -08:00
Brock Whittaker 04dfa2071f Remove unnecessary terms-page-container class.
This removes the terms-page-container class from the markdown div and
thereby removes the necessary 40px padding at the top of the div.
2017-01-27 11:41:35 -08:00
Steve Howell 80ea7db4d9 Suppress jQuery warning related to settings menu.
If you develop with Firefox, before this commit, you would
get jQuery warnings about empty selectors every time you clicked
in the app, due to a glitch with our old version of bootstrap.js.

This commit makes the error go away by setting
`data-toggle` to 'nada' for the settings-dropdown
element.

This was the error:

    Empty string passed to getElementById().

More details here:

    https://github.com/twbs/bootstrap/issues/5566
2017-01-27 07:55:30 -08:00
Steve Howell 4be2d6577d Add a new community realm to our test databases.
The realm with string_id of "simple" just has three users
named alice, bob, and cindy for now.  It is useful for testing
scenarios where realms don't have special zulip.com exception
handling.
2017-01-26 19:25:34 -08:00
Tomasz Kolek 6e6cbeb89d Split webhooks doc and move to particular directories. 2017-01-26 11:56:45 -08:00
Sampriti Panda 8fe612c319 register: Fix bugs in form field auto-fills 2017-01-24 13:39:43 -08:00
Sampriti Panda 3c3902471b register: Improve styling for server-side errors 2017-01-24 13:39:43 -08:00
Eitan Adler 0ce29d7ad6 Remove some some duplicate words in copy. 2017-01-23 23:15:04 -08:00
Rohith Asrk 9088c46e4c templates: Fix filename ending with .html.txt.
Fixes a part of #3136.
2017-01-21 22:44:13 -08:00
Tomasz Kolek cc13104780 Add Zapier integration. 2017-01-20 10:43:18 -08:00
Tim Abbott 48109b7bd8 docs: Clean up user guide index a bit. 2017-01-17 17:06:40 -08:00
Yago González ade5e762fb integrations: Add documentation for OpenShift. 2017-01-17 16:04:55 -08:00
synicalsyntax 2c6a467ba0 docs: Remove instances of "(admin only)" in index.md.
All admin only docs are now located under “Administering a Zulip
organization”
2017-01-17 14:45:15 -08:00
Cynthia Lin 0e543c7bad docs: Create and use *Administrator only feature* macro. 2017-01-17 14:45:15 -08:00
Tommy Ip c407919db3 Add /authors page.
Contributor visualization showing the avatar, user name and number
of commits for each contributors. The JSON data would be updated
upon deployment, triggered by the `update-prod-static` script.
2017-01-17 13:35:55 -08:00
synicalsyntax dab0bf80ae docs: Add *Save changes* macro to *Allow anyone to join without an invitation* 2017-01-16 19:59:37 -08:00
Cynthia Lin aa9e40b39a docs: Add *Save changes* macro to *Change a user's name* 2017-01-16 19:59:37 -08:00
Cynthia Lin 7ff7d0e76c docs: Add *Save changes* macro to *Change the default language for your organization* 2017-01-16 19:59:37 -08:00
Cynthia Lin d1a49bd174 docs: Add *Save changes* macro to *Change your avatar* 2017-01-16 19:59:37 -08:00
Cynthia Lin 1925cf4037 docs: Add *Save changes* macro to *Change your name* 2017-01-16 19:59:37 -08:00
Cynthia Lin 86e58d283c docs: Add *Save changes* macro to *Change your organization's name* 2017-01-16 19:59:37 -08:00
Cynthia Lin b090959fbc docs: Add *Save changes* macro to *Change your password* 2017-01-16 19:59:37 -08:00
Cynthia Lin cc313edbce docs: Add *Save changes* macro to *Configure audible notifications* 2017-01-16 19:59:37 -08:00
Cynthia Lin 0c305b85ce docs: Add *Save changes* macro to *Configure desktop notifications* 2017-01-16 19:59:37 -08:00