Commit graph

84 commits

Author SHA1 Message Date
Matt Wiebe
6a0fc43a05 Set ACTIVITYPUB_REST_NAMESPACE outside of init
Needed to prevent activation errors.
2023-05-18 19:30:08 -05:00
Matthias Pfefferle
60fc581e1d coding style 2023-05-17 09:02:37 +02:00
Matthias Pfefferle
2e537e423c
Merge branch 'master' into add/rest-namespace-constant 2023-05-16 08:10:06 +02:00
Matt Wiebe
5a91fdcf0a remove debug log 2023-05-12 15:43:04 -05: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
a673504d36
Merge branch 'master' into rewrite-followers 2023-04-28 17:38:30 +02:00
Matthias Pfefferle
ca646588d2 ignore www subdomain when comparing hosts
fix #290
2023-04-25 20:44:54 +02:00
Matthias Pfefferle
84a82c2ac4 added follower model 2023-04-24 20:46:51 +02:00
Matthias Pfefferle
734750b796 use collection also for rest endpoints 2023-04-21 15:57:41 +02:00
Matthias Pfefferle
7769d76849 use a taxonomy to save the list of followers 2023-04-21 14:56:22 +02:00
Matthias Pfefferle
804ef25822 count only users that can publish_posts 2023-04-21 08:42:51 +02:00
Matthias Pfefferle
c32eec2390 some code cleanup 2023-04-20 15:22:11 +02: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
c89d8f2265 fix #269 2023-02-02 18:13:21 +01:00
Matthias Pfefferle
de32cb7b73 add changes also to the object 2023-02-02 02:36:29 +01:00
Matthias Pfefferle
365d5dd499 fix outbox 2023-02-02 02:35:57 +01:00
Matthias Pfefferle
24648d6d74 fix server config
See: https://wordpress.org/support/topic/jetpack-conflict-15/
2023-01-31 09:56:48 +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
Matthias Pfefferle
bf883418ec fix #214
thanks @mexon
2022-12-10 17:58:24 +01:00
Matthias Pfefferle
9869daffeb
Merge branch 'master' into feature-guidance 2022-12-07 18:03:19 +01:00
Matthias Pfefferle
35b2a9512e fix phpcs issue 2022-12-06 22:18:14 +01:00
Matthias Pfefferle
d5dac9699a fix user count
props @mediaformat

fix #209
2022-12-06 22:17:06 +01:00
Matthias Pfefferle
07d93e809b fix phpcs issue 2022-12-05 20:55:13 +01:00
Matthias Pfefferle
c6657d2fa8 move method to webfinger class 2022-12-05 20:48:07 +01:00
Matthias Pfefferle
d6b7cd0235
Merge branch 'master' into feature-guidance 2022-12-05 20:30:04 +01:00
Matthias Pfefferle
229e1cd6ed
Merge pull request #172 from akirk/add-friends-plugin-support
Add a parser to the Friends Plugin
2022-12-05 20:28:53 +01:00
Eana Hufwe
dacbed6614
Add Custom Post Type support to outbox API 2022-11-19 16:01:16 -08:00
Matthias Pfefferle
fba834b15d add some guidance
based on the feedback of users and the suggestion of @akirk
2022-11-15 18:22:08 +01:00
Alex Kirk
04db99730d phpcs 2022-11-09 07:17:59 -07:00
Alex Kirk
5f6cf78da1 Add a parser to the Friends Plugin 2022-11-09 07:08:32 -07:00
b3aefc62db fix webfinger for email identifiers
fix #152
2022-05-20 08:49:05 +02: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
fe90988985 fixed outbox 2021-01-09 01:25:49 +01:00
c797109fd7 consistent API response, GET inbox and filterable follower list 2021-01-05 21:56:38 +01:00
c8d341ba1f unify query params 2021-01-03 20:40:53 +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