zulip/zproject
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
..
jinja2 requirements: Remove django-webpack-loader. 2021-04-06 09:31:35 -07:00
__init__.py
backends.py refactor: Make acting_user a mandatory kwarg for do_deactivate_user. 2021-03-29 15:51:45 -07:00
computed_settings.py requirements: Remove django-webpack-loader. 2021-04-06 09:31:35 -07:00
config.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py api: Delete ancient fetch_google_client_id endpoint. 2021-04-08 06:10:39 -07:00
dev_settings.py run-dev.py: Fix incorrectly printed hostname for droplets. 2021-04-06 11:16:16 -07:00
dev_urls.py urls: Add /flush_caches URL to remove all the server-side cache. 2021-03-25 12:58:36 -07:00
email_backends.py email: Set an envelope-from which may be different from the From: field. 2021-02-24 17:32:28 -08:00
legacy_urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
prod_settings_template.py giphy: Use GIPHY web SDK to allow inserting GIFs in compose box. 2021-04-05 15:04:49 -07:00
sentry.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
terms.md.template docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
test_extra_settings.py requirements: Remove django-webpack-loader. 2021-04-06 09:31:35 -07:00
test_settings.py test_settings: Use TEST_EXTERNAL_HOST to override ‘testserver’ default. 2020-12-17 13:07:59 -08:00
urls.py linkifiers: Update API to send data using dictionaries. 2021-04-13 12:16:07 -07:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00