Commit graph

39937 commits

Author SHA1 Message Date
Art4
48b2cff53d extract getter and setter for current theme into AppHelper 2024-11-08 09:39:16 +00:00
Art4
bbf7d50295 Merge branch 'add-static-code-analysis' into refactoring-of-app-class 2024-11-08 08:31:31 +00:00
Art4
256ed12b51 Move test into Unit test namespace 2024-11-08 08:17:27 +00:00
Art4
dc80d35088 Fix cs 2024-11-08 08:15:03 +00:00
Art4
4203ce5d51 Merge branch 'add-static-code-analysis' into refactoring-of-app-class 2024-11-08 08:03:16 +00:00
Art4
1c3a33ab49 Fix namespace 2024-11-08 08:01:07 +00:00
Art4
60a9833130 Replace App with AppHelper in Worker classes 2024-11-08 07:42:35 +00:00
Art4
1d5fc6a4bf Extract Queue getter and setter into AppHelper 2024-11-08 07:30:36 +00:00
Art4
f0ce7ea61e Extract App::getProfileOwner() and setProfileOwner() into AppHelper 2024-11-06 13:36:38 +01:00
Art4
b5317f8e46 Refactor App, add AppHelper in constructor 2024-11-06 12:26:33 +00:00
Art4
00d2e24dd2 Refactor Security\Authentication class, remove dependency for App instance 2024-11-06 13:21:57 +01:00
Art4
c0bd3b5ff0 Extract App::setContactId() and App::getContactId() into AppHelper 2024-11-06 13:11:26 +01:00
Art4
94b4009397 Improve code style in Security\Authentication 2024-11-06 13:06:54 +01:00
Art4
ae36d66ddc Replace App with AppHelper in Calendar/Event/API.php 2024-11-06 12:52:48 +01:00
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