Commit Graph

36334 Commits

Author SHA1 Message Date
Michael 101b3c9703 First implementation of ActivityPub C2S 2023-01-29 14:41:14 +00:00
Philipp df021b07e3
Merge pull request #12747 from MrPetovan/bug/warnings
Address a couple of warnings
2023-01-29 08:21:46 +01:00
Philipp 450c753004
Merge pull request #12746 from MrPetovan/bug/fatal-errors
Remove Feed contacts from profile contact list
2023-01-29 08:21:26 +01:00
Philipp 74b616f6d4
Merge pull request #12745 from MrPetovan/task/12728-jsonld-local-files
Read local files instead of performing self HTTP requests in JsonLD::documentLoader
2023-01-29 08:20:58 +01:00
Hypolite Petovan 48a7958ef9 Check $url variable for value before using it in Module\Photo::getPhotoById
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1407342540
2023-01-29 00:12:59 -05:00
Hypolite Petovan 9a270de9c2 Prevent the use of $shared_item if it's falsy in Mastodon\Status::createQuote
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1407342324
2023-01-29 00:11:13 -05:00
Hypolite Petovan b1eae0c9aa Remove Feed contacts from profile contact list
- These contact don't have a public pendant and therefore shouldn't be shown to visitors
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1406191980
2023-01-29 00:07:20 -05:00
Hypolite Petovan b66787f0de Improve return value consistency in Util\BasePath::getPath 2023-01-28 22:19:47 -05:00
Hypolite Petovan 1dc97e30e0 Read local files instead of performing self HTTP requests in JsonLD::documentLoader 2023-01-28 22:17:05 -05:00
Hypolite Petovan 6dfa492521
Merge pull request #12741 from annando/local-files
Avoid more local links and bad http requests
2023-01-28 20:51:24 -05:00
Michael 3f618218c7 Old stuff removed 2023-01-28 18:50:45 +00:00
Michael 5315bc3712 Possibly fix the test problems 2023-01-28 15:29:55 +00:00
Michael 999cdc7db9 Avoid more local links and bad http requests 2023-01-28 14:57:04 +00:00
Michael Vogel fc46778a00
Merge pull request #12735 from MrPetovan/bug/fatal-errors
Address a couple of Fatal errors
2023-01-27 08:55:27 +01:00
Michael Vogel 1d7d6fe35c
Merge pull request #12736 from MrPetovan/bug/12733-webfinger-apcontact
Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData
2023-01-27 08:27:20 +01:00
Hypolite Petovan d54d2c58e8
Merge pull request #12738 from annando/local-link-bad-url
Avoid local network communication / invalid url requests
2023-01-27 01:25:25 -05:00
Hypolite Petovan 79dc5c177e Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData
- This implementation didn't support separate domains for the address and the final account
2023-01-27 01:24:28 -05:00
Hypolite Petovan 91d8cd2c87 Prevent fatal error when probing WebFinger address in Network\Probe::feed 2023-01-27 01:24:22 -05:00
Michael Vogel 94b63e6a00
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-27 07:21:08 +01:00
Michael ba4860b787 Avoid local network communication / invalid url requests 2023-01-27 05:55:45 +00:00
Hypolite Petovan be105db759 Check the image URL has a host before retrieving it in Photo::importProfilePhoto
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1404324012
2023-01-25 22:31:07 -05:00
Hypolite Petovan 0259af1118 Cast key values to int in Mastodon\Stats
- Address https://sekretaerbaer.de/display/61b27817-3763-cd4c-5fca-b4d397968464
2023-01-25 22:11:22 -05:00
Hypolite Petovan 6bedd190b9
Merge pull request #12732 from annando/catch
Catch not fetchable posts
2023-01-25 18:32:52 -05:00
Michael 3e8c38946d Catch not fetchable posts 2023-01-25 23:03:51 +00:00
Hypolite Petovan 4e98f5a1df
Merge pull request #12731 from annando/api-quotes
Quote for notifications
2023-01-25 17:49:51 -05:00
Michael ae3afaad94 Restore default value 2023-01-25 22:38:11 +00:00
Michael 30093fd2ec Quote for notifications 2023-01-25 20:35:10 +00:00
Hypolite Petovan efc4e5668a
Merge pull request #12727 from annando/api-quotes
API: added positiv list for quote support
2023-01-25 15:32:40 -05:00
Michael b6fcfebd56 Switch parameters 2023-01-25 20:14:33 +00:00
Hypolite Petovan 59235cba25
Merge pull request #12730 from damianwajer/fix-duplicate-intro-label
Fix labels in contact request modal
2023-01-25 13:27:25 -05:00
Damian Wajer ec21c19be7 Fix labels in contact request modal
Fixes https://github.com/friendica/friendica/issues/12709
2023-01-25 19:05:42 +01:00
Michael b46f18bdf9 Fix reply via API / fix missing variable 2023-01-25 10:16:24 +00:00
Michael c27fdc7167 Unused "use" removed 2023-01-25 06:34:15 +00:00
Michael 49d513f8d2 API: added positiv list for quote support 2023-01-25 06:26:17 +00:00
Michael Vogel a86fbe37c9
Merge pull request #12726 from MrPetovan/bug/12721-missing-host
Remove Text\BBCode::scaleExternalImage
2023-01-24 07:27:48 +01:00
Hypolite Petovan b4cbe4250e Remove Text\BBCode::scaleExternalImage
- Image size is a CSS concern, not a PHP one
2023-01-23 20:40:20 -05:00
Hypolite Petovan 23e0ce3c1b
Merge pull request #12725 from annando/api2
Several API improvements
2023-01-23 17:35:21 -05:00
Michael b61923700e Display, not diplay 2023-01-23 22:30:28 +00:00
Michael c471a78b05 Issue 12358: Allow blocking of every contact 2023-01-23 21:44:30 +00:00
Michael d0373ab414 Issue 12603: Support quote in the api / Issue 12654: prevent privacy leakage 2023-01-23 21:24:50 +00:00
Michael 3c14cd65fa Merge remote-tracking branch 'upstream/develop' into api2 2023-01-23 19:00:34 +00:00
Michael ff28044cf6 Issue 12603: Support quotes in the API 2023-01-23 19:00:20 +00:00
Hypolite Petovan 1d0b3e34bc
Merge pull request #12724 from annando/api
Issue 12682: Fix ids of reshared posts
2023-01-23 13:28:50 -05:00
Michael 5a01fb0521 Don't show reblogged on single post 2023-01-23 17:56:45 +00:00
Michael 0364972242 Merge remote-tracking branch 'upstream/develop' into api 2023-01-23 17:52:54 +00:00
Hypolite Petovan e959d9e454
Merge pull request #12720 from annando/issue-12702
Issue 12702: Let the user decide how to handle spoiler texts
2023-01-23 08:40:47 -05:00
Michael 87e9dafc56 Removed duplicated "be" 2023-01-23 06:48:42 +00:00
Michael 492ba45aa8 Merge remote-tracking branch 'upstream/develop' into issue-12702 2023-01-23 06:44:50 +00:00
Michael 75cac38fe3 Updated messages.po 2023-01-23 06:43:13 +00:00
Michael 557553a856 Updated messages.po 2023-01-23 06:37:45 +00:00