Commit graph

36424 commits

Author SHA1 Message Date
Philipp Holzer a9c0636573
remove maybeSerialize (always serialize) 2023-02-12 15:48:41 +01:00
Philipp Holzer 8881882bce
another phpunit optimiziation .. 2023-02-12 15:41:25 +01:00
Michael edb1ce0417 C2S: Posting is now possible 2023-02-12 14:18:03 +00:00
Philipp Holzer 4d6c8241fc
Optimize phpunit 2023-02-12 14:57:55 +01:00
Philipp Holzer 3edc5553c6
use own local.config.php for CI 2023-02-12 14:38:43 +01:00
Philipp Holzer 0d41752cfe
Update messages.po 2023-02-12 13:38:10 +01:00
Philipp Holzer 553c909195
adapt update script 2023-02-12 13:38:02 +01:00
Philipp Holzer ab281d5190
Fix dba cache 2023-02-12 13:23:39 +01:00
Philipp Holzer 2d090f0d80
adhere php-cs 2023-02-12 13:17:55 +01:00
Philipp Holzer a153c3f594
Fix and adapt tests 2023-02-12 13:09:14 +01:00
Philipp Holzer ad284208ee
Fix and adapt tests 2023-02-12 13:09:05 +01:00
Philipp Holzer 23742c22c3
suppress E_WARNING at tests with vfs:// 2023-02-12 11:41:20 +01:00
Philipp Holzer 7895024e75
add license 2023-02-10 14:54:17 +01:00
Hypolite Petovan 02f6d0e5f9
Merge pull request #12784 from annando/redirect-root
Redirect AP requests to the root to the system actor
2023-02-10 08:10:36 -05:00
Philipp Holzer 513ef03421
Revert node.config.php into Config table 2023-02-10 14:06:22 +01:00
Philipp Holzer 6db89adc04
Re-Add Config table 2023-02-10 14:06:22 +01:00
Philipp Holzer 98857f8d7a
Add exception if lock wasn't successful 2023-02-10 14:06:21 +01:00
Michael 6eadbb35dc Redirect AP requests to the root to the system actor 2023-02-10 10:29:35 +00:00
Hypolite Petovan ffa44b8dc0
Merge pull request #12782 from annando/c2s-2
C2S: Improve C2S-API, fix inbox endpoint
2023-02-08 15:30:00 -05:00
Michael 5fdeed8ed8 C2S: Improve C2S-API, fix inbox endpoint 2023-02-08 20:16:19 +00:00
Philipp 881b32425d
Merge pull request #12774 from MrPetovan/bug/albumname-xss
[frio] Fix XSS vulneralibity in Justified-Gallery Javascript dependency
2023-02-08 15:56:36 +01:00
Michael Vogel 3aa7b338b8
Merge pull request #12781 from MrPetovan/bug/12779-security-txt
Switch date format to RFC 3339 in security.txt
2023-02-08 15:25:10 +01:00
Hypolite Petovan 1c7e129f3b Switch date format to RFC 3339 in security.txt 2023-02-08 08:35:06 -05:00
Hypolite Petovan d059c36ca6 [frio] Fix XSS vulneralibity in Justified-Gallery Javascript dependency 2023-02-08 08:31:43 -05:00
Hypolite Petovan 7621c8aac5
Merge pull request #12778 from annando/issue-12764
Issue 12764: Fix photo permissions when posting via web
2023-02-07 10:15:00 -05:00
Michael 4d4e34dc64 Issue 12764: Fix photo permissions when posting via web 2023-02-07 14:18:01 +00:00
Philipp bb92870ebb
Merge pull request #12773 from MrPetovan/bug/return-xss
Ensure arbitrary HTTPException messages are HTML escaped
2023-02-05 20:02:57 +01:00
Hypolite Petovan 9e4adabb58 Update main translation files after updating strings 2023-02-04 20:36:33 -05:00
Hypolite Petovan 447709377c Ensure arbitrary HTTPException messages are HTML escaped
- These messages can include user-supplied strings
2023-02-04 20:36:33 -05:00
Hypolite Petovan 4e355c0f5e Create specific module to display HTML message when a conversation isn't found in Module\Item\Display 2023-02-04 20:28:04 -05:00
Hypolite Petovan 544348c25a
Merge pull request #12770 from annando/warning
Fixes "Invalid URL for photo" for photos without host
2023-02-04 07:29:16 -05:00
Michael f455f7e7d1 Fixes "Invalid URL for photo" for photos without host 2023-02-04 12:14:40 +00:00
Michael Vogel ac469742b1
Merge pull request #12762 from MrPetovan/bug/warnings
Ward against potentially missing "platform" array key in Model\GServer::fetchSiteinfo
2023-02-02 11:54:50 +01:00
Hypolite Petovan a836c5c3f1
Merge pull request #12752 from annando/c2s
First implementation of ActivityPub C2S
2023-02-01 11:48:24 -05:00
Michael 18dcf77a6d Desciption added 2023-02-01 16:33:07 +00:00
Hypolite Petovan 301fa681c5 Ward against potentially missing "platform" array key in Model\GServer::fetchSiteinfo
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1411635902
2023-02-01 08:35:33 -05:00
Michael a3d645645a Fix #12757 2023-01-31 05:45:24 +00:00
Philipp 31d01dc684
Merge pull request #12756 from annando/issue-12753
Issue 12753: For remote-self feed items the plink mustn't point to the original feed link
2023-01-30 08:32:21 +01:00
Michael 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
Michael b90d6a5638 Updated class description 2023-01-29 17:51:04 +00:00
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