Matt Wiebe
314ccf43a6
add a get_rest_url_by_path
helper function, and use it
2023-05-12 15:24:24 -05:00
Matt Wiebe
abfa7c7969
Allow setting the REST namespace with ACTIVITYPUB_REST_NAMESPACE
2023-05-11 13:25:30 -05:00
Matthias Pfefferle
b803914180
removed output formatting
2023-05-11 09:46:26 +02:00
Matthias Pfefferle
26a1dc9be5
use time() instead of strtotime( 'now' )
2023-05-10 18:52:13 +02:00
Matthias Pfefferle
17b66cb23d
implement cleanup_followers
and update_followers
2023-05-10 14:18:56 +02:00
Matthias Pfefferle
a673504d36
Merge branch 'master' into rewrite-followers
2023-04-28 17:38:30 +02:00
Matthias Pfefferle
ec822535c9
Follower object should not make any remote calls
2023-04-27 09:57:50 +02:00
Matthias Pfefferle
4a4a06de37
get_follower requires user_id check
2023-04-26 17:22:44 +02:00
Alex Kirk
98619dc319
Protect img tags from replacing mentions
2023-04-26 10:08:22 +02:00
Matthias Pfefferle
764a091046
fix unit tests
2023-04-25 09:31:28 +02:00
Matthias Pfefferle
cf426ab8ab
Merge pull request #265 from pfefferle/optimize-publish
...
optimize publishing
2023-04-20 15:04:34 +02:00
Matthias Pfefferle
c0cb540c4d
Fix handling of password protected posts
2023-03-02 09:54:52 +01:00
Matthias Pfefferle
72f12de96a
remove scripts later in the queue
2023-02-20 21:18:03 +01:00
Matthias Pfefferle
08ce46a1a4
Merge branch 'master' into optimize-publish
2023-02-20 18:22:17 +01:00
Matthias Pfefferle
73ae7a5d75
fix content creation
...
and added tests
2023-02-20 18:08:10 +01: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
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
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