zulip/zerver
Yago González 9244a6740e reactions: Make the emoji_code optional for adding a rection.
Complete, correct implementations of Zulip's emoji reactions API need
to send both emoji_code and emoji_name in order to add a reaction;
this is important for corner cases around clicking on a reaction in a
message that was first reacted to a year ago, when the emoji
name->code mappings have changed for the given code point in the
intervening time.

However, for folks building tools using the Zulip API, that corner
case is not particularly common; as a result, it makes sense to offer
an interface that allows adding a reaction by only specifying the
emoji name.

This is why the only field that needs to be required is emoji_name,
which can now be mapped to a single emoji. Both fields will be
necessary when "voting" an old reaction, but since we stil allow
specifying the two of them, these changes offer retrocompatibility.
2018-07-11 19:34:48 +05:30
..
lib auth: Fix bug with subdomains and GitHub auth causing apparent logouts. 2018-07-10 16:49:00 +05:30
management Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
migrations billing: Add initial support for seat based plans. 2018-07-09 14:33:08 +05:30
openapi api docs: Migrate POST /users/me/subscriptions to OpenAPI. 2018-07-03 20:15:34 +02:00
templatetags minified_js: Clean up unused imports. 2018-07-04 17:38:55 +02:00
tests reactions: Make the emoji_code optional for adding a rection. 2018-07-11 19:34:48 +05:30
tornado requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
views reactions: Make the emoji_code optional for adding a rection. 2018-07-11 19:34:48 +05:30
webhooks Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
worker registration: Use tokenized noreply address in user invite. 2018-06-23 12:03:30 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py custom profile fields: Extract a separate various for whether enabled. 2018-06-07 11:35:04 -07:00
decorator.py 2FA: Add zulip_otp_required decorator. 2018-05-23 15:46:57 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py signup: Prevent users from signing up with email containing +. 2018-06-23 12:03:30 -07:00
logging_handlers.py test_logging_handlers: Mock out `git describe` because can be slow. 2018-03-23 18:24:51 -07:00
middleware.py zerver: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
models.py models: Add USER_SOFT_DEACTIVATED event type constant to RealmAuditLog. 2018-07-10 15:42:26 +05:30
signals.py auth: Added time conversion in new login emails. 2018-06-07 08:40:22 -07:00
static_header.txt