Matthias Pfefferle
e57932b099
fix unittests
2023-10-06 16:46:01 +02:00
Django Doucet
da2495e88f
Merge branch 'master' into Comments
2023-09-29 09:47:17 -06:00
Matthias Pfefferle
444c4b2837
Fixes PHP warnings and remote delete ( #468 )
...
* fix #463
* fix delete
/cc #465 @janboddez
* add disclaimer to not use the same name as an author login
see #470
* check if url is cached before trashing it
2023-09-27 11:05:11 +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
Matt Wiebe
8a74aa5891
Store keypairs as options keyed to user IDs. ( #416 )
2023-09-07 22:04:39 +02:00
Matthias Pfefferle
8dcbe0c6fd
fix Secops issues ( #411 )
2023-09-05 21:03:25 +02:00
Matthias Pfefferle
2705172b77
Fix some signature and application user issues ( #410 )
...
* Fix some signature and application user issues
* it seems that firefish needs at least an inbox also for application users
* prepare domain change
* use https
* fix PHPDoc
* remove image check
---------
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2023-09-01 18:32:56 +02:00
Dennis
26ad8975d7
Normalize Hashtag behavior in Mastodon Apps ( #407 )
...
* Update class-hashtag.php
* Update class-shortcodes.php
* fix unit tests
* missed two tests
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-08-31 15:04:17 +02:00
Django Doucet
43452e4443
Merge branch 'master' into Comments
2023-08-25 13:34:49 -06:00
Matthias Pfefferle
e12cfa44ac
workaround for special chars ( #379 )
2023-07-28 00:39:22 +02:00
Matt Wiebe
5b9dadd6fd
Followers Block ( #344 )
...
Introduces a new Followers block. Proudly display your Fediverse followers to the world!
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-07-26 15:05:41 -05:00
Matthias Pfefferle
dd7daf29da
simpler filter
...
thanks @mattwiebe
2023-07-20 18:33:24 +02:00
Matthias Pfefferle
f734e511f7
fix tests
2023-07-20 14:53:34 +02:00
Matthias Pfefferle
964ceee869
fix tests
2023-07-17 17:23:13 +02:00
Matthias Pfefferle
5ae978a8bc
user_id
could be an int and meta always returns strings
...
remove strict comparison in this case and add tests to verify the correct behaviour
2023-07-13 10:35:15 +02:00
Matthias Pfefferle
8920c60c61
final fixes and more tests
2023-07-10 15:14:37 +02:00
Matthias Pfefferle
0fab95bfff
enhance tests to also test announce and blog wide activities
2023-07-10 14:59:35 +02:00
Matthias Pfefferle
81d0e09f6e
fix wrong function names
2023-07-10 11:56:46 +02:00
Matthias Pfefferle
96c1e92151
optimize and simplify followers
2023-07-06 14:42:18 +02:00
Matthias Pfefferle
493b8ffad5
use transformer instead of post-model
2023-07-03 17:59:42 +02:00
Matthias Pfefferle
359eabf671
use collection instead of factory
2023-07-03 11:20:44 +02:00
Matthias Pfefferle
75a77b3f5c
finalize account handling
...
still missing: publishing
2023-06-28 18:02:14 +02:00
Matthias Pfefferle
112eb51af1
updated signature feature to new structure
2023-06-27 14:29:42 +02:00
Matthias Pfefferle
235b5aa4a1
build a simple to_array converter
2023-06-26 11:08:04 +02:00
Matthias Pfefferle
5478be1355
a follower is now a valid ActivityPub Actor
...
this helps with API handling
2023-06-23 14:54:29 +02:00
Matthias Pfefferle
bbf40a5fec
added more tests
2023-06-19 11:10:15 +02:00
Matthias Pfefferle
a71f79e979
test remove_follower
2023-06-19 11:05:01 +02:00
Matthias Pfefferle
793214cea2
now tests are green again
2023-06-16 11:40:26 +02:00
Matthias Pfefferle
46f376e05e
fix tests
2023-06-15 12:24:13 +02:00
Matthias Pfefferle
96881b940a
some refactorings and fixed the tests
2023-06-01 09:49:40 +02:00
Matthias Pfefferle
173e3abfa7
Merge branch 'signature_verification' of https://github.com/mediaformat/wordpress-activitypub into pr/299
2023-06-01 08:05:21 +02:00
Matthias Pfefferle
727aaf1c45
add signature regex test
2023-06-01 08:05:19 +02:00
Django Doucet
73cd19ec20
added test and pre_get_remote_key filter
2023-05-31 23:23:40 -06:00
Django Doucet
285925ea08
test_activity_signature
2023-05-31 06:35:58 -06:00
Matthias Pfefferle
2e537e423c
Merge branch 'master' into add/rest-namespace-constant
2023-05-16 08:10:06 +02:00
Matt Wiebe
3fa5e4f37e
now with more use
2023-05-12 15:31:53 -05:00
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
Django
af6dd43241
Merge branch 'pfefferle:master' into Comments
2023-03-10 16:34:51 -07: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