Commit graph

1964 commits

Author SHA1 Message Date
5fdeed8ed8 C2S: Improve C2S-API, fix inbox endpoint 2023-02-08 20:16:19 +00:00
a836c5c3f1
Merge pull request #12752 from annando/c2s
First implementation of ActivityPub C2S
2023-02-01 11:48:24 -05:00
f078b6bc18 Issue 12753: For remote-self feed items the plink mustn't point to the original feed link 2023-01-30 06:58:36 +00:00
101b3c9703 First implementation of ActivityPub C2S 2023-01-29 14:41:14 +00:00
999cdc7db9 Avoid more local links and bad http requests 2023-01-28 14:57:04 +00:00
ba4860b787 Avoid local network communication / invalid url requests 2023-01-27 05:55:45 +00:00
7e618856ab Replace deprecated use of "self" in callables
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
2023-01-21 14:25:21 -05:00
Daniel Siepmann
da58b894a4
Properly handle feed item creation date with surrounding whitespace
Some feeds might have whitespace around the creation date.
This can't be parsed by DateTimeFormat methods.
Therefore the incoming creation date is trimmed to not contain any
surrounding whitespace for proper handling.

Relates: #12686
2023-01-17 07:18:47 +01:00
5e2b655b43 Add implementation of HTTP Media Type
- Add charset extraction from DOMDocument
- TESTS!
2023-01-10 10:36:58 -05:00
cd3dbad2a8 Fix some warnings on item creation 2023-01-09 15:55:35 +00:00
aa3dc7c40c Add configuration 2023-01-07 21:28:21 +00:00
24c32cff0d Merge remote-tracking branch 'upstream/develop' into diaspora-item 2023-01-07 19:52:23 +00:00
d86045058e Diaspora: Photos are now transmitted separately 2023-01-07 15:11:34 +00:00
8bbf9e93c6 Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00
a786bd3777 Remove unused static methods related to delivery-queue 2023-01-01 18:50:21 -05:00
f1bcf1ef66 Set the server status directly after transmission 2023-01-01 17:34:05 +00:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
319857edaa
Merge pull request #12583 from annando/delivery-queue
Bulk delivery added for all protocols
2022-12-31 11:36:54 -05:00
259b99e6e9 Bulk delivery added for all protocols 2022-12-31 12:19:34 +00:00
6e31b8d6a5 Avoid return type exeption in HTTPSignature->post
- Prefer passing the owner record array instead of just the uid
- +4/-7 calls to User::getOwnerDataById
2022-12-30 17:23:22 -05:00
ce6845f44f Code standards 2022-12-30 21:44:12 +00:00
e4c5d9f62d Fix code standards 2022-12-30 21:37:09 +00:00
9115ec5f0d Adjust class references to the new location 2022-12-30 21:20:28 +00:00
6d087ee455 Move delivery functionality to a new class 2022-12-30 21:19:55 +00:00
e0e2e45b91 Reduce the amount of "UpdateContact" worker calls 2022-12-28 14:56:12 +00:00
b7e461d2f3 Improved handling of forum mentions 2022-12-27 17:01:40 +00:00
ca0e3e3db7 Distribute forum comments only via the forum 2022-12-27 16:14:04 +00:00
7c4b320f30 Cleanup work with the activity types 2022-12-26 15:08:46 +00:00
e8420dcb71 Query expected photo.type field in Protocol\DFRN::relocate
- Address first part of https://github.com/friendica/friendica/issues/12488#issuecomment-1364487793
2022-12-26 09:10:55 -05:00
e05cbf46e1 Activity "Read" is now stored 2022-12-26 08:41:40 +00:00
5298cd73b3 We now store the violation as well 2022-12-25 10:44:06 +00:00
cef4349421 Changed parameter order 2022-12-25 07:30:39 +00:00
dc73cbe30c Simplified code 2022-12-24 23:33:21 +00:00
8a7d08ae28 Category added 2022-12-24 13:57:43 +00:00
bf4d321aa3 Wrong variable 2022-12-24 08:09:23 +00:00
4c945850f4 Reports: The reporting contact id is added 2022-12-24 08:03:37 +00:00
8cb85368ff Added comment 2022-12-23 22:48:57 +00:00
ca12d1549b AP: We can now store received reports 2022-12-23 22:11:50 +00:00
99284222c1 Remove the activity 2022-12-22 22:08:42 +00:00
9fe70af85a AP: Support for "move" and "accept" from gup.pe 2022-12-22 21:58:51 +00:00
d75cd8a00a The GNU-Social import is removed 2022-12-21 22:21:22 +00:00
4db4d1843d Merge remote-tracking branch 'upstream/develop' into diaspora-reshare 2022-12-20 06:58:36 +00:00
bdc865afae Measures against several warnings and errors in the log 2022-12-20 06:22:11 +00:00
2372e50e3b Skip literal text in ActivityPub\Transmitter::removePictures 2022-12-18 23:32:52 -05:00
ca8a89ed1c Use reshare with Diaspora like with ActivityPub 2022-12-13 23:19:19 +00:00
Michael Vogel
46660c9462
Merge pull request #12364 from MrPetovan/bug/warnings
Address several warning messages
2022-12-10 18:10:24 +01:00
e78471c847 Throw exception when a few keys are missing from probe data array in Repository\DiasporaContact
- Address part of https://github.com/friendica/friendica/issues/11993#issuecomment-1338134893
2022-12-10 11:42:04 -05:00
607d26e906 Ward against empty JsonLD::fetchElement result in ActivityPub\Receiver::processTags
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1336478368
2022-12-10 11:38:42 -05:00
c70d657885 Ward against invalid name from receiver in ActivityPub::storeReceivers
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:41 -05:00
fc246424a9 Provide default host value to hash() in Model\Item::guidFromUri
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:37 -05:00