Commit Graph

16110 Commits

Author SHA1 Message Date
Steve Howell 4ae81d9063 Populate message.to_user_ids in message_store.js. 2017-02-26 16:18:02 -08:00
Steve Howell df2abf0529 Populate message.to_user_ids in compose.js. 2017-02-26 16:18:02 -08:00
Steve Howell 49496cee58 Remove message param from compose.snapshot_message(). 2017-02-26 16:18:02 -08:00
Steve Howell 1daa4e3279 Extract people.email_list_to_user_ids_string(). 2017-02-26 16:18:02 -08:00
Steve Howell 6c39b4775c node test: Add tests for compose.js. 2017-02-26 16:18:02 -08:00
Steve Howell 9c63e055e2 Simplify create_message_object() for PM fields.
We now only populate PM fields if the message type is
private, and we make only one call to compose.recipient().
2017-02-26 16:18:02 -08:00
Steve Howell 4d0d18ba14 Use stream_id in recipient comparisons.
Using stream_id in recipient comparisons fixes a
bug in this scenario: go to home view, send message
to stream, wait for admin to rename stream, send
another message to the stream.  Before this change,
the stream name would live-update but you'd get a
spurious recipient bar due to the prior message still
having the old stream name in places internally.

There were other ways to fix the live-update glitch,
but it's just generally cleaner to do stream id
comparisons.

Part of this change is to add stream_id to
compose_fade.set_focused_recipient().
2017-02-26 16:18:02 -08:00
Steve Howell c02cf5dd5c Extract compose_fade.should_fade_message(). 2017-02-26 16:18:02 -08:00
Steve Howell a38bafe6ef Add compose_fade unit tests. 2017-02-26 16:18:02 -08:00
Steve Howell 96ca684d40 Remove feature_flags.fade_users_when_composing. 2017-02-26 16:18:02 -08:00
Steve Howell b3dfa79482 Remove obsolete util.same_major_recipient(). 2017-02-26 16:18:02 -08:00
Steve Howell 807afc87ba Remove feature_flags.fade_at_stream_granularity. 2017-02-26 16:18:02 -08:00
Steve Howell 49ab8035f8 Populate stream_id when composing messages. 2017-02-26 16:18:02 -08:00
Steve Howell 98a627cba8 Add message.type guard to add_subject_links(). 2017-02-26 16:18:02 -08:00
Elliott Jin f3cd3e8b8d test-backend: Raise zerver/views/invite.py test coverage to 100%. 2017-02-26 16:15:25 -08:00
Elliott Jin cebc67f9b0 test-backend: Raise zerver/views/unsubscribe.py test coverage to 100%. 2017-02-26 16:13:35 -08:00
hackerkid 9e0d3262bb Increment provision version to upgrade python dependencies. 2017-02-26 16:12:31 -08:00
Tim Abbott 4090d409a4 requirements: Install cffi and pycparser in production.
It's needed for the argon2 password hasher.
2017-02-26 16:12:31 -08:00
hackerkid 9e6a7f0112 requirements: Upgrade cchardet to 1.1.3. 2017-02-26 15:59:23 -08:00
hackerkid 2bb4144e1c requirements: Upgrade pyasn1 to 0.2.3. 2017-02-26 15:59:23 -08:00
hackerkid d1e85a654c requirements: Upgrade sphinx to 1.5.3. 2017-02-26 15:59:23 -08:00
hackerkid e09093608b requirements: Upgrade boto to 2.46.1. 2017-02-26 15:59:23 -08:00
hackerkid 1119f75ba6 requirements: Upgrade w3lib to 1.17.0. 2017-02-26 15:59:23 -08:00
hackerkid 0a008def24 requirements: Upgrade Twisted to 17.1.0. 2017-02-26 15:59:23 -08:00
hackerkid 18b9c201ed requirements: Upgrade transifex-client to 0.12.4. 2017-02-26 15:59:23 -08:00
hackerkid bcd8fca8ee requirements: Upgrade traitlets to 4.3.2. 2017-02-26 15:59:23 -08:00
hackerkid c4fd148b42 requirements: Upgrade social-auth-core to 1.2.0. 2017-02-26 15:59:23 -08:00
hackerkid 5f49da7f50 requirements: Upgrade social-auth-app-django to 1.1.0. 2017-02-26 15:59:23 -08:00
hackerkid 7d895ae998 requirements: Upgrade Scrapy to 1.3.2. 2017-02-26 15:59:23 -08:00
hackerkid cab584f803 requirements: Upgrade scandir to 1.5. 2017-02-26 15:59:23 -08:00
hackerkid 89c23834cb requirements: Upgrade requests_oauthlb to 0.8.0. 2017-02-26 15:59:23 -08:00
hackerkid 9d01b9f4a9 requirements: Upgrade requests to 2.13.0. 2017-02-26 15:59:23 -08:00
hackerkid 672245f72e requirements: Upgrade regex to 2017.2.8. 2017-02-26 15:59:23 -08:00
hackerkid ea56d87f72 requirements: Upgrade python-ldap to 2.4.32. 2017-02-26 15:59:23 -08:00
hackerkid 77c9d3e382 requirements: Upgrade pytest-runner to 2.11.1. 2017-02-26 15:59:23 -08:00
hackerkid 0b3d21964a requirements: Upgrade Pygments to 2.2.0. 2017-02-26 15:59:23 -08:00
hackerkid 66817cd118 requirements: Upgrade prompt-toolkit to 1.0.13. 2017-02-26 15:59:23 -08:00
hackerkid b4f4784764 requirements: Upgrade Markdown to 2.6.8. 2017-02-26 15:59:23 -08:00
hackerkid 34c55ce461 requirements: Upgrade lxml to 3.7.3. 2017-02-26 15:59:23 -08:00
hackerkid b6a595c5a3 requirements: Upgrade Jinja2 to 2.9.5. 2017-02-26 15:59:23 -08:00
hackerkid 2a2328b725 requirements: Upgrade ipython to 5.3.0. 2017-02-26 15:59:23 -08:00
hackerkid 3810f5ffea requirements: Upgrade httplib2 to 0.10.3. 2017-02-26 15:59:23 -08:00
hackerkid 767f21c397 requirements: Upgrade google-api-python-client to 1.6.2. 2017-02-26 15:59:23 -08:00
hackerkid f61bfb0186 requirements: Upgrade fonttools to 3.7.2. 2017-02-26 15:59:23 -08:00
hackerkid 6b672ea992 requirements: Upgrade django-auth-ldap to 1.2.9. 2017-02-26 15:59:23 -08:00
hackerkid e5a1ccbed6 requirements: Upgrade defusedxml to 0.5.0. 2017-02-26 15:59:23 -08:00
hackerkid d50efc6c4e requirements: Upgrade cryptography to 1.7.2. 2017-02-26 15:59:23 -08:00
hackerkid 903611c4f5 requirements: Upgrade certifi to 2017.1.23. 2017-02-26 15:59:23 -08:00
Tim Abbott fc56141550 settings: Fix typo in icon upload. 2017-02-26 12:42:58 -08:00
Tim Abbott 4ea997493b events: Normalize realm_icon events to be standard.
This lets us save on semi-duplicate code, both in server_events.js and
in zerver/lib/events.py, and makes our event structure a bit more
predictable.
2017-02-26 12:16:07 -08:00