Commit graph

114 commits

Author SHA1 Message Date
Matthias Pfefferle
73ae7a5d75 fix content creation
and added tests
2023-02-20 18:08:10 +01:00
Django Doucet
7e6c112679 Merge branch 'master' into Comments 2023-02-05 22:05:30 -07:00
Matthias Pfefferle
531bdc17b0 fix #266 2023-02-02 08:18:10 +01:00
Matthias Pfefferle
de32cb7b73 add changes also to the object 2023-02-02 02:36:29 +01:00
Matthias Pfefferle
3c84be1691 fix unit tests 2023-02-02 01:50:20 +01:00
Matthias Pfefferle
472ee27849 fix unit tests 2023-02-02 01:47:12 +01:00
Django
9cab6248e9
Merge pull request #4 from mexon/threaded-comments
Threaded comments
2023-01-29 22:07:32 -07: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
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
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
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
0925405430 Fix missing id 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
Matthew Exon
22e0ddc134 attempt to resolve backwards compatibility issues 2023-01-24 13:55:00 +08:00
Matthew Exon
a9a5b112b0 make filter function static 2023-01-24 13:40:28 +08:00
Matthew Exon
7fa58cf26c add first unit tests for class inbox 2023-01-24 13:23:23 +08:00
Alex Kirk
f916bca388 Add a css class to the image attachments 2022-12-03 07:38:02 +01:00
Alex Kirk
57a95fad01 Add attachment support 2022-12-02 14:27:00 +01:00
Alex Kirk
2542127d72 Move tests to front of file 2022-12-02 14:00:07 +01:00
Alex Kirk
db9e69f6e8 Fix author name override for announced posts 2022-12-02 13:59:00 +01:00
Alex Kirk
b3a26788eb Add test for announce 2022-12-02 13:43:09 +01:00
Alex Kirk
a82dea0685 Add unit test 2022-12-02 12:46:42 +01:00
33d3c8c9ab revert changes 2020-10-01 19:57:19 +02:00
1143142b0d fixed test 2020-10-01 19:55:21 +02:00
81b2b718ee rename permalink 2020-09-21 13:25:31 +02:00
f9223be5d7 fix some method names
and add basic tests
2020-05-14 22:33:09 +02:00
74c063b690 update test env 2020-05-14 22:25:29 +02:00
122461ab6e escape even more 2020-05-12 20:30:06 +02:00
9945aa7cf8 escape global constants and functions
* Add leading \ before function invocation to speed up resolving.
* Add leading \ before constant invocation of internal constant to speed up resolving. Constant name match is case-sensitive, except for null, false and true.
2020-05-12 19:42:09 +02:00
85db6f2d7e Automated native_function_invocation fixes
`php php-cs-fixer --rules=native_function_invocation fix ./ --allow-risky=yes`
2019-12-01 21:20:26 +01:00
65034d2a76 refactorings 2019-11-18 20:57:00 +01:00
2f5bf1ccc4 explicit use of global functions 2019-09-27 10:12:59 +02:00
ceaa3a4241 changed regex logic
and added some more changes
2019-08-18 23:27:06 +02:00
c53f840230 finally fixed test 2019-08-18 22:53:01 +02:00
a0d670ed77 another fix 2019-08-18 22:39:34 +02:00
aa53bec4e4 oops 2019-08-18 22:34:28 +02:00
4dae4fc350 used wrong tag name 2019-08-18 22:31:09 +02:00
47c8d57f1a setUp must be public 2019-08-18 22:25:24 +02:00
81357da49d fix php 5.3 issue 2019-08-18 22:24:34 +02:00
c9c05e263f test object links 2019-08-18 22:23:34 +02:00
bdd9bd8775 fixed tests 2019-08-18 22:16:59 +02:00
8e87800ee0 added test 2019-08-18 22:08:58 +02:00
28222008dd new tests 2019-02-28 19:32:03 +01:00
40b2651b7e big refactoring to use namespaces for a better code structure 2019-02-24 12:07:41 +01:00
b209104fdd finally fixed contact list 2019-02-19 22:43:14 +01:00
0c93b482da fixed typo 2018-09-24 20:54:59 +02:00
c0cb7af9ae basic outbox support 2018-09-24 20:53:23 +02:00