Commit Graph

28360 Commits

Author SHA1 Message Date
Tim Abbott feee76eb23 export: Fix exporting files with S3 upload backend.
At some point as part of the process of supporting renumbering data,
we changed the structure of our file uploads to expect `path` to match
`s3_path`, with both having the relative path within the overall
hierarchy (including the realm ID).  This change updates the more
rarely-used S3 export code path to use that model, fixing a crash when
messages reference an Attachment object with a rewritten path_id.
2018-09-20 20:14:19 -07:00
Tim Abbott e2bd03365e import: Fix handling of recipient IDs for welcome bot.
If any user had sent the reply to the welcome bot recommended by our
tutorial, then the Zulip export/import process didn't work properly,
because we weren't including (and then remapping) the recipient ID for
sending PMs to the cross-realm bots.  This commit fixes that gap, by
recording the necessary data on the export side, and doing the
appropriate remapping on the import side.
2018-09-20 17:55:17 -07:00
Tim Abbott c9189439de import: Handle signup_notifications_stream_id.
Previously, our realm import logic only did the special remapping
logic for the original notifications_stream_id; when we added the new
signup_notifications_stream_id field, we neglected to handle it in the
same way.
2018-09-20 17:41:55 -07:00
Tim Abbott 165078b484 queue_processors: Fix bug in handling removed push notifications.
Apparently, we were falling through to the "add" case after correctly
processing the "remove" case, throwing a 500.
2018-09-20 17:36:54 -07:00
Rishi Gupta 7acd640f6a user docs: Update format-your-messages-using-markdown.
I used line-height: 22px and font-size: 16px in .message-content to take the
screenshots. Requires some additional fiddling for the LaTeX picture, inline
code block, and maybe a few others.
2018-09-19 17:09:28 -07:00
Rishi Gupta f2b4357d67 user docs: Remove link to #status-messages from left sidebar. 2018-09-18 14:48:17 -07:00
Rishi Gupta 74628ccfa6 user docs: Update at-mention-a-team-member. 2018-09-18 14:47:37 -07:00
Rishi Gupta 669c2fd752 user docs: Update verify-your-message-was-successfully-sent. 2018-09-18 14:47:33 -07:00
Eeshan Garg 0817905480 api docs: Use Markdown extension for tabbed sections. 2018-09-18 13:49:34 -07:00
Eeshan Garg 2443919a7e user docs: Use tabbed instructions on desktop-app-install-guide.
Note that the correct tab is automatically activated depending on
the user's OS.
2018-09-18 13:49:34 -07:00
Eeshan Garg ecd4f821be user docs: Automatically activate correct tab for OS-specific instructions. 2018-09-18 13:49:34 -07:00
Eeshan Garg 4c7762f696 user docs: Use tabbed instructions on logging-out. 2018-09-18 13:49:34 -07:00
Eeshan Garg 4f366daec0 markdown: Add extension for creating tabbed sections on /help and /api. 2018-09-18 13:49:34 -07:00
Akash Nimare 2385b3d1d3 notification: Add a space in narrow to message content.
We have a space for this kind of texts in other places but somehow we
missed this case. This PR fixes the same.
2018-09-17 13:58:29 -04:00
Eeshan Garg 1a3a791e0b rest-endpoints.md: Remove duplicate heading. 2018-09-17 13:28:30 -04:00
Rishi Gupta 976b5603ce user docs: Update enable-enter-to-send. 2018-09-16 18:03:10 -07:00
Rishi Gupta f56a76b53d user docs: Update manage-your-uploaded-files.
Eventually this should probably just be a document on deleting files.
2018-09-16 18:03:10 -07:00
Rishi Gupta 5b839a90ab user docs: Update upload-and-share-files. 2018-09-16 18:03:09 -07:00
Rishi Gupta 6557764373 user docs: Update preview-your-message-before-sending. 2018-09-16 18:03:09 -07:00
Rishi Gupta 5fcd96b8a1 user docs: Update add-emoji. 2018-09-16 18:03:09 -07:00
Rishi Gupta 0eba0dfdc8 user docs: Remove send-a-message-in-a-different-language.
A valiant effort, but there are too many operating systems to do this
well.
2018-09-16 18:01:18 -07:00
Rishi Gupta e46d3705de user docs: Remove several "send a message" docs.
These are now subsumed by compose-and-reply. Probably we'll want to write a
"PMs and Group PMs" doc at some point so that we have something if people
search for whether Zulip has Group PMs.
2018-09-16 15:04:05 -07:00
Rishi Gupta 7f2e428541 user docs: Add macro for opening the compose box. 2018-09-16 15:04:05 -07:00
Rishi Gupta 02be6c1530 user docs: Add compose-and-reply. 2018-09-16 14:54:42 -07:00
Rishi Gupta 957b4af81f user docs: Remove the-zulip-browser-window.
This is one of the earliest user docs we wrote (Jan 2017), and no longer
fits with our current docs strategy.
2018-09-16 10:33:39 -07:00
Rishi Gupta 556a8494c3 user docs: Add relative link to review-your-organization-settings. 2018-09-16 10:27:40 -07:00
Rishi Gupta 91c58987bf user docs: Update change-your-settings. 2018-09-16 10:26:40 -07:00
Rishi Gupta ed3500f1e2 user docs: Add related articles to view-the-markdown-source-of-a-message. 2018-09-16 10:13:43 -07:00
Rishi Gupta 0c481bab40 user docs: Update view-the-exact-time-a-message-was-sent. 2018-09-16 10:13:43 -07:00
Rishi Gupta 4fdd575a6b user docs: Update collapse-a-message. 2018-09-16 10:13:43 -07:00
Rishi Gupta 48fdeb2f97 user docs: Update star-a-message. 2018-09-16 10:13:43 -07:00
Rishi Gupta 404f4e3560 user docs: Update emoji-reactions. 2018-09-16 10:13:43 -07:00
Rishi Gupta cd57a8ede4 user docs: Update share-a-message-or-conversation. 2018-09-16 10:13:43 -07:00
Rishi Gupta 4c7bafd886 user docs: Remove the down-chevron macro. 2018-09-16 08:36:41 -07:00
Rishi Gupta 655820c13d user docs: Update the message-actions macro. 2018-09-16 08:36:41 -07:00
Rishi Gupta da759d60f8 user docs: Add the message-actions-menu macro. 2018-09-16 08:36:41 -07:00
Rishi Gupta 4000da687b user docs: Update view-a-messages-edit-history. 2018-09-16 08:36:41 -07:00
Rishi Gupta 7f1e159a45 user docs: Remove a few articles from Reading messages.
This content would be most useful in some sort of guide, perhaps an article
like "navigation and unread counts".
2018-09-16 08:24:28 -07:00
Rishi Gupta 63fb6895c8 docs: Update check-whether-someone-is-here-or-away. 2018-09-16 08:24:28 -07:00
Rishi Gupta bad4a2e8ca user docs: Update invite-a-friend-to-zulip. 2018-09-16 08:24:28 -07:00
Rishi Gupta 95edff1598 docs: Update macro section of user docs. 2018-09-16 08:24:28 -07:00
Rishi Gupta b9f227edec user docs: Remove settings.md macro. 2018-09-16 00:32:57 -07:00
Rishi Gupta 2a7e5f1ce8 user docs: Remove unused macros. 2018-09-16 00:31:01 -07:00
Rishi Gupta 1318cdfcc6 user docs: Replace go-to-stream-via-all-streams with relative link. 2018-09-16 00:22:24 -07:00
Rishi Gupta 4b3496fb92 user docs: Update browse-and-subscribe-to-streams. 2018-09-15 23:57:23 -07:00
Rishi Gupta bbce4162ba user docs: Update create-a-stream. 2018-09-15 23:57:23 -07:00
Rishi Gupta 29abb80c96 user docs: Remove view your stream subscriptions from the sidebar. 2018-09-15 23:57:22 -07:00
Rishi Gupta 506c080190 user docs: Use relative links in add-or-remove-users-from-a-stream. 2018-09-15 23:57:22 -07:00
Rishi Gupta ed3bbfaabd user docs: Update unsubscribe-from-a-stream. 2018-09-15 23:57:22 -07:00
Rishi Gupta 658ae08508 user docs: Update pin-a-stream. 2018-09-15 23:57:22 -07:00