Commit Graph

386 Commits

Author SHA1 Message Date
Michael 12e74a70a4 Added logging 2020-09-20 07:46:23 +00:00
Michael 1898c0c351 Fix notice "Undefined index: gravity" 2020-09-20 04:49:48 +00:00
Michael 74e5a73678 Fix fatal errors and notices 2020-09-18 12:08:40 +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
Hypolite Petovan 87e0ba2af6
Merge pull request #9206 from annando/global-direction
We now set the "global" direction
2020-09-14 14:04:59 -04:00
Michael 12d1bb883d Issue 9204: Fetching of AP posts does work again 2020-09-14 17:50:42 +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 a6cb144c1e Don't add the type to the id in case of an activity 2020-09-01 02:38:44 +00:00
Michael bdd834d313 Support signed outbox requests 2020-08-30 17:07:46 +00:00
Michael 7815862498 Improve AP support for forums 2020-08-23 11:26:43 +00:00
Michael 6d9302fbe4 Check for empty owners 2020-08-22 16:34:04 +00:00
Michael 7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
Michael 1f9b365f3b Issue 9015: Reducing load of remote systems 2020-08-15 20:05:08 +00:00
Michael 25ea15de64 Prevent sending forum posts via AP 2020-08-10 19:44:37 +00:00
Michael ef7aed5d1f Partly revert coding for compatibility issues 2020-08-10 13:59:51 +00:00
Michael 62ce87dfe6 Fixing processing forum posts 2020-08-09 22:46:18 +00:00
Michael bf7128b4b2 AP Improvements for forums 2020-08-09 18:42:25 +00:00
Michael 7b13b7e9c8 Reworked "getIdForURL" 2020-08-07 13:49:59 +00:00
Michael f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00
Michael Vogel 398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
Michael 5545bafdee Fix notice "Undefined index: gravity in /src/Protocol/ActivityPub/Processor.php on line 556" 2020-07-21 19:55:24 +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
nupplaPhil 1998b7811b Fix fatal execution path for found Network::get() parameter execption 2020-07-21 03:19:05 -04: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 3894976a2d Add support for image preview in attachments in ActivityPub\Processor
- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955
2020-07-20 00:28:11 -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 911a23f18b Use PageInfo::appendDataToBody in ActivityPub\Processor::constructAttachList 2020-07-17 19:39:12 -04:00
Michael b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
Michael fc0312451d Changed parameter order for getByURL 2020-07-15 17:06:48 +00:00
Michael d9c6a46ffe Replaced "getDetailsByURL" with "getByURL/getByURLForUser" 2020-07-15 04:42:04 +00:00
Michael 63dc6950d4 Issue 8860: Activities weren't fetchable all the time 2020-07-11 07:15:54 +00:00
Michael c656aea152 Issue 8857: Fix follow accept answers 2020-07-10 05:30:12 +00:00
Michael f6ae7db0ca Further deprecated calls replaced 2020-06-28 17:50:11 +00:00
Michael a1a9d4f657 Fix processing of received coordinates 2020-06-28 08:46:27 +00:00
Michael ef56837b9e Fix receiving non public posts from AP 2020-06-27 10:35:45 +00:00
Hypolite Petovan 912ff069c0 Update getShareOpeningTag::getShareOpeningTag method signature
- Optional parameter $guid is now at the end
- Always provided parameter $posted is now mandatory
2020-06-21 09:42:37 -04:00
Hypolite Petovan 1f20111c80 Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 08:53:57 -04:00
Michael 1a86167ac5 Possibly fix "Undefined index: url" 2020-06-16 20:41:34 +00:00
Hypolite Petovan 53b951a179 Strip the link preview URL from the end of the body if any in ActivityPub\Processor 2020-06-10 11:19:44 -04:00
Michael Vogel 6a23f51549
Merge pull request #8749 from MrPetovan/task/8676-ap-attachments
Add quote support in attachment title in ActivityPub\Processor
2020-06-09 22:23:26 +02:00
AlfredSK 66723023f9 fix-continue-warnings 2020-06-09 16:40:36 +00:00
Hypolite Petovan fdb22320ff Add quote support in attachment title in ActivityPub\Processor 2020-06-09 08:53:48 -04:00
Hypolite Petovan 4d3dd28c44 Add check for existing attachment in ActivityPub\Processor::constructAttachList 2020-06-07 16:23:57 -04:00