Commit Graph

14286 Commits

Author SHA1 Message Date
Sampriti Panda 45a5e47e1b compose: Fix bug on sending message to invalid streams.
The issue is that we were trying to validate the mentions before
checking that the recipient stream was valid, leading to problems
checking the membership of the stream.

Fixes #3040.
2017-01-05 15:26:54 -08:00
Sampriti Panda c15d1ff343 compose: Split validate_stream_message into separate functions. 2017-01-05 15:26:03 -08:00
Bojidar Marinov 5fc65efd69 messages: Allow rendering message content without having an actual message.
This is useful for doing rendering in the emoji search code path.
2017-01-05 15:16:43 -08:00
Tim Abbott 1262db40ea lint: Check for invalid '!!! warning'. 2017-01-05 15:15:19 -08:00
JefftheBest1 e724af3183 docs: Fix incorrect use of warning markdown. 2017-01-05 15:15:19 -08:00
Tim Abbott 8b839c96d4 lint: Check for long lines in all markdown files in general.
This has a few excludes for cases involving code blocks where it would
have been difficult to clean up.
2017-01-05 15:06:34 -08:00
Tim Abbott 9289c75f54 contrib_bots: Wrap CommuteBot docs. 2017-01-05 14:58:06 -08:00
Tim Abbott bc4a9ff722 lint: Enforce no lines longer than 120 characters in help docs.
This requires some somewhat messy changes to the all-streams macro.
2017-01-05 14:54:04 -08:00
Tim Abbott 25f083a284 help: Wrap a bunch of very long lines.
Now there are no lines longer than 140 characters here.
2017-01-05 14:45:31 -08:00
Tim Abbott efb8f8c26d docs: Wrap a bunch of long lines. 2017-01-05 14:31:34 -08:00
Tim Abbott c57ef13a62 docs: Wrap long lines in Russian style guide. 2017-01-05 14:31:34 -08:00
Tim Abbott 5dfc13d346 docs: Wrap long lines in translation guides. 2017-01-05 14:08:42 -08:00
Tim Abbott 2ce1f7c489 help: Wrap long lines in glossary. 2017-01-05 14:04:06 -08:00
Robert Hönig 4d59e2ff74 Fix typo in Spanish and Polish translation guides. 2017-01-05 13:58:46 -08:00
Cynthia Lin 6e27a64e23 docs: Remove unnecessary images. 2017-01-05 13:40:45 -08:00
Cynthia Lin 68da889a76 docs: Modify existing images to fit with documentation styling guidelines. 2017-01-05 13:40:45 -08:00
Cynthia Lin b8007b1b3c docs: Add macros to the *View the markdown source of a message* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin d737108e57 docs: Add macros to the *Unsubscribe from a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 6b7afddd20 docs: Add macros to the *Star a message* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 1c6a765a22 docs: Add macros to the *Restrict editing of old messages and topics* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin d6e9a57fa3 docs: Add macros to the *Reply to a message* doc.
This doc needs to be modified in the future to conform to the styling guidelines; only a portion was corrected.
2017-01-05 13:40:45 -08:00
Cynthia Lin c39aeeca5b docs: Add macros to the *Rename a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 990d022cd5 docs: Add macros to the *Remove someone from a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin b0f867357d docs: Add macros to the *Pin a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 1796de44a8 docs: Add macros to the *Mute a topic* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin a3e035e047 docs: Add macros to the *Mute a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 6a0f07802b docs: Add macros to the *Edit or delete a message* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 4a1f93817b docs: Add macros to the *Create a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 20151a81e9 docs: Add macros to the *Collapse a message* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin c8824b96c1 docs: Add macros to the *Change who can join a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin a9d0d0a8a8 docs: Add macros to the *Change the topic of a message* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 4aa70af05f docs: Add macros to *Change the stream description* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 22ea5f27a5 docs: Add macros to *Change the color of a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin bed7bc98bc docs: Add macros to *Browse and join streams* doc.
Also modified to serve as a reference for navigating to the Subscriptions page.
2017-01-05 13:40:45 -08:00
Cynthia Lin 24ba8d8f08 docs: Add macros to *Add or invite someone to a stream* doc. 2017-01-05 13:40:45 -08:00
Cynthia Lin 083c331e2d docs: Create *Stream Settings* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin d49b119391 docs: Create *Stream Settings scroll* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin ae79bb9f01 docs: Create *Stream actions* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin eff16b9766 docs: Create *Message actions* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin 097fbdefe4 docs: Create *Filter Streams* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin 6ad98e83b9 docs: Create *Down Chevron* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin 7f9b1b6490 docs: Create *All Streams* macro. 2017-01-05 13:40:45 -08:00
Cynthia Lin 89e9d79bb6 docs: Modify *Subscriptions* macro.
Modified to more resemble format of *Settings* and *Administration* macros.
2017-01-05 13:40:45 -08:00
andrewallen00 b376875541 interactive bots: Create yoda translator bot 2017-01-05 11:24:24 -08:00
AZtheAsian e8dafcd905 mypy: Add annotations to api/integrations/asana/zulip_asana_mirror. 2017-01-05 11:08:21 -08:00
Jackson 81bea7f926 integrations: Add documentation for Delighted. 2017-01-05 10:47:30 -08:00
Jackson 032b5e9db9 integrations: Add webhook code, API endpoint, and tests for Delighted. 2017-01-05 10:47:30 -08:00
Vamshi Balanaga 1b2472b5cb integrations: Modify solano labs integration.
This adds support for the "running" status and adds a test fixture.
2017-01-05 10:19:32 -08:00
Tim Abbott b48fcf4f8d change-your-language: Add additional details and links. 2017-01-04 23:21:45 -08:00
synicalsyntax 111dabe74f docs: Edit change-your-language.md to conform to style guide. 2017-01-04 23:16:17 -08:00