zulip/zerver
Steve Howell f6e0171d02 event_schema: Split check_reaction into add/remove.
It happens that whether you add a reaction or remove
a reaction, we send the exact same fields, just using
a different op code.

This sort of symmetry is actually kind of rare, as
usually "add" events have more fields, and "remove" events
might just send an id of something to remove.

Our openapi schema treats these as two seperate events,
so we are more consistent with it, and it helps our
schema-checking tooling for node fixtures, too.

Note that we now have to exempt the two events from
our openapi checks, due to the is_mirror_dummy field
in the deprecated user block.  We can decide how to
handle this later--one possibility is to just add it
as an optional field on the event_schema side.
2020-09-25 11:43:20 -07:00
..
data_import import_util: Migrate from run_parallel to multiprocessing. 2020-09-14 16:22:23 -07:00
lib event_schema: Split check_reaction into add/remove. 2020-09-25 11:43:20 -07:00
management tornado: Remove an unused port argument. 2020-09-18 15:13:40 -07:00
migrations migrations: Fix 0301 to replace a Python loop with SQL. 2020-09-13 20:59:09 -07:00
openapi api docs: Removing order dependency of deactivate user test. 2020-09-14 22:31:40 -07:00
templatetags python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
tests event_schema: Split check_reaction into add/remove. 2020-09-25 11:43:20 -07:00
tornado tornado: Merge the TORNADO_SERVER and TORNADO_PORTS configs. 2020-09-21 15:36:16 -07:00
views urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
webhooks bitbucket2: Format user info consistently. 2020-09-23 15:31:38 -07:00
worker lint: Fix type of initial 0 in queue monitoring. 2020-09-21 15:47:30 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py exceptions: Raise InvalidSubdomainError when realm is invalid. 2020-09-03 10:45:14 -07:00
decorator.py process_client: Don't update activity of unauthenticated users. 2020-09-23 12:07:06 -07:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py urls: Remove unused URL names and shorten others. 2020-09-22 10:46:28 -07:00
logging_handlers.py models: Force the translated role into a translated string. 2020-09-03 17:26:54 -07:00
middleware.py middleware: Move locale-setting before domain checking. 2020-09-14 22:16:09 -07:00
models.py linkifiers: Allow tildes in target URLs. 2020-09-21 21:04:02 -07:00
signals.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00