Commit graph

40023 commits

Author SHA1 Message Date
Art4
7c6505cc55 Replace App with AppHelper in Network classes 2024-11-06 08:14:50 +00:00
Art4
9074258b78 Replace static calls of DI::app() with DI::apphelper() 2024-11-06 07:57:43 +00:00
Art4
4f16bbe5f5 deprecate App::ge DI::app(),tTimeZone() and App::setTimezone() 2024-11-06 07:52:46 +00:00
Art4
81b0bab084 Create AppHelper class 2024-11-06 07:32:07 +00:00
Art4
d29a18e56f Refactor App class 2024-11-06 07:21:50 +00:00
Tobias Diekershoff
435c37bff4
Merge pull request #14533 from annando/warning
Fixes "foreach() argument must be of type array|object, string given"
2024-11-06 06:29:04 +01:00
Tobias Diekershoff
bf4695365a
Merge pull request #14534 from annando/connector
"Connector" added as parcel
2024-11-06 06:27:07 +01:00
Michael
97b38b99df Fixes "foreach() argument must be of type array|object, string given" 2024-11-05 19:10:32 +00:00
Art4
dfb821d3b5 Ignore false positive PHPStan error
see https://github.com/friendica/friendica-addons/pull/1363
2024-11-05 15:26:24 +00:00
Art4
a28a207774 Fix name of Mode class 2024-11-05 12:20:43 +00:00
Art4
eff96cc140 add missing use statement 2024-11-05 12:17:41 +00:00
Art4
4b971f84fd Fix returns in Console commands 2024-11-05 12:13:18 +00:00
Art4
01ba276455 Add missing return
This needs some refactoring: returning nothing implicit returns null, thas will be convert to int 0.
I return false instead of nothing to keep this behaviour for BC.
2024-11-05 11:52:23 +00:00
Art4
bf04b3e57d Fix usage of static 2024-11-05 11:27:29 +00:00
Art4
f024de4350 add missing property in FixAPDeliveryWorkerTaskParameters 2024-11-05 11:25:35 +00:00
Michael
1226cd4487 "Connector" added as parcel 2024-11-05 11:04:57 +00:00
Tobias Diekershoff
805321d00b
Merge pull request #14532 from annando/notifier-again
Notifier: Only relay public posts
2024-11-05 08:50:16 +01:00
Michael
29310562a5 Notifier: Only relay public posts 2024-11-05 07:41:14 +00:00
Art4
3c229443e8 Remove missleading template phpdoc 2024-11-05 07:14:24 +00:00
Art4
4e49c45021 Remove support for apc 2024-11-05 07:07:58 +00:00
Tobias Diekershoff
6a3dfdb26b
Merge pull request #14530 from annando/fix-install
Fix installation
2024-11-04 22:39:33 +01:00
Tobias Diekershoff
f79be879fa
Merge pull request #14531 from annando/ap-delivery
Only transmit via AP if the relayed post is an AP post
2024-11-04 22:38:52 +01:00
Michael
f6b4f974f0 Only transmit via AP if the relayed post is an AP post 2024-11-04 21:08:06 +00:00
Art4
8448d719e7 Remove support for apc
apc is deprecated since PHP 5.5 and not compatible with PHP 7
2024-11-04 20:34:42 +00:00
Michael
67a8c5073c Fix installation 2024-11-04 20:27:17 +00:00
Art4
ad6be21b56 Fix defaults in Contact model 2024-11-04 20:02:44 +00:00
Art4
28f2b7fc81 Fix variable name
The variable was renamed but this line was accidently overseen

see 62eb16e9ad (diff-785d24b46fdf749363656f33208f941ea0eca809c7c76452180a0bfc16df68a3R2555)
2024-11-04 15:28:10 +00:00
Art4
3535c7c4cd Remove unused code 2024-11-04 15:09:33 +00:00
Art4
71add60f59 remove unused code
this code was never called because $body is never declared
and hence the if could never be true
2024-11-04 15:04:06 +00:00
Art4
57c188d01d Fix wrong use of static 2024-11-04 13:46:33 +00:00
Art4
4a9c7d2f30 Remove call of non-existing functions
This functions were removed in commit a97b3f690c9e4476ba638236897507100f77af6f

- twitter_statuses_show()
- twitter_media_entities()
- twitter_expand_entities()

see a97b3f690c
2024-11-04 13:56:08 +01:00
Art4
b5c2cbc597 Refactor Friendica\Module\Debug\ItemBody class 2024-11-04 13:36:57 +01:00
Art4
979468e7fb refactor of Friendica\Object\Api\Mastodon\Preferences class 2024-11-04 13:30:26 +01:00
Art4
0bb8e3af80 add test for Preferences class 2024-11-04 13:22:26 +01:00
Art4
9ae7b9cf01 Fix warnings in Receiver.php 2024-11-04 11:58:08 +00:00
Art4
3a8058ec09 Extract visible_whitespace() into separate method in ActivityPubConversion 2024-11-03 15:54:37 +01:00
Art4
e984057ceb Extract visible_whitespace() into separate method 2024-11-03 15:52:46 +01:00
Art4
c5dac44c8f add missing return statement 2024-11-03 15:49:44 +01:00
Tobias Diekershoff
c21e6b5e6d
Merge pull request #14528 from annando/deletion
Process deletions via ActivityPub
2024-11-03 13:48:22 +01:00
Art4
adb1bd2ad0 Add license note an scan directory for PHPStan 2024-11-03 11:24:15 +01:00
Michael
ea9d0fb9b0 Process deletions via ActivityPub 2024-11-03 06:10:25 +00:00
Art4
0965a84929 install PHPStan for static code analysis 2024-11-02 22:24:10 +01:00
Art4
cf92446cf3 Fix tests 2024-11-02 22:06:02 +01:00
Art4
04d4c6d8f0 Fix mocking namespace 2024-11-02 20:57:11 +01:00
Art4
5ecee2b9f7 Fix namespace in IntallerTest, mock function_exists() with PHPMock 2024-11-02 17:43:43 +01:00
Art4
7de3b16dc3 Fix namespace for CryptoTest 2024-11-01 21:46:09 +00:00
Art4
f575f6c94c require php-mock/php-mock-phpunit for mocking php builtin functions 2024-11-01 21:45:45 +00:00
Art4
2d248ec8ca autoload addons via classmap instead of psr-4 2024-11-01 21:15:34 +00:00
Tobias Diekershoff
0560091ae2
Merge pull request #14521 from annando/delivery
Improved delivery / fix falsely delivery content via DFRN
2024-11-01 20:56:48 +01:00
Art4
87491dc3b5 replace bower-asset/fork-awesome with npm-asset/fork-awesome 2024-11-01 14:45:38 +00:00