Commit graph

292 commits

Author SHA1 Message Date
Django Doucet
a6657edd4a fix pagination 2022-12-19 14:16:55 -07:00
Django Doucet
fe7def2c84 Fix js assets enqueue 2022-12-19 14:16:55 -07:00
Django Doucet
5dbf365c58 associate comments to back compat post 2022-12-19 14:16:54 -07:00
Django Doucet
b1f64f6828 fix file path 2022-12-19 14:16:54 -07:00
Django Doucet
d7c9e10c21 Separate file for Comment processing hooks 2022-12-19 14:16:54 -07:00
Django Doucet
18a8752c6a move js file to assets/js 2022-12-19 14:16:54 -07:00
Django Doucet
8cce944edd Post class fix attributes 2022-12-19 14:16:54 -07:00
Django Doucet
1ef6fc21c1 Comments class missing attributes 2022-12-19 14:16:54 -07:00
Django Doucet
f87dbd87be replace ap_comment_id to reuse replytocom var 2022-12-19 14:16:54 -07:00
Django Doucet
de74f1d70b Fix send_delete_activity 2022-12-19 14:16:54 -07:00
Django Doucet
c801d072c8 more style fixes 2022-12-19 14:16:54 -07:00
Django Doucet
852634360b style fix 2022-12-19 14:16:53 -07:00
Django Doucet
055c22e9c3 Add comments view, warnings to migrate page 2022-12-19 14:16:53 -07:00
Django Doucet
8707387ab8 Improve migration UX 2022-12-19 14:16:53 -07:00
Django Doucet
ecbe724b82 code cleanup 2022-12-19 14:16:53 -07:00
Django Doucet
6a69a40295 Fix announce, clarified language 2022-12-19 14:16:53 -07:00
Django Doucet
63bf62402d regression fix 2022-12-19 14:16:53 -07:00
Django Doucet
aa1b54462e code cleanup 2022-12-19 14:16:53 -07:00
Django Doucet
be9b74478d Migrate tools 2022-12-19 14:16:53 -07:00
30a37dab6e fix webfinger for email identifiers
fix #152
2022-12-19 14:16:53 -07:00
Django Doucet
3db5fb2626 bugfix 2022-12-19 14:09:55 -07:00
Django Doucet
5d8e3a9ba9 Migrate / Update script 2022-12-19 14:09:55 -07:00
Django Doucet
e5080f8693 code standards cleanup 2022-12-19 14:09:55 -07:00
Django Doucet
8e1c9ff6bb Replies Collection, settings, other fixes 2022-12-19 14:09:54 -07:00
Django Doucet
51643142aa coding standards 2022-12-19 14:09:54 -07:00
Django Doucet
73e6be9782 webfinger_extract remove extra param 2022-12-19 14:09:53 -07:00
Django Doucet
8938c67073 Comments update 2022-12-19 14:09:53 -07:00
6772d300b4 phpcs fixes 2022-12-19 14:09:53 -07:00
8733957963 fix #135 2022-12-19 14:09:52 -07:00
338200b386 fix "Follow" issue
fix #133
2022-12-19 14:09:52 -07:00
Alex Kirk
034ba0554d Don't access transient when receiving a WP_Error 2022-12-15 11:37:00 +01:00
Matthias Pfefferle
e21806d06f
Merge pull request #217 from akirk/fix-typo 2022-12-11 09:23:00 +01:00
Alex Kirk
7e6fbd60b3 Fix typo 2022-12-11 09:16:50 +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
6042b7bd44 add missing namespace 2022-12-06 17:38:32 +01:00
Matthias Pfefferle
13ea3f09dd better wording 2022-12-06 17:20:01 +01:00
Matthias Pfefferle
bb9f9d5776 fix broken namespace 2022-12-06 11:03:33 +01:00
Matthias Pfefferle
2a8cd2a54f use tab instead of different settings pages 2022-12-06 10:58:32 +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
Matthias Pfefferle
03704fb74e use install thickbox 2022-12-05 20:27:04 +01:00
Matthias Pfefferle
c1e128fbcd some text improvements
props @krafit
2022-12-05 17:45:56 +01:00
Matthias Pfefferle
603199c9e8 add recommended plugins 2022-12-02 18:23:56 +01:00
Alex Kirk
a82dea0685 Add unit test 2022-12-02 12:46:42 +01:00
Matthias Pfefferle
19117323f9 Added some debug data 2022-11-22 00:05:17 +01:00
Eana Hufwe
dacbed6614
Add Custom Post Type support to outbox API 2022-11-19 16:01:16 -08:00
Matthias Pfefferle
6232bddcd7 load only an activitypub settings pages 2022-11-19 13:15:21 +01:00
Matthias Pfefferle
30919b1f7b be more descriptive 2022-11-15 20:50:56 +01:00
Matthias Pfefferle
2f8579cfe1 use ActivityPub instead of Fediverse
to be consistent
2022-11-15 20:49:05 +01:00
Matthias Pfefferle
7f346baf69 remove spec and test links
and replace them with support and bug links
2022-11-15 20:37:18 +01:00
Matthias Pfefferle
0a1e5c13f3 fix phpcs issue 2022-11-15 18:24:14 +01: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
3def583269 typo 2022-11-09 07:27:50 -07:00
Alex Kirk
eff60ed5dd Fix the signature for HTTP GET requests 2022-11-09 07:25:10 -07: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
f677d1a7d4 fix #135 2022-01-17 11:03:30 +01:00
7b262fd613 fix "Follow" issue
fix #133
2021-11-17 21:11:34 +01:00
Django Doucet
17c386cb9d Comments 1 2021-09-06 00:25:02 -06: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
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
ddabb0a0bf fix indents 2020-02-11 10:14:21 +01:00
9b894a7d14 use title instead of titlelink 2020-02-11 10:03:59 +01:00
bgcarlisle
d7a2b9a237 Added new post type: "title and link only" 2020-01-22 15:57:01 +01:00
Matthias Pfefferle
965c8ca804
Merge pull request #83 from BenLubar-PR/authorized-fetch
support authorized fetch to avoid having comments from "Anonymous"
2020-01-19 16:22:30 +01:00
Matthias Pfefferle
87aa2e1af1
Merge pull request #82 from BenLubar-PR/title
Use the "summary" property for a title as Mastodon does.
2020-01-19 16:21:22 +01:00
Ben Lubar
fbcf2dbabc
support authorized fetch to avoid having comments from "Anonymous" 2020-01-18 12:56:30 -06:00
Ben Lubar
b4a79fd57e
Use the "summary" property for a title as Mastodon does. 2020-01-18 12:38:08 -06:00
Ben Lubar
f387177ebf
Add image alt text to the ActivityStreams attachment property in a format that Mastodon can read. 2020-01-18 12:36:46 -06: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
937618101e disable broken delete activity 2019-11-27 08:25:04 +01:00
be721e851e fix #73 2019-11-24 21:25:25 +01:00
65034d2a76 refactorings 2019-11-18 20:57:00 +01:00
0152fc39a8 fix accept-header bug 2019-09-30 07:59:19 +02:00
acca7d078c version bump 2019-09-29 20:05:20 +02:00
55ca69fd22 add all required accept header 2019-09-29 18:23:22 +02:00
0337b78fef better/simpler accept-header handling 2019-09-29 18:22:59 +02:00
9fd551f07d add debugging mechanism 2019-09-28 14:17:58 +02:00
2e010c8ad5 Add setting to enable AP for different (public) Post-Types
For example PodLove "Episodes".

fixes #65
2019-09-27 15:00:07 +02:00
de62e95102 fix #56 2019-09-27 11:37:15 +02:00
ad691bc488 Merge branch 'master' of https://github.com/pfefferle/wordpress-activitypub 2019-09-27 10:13:03 +02:00
2f5bf1ccc4 explicit use of global functions 2019-09-27 10:12:59 +02:00
Alex Gleason
b266ad0aa1
Fix comments 2019-09-07 21:32:58 -05:00
453acb7329 fixed PHP warnings 2019-08-21 15:06:48 +02:00
2e91ce11de Moved followers list to user-menu 2019-08-21 10:38:43 +02:00
b6b0743b3f added admin_email to metadata
to be able to "Manage your instance" on https://fediverse.network/manage/
2019-08-20 13:03:06 +02:00
a0d670ed77 another fix 2019-08-18 22:39:34 +02:00
bdd9bd8775 fixed tests 2019-08-18 22:16:59 +02:00
f80f6a791f new dispatcher class 2019-08-18 21:54:11 +02:00
Armando Lüscher
344d981ce8
Initial proofread 2019-07-28 22:12:11 +02:00
55303bf34c check if inbox exists
...to prevent warnings
2019-07-26 17:07:43 +02:00
1ab723eb7a as2 is used by an other plugin 2019-07-26 17:06:53 +02:00
8d91b213e7 fixed inbox problems with pleroma 2019-03-14 23:10:11 +01:00
a0471a9eef added following endpoint 2019-03-12 22:20:04 +01:00
5a74aa4a4d simplified "followers" endpoint 2019-03-12 22:19:51 +01:00