Commit graph

12785 commits

Author SHA1 Message Date
Art4
c79f3cde22 Merge branch 'develop' into phpstan-level-1 2024-11-18 21:45:42 +00:00
Artur Weigandt
5ab976dd51
Update src/Network/Probe.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-18 22:40:34 +01:00
Artur Weigandt
4faad61a7c
Update src/Module/Post/Tag/Remove.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-18 22:40:05 +01:00
Art4
b612180c22 check for path parts 2024-11-18 14:33:26 +00:00
Art4
ae52648950 Fix annotation from review 2024-11-18 14:20:57 +00:00
Artur Weigandt
817eeb9734
Update src/Module/Item/Display.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-18 15:15:58 +01:00
Art4
46f6a041a0 Merge branch 'develop' into refactoring-of-app-class 2024-11-18 13:14:29 +00:00
Art4
55709169eb Remove dreamhost_error_hack
This was introduced in commit 2c5ba7fc15 but might never worked
because $dreamhost_error_hack was never defined
2024-11-18 08:53:09 +00:00
Art4
e4ec14767f Refactor module Item Display 2024-11-18 08:39:06 +00:00
Art4
9422b016d7 Refactor Magic module 2024-11-18 08:28:32 +00:00
Art4
78444ff25c Improve search for user in Modration module 2024-11-18 08:09:59 +00:00
Art4
3d97280f52 Refactor OAuth Token 2024-11-18 08:02:22 +00:00
Art4
5772c70216 Check for explicit types 2024-11-18 07:44:26 +00:00
Artur Weigandt
2b40e49e6e
Update src/Protocol/ActivityPub/Processor.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-18 08:38:12 +01:00
Artur Weigandt
219b258a54
Update src/Protocol/ActivityPub/ClientToServer.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-18 08:35:45 +01:00
Art4
e26f435c2e Remove set_include_path() call 2024-11-18 07:32:01 +00:00
Art4
24f75cd618 Add return type never, fix more errors 2024-11-17 22:55:42 +00:00
Art4
12ed714a9e Fix more errors 2024-11-17 22:26:43 +00:00
Art4
08ecf2c9a4 fix more errors 2024-11-17 22:13:01 +00:00
Art4
36484309d1 fix errors in Object namespace 2024-11-17 21:43:06 +00:00
Art4
ab2f7d8845 Fix Authentication 2024-11-17 20:22:01 +00:00
Art4
34845910ec Create AppHelper interface and AppLegacy class 2024-11-17 20:06:34 +00:00
Art4
603af2fb19 Rename DI::apphelper() to DI::appHeler() 2024-11-17 20:00:34 +00:00
Art4
e320b010c7 Fix method order in App class 2024-11-17 19:53:17 +00:00
Art4
9ebdd9f95c Improve Page.php 2024-11-17 19:50:45 +00:00
Art4
d09e19ce1d fix property scope 2024-11-17 19:50:01 +00:00
Art4
9638113244 Fix all errors in Protocol namespace 2024-11-17 18:39:17 +00:00
Art4
5469637f2b Merge branch 'develop' into phpstan-level-1 2024-11-17 07:53:09 +00:00
Art4
5696a5249f Merge branch 'develop' into refactoring-of-app-class 2024-11-17 07:37:58 +00:00
Art4
8bbf9d25b6 Merge branch 'develop' into phpstan-level-1 2024-11-16 19:59:32 +00:00
Art4
ceb4747eea Fix phpstan errors 2024-11-16 19:36:08 +00:00
Art4
a24a65de2f Merge branch 'develop' into refactoring-of-app-class 2024-11-16 19:29:56 +00:00
Art4
f75fc9a2fb Merge branch 'develop' into run-phpstan-in-ci-pipeline 2024-11-16 18:59:55 +00:00
Art4
e97231683a fix erros in Util namespace 2024-11-16 17:16:26 +00:00
Art4
84048617c9 Remove phpstan ignored errors 2024-11-16 10:41:14 +00:00
Art4
fca8de40a1 Remove dependency for twitter addon 2024-11-16 10:37:48 +00:00
Art4
c1b48be75c Merge branch 'develop' into refactoring-of-app-class 2024-11-16 09:08:22 +00:00
Art4
e5b837f183 bump version to 2024.12-dev 2024-11-16 08:39:37 +00:00
Art4
eb04f3b079 Merge branch 'develop' into merge-2024.09-rc-branch 2024-11-16 08:32:25 +00:00
Michael
3b1f5f13b7 Unneeded variable removed 2024-11-15 23:15:52 +00:00
Art4
5595bfc0d8 Merge branch '2024.09-rc' into merge-2024.09-rc-branch 2024-11-15 14:32:05 +00:00
Michael
b276b89777 Issue 14524: Fix Open Search 2024-11-15 06:55:21 +00:00
Michael
8fdd78ef95 Message split at commas, exclamation mark or question mark 2024-11-14 14:37:44 +00:00
Art4
2ef9982f63 refactor Receiver::processObject() method 2024-11-14 07:32:25 +00:00
Art4
ee2cdc7763 replace method with anonymous function 2024-11-13 07:49:29 +00:00
Artur Weigandt
3e523ddd09
Update src/Protocol/ActivityPub/Receiver.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-12 22:03:09 +01:00
Art4
ca51b45f04 Upgrade to PHPStan 2.0 2024-11-12 21:02:21 +00:00
Michael
818ea3e33e Avoid useless "warning" logging 2024-11-12 11:12:04 +00:00
Michael
6cb1794c35 Improved message splitting when posting to Bluesky or Twitter 2024-11-12 07:20:10 +00:00
Art4
9a04f90bbd Improve check for unlisted receiver 2024-11-12 00:20:30 +00:00
Art4
12d5e4da44 use get_class() instead of static() in BaseCollection 2024-11-11 23:40:45 +00:00
Michael
f36353e010 New option to disable SVG icons / Functionality added to Vier 2024-11-11 15:43:57 +00:00
Hypolite Petovan
eded4209d2
Merge pull request #14546 from annando/color-white
Fix for white svg icons
2024-11-11 09:35:17 -05:00
loma-one
a60028e0da
Update ContactSelector.php
Add tumblr
2024-11-11 09:08:52 +01:00
Michael
6de167173c Fix for white svg icons 2024-11-11 07:58:36 +00:00
Art4
20f5a96fe0 refactor usage of Friendica\App namespace 2024-11-11 00:30:58 +00:00
Art4
5baa54e81c Fix variable names 2024-11-10 23:51:04 +00:00
Art4
14ec1950b9 Replace typehint App with AppHelper in all classes 2024-11-10 23:33:28 +00:00
Michael
c80fb8bad4 More white icons added / automated style 2024-11-10 23:12:36 +00:00
Art4
712b9e9610 Fix lang strings object in PhpToPo command 2024-11-10 22:50:59 +00:00
Michael
a4c5d7539c Preparation für multiple icon styles / improved code 2024-11-10 19:50:01 +00:00
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