Commit Graph

77 Commits

Author SHA1 Message Date
0c6d8e1fd7 Don't forward activities whose objects are actors 2019-03-10 09:27:47 -04:00
scottandrewlepera
4e4d78fdb1 Replace function array dereferencing with PHP 5.x-friendly syntax. 2018-12-08 22:12:27 -08:00
b065fba502 Revert "Use actual site root for webfinger discovery"
This reverts commit 7161cb4ebe.
2018-11-20 22:36:12 -05:00
7161cb4ebe Use actual site root for webfinger discovery 2018-11-17 07:28:37 -05:00
b256295c0a Don't call wpdb_prepare with no arguments 2018-11-11 22:38:43 -05:00
3e6ddf96b6 Make sure actor actually exists before handling outbox/inbox requests 2018-11-11 09:32:08 -05:00
a7d8352cac Fix SQL syntax 2018-11-11 09:11:33 -05:00
9672c1e1c1 Account for clients not always sending ACCEPT header 2018-11-11 09:02:51 -05:00
4d73cf1e5e Refactor upsert_object function 2018-11-11 08:58:32 -05:00
e8d59df0a9 Set manuallyApprovesFollowers to false 2018-11-09 22:08:27 -05:00
0881890b41 Don't choke if there an object with an empty APID already in the db 2018-11-09 08:14:01 -05:00
bea3a63ff4 Add blog icon setting 2018-11-08 08:50:29 -05:00
ab3e86d3f6 Remove outdated TODO 2018-11-07 07:51:29 -05:00
bccd383de3 Implement site name and description settings 2018-11-06 08:18:04 -05:00
6a693cd806 Send Delete for all actors on plugin uninstall 2018-11-04 07:58:07 -05:00
47ef0ed10f Remove debug logging 2018-11-03 14:34:00 -04:00
49f94816b6 Add uninstall hook; decompact actor and object before delivery 2018-11-03 14:30:16 -04:00
ad41469d87 Log delivery errors 2018-11-02 06:44:03 -04:00
813a16a37c Don't compact the publicKey 2018-11-01 08:29:08 -04:00
d53eb2af9d Fix icon array function 2018-11-01 08:12:09 -04:00
e791f241f5 Structure icons correctly 2018-11-01 08:05:04 -04:00
8d335bf3da Send an Update when blog details are updated 2018-11-01 07:36:07 -04:00
f1e577fd01 Don't attempt to dereference in the outbox 2018-11-01 07:09:17 -04:00
725fc1e029 Fix duplicate comments 2018-10-31 07:56:22 -04:00
5713d23a9f Derefence all the objects 2018-10-30 17:19:16 -04:00
21479922b7 Use guest commenter names instead of emails 2018-10-30 16:04:17 -04:00
a3fa00640d Compact object before storing them and store the url 2018-10-30 15:52:58 -04:00
ec9cbe8364 Disable comment syncing when comments are closed on a post 2018-10-29 06:21:27 -04:00
ff53ef2e9d Handle incoming update and delete activities with linked comments 2018-10-28 13:18:08 -04:00
6cc82927d3 Extract comment linking logic to its own namespace 2018-10-28 12:53:33 -04:00
16efff7396 Fixed outbox permissions for commenters and non-owner users 2018-10-27 12:00:47 -04:00
79f741f332 Implement comment syncing 2018-10-27 08:17:57 -04:00
9453fd6299 Properly link comments to AP objects 2018-10-26 15:01:14 -04:00
4d5664e090 [WIP] Start implementing inbound comments 2018-10-26 09:23:19 -04:00
f9addf7dc2 Create keys for new users and pass correct number of arguments 2018-10-26 07:07:49 -04:00
aa53db8849 Address comments to attributedTo and actor of parents 2018-10-26 06:41:31 -04:00
11038262eb Calculate current url correctly 2018-10-24 20:32:05 -04:00
0de2b2c7e1 [WIP] Hack on comments 2018-10-24 19:25:47 -04:00
3293e50d71 Don't truncate debug log 2018-10-24 07:57:29 -04:00
7b8a35d8b0 Implement outbound comment syncing for not-logged-in users
Although it is possibly not working...
2018-10-24 07:31:38 -04:00
87aae44c72 [WIP] Implement WP->Mastodon comment syncing 2018-10-23 18:52:36 -04:00
26dcd8e580 Save actors as objects 2018-10-21 10:06:48 -04:00
d8c4a5cd8b Respond correctly to requests with Accept: application/ld+json 2018-10-21 09:41:17 -04:00
44f3117eaa Formatting and a bug fix 2018-10-21 09:41:07 -04:00
aa7338c042 Clean up typos from refactoring 2018-10-21 08:52:56 -04:00
a85bbc7333 Prefix all namespaces with "pterotype" 2018-10-20 22:34:20 -04:00
8d2d75da40 Send accept activities after the follow request has been handled 2018-10-18 07:34:27 -04:00
17766a154d Fix request signatures
Accepting the follow request still isn't working, though...
2018-10-17 08:19:52 -04:00
ccede6a45c [WIP] Add logging; start debugging request signing 2018-10-17 07:08:48 -04:00
03f171a8fd Decode followers/following json 2018-10-11 07:20:46 -04:00