Commit graph

126 commits

Author SHA1 Message Date
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
f4f46fc084 added health checks 2021-07-23 15:46:28 +02:00
b49cc5333c optimized health check 2021-01-13 23:22:17 +01:00
3dd88fd176 prepare context for coming features 2021-01-12 12:45:17 +01: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
1e7bfc8f9d JSON representation of blog main page 2021-01-08 17:43:35 +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
0ac4bb0d8f fix inconsistent %tags% placeholder 2020-12-17 22:21:41 +01:00
627100b463 fix follow/unfollow actions 2020-12-17 21:16:09 +01:00
97b4f33a92 Merge branch 'master' of https://github.com/pfefferle/wordpress-activitypub 2020-12-17 18:28:40 +01:00
0fcc57ee04 fix hashtags replacement 2020-12-17 18:24:30 +01:00
Matthias Pfefferle
9250749b8a
Merge pull request #105 from mediaformat/digest-header
add digest header
2020-12-17 17:41:58 +01:00
c0033d8819 fix WP coding standard issue 2020-12-17 17:39:35 +01:00
Django Doucet
880073de69 Fix post date 2020-12-17 00:26:59 -05:00
Django Doucet
91f9c1e263 Fix Unfollow action - The type is Undo 2020-12-13 23:40:44 -05:00
Django Doucet
0271b57844 add digest header 2020-12-09 22:23:05 -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
b3d9f8862b oops 2020-10-01 19:55:16 +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
2a1cc45124 do not load NodeInfo class if blog is private 2020-05-23 12:34:42 +02:00
827aacc450 check params to prevent PHP warnings 2020-05-23 12:34:11 +02:00
Matthias Pfefferle
be50451636
WordPress coding style 2020-05-19 16:45:50 +02:00
Django Doucet
3c730050b7 remove irrelevent option 2020-05-18 17:36:17 -04:00
Django Doucet
3d573aa140 Only return nodeinfo data if site is public 2020-05-18 17:32:17 -04:00
19a7bddc5f check case insensitive 2020-05-18 16:46:51 +02:00
5ad36d0027 add default value 2020-05-18 16:46:31 +02:00
41a58ccda5 show inline images
fix #77
2020-05-14 23:10:25 +02:00
f9223be5d7 fix some method names
and add basic tests
2020-05-14 22:33:09 +02:00
4798b75f37 more chances to support delete 2020-05-14 21:37:59 +02:00
b8feca2d9f PHPDoc 2020-05-14 21:04:33 +02:00
c24966d683 first try of a delete activity
see #16
2020-05-14 18:02:49 +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
60ad191fdc fix follow 2020-05-04 00:06:48 +02:00
95682dbb6d change default 2020-04-28 10:03:44 +02:00
821120786f Fix debug log 2020-04-28 10:03:35 +02:00
273787295a native function invocation 2020-02-22 13:02:58 +01:00
385aac3568 improve request validation and added blacklist check 2020-02-21 11:11:03 +01:00
0d48496768 add blacklist settings 2020-02-21 11:09:31 +01:00
7bcd586eae fix get_remote_metadata_by_actor 2020-02-21 11:05:17 +01:00