]>
git.mxchange.org Git - friendica.git/log
Michael [Sun, 17 Jul 2022 11:47:12 +0000 (11:47 +0000)]
Emergency fixes to fix a bunch of fatal errors
Michael Vogel [Thu, 14 Jul 2022 03:37:38 +0000 (05:37 +0200)]
Merge pull request #11735 from MrPetovan/bug/11732-frio-scheme-accent
[frio] Accept 0 as a valid content background transparency in frio/style.php
Hypolite Petovan [Wed, 13 Jul 2022 21:51:07 +0000 (17:51 -0400)]
[frio] Accept 0 as a valid content background transparency in frio/style.php
Hypolite Petovan [Wed, 13 Jul 2022 21:08:48 +0000 (17:08 -0400)]
Merge pull request #11734 from Quix0r/fixes/added-final-check-link_item
$link_item might be boolean (no record found) under rare conditions
Roland Häder [Wed, 13 Jul 2022 20:04:16 +0000 (22:04 +0200)]
Changed:
- added a final check on $link_item, as it might not be initialized or no
record was found, thanks to @AlfredSK for reporting this
- see #11632
Philipp [Wed, 13 Jul 2022 19:14:28 +0000 (21:14 +0200)]
Merge pull request #11733 from Quix0r/fixes/returned-type-hint
Added returned type-int "int"
Roland Häder [Wed, 13 Jul 2022 19:09:49 +0000 (21:09 +0200)]
Added returned type-int "int"
Hypolite Petovan [Wed, 13 Jul 2022 12:50:23 +0000 (08:50 -0400)]
Merge pull request #11730 from HankG/bugfix-frio-display-settings-error
Fix frio settings display error setting scheme to custom type if null
Hank Grabowski [Wed, 13 Jul 2022 12:40:54 +0000 (08:40 -0400)]
Fix frio settings display error setting scheme to custom type if null
Tobias Diekershoff [Wed, 13 Jul 2022 04:32:28 +0000 (06:32 +0200)]
Merge pull request #11729 from MrPetovan/bug/11723-maintenance-mode-view-module
Enable the view module in maintenance mode
Hypolite Petovan [Tue, 12 Jul 2022 23:48:36 +0000 (19:48 -0400)]
Enable the view module in maintenance mode
- This allows to load the default theme CSS
- Theme scripts have been updated to reflect the possibility they will be included in maintenance mode
Hypolite Petovan [Tue, 12 Jul 2022 22:57:35 +0000 (18:57 -0400)]
Merge pull request #11728 from nupplaphil/feat/split_db_definitions
Split DBStructure & View
Philipp [Tue, 12 Jul 2022 22:27:39 +0000 (00:27 +0200)]
Add docs
Philipp [Tue, 12 Jul 2022 22:23:12 +0000 (00:23 +0200)]
include suggested changes
Philipp [Tue, 12 Jul 2022 21:46:21 +0000 (23:46 +0200)]
Add dbview.config.php for vfs directory mocking
Philipp [Tue, 12 Jul 2022 21:30:29 +0000 (23:30 +0200)]
Fix tests
Philipp [Tue, 12 Jul 2022 21:21:16 +0000 (23:21 +0200)]
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
Hypolite Petovan [Tue, 12 Jul 2022 19:24:58 +0000 (15:24 -0400)]
Merge pull request #11727 from nupplaphil/bug/redirect
Fix HTTP Client redirect Bug
Philipp [Tue, 12 Jul 2022 18:09:18 +0000 (20:09 +0200)]
Fix HTTP Client redirect Bug
Philipp [Tue, 12 Jul 2022 17:49:39 +0000 (19:49 +0200)]
Add test case for https://github.com/friendica/friendica/issues/11726
Michael Vogel [Tue, 12 Jul 2022 05:13:27 +0000 (07:13 +0200)]
Merge pull request #11725 from MrPetovan/bug/fatal-errors
Fix type hint typo in Protocol\Email::messageGetPart
Hypolite Petovan [Tue, 12 Jul 2022 03:05:13 +0000 (23:05 -0400)]
Fix type hint typo in Protocol\Email::messageGetPart
- Address https://github.com/friendica/friendica/issues/11724
Hypolite Petovan [Sat, 9 Jul 2022 21:42:42 +0000 (17:42 -0400)]
Merge pull request #11719 from nupplaphil/feat/type_use
adhere `use` and type-hints :-)
Michael Vogel [Sat, 9 Jul 2022 11:52:57 +0000 (13:52 +0200)]
Merge pull request #11720 from MrPetovan/bug/fatal-errors
Remove unused uid parameter in Item::newURI
Hypolite Petovan [Sat, 9 Jul 2022 11:32:32 +0000 (07:32 -0400)]
Remove unused uid parameter in Item::newURI
Philipp [Sat, 9 Jul 2022 09:41:36 +0000 (11:41 +0200)]
adhere `use` and type-hints :-)
Hypolite Petovan [Sat, 9 Jul 2022 00:40:22 +0000 (20:40 -0400)]
Merge pull request #11718 from HankG/feature-optional-network-group-count
Feature optional network group count
Hank Grabowski [Fri, 8 Jul 2022 19:35:26 +0000 (15:35 -0400)]
Merge branch 'develop' into feature-optional-network-group-count
Hank Grabowski [Fri, 8 Jul 2022 19:29:34 +0000 (15:29 -0400)]
Make network counts at the group level system level configurable
Hypolite Petovan [Fri, 8 Jul 2022 14:16:47 +0000 (10:16 -0400)]
Merge pull request #11717 from tobiasd/
20220708 -de2
DE translation updates THX FOSS+
Tobias Diekershoff [Fri, 8 Jul 2022 13:33:12 +0000 (15:33 +0200)]
DE translation updates THX FOSS+
Philipp [Fri, 8 Jul 2022 06:29:38 +0000 (08:29 +0200)]
Merge pull request #11715 from tobiasd/
20220708 -de
DE translation updates
Tobias Diekershoff [Fri, 8 Jul 2022 06:23:25 +0000 (08:23 +0200)]
DE translation updates
Hypolite Petovan [Thu, 7 Jul 2022 22:10:40 +0000 (18:10 -0400)]
Merge pull request #11714 from nupplaphil/bug/trust
[2FA] Add a lot of log-points
Philipp [Thu, 7 Jul 2022 19:47:39 +0000 (21:47 +0200)]
Add the right exceptions for BaseUrl::redirect and respect them when catching exceptions at the Trust page
Philipp [Thu, 7 Jul 2022 19:33:41 +0000 (21:33 +0200)]
Add a lot of log-points
Hypolite Petovan [Thu, 7 Jul 2022 12:47:31 +0000 (08:47 -0400)]
Merge pull request #11711 from tobiasd/20220707_plsv
PL, SV translation updates THX strebski and viktorbagare
Tobias Diekershoff [Thu, 7 Jul 2022 09:08:05 +0000 (11:08 +0200)]
SV update to the strings THX viktorbagare
Tobias Diekershoff [Thu, 7 Jul 2022 09:07:26 +0000 (11:07 +0200)]
PL translation update THX strebski
Hypolite Petovan [Wed, 6 Jul 2022 07:56:12 +0000 (03:56 -0400)]
Merge pull request #11710 from Quix0r/fixes/type-error-send-contact-reject
Type-hint has to be string, instead of int
Roland Häder [Wed, 6 Jul 2022 03:41:48 +0000 (05:41 +0200)]
Fixed:
> TypeError: "Argument 2 passed to Friendica\Protocol\ActivityPub\Transmitter::sendContactReject()
> must be of the type int, string given
I followed here here the documentation, may fix #11708
Philipp [Tue, 5 Jul 2022 17:38:18 +0000 (19:38 +0200)]
Merge pull request #11709 from Quix0r/fixes/type-error-null-uri-id
Avoid TypeError because of missing "uri-id" entry
Roland Häder [Tue, 5 Jul 2022 16:51:29 +0000 (18:51 +0200)]
Fixed:
- added exception to prevent `TypeError` because of missing `uri-id` entry
- maybe fixes #11708
Hypolite Petovan [Sun, 3 Jul 2022 12:57:23 +0000 (08:57 -0400)]
Merge pull request #11705 from Quix0r/fixes/null-value-invocation
Fix for "Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given"
Roland Häder [Sun, 3 Jul 2022 12:43:45 +0000 (14:43 +0200)]
Fixes:
"Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given, called in /var/www/.../htdocs/mod/display.php on line 305"
Tobias Diekershoff [Sun, 3 Jul 2022 04:32:37 +0000 (06:32 +0200)]
Merge pull request #11703 from MrPetovan/bug/fatal-errors
Fix fatal errors
Hypolite Petovan [Sun, 3 Jul 2022 02:16:46 +0000 (22:16 -0400)]
Remove overly strict type-hint in ActivityPub\Transmission::createCachedActivityFromItem
- Fix "Return value of Friendica\Protocol\ActivityPub\Transmitter::createCachedActivityFromItem() must be of the type array, bool returned" error
Hypolite Petovan [Sun, 3 Jul 2022 02:14:20 +0000 (22:14 -0400)]
Rename Smilies::pregHeart to better match its purpose
- Fix "Argument 1 passed to Friendica\Content\Smilies::pregHeart() must be of the type string, array given" error
Tobias Diekershoff [Fri, 1 Jul 2022 04:40:54 +0000 (06:40 +0200)]
Merge pull request #11701 from Quix0r/fixes/missing-type-hints-getstart
Added missing type-hints
Roland Häder [Fri, 1 Jul 2022 00:50:03 +0000 (02:50 +0200)]
Added missing type-hints, #11700
Hypolite Petovan [Thu, 30 Jun 2022 16:25:20 +0000 (12:25 -0400)]
Merge pull request #11699 from Quix0r/rewrites/type-hints-001
Type-hints added, method renamed
Roland Häder [Thu, 30 Jun 2022 15:43:22 +0000 (17:43 +0200)]
Changed double-quotes to single
Roland Häder [Thu, 30 Jun 2022 13:02:37 +0000 (15:02 +0200)]
Changes:
- no NULL anymore for 2nd parameter OEmbed::toHTML()
- some double-quotes to single
Roland Häder [Thu, 30 Jun 2022 12:58:36 +0000 (14:58 +0200)]
Fixed type-hints
Roland Häder [Thu, 30 Jun 2022 12:52:14 +0000 (14:52 +0200)]
Changes
- ops, also this needs change since null is no longer wanted
Roland Häder [Thu, 30 Jun 2022 12:49:51 +0000 (14:49 +0200)]
Changes
- renamed Widget::accounttypes() to Widget::accountTypes()
- fixed type-hint the documentation was wrong
Roland Häder [Thu, 30 Jun 2022 12:16:30 +0000 (14:16 +0200)]
Changes
- renamed Item::visibleActivity() to Item::isVisibleActivity() as this returns
a boolean value
- added some type-hints
- added some documentation
Roland Häder [Mon, 27 Jun 2022 10:09:31 +0000 (12:09 +0200)]
Changes:
- added some type-hints
- added some documentation
- changed some double-quotes to single
Roland Häder [Mon, 27 Jun 2022 09:39:26 +0000 (11:39 +0200)]
Changes:
- added some type-hints
- fixed some documentation (void is lately returned, not null)
- added some documentation
Roland Häder [Sun, 26 Jun 2022 23:16:35 +0000 (01:16 +0200)]
Some empty lines
Roland Häder [Sun, 26 Jun 2022 13:57:09 +0000 (15:57 +0200)]
A bit more documentation
Roland Häder [Sun, 26 Jun 2022 13:14:51 +0000 (15:14 +0200)]
Changes:
- added some type-hints
Roland Häder [Tue, 21 Jun 2022 16:54:21 +0000 (18:54 +0200)]
Fixed:
- "Argument 3 passed to Friendica\Model\Photo::createPhotoForExternalResource()
must be of the type string, null given
Roland Häder [Tue, 21 Jun 2022 16:51:27 +0000 (18:51 +0200)]
Fixed:
- Friendica\Content\BoundariesPager::renderFull(int $itemCount) must be
compatible with Friendica\Content\Pager::renderFull(int $itemCount): string
Hypolite Petovan [Mon, 27 Jun 2022 11:57:55 +0000 (07:57 -0400)]
Merge pull request #11697 from Quix0r/fixes/contact-user-isblocked-retuning-null
Fixed: TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned"
Roland Häder [Mon, 27 Jun 2022 11:49:26 +0000 (13:49 +0200)]
Fixes:
- more "bool expected but null returned" errors
Roland Häder [Mon, 27 Jun 2022 09:37:34 +0000 (11:37 +0200)]
Fixed:
- Contact/User::isBlocked() needs to return boolean, but sometimes (strangely)
a NULL can come from database, so let's cast it
This tries to fix:
TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned"
Hypolite Petovan [Sun, 26 Jun 2022 22:46:15 +0000 (18:46 -0400)]
Merge pull request #11696 from Quix0r/fixed-twitter-api-empty-about
Fixed "Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given"
Roland Häder [Sun, 26 Jun 2022 21:18:05 +0000 (23:18 +0200)]
Changed:
- $publicContact['about'] can be NULL, causing following error:
--------------------------
Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of
the type string, null given, called in /.../src/Object/Api/Twitter/User.php
--------------------------
The "expensive" code there can be avoided being called by an empty string or
NULL to increase performance.
Tobias Diekershoff [Sun, 26 Jun 2022 13:56:58 +0000 (15:56 +0200)]
Merge pull request #11693 from nupplaphil/feat/woodpecker
Use labels for woodpecker continuous deployments
Philipp [Sun, 26 Jun 2022 13:45:58 +0000 (15:45 +0200)]
Use labels for woodpecker continuous deployments
Philipp [Sun, 26 Jun 2022 11:36:19 +0000 (13:36 +0200)]
Merge pull request #11684 from MrPetovan/bug/11651-ap-fetch-queue
Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
Philipp [Sun, 26 Jun 2022 11:34:23 +0000 (13:34 +0200)]
Merge pull request #11692 from MrPetovan/bug/fatal-errors
Convert potential spaces in Memcache(d) key names
Hypolite Petovan [Sun, 26 Jun 2022 09:56:13 +0000 (05:56 -0400)]
Convert potential spaces in Memcache(d) key names
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-
1166475036
- Add test for space in cache keys
Hypolite Petovan [Sun, 26 Jun 2022 09:42:58 +0000 (05:42 -0400)]
Merge pull request #11690 from nupplaphil/feat/2fa_improv
2 Factor Authentication improvements
Philipp [Sun, 26 Jun 2022 08:13:32 +0000 (10:13 +0200)]
adaptions
Philipp [Sat, 25 Jun 2022 21:06:42 +0000 (23:06 +0200)]
add anything ..
Philipp [Sat, 25 Jun 2022 20:37:50 +0000 (22:37 +0200)]
Update messages.po
Philipp [Sat, 25 Jun 2022 12:45:33 +0000 (14:45 +0200)]
Improve 2 factor usage
Philipp [Thu, 23 Jun 2022 21:30:33 +0000 (23:30 +0200)]
improve 2fa token field
Philipp [Thu, 23 Jun 2022 21:29:56 +0000 (23:29 +0200)]
Add more 2fa properties
Philipp [Thu, 23 Jun 2022 20:56:25 +0000 (22:56 +0200)]
Rename 2FA recovery message
Hypolite Petovan [Sat, 25 Jun 2022 03:48:49 +0000 (23:48 -0400)]
Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
- These classes are used to flatten the recursive missing activity fetch that can hit PHP's maximum function nesting limit
- The original caller is responsible for processing the remaining queue once the original activity has been fetched
Hypolite Petovan [Sat, 25 Jun 2022 16:02:01 +0000 (12:02 -0400)]
Merge pull request #11689 from Quix0r/rewrites/double-quotes-single
Changed more double-quotes to single
Roland Häder [Sat, 25 Jun 2022 15:58:27 +0000 (17:58 +0200)]
Made @TODO more clear?
Philipp [Sat, 25 Jun 2022 15:54:49 +0000 (17:54 +0200)]
Merge pull request #11688 from MrPetovan/bug/11635-mod-photos-posted
Replace obsolete posted sort field by created in mod\photos
Hypolite Petovan [Sat, 25 Jun 2022 10:17:56 +0000 (06:17 -0400)]
Replace obsolete posted sort field by created in mod\photos
Hypolite Petovan [Sat, 25 Jun 2022 15:46:12 +0000 (11:46 -0400)]
Add tests for BBCode::fetchShareAttributes
Hypolite Petovan [Sat, 25 Jun 2022 10:15:26 +0000 (06:15 -0400)]
Centralize share tag attribute extraction code in Content\Text\BBCode
Roland Häder [Fri, 24 Jun 2022 04:27:38 +0000 (06:27 +0200)]
Changes:
- added type-hints
- added documentation
Roland Häder [Fri, 24 Jun 2022 03:47:53 +0000 (05:47 +0200)]
Changes:
- let's get rid of that `Database::exists()` is being misused for checking table existence
- reformatted array
Roland Häder [Fri, 24 Jun 2022 03:27:33 +0000 (05:27 +0200)]
Changed double-quotes to single
Roland Häder [Fri, 24 Jun 2022 02:42:35 +0000 (04:42 +0200)]
Changes:
- added some type-hints
- added documentation
Roland Häder [Fri, 24 Jun 2022 01:44:52 +0000 (03:44 +0200)]
Space for the rescue. ;-)
Roland Häder [Fri, 24 Jun 2022 01:24:51 +0000 (03:24 +0200)]
Reformatted array
Roland Häder [Fri, 24 Jun 2022 01:01:13 +0000 (03:01 +0200)]
Changes:
- added some type-hints
- changed some double-quotes to single
Roland Häder [Wed, 22 Jun 2022 23:46:37 +0000 (01:46 +0200)]
Changed doubled-quotes to single
Michael Vogel [Sat, 25 Jun 2022 10:39:06 +0000 (12:39 +0200)]
Merge pull request #11685 from MrPetovan/bug/11638-gserver_site_name-length
Add explicit gserver.site_name string truncate in Model\GServer
Hypolite Petovan [Sat, 25 Jun 2022 09:28:06 +0000 (05:28 -0400)]
Add explicit gserver.site_name string truncate in Model\GServer
- Avoids "Data too long for column 'site_name'" database errors
Philipp [Sat, 25 Jun 2022 09:58:23 +0000 (11:58 +0200)]
Merge pull request #11686 from MrPetovan/bug/11636-emailer-message-id-check
Fix off-by-one error in Message ID header count check in Util\Emailer