activitypub-academy/app
ThibG ea436b355b Add support for linking XMPP URIs in toots (#12709)
* Fix wrong grouping in Twitter valid_url regex

* Add support for xmpp URIs

Fixes #9776

The difficult part is autolinking, because Twitter-text's extractor does
some pretty ad-hoc stuff to find things that “look like” URLs, and XMPP
URIs do not really match the assumptions of that lib, so it doesn't sound
wise to try to shoehorn it into the existing regex.

This is why I used a specific regex (very close, although slightly more
permissive than the RFC), and a specific scan function (a simplified version
of the generalized one from Twitter).

* Remove leading “xmpp:” from auto-linked text
2020-01-11 02:15:25 +01:00
..
chewy Fix needlessly indexing unsearchable statuses into ElasticSearch (#12041) 2019-10-02 20:04:46 +02:00
controllers Fix base64-encoded file uploads not being possible (#12748) 2020-01-04 01:54:07 +01:00
helpers Clarify keyword arguments with ** (#12769) 2020-01-11 05:57:05 +09:00
javascript Use heading actions and placeholders in settings (#12801) 2020-01-11 02:14:45 +01:00
lib Add support for linking XMPP URIs in toots (#12709) 2020-01-11 02:15:25 +01:00
mailers Split AccountsHelper from StatusesHelper (#12078) 2019-10-24 22:50:09 +02:00
middleware Fix uncaught query param encoding errors (#12741) 2020-01-02 17:14:58 +01:00
models improve status title (#8596) 2020-01-11 06:58:16 +09:00
policies Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
presenters Fix n+1 query for bookmarks on statuses (#12494) 2019-11-28 04:08:00 +01:00
serializers Fix IDN mentions not being processed, IDN domains not being rendered (#12715) 2019-12-30 19:20:43 +01:00
services Clarify keyword arguments with ** (#12769) 2020-01-11 05:57:05 +09:00
validators Fix uncaught domain normalization error in remote follow (#11703) 2019-08-30 02:19:17 +02:00
views Use heading actions and placeholders in settings (#12801) 2020-01-11 02:14:45 +01:00
workers Suppress backtrace when delivering toots (#12798) 2020-01-11 02:15:03 +01:00