Commit Graph

1979 Commits

Author SHA1 Message Date
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