Commit graph

40940 commits

Author SHA1 Message Date
Art4
2dfd7c83cf ignore PHPStan error in deprecated code 2025-03-13 12:26:16 +00:00
Art4
a63babc658 Fix 6 PHPStan errors 2025-03-13 12:20:43 +00:00
Art4
441846cfbd Fix return type or UserSession::getUserIDForVisitorContactID() 2025-03-13 11:50:15 +00:00
Art4
7e66b35b46 Fix 10 PHPStan errors 2025-03-13 11:39:02 +00:00
Art4
e1eb6fff83 Deprecate BaseRepository::_selectOne()
set BaseRepository::_selectFirstRowAsArray() as final
2025-03-13 09:18:53 +00:00
Art4
7ce6afd151 Fix 10 PHPStan errors 2025-03-13 09:14:48 +00:00
Art4
9ea4f591c7 Merge branch 'develop' into phpstan-level-3 2025-03-12 15:51:14 +00:00
Art4
268d564930 remove deprecation of BaseCollection::map(), check return type of BaseCollection::map() 2025-03-12 15:50:24 +00:00
Art4
a50383836d Fix 13 PHPStan errors 2025-03-12 15:03:15 +00:00
Art4
bf530a00d7 Fix 2 PHPStan errors 2025-03-12 15:02:50 +00:00
Hypolite Petovan
aeaa488d1b
Merge pull request #14849 from Art4/patch-1
Remove BC promise for extending any non-abstract class
2025-03-12 09:13:48 -04:00
Artur Weigandt
6b7dd7bd12
remove BC for extending any non-abstract class 2025-03-12 11:06:28 +01:00
Michael Vogel
8620b59dcc
Merge pull request #14848 from MrPetovan/bug/warnings
Ward against missing array key in Protocol\Feed
2025-03-11 15:06:59 +01:00
Hypolite Petovan
c1184698ee Ward against missing array key in Protocol\Feed
- Address https://github.com/friendica/friendica/issues/14647#issuecomment-2667306693
2025-03-11 09:15:42 -04:00
Hypolite Petovan
64d85ad86a
Merge pull request #14846 from annando/warning
Add public contact if missing
2025-03-11 09:02:00 -04:00
Michael
24cbfd0953 Fix codestyle 2025-03-11 04:54:16 +00:00
Michael
9e4a69150c Add public contact if missing 2025-03-11 04:51:20 +00:00
Hypolite Petovan
9261b5262c
Merge pull request #14845 from annando/issue-14433
Issue 14433: Display reshared content in feeds
2025-03-10 10:24:49 -04:00
Michael
d990026fb8 Issue 14433: Display reshared content in feeds 2025-03-10 05:15:43 +00:00
Hypolite Petovan
b2f50301f4
Merge pull request #14795 from Art4/deprecate-strategies-via-addons
Deprecate the strategy concept for addons
2025-03-09 20:55:25 -04:00
Hypolite Petovan
ecfb82693d
Merge pull request #14837 from annando/fatal
Fixes fatal error "Return value must be of type Friendica\Object\OEmbed, string returned"
2025-03-08 15:58:37 -05:00
Michael Vogel
f504c9d60a
Merge pull request #14843 from MrPetovan/bug/14828-expireposts-performance
Replace NOT EXIST(SELECT) with LEFT JOIN WHERE IS NULL in ExpirePosts
2025-03-08 17:58:59 +01:00
Hypolite Petovan
4883035f89 Replace NOT EXIST(SELECT) with LEFT JOIN WHERE IS NULL in ExpirePosts
- Improves the query execution plan
2025-03-08 11:23:54 -05:00
Michael
3b5ad05e47 Fixes fatal error "Return value must be of type Friendica\Object\OEmbed, string returned" 2025-03-08 12:11:37 +00:00
Art4
767ac778c9 simplify GServer repository 2025-03-07 13:49:22 +00:00
Art4
38343ee417 Refactor GServer Repository 2025-03-07 13:46:18 +00:00
Art4
eb37bcaa74 Change 500 response to 422 response
see https://github.com/friendica/friendica/pull/14475
2025-03-07 10:50:15 +00:00
Art4
3975491887 Fix upload error handling for media
see https://github.com/friendica/friendica/pull/14475
refs #14475
2025-03-06 11:57:29 +00:00
Art4
77831aaf49 Handle missing attachment with correct response 2025-03-06 09:25:39 +00:00
Michael Vogel
dc3dcb4a36
Merge pull request #14841 from MrPetovan/bug/14801-safari-workaround
[frio] Fix Safari bug where notification icon jumps to next line
2025-03-06 05:02:57 +01:00
Hypolite Petovan
e9dae569cc [frio] Fix Safari bug where notification icon jumps to next line 2025-03-05 19:08:14 -05:00
Art4
6b7dfa34e9 fix 7 PHPStan errors in factoriy and Model 2025-03-05 15:15:18 +00:00
Art4
4ebabd5997 Fix 7 PHPStan errors 2025-03-05 14:27:34 +00:00
Art4
0b162b4429 Merge branch 'develop' into phpstan-level-3 2025-03-05 08:54:57 +00:00
Hypolite Petovan
af17e33d4e
Merge pull request #14835 from annando/api
Improved Mastodon API compatibility
2025-03-04 23:00:06 -05:00
Michael
fc8946cf02 Support for language and publification date 2025-03-02 16:47:21 +00:00
Michael
1ced848827 Fix codestyle 2025-03-01 14:40:50 +00:00
Michael
fb9a20feaa Improved Mastodon API compatibility 2025-03-01 12:38:09 +00:00
Art4
c72d2d44c6 Merge branch 'develop' into phpstan-level-3 2025-02-27 12:48:40 +00:00
Art4
980beb4b1c Use selectToArray() instead of select() and is_iterable() 2025-02-27 12:47:25 +00:00
Artur Weigandt
354d13167e
Update src/Module/Api/Mastodon/Search.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2025-02-27 12:50:19 +01:00
Hypolite Petovan
afcc5a9205
Merge pull request #14799 from Art4/replace-hooks-with-eventdispatcher
Replace Hooks with EventDispatcher Part 2
2025-02-26 10:42:42 -05:00
Art4
3bc3f5fe4d Fix 2 PHPStan errors 2025-02-26 15:06:57 +00:00
Art4
b6312f1dfc Fix 10 PHPStan errors 2025-02-26 13:00:50 +00:00
Art4
f64660ec25 Deprecate BaseCollection::map() method 2025-02-26 08:15:27 +00:00
Art4
1820bfc2b3 Fix 5 PHPStan errors 2025-02-26 08:11:50 +00:00
Artur Weigandt
21c2c1559b
Update src/Content/OEmbed.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2025-02-26 08:06:35 +01:00
Art4
35d95b991b Fix 4 PHPStan errors 2025-02-25 15:26:16 +00:00
Art4
8e7676bfd8 Add CI step for PHPStan in addons folder 2025-02-25 14:33:56 +00:00
Art4
fead446624 Split phpstan.neon files for addon checks 2025-02-25 14:29:57 +00:00