Commit graph

61 commits

Author SHA1 Message Date
Matthias Pfefferle
92712e1d4a
Merge branch 'master' into signature_verification 2023-05-19 12:01:53 +02:00
Matthias Pfefferle
dd486e552f some code cleanups 2023-05-19 12:00:11 +02:00
Matthias Pfefferle
cfb162c620
Merge branch 'master' into signature_verification 2023-05-17 09:59:02 +02:00
Matthias Pfefferle
60fc581e1d coding style 2023-05-17 09:02:37 +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
Django Doucet
656a2b0f44 remove unneeded filter 2023-05-05 13:22:47 -06:00
Matthias Pfefferle
8aa3f53dbd no need to use Followers any more 2023-05-05 10:22:01 +02:00
Matthias Pfefferle
e57dd0590d
Merge branch 'master' into signature_verification 2023-05-05 10:15:26 +02:00
Matthias Pfefferle
958b712e5b Merge branch 'signature_verification' of https://github.com/mediaformat/wordpress-activitypub into pr/299 2023-05-02 09:50:11 +02:00
Matthias Pfefferle
857fae9db1 serve_request is not needed any more
this was only for handling the signing, so no more need for that
2023-05-02 09:50:08 +02:00
Matthias Pfefferle
84a82c2ac4 added follower model 2023-04-24 20:46:51 +02:00
Django Doucet
f396c6da4e Optimize verification code and returns WP_Errors 2023-04-21 15:25:39 -06:00
Django Doucet
036ee3180b move signature verification to callback 2023-04-21 07:53:12 -06:00
Matthias Pfefferle
7769d76849 use a taxonomy to save the list of followers 2023-04-21 14:56:22 +02:00
Matthias Pfefferle
a8b963ec26 some code cleanups 2023-04-21 08:51:38 +02:00
Matthias Pfefferle
5a6f8aff02
Merge branch 'master' into signature_verification 2023-04-20 22:23:15 +02:00
Matthias Pfefferle
c32eec2390 some code cleanup 2023-04-20 15:22:11 +02:00
Django Doucet
30d78417d8 Fixes key retrieval 2023-04-14 23:53:43 -06:00
Django Doucet
2293c0b3d7 use verify_http_signature in validate_callback
rename verify_signature
2023-04-02 16:38:39 -06:00
Django Doucet
0c7cec3eba Fix signature parse verification 2023-04-01 10:17:56 -06:00
Django Doucet
8f80a70ee5 Merge branch 'master' into signature_verification 2023-03-11 16:12:05 -07:00
Django Doucet
a6b057b69d Merge branch 'master' into signature_verification 2023-03-11 16:10:29 -07:00
Matthias Pfefferle
08ce46a1a4
Merge branch 'master' into optimize-publish 2023-02-20 18:22:17 +01:00
Matthias Pfefferle
e2c1dc28b5 fix #281 2023-02-16 09:12:01 +01:00
Matthias Pfefferle
de32cb7b73 add changes also to the object 2023-02-02 02:36:29 +01:00
Matthias Pfefferle
bf0b51ceb3 only save public activities
first step to #72
2022-12-27 14:43:37 +01:00
Matthias Pfefferle
9acd0732d4 hide users that can not publish posts
fixes #230
2022-12-27 14:03:10 +01:00
Alex Kirk
5f6cf78da1 Add a parser to the Friends Plugin 2022-11-09 07:08:32 -07:00
Django Doucet
86c796090d Signature Verification with phpseclib3 2022-02-28 16:11:04 -07:00
44c652eba8 phpcs fixes 2022-01-27 13:09:11 +01:00
7b262fd613 fix "Follow" issue
fix #133
2021-11-17 21:11:34 +01:00
6795d707c8 fix Inbox issue
fix `PHP Warning: Undefined variable $user_id in wp-content/plugins/activitypub/includes/rest/class-inbox.php on line 111`

https://github.com/pfefferle/wordpress-activitypub/issues/88#issuecomment-886254210
2021-07-26 09:48:51 +02:00
2646a98b46 added functional shared inbox 2021-01-09 01:26:26 +01:00
c797109fd7 consistent API response, GET inbox and filterable follower list 2021-01-05 21:56:38 +01:00
46436cb49b disable flood control 2020-12-28 23:33:26 +01:00
bad4ca2bbd check for a comment_post_ID
this fixes #101

direct messages will be re-added via #95
2020-12-18 17:46:03 +01:00
5d7ad7f4b2 use "pre_option_require_name_email" filter instead of "check_comment_flood"
thanks @akirk
2020-12-18 17:36:07 +01:00
e7c0526103 check if it is an explicit "undo -> follow" action 2020-12-18 17:30:17 +01:00
627100b463 fix follow/unfollow actions 2020-12-17 21:16:09 +01:00
Django Doucet
91f9c1e263 Fix Unfollow action - The type is Undo 2020-12-13 23:40:44 -05:00
Alex Kirk
953cf71994
Filter option in favor of updating the database 2020-10-22 21:29:14 +02:00
53aa974461 do not require email for AP entries 2020-10-09 13:19:17 +02:00
a875b90054 remove blocklist feature in favor of the comment blocklist 2020-09-21 13:20:39 +02:00
fb22aeae71 update to REST API changes (WP 5.5) 2020-09-18 16:36:09 +02:00
edc334a1fb add prefixes 2020-07-21 09:27:35 +02:00
d260d7c276 add support for custom post content
fix #97 #91
2020-07-21 09:23:35 +02:00
60ad191fdc fix follow 2020-05-04 00:06:48 +02:00
273787295a native function invocation 2020-02-22 13:02:58 +01:00