Django Doucet
06be55b61a
re-add extract mentions filter
2023-10-27 14:17:53 -06:00
Django
e7c065d173
Merge branch 'Automattic:master' into Comments
2023-10-18 22:19:48 -06:00
Matthias Pfefferle
d564915fdf
fix function call ( #503 )
2023-10-12 13:25:50 +02:00
Matthias Pfefferle
b9e49d42c3
some more fixes
2023-10-06 16:33:54 +02:00
Alex Kirk
008ae52a53
Hashtags, Mentions: Use a tag stack instead of regex for protecting tags ( #455 )
...
* Use a tag stack instead of regex for protecting tags
* Use the placeholder in the test
* Add comments
* Update comment
* ignor html comments
thanks @marcS0H
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-09-21 17:03:57 +02:00
Matthias Pfefferle
8dcbe0c6fd
fix Secops issues ( #411 )
2023-09-05 21:03:25 +02:00
Matthias Pfefferle
6e2656311b
oops
2023-08-10 15:35:10 +02:00
Matt Wiebe
3512206d48
phpcbf fixes
2023-07-19 20:39:58 -05:00
Matthias Pfefferle
bf8acf9f51
use wp_rand and change hashtags too
2023-07-18 08:14:28 +02:00
Alex Kirk
ab6aefe446
Add missing output escaping
2023-07-18 06:30:06 +02:00
Matthias Pfefferle
758912da64
do not use cache for new followers
2023-05-31 14:03:46 +02:00
Matthias Pfefferle
144356bf8a
remove unused second param
2023-05-04 08:50:44 +02:00
Matthias Pfefferle
a673504d36
Merge branch 'master' into rewrite-followers
2023-04-28 17:38:30 +02:00
Alex Kirk
98619dc319
Protect img tags from replacing mentions
2023-04-26 10:08:22 +02:00
Matthias Pfefferle
d1f6973d9b
re-add mention functionality
...
not perfect but works as expected
2023-04-25 11:59:08 +02:00
Matthias Pfefferle
c32eec2390
some code cleanup
2023-04-20 15:22:11 +02:00
Alex Kirk
7e3a5f4e68
Handle double protect
2023-01-27 17:23:25 +01:00
Alex Kirk
6ea46c5024
Protect cdata
2023-01-27 16:59:15 +01:00
Alex Kirk
e7894f4c4a
Also protect <pre>
2023-01-27 16:55:52 +01:00
Alex Kirk
cbfe6ea431
Protect code HTML
2023-01-27 16:50:04 +01:00
Alex Kirk
840d144327
Avoid replacing mentions inside links
2023-01-27 15:48:29 +01:00
Alex Kirk
b3e71ff803
Short-circuit well-known example domains
2023-01-27 15:48:28 +01:00
Alex Kirk
3db9489b5c
phpcs
2023-01-27 15:48:28 +01:00
Alex Kirk
8391e713c9
Cache more metadata and webfinger results
2023-01-27 15:48:28 +01:00
Alex Kirk
7d598d92a8
Revert erroneous changes
2023-01-27 15:48:28 +01:00
Alex Kirk
483e0a85b2
Extract mentions from the unmodified post content.
2023-01-27 15:48:28 +01:00
Alex Kirk
99b316db34
Rework inboxes for cc
2023-01-27 15:48:28 +01:00
Alex Kirk
4d05d3710b
Ensure more metadata
2023-01-27 15:48:28 +01:00
Alex Kirk
e065880085
Add ActivityPub mentions
2023-01-27 15:48:28 +01:00