Commit graph

102 commits

Author SHA1 Message Date
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
Michael fa57fead2e AP: Read different content types for the source and the content 2019-11-13 16:22:20 +00:00
Philipp Holzer 07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
Hypolite Petovan 146646c4d4 Replace deprecated calls to defaults() by ?? and ?: in src/ 2019-10-16 08:38:52 -04:00
Michael 3c1380fdcc Fix enduring follow requests to Pleroma 2019-09-11 16:54:13 +00:00
Michael 1a213bd8e8 Issue 7315: Changed handling of "Group" posts 2019-07-15 20:05:36 +00:00
Michael Vogel 807d2665ea Use standard function to update the contact to avoid SQL errors 2019-07-11 22:11:51 +02:00
Michael 6041f74df6 New constant for federated protocols 2019-07-01 18:00:55 +00:00
Michael Vogel 449305e527 Fix the processing of event activities 2019-06-23 00:38:52 +02:00
Michael Vogel 097ecdd106
Merge pull request #7266 from MrPetovan/bug/notices
Add type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion
2019-06-14 15:03:30 +02:00
Michael e4efddbabb Avoid a notice in AP Receiver 2019-06-14 02:58:40 +00:00
Hypolite Petovan 66d4f1d40b Add type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion 2019-06-13 19:07:39 -04:00
Michael ecf4789cc4 Process incoming tag add requests 2019-05-26 11:20:03 +00:00
Michael 490e850b48 Fix for receiving direct messages from Mastodon 2019-05-18 07:00:57 +00:00