Commit graph

12674 commits

Author SHA1 Message Date
Art4
d87f24f17a Replace calls for App::redirect() with AppHelper 2024-11-10 16:19:02 +00:00
Art4
2c0db2f043 Replace calls for App::setCurrentTheme() with AppHelper 2024-11-10 16:09:30 +00:00
Art4
c495461ffb Fix missing $app 2024-11-10 12:13:32 +00:00
Art4
782271aa3c Refactor App class 2024-11-10 12:02:31 +00:00
Art4
4abfc3907b Replace calls for App::getCurrentTheme() with AppHelper 2024-11-10 11:59:43 +00:00
Art4
e6b39e5f1c Fix cs in App and AppLegacy classes 2024-11-10 11:42:59 +00:00
Art4
ae75ffc31a replace calls for App::getBasePath() with AppHelper 2024-11-10 10:57:13 +00:00
Art4
79f9e78daf Replace temp variable with property 2024-11-10 08:53:36 +00:00
Art4
81c0c56e5a Replace calls for App with AppHelper in Module\Install 2024-11-10 08:46:50 +00:00
Art4
d9d1e9e0e0 Merge branch 'add-static-code-analysis' into refactoring-of-app-class 2024-11-10 08:10:17 +00:00
Art4
221dad7663 Merge branch 'improve-tests' into add-static-code-analysis 2024-11-10 00:20:29 +00:00
Art4
940884e4bd Refactor Crypto::randomDigits() 2024-11-09 23:18:13 +00:00
Art4
7de79fc753 Replace calls for App:::getThemeInfoValue() with AppHelper 2024-11-08 23:23:01 +00:00
Art4
536234a9c6 Replace calls for App::getThemeInfo() with AppHelper 2024-11-08 23:14:08 +00:00
Art4
be193a236e Replace all calls for App::getTimeZone() with AppHelper 2024-11-08 23:08:40 +00:00
Art4
d9087b4f7c Replace all calls for App::getContactId() with AppHelper 2024-11-08 23:04:52 +00:00
Art4
cad3311afb Replace calls for App::setContactId() with AppHelper 2024-11-08 22:50:08 +00:00
Art4
6f14645a5f Replace calls for App::getProfileOwner() with AppHelper 2024-11-08 22:45:14 +00:00
Art4
6a6a5af3b2 Replace calls of App::setProfileOwner with AppHelper 2024-11-08 16:20:55 +00:00
Art4
9477e1b55f Move AppHelper code to AppLegacy, create interface for AppHelper 2024-11-08 16:07:24 +00:00
Art4
85f74c80e8 extract redirect method into AppHelper 2024-11-08 12:13:20 +00:00
Art4
470c47f45c Extract config methods into AppHelper 2024-11-08 12:06:30 +00:00
Art4
0fc9f7f0b4 extract ThemeInfo methods into AppHelper 2024-11-08 11:05:02 +00:00
Art4
6fd74bccb0 Remove unused dependencies 2024-11-08 09:44:01 +00:00
Michael
e73566c0a1 SVG icons for various fediverse systems 2024-11-08 09:43:19 +00:00
Art4
48b2cff53d extract getter and setter for current theme into AppHelper 2024-11-08 09:39:16 +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
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
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
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
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
Michael
ea9d0fb9b0 Process deletions via ActivityPub 2024-11-03 06:10:25 +00:00
Art4
04d4c6d8f0 Fix mocking namespace 2024-11-02 20:57:11 +01:00
Michael
5e3f9d1235 Improved delivery / fix falsely delivery content via DFRN 2024-10-31 18:41:17 +00:00
Michael
94ad35a5df Prevent dead contacts from being revived 2024-10-30 05:07:58 +00:00
Tobias Diekershoff
db95def246 fix gettext error
xgettext was complaining that the term 'Error' was used once without the plural form
2024-10-29 07:59:44 +01:00
Michael Vogel
b2b879851c
Merge pull request #14514 from tobiasd/issue14512
remove old reverence to addons.friendi.ca
2024-10-29 07:29:21 +01:00
Tobias Diekershoff
61435984b0 remove old reverence to addons.friendi.ca
fixes #14512

The URL of the addon repository is corrected with this PR as well.
2024-10-29 06:57:00 +01:00
Michael
42117a391c Issue 14478: Always use an existing application for OAuth 2024-10-28 20:57:20 +00:00
Tobias Diekershoff
7e446e8100
Merge pull request #14507 from annando/issue-14491
Issue 14491: CSS class for pictures with or without alt descriptions
2024-10-28 06:52:59 +01:00
Michael
89bc4af2c6 Issue 13270: Fix display of private comments on the profile page 2024-10-27 19:14:51 +00:00
Michael
e9064aff32 Issue 14491: CSS class for pictures with or without alt descriptions 2024-10-27 15:48:06 +00:00
Tobias Diekershoff
2d7964ad7c
Merge pull request #14504 from annando/archive-unarchive
The code for archiving and unarchiving contacts is improved
2024-10-27 07:27:53 +01:00
Tobias Diekershoff
e5991069ed
Merge pull request #14501 from annando/issue-14495
Issue 14495: Rich HTML content with embedded pictures
2024-10-27 07:25:21 +01:00
Tobias Diekershoff
561ac9e4ee
Merge pull request #14502 from annando/platform-name
Don't show "(AP)" at platform names anymore
2024-10-27 07:23:47 +01:00
Michael
ea5a19972e The code for archiving and unarchiving contacts is improved 2024-10-26 15:48:12 +00:00
Michael
676f54b7b2 Don't show "(AP)" at platform names anymore 2024-10-26 15:36:41 +00:00
Michael
9261f29553 Issue 14495: Rich HTML content with embedded pictures 2024-10-26 15:34:17 +00:00
Michael
63b1adecea Issue 14478: Fix OAuth registration with Buffer 2024-10-25 19:52:47 +00:00
Michael
122f61a603 Issue 14478: Improved logging 2024-10-25 12:50:25 +00:00
Michael
1c081ced74 Issue 14488: Extended date change range for signatures 2024-10-23 21:13:45 +00:00
Tobias Diekershoff
a0a8aeb304
Merge pull request #14486 from annando/issue-14145
Issue 14145: Fix communication with Hubzilla
2024-10-21 18:31:24 +02:00
Michael
58cd216eb7 Issue 14145: Fix communication with Hubzilla 2024-10-21 06:08:28 +00:00
Philipp
7ca4e6e338
Add admin info to stats Endpoint 2024-10-21 07:24:24 +02:00
Michael Vogel
e8ab8a84af
Merge pull request #14484 from nupplaphil/fix/2f_app_specific
QuickFix: 2FA - App specific password
2024-10-20 22:13:38 +02:00
Philipp
dc4eac2742
QuickFix: 2FA - App specific password 2024-10-20 21:46:22 +02:00
Michael
d13dba7445 Issue 14126: Workaround for wrong content types 2024-10-20 18:38:16 +00:00
Michael
94ef7c55c0 Issue 14121: Show precise contact counts for own user 2024-10-20 17:46:01 +00:00
Michael
d867d73a23 Improved block behaviour 2024-10-20 08:33:16 +00:00
Michael
acb305cf73 Issue 14212: exclude channel only posts from the API timeline 2024-10-19 19:56:20 +00:00
Tobias Diekershoff
8c6ff3f876
Merge pull request #14474 from annando/issue-14174
Issue 14174 and 14421: Option to hide emojis and pictures without description
2024-10-19 07:50:48 +02:00
Michael
55381329b3 Fix image posts done by Buffer 2024-10-19 03:35:21 +00:00
Michael
301717802d Issue 14174 and 14421: Option to hide emojis and pictures without description 2024-10-18 19:13:07 +00:00