Commit graph

482 commits

Author SHA1 Message Date
Matthias Pfefferle
a4a146edc4
Merge pull request #263 from pfefferle/protect-code-html 2023-01-28 08:15:25 +01: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
Matthias Pfefferle
b9f8294140
Merge pull request #213 from akirk/outgoing-mentions
Outgoing Mentions
2023-01-27 16:13:36 +01:00
Alex Kirk
4c8b191560 Remove whitespace 2023-01-27 15:48:29 +01:00
Alex Kirk
66220c1250 Fix assignment of dynamic property 2023-01-27 15:48:29 +01:00
Alex Kirk
03b467701d Remove no longer needed fixture 2023-01-27 15:48:29 +01:00
Alex Kirk
a5b3af1b3b Move the friends parser to the Friends plugin 2023-01-27 15:48:29 +01:00
Alex Kirk
3706e61842 Revert adding an argument 2023-01-27 15:48:29 +01:00
Alex Kirk
840d144327 Avoid replacing mentions inside links 2023-01-27 15:48:29 +01:00
Alex Kirk
fed4fcb5b4 Short-circuit some more examples 2023-01-27 15:48:29 +01:00
Alex Kirk
738208b70d Account for local urls with an @ 2023-01-27 15:48:29 +01:00
Alex Kirk
7ef6cdb7ee Add a leading at test 2023-01-27 15:48:28 +01:00
Alex Kirk
6c03ab1704 Allow for example2-style domains 2023-01-27 15:48:28 +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
7c0b101be1 Improve regex 2023-01-27 15:48:28 +01:00
Alex Kirk
0506e85aa6 Code cleanup 2023-01-27 15:48:28 +01:00
Alex Kirk
995c6c714d Don't show the ActivityPub section if there is no ActivityPub feed 2023-01-27 15:48:28 +01:00
Alex Kirk
b027d1a8d0 Fix typo 2023-01-27 15:48:28 +01:00
Alex Kirk
a0c48f3a48 Fix typo 2023-01-27 15:48:28 +01:00
Alex Kirk
a61f1168c3 Automatically hide unknown @mentions in the Friends plugin, add a setting to change this 2023-01-27 15:48:28 +01:00
Alex Kirk
6feac1be3b Add filter to disable possible mention cache 2023-01-27 15:48:28 +01:00
Alex Kirk
7d598d92a8 Revert erroneous changes 2023-01-27 15:48:28 +01:00
Alex Kirk
0925405430 Fix missing id 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
05575fe6e7 Add test for a normal dispatch activity 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
Alex Kirk
be369b11e5 Extract HTTP caching into new test base class 2023-01-27 15:48:28 +01:00
Alex Kirk
7ebb89e92e phpcs lint fixes 2023-01-27 15:48:28 +01:00
Alex Kirk
0230cf7d70 Restructure unit test to make it work again 2023-01-27 15:48:28 +01:00
Alex Kirk
b5c4f473de Start adding support for outgoing mentions 2023-01-27 15:48:28 +01:00
Matthias Pfefferle
ddbcd44b6f fix #214
thanks @mexon
2023-01-27 15:48:28 +01:00
Matthias Pfefferle
45d668d7ee
Merge pull request #262 from pfefferle/fix-post-property-access
Fix accessing post properties
2023-01-27 14:43:24 +01:00
Alex Kirk
6b8fb5af0c Fix accessing post properties 2023-01-27 14:28:56 +01:00
Matthias Pfefferle
934ef868da
Merge pull request #261 from pfefferle/hashtags-protect-tags 2023-01-27 12:43:59 +01:00
Alex Kirk
32f5bec23a Protect tags from being broken 2023-01-27 12:13:41 +01:00
Matthias Pfefferle
dbaddd9189 Simplified and optimized code
based on the Shortcode changes
2023-01-27 10:21:51 +01:00
Matthias Pfefferle
5878a12c83 remove HTML allow list 2023-01-24 11:45:37 +01:00
Matthias Pfefferle
68955b92db optimized HTML and texts 2023-01-24 11:45:17 +01:00
Matthias Pfefferle
281ed2a8c2 remove old shortcode code 2023-01-23 23:51:27 +01:00
Matthias Pfefferle
bd8906638f
Merge pull request #250 from toolstack/switch-to-shortcodes
Switch to shortcodes
2023-01-23 22:24:14 +01:00
Matthias Pfefferle
e1df129355 simplify inline help a bit 2023-01-23 22:22:22 +01:00
Matthias Pfefferle
7be74c1837 fix upgrade call 2023-01-23 21:24:54 +01:00
Matthias Pfefferle
a55dc90379 fix length 2023-01-23 21:13:50 +01:00