Commit Graph

115 Commits

Author SHA1 Message Date
Michael 68502daed0 New post class in protocol and worker classes 2021-01-16 04:14:58 +00:00
Michael 2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Hypolite Petovan 486b43f09d Avoid unmarking for archival an empty contact in Protocol\ActivityPub\Receiver
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-733198306
2020-11-24 17:32:52 -05:00
Michael e4e9a20ac8 Don't transmit to archived inboxes 2020-11-23 19:25:22 +00:00
Hypolite Petovan fa003eaa84 Fix expected implementation of JsonLD::fetchElementArray
- Added expected field value matching
2020-11-11 11:19:08 -05:00
Michael e548d647aa New table for attached media files 2020-10-29 05:20:26 +00:00
Michael eff4d18209 Force removal from relay list 2020-09-29 05:06:37 +00:00
Michael 9ea34370a6 We now inherit the causer for completing a thread 2020-09-25 12:16:08 +00:00
Michael 9552473db5 Issue 9264: post types should now work 2020-09-25 06:47:07 +00:00
Michael d9d1268194 Issue 9264: Ensure that "pt_follower" is only set when its a real follower 2020-09-24 10:26:28 +00:00
Michael b0c9c9b7cb Relay settings are now valid for the ActivityRelay as well 2020-09-22 15:48:44 +00:00
Michael 11d2b027ec Additional direction for fetching content 2020-09-21 15:17:33 +00:00
Michael c082109ff9 Show if a post arrived via relay 2020-09-21 12:31:20 +00:00
Michael 1898c0c351 Fix notice "Undefined index: gravity" 2020-09-20 04:49:48 +00:00
Michael 5f46b09772 Added some logging 2020-09-17 04:31:38 +00:00
Michael 178455928a We can now manage relay servers and can send content to them 2020-09-15 17:45:19 +00:00
Michael 4930991734 Process incoming relay posts / fix importing posts 2020-09-14 20:58:41 +00:00
Michael 08fa5f0c19 We now set the "global" direction 2020-09-14 17:48:57 +00:00
Michael 5a41cd437d Add additional direction types 2020-09-13 14:15:28 +00:00
Michael a491c5d916 Store and display to/cc/bcc 2020-09-12 17:45:04 +00:00
Michael e9f462f0a3 AP: Improved checks for incoming posts 2020-09-12 12:12:55 +00:00
Michael d64c910f69 Reworked receiver detection 2020-09-09 16:55:14 +00:00
Michael 62ce87dfe6 Fixing processing forum posts 2020-08-09 22:46:18 +00:00
Michael f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00
Michael Vogel 41141965fc
Merge pull request #8904 from MrPetovan/task/ap-conversion-admin-module
Add new admin debug module for ActivityPub
2020-07-21 21:32:06 +02:00
Hypolite Petovan c26cc5b75e Expand scope of prepareObjectData in ActivityPub\Receiver 2020-07-20 00:38:45 -04:00
Hypolite Petovan 259a62f9dd Separate concerns between postItem and createItem in ActivityPub\Processor
- postItem now only posts items created with createItem without altering it
- createItem  now only creates an item array from an activity without posting it
- postItem scope is now public
2020-07-20 00:37:43 -04:00
Hypolite Petovan 05bd0d0b67 Add support for multiple Link as urls of Images in ActivityPub\Receiver
- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955
2020-07-20 00:28:11 -04:00
Hypolite Petovan 01e9beffc2 [ActivityPub] Add support for more attachments structures
- Add support for type: Page into [attachment], type: Link using href attribute
- Ensure Receiver::process* parameter is an array
- Remove superfluous eptiness check in JsonLD::fetchElementArray
2020-06-07 15:41:11 -04:00
Michael 079738a8b5 Fix a fatal error when an undo doesn't contain an object 2020-05-14 04:53:56 +00:00
Hypolite Petovan 8abaac6d79 Account for missing location value in ActivityPub\Receiver 2020-05-07 10:14:38 -04:00
Hypolite Petovan 3c0547c6e8 Ensure post location received through ActivityPub is in plaintext 2020-05-06 22:41:59 -04:00
Michael 1fef1ef6e9 Issue 7771: Funkwhale support 2020-03-24 23:12:53 +00:00
Michael 50e0ea5b3e Funkwhale support added, Peertube support improved 2020-03-23 04:43:06 +00:00
Michael 9390748187 Store "sc:identifier" as GUID as well 2020-03-05 08:06:19 +00:00
Michael 7b7132971a Raw content is now stored with announce messages as well 2020-03-04 06:04:27 +00:00
Michael 8410c5e283 The direction field needs to be removed 2020-03-03 22:43:19 +00:00
Michael 986877b1cf Restore previous state 2020-03-03 22:22:59 +00:00
Michael e38640da76 The original content of the post hadn't always been stored 2020-03-03 21:58:03 +00:00
Michael af6db65961 Store the push/pull direction in the conversation table 2020-03-03 08:01:04 +00:00
Michael 6f0d40c6c0 Merge remote-tracking branch 'upstream/develop' into push-pull 2020-03-03 06:55:13 +00:00
Michael 72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
Michael ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Michael 1743682153 We don't need to pass the protocol that way 2020-02-28 09:46:53 +00:00
Michael 26cffd379a Store the raw data in a different way 2020-02-28 09:21:40 +00:00
Michael acd99b9010 Push/Pull indicator 2020-02-27 05:01:43 +00:00
nupplaPhil 85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Michael 56816ea9d5 AP comments from GNU Social are now working 2020-02-02 19:59:14 +00:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Michael 5b755f0f23 Issue 8067: Posts from Mastodon had been wrongly parsed 2020-01-07 00:16:42 +00:00