zulip/zerver
Abhijeet Prasad Bodas 3947b0c80a linkifiers: Update API to send data using dictionaries.
* This introduces a new event type `realm_linkifiers` and
a new key for the initial data fetch of the same name.
Newer clients will be expected to use these.

* Backwards compatibility is ensured by changing neither
the current event nor the /register key. The data which
these hold is the same as before, but internally, it is
generated by processing the `realm_linkifiers` data.
We send both the old and the new event types to clients
whenever the linkifiers are changed.
Older clients will simply ignore the new event type, and
vice versa.

* The `realm/filters:GET` endpoint (which returns tuples)
is currently used by none of the official Zulip clients.
This commit replaces it with `realm/linkifiers:GET` which
returns data in the new dictionary format.
TODO: Update the `get_realm_filters` method in the API
bindings, to hit this new URL instead of the old one.

* This also updates the webapp frontend to use the newer
events and keys.
2021-04-13 12:16:07 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
lib linkifiers: Update API to send data using dictionaries. 2021-04-13 12:16:07 -07:00
management management: Use better fetch query in edit_linkifiers. 2021-04-13 09:18:18 -07:00
migrations settings: Replace invite_by_admins_policy with invite_to_realm_policy. 2021-04-07 09:02:33 -07:00
openapi linkifiers: Update API to send data using dictionaries. 2021-04-13 12:16:07 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests linkifiers: Update API to send data using dictionaries. 2021-04-13 12:16:07 -07:00
tornado request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
views linkifiers: Update API to send data using dictionaries. 2021-04-13 12:16:07 -07:00
webhooks test users: Add an escape char to a test username. 2021-04-13 11:42:06 -07:00
worker queue_processors: Simplify unnecessary use of Optional. 2021-04-13 08:54:26 -07:00
__init__.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
decorator.py api: Add REALM_DEACTIVATED error code. 2021-03-31 08:46:13 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
logging_handlers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
middleware.py middleware: Do not trust X-Forwarded-For; use X-Real-Ip, set from nginx. 2021-03-31 14:19:38 -07:00
models.py markdown: Remove logic for creating markdown engines for all realms. 2021-04-13 09:18:18 -07:00
signals.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00