zulip/zerver
Sumanth V Rao e12f682e2e markdown: Include text & url in `topic_links` parameter of our API.
The linkifier code now includes both the shortened text and the expanded
URL, sorted by the order of the occurrence in a topic. This list is passed
back in the `topic_links` parameter of the /messages and the /events APIs.

topic_links earlier vs now:

earlier: ['https://www.google.com', 'https://github.com/zulip/zulip/32']

now: [{'url': 'https://www.google.com', 'text': 'https://www.google/com},
      {'url': 'https://github.com/zulip/zulip/32', 'text': '#32'}]

Similarly, the topic_links local echo logic in the frontend now returns
back an object.

Fixes: #17109.
2021-03-30 15:53:07 -07:00
..
data_import import/export: Fix deprecated authentication method for Slack. 2021-03-08 12:56:37 -08:00
lib markdown: Include text & url in `topic_links` parameter of our API. 2021-03-30 15:53:07 -07:00
management refactor: Make acting_user a mandatory kwarg for do_deactivate_user. 2021-03-29 15:51:45 -07:00
migrations migrations: Subscription.is_user_active denormalization - step two. 2021-03-30 09:29:36 -07:00
openapi markdown: Include text & url in `topic_links` parameter of our API. 2021-03-30 15:53:07 -07:00
templatetags python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tests markdown: Include text & url in `topic_links` parameter of our API. 2021-03-30 15:53:07 -07:00
tornado docs: Add a document explaining email/push notifications. 2021-03-05 15:24:25 -08:00
views migrations: Subscription.is_user_active denormalization - step one. 2021-03-30 09:19:03 -07:00
webhooks statuspage: Properly detect the update is for component or incident. 2021-03-30 12:06:09 -07:00
worker outgoing_webhook: Join build_bot_request and send_data_to_server. 2021-03-29 18:24:44 -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 python: Normalize quotes with Black. 2021-02-12 13:11:19 -08: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 python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
models.py migrations: Subscription.is_user_active denormalization - step two. 2021-03-30 09:29:36 -07:00
signals.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00