]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoSuperfluous todo removed
Michael [Mon, 18 Jul 2022 03:32:49 +0000 (03:32 +0000)]
Superfluous todo removed

2 years agoTest?
Michael [Sun, 17 Jul 2022 09:31:44 +0000 (09:31 +0000)]
Test?

2 years agoPossibly now the tests work
Michael [Sun, 17 Jul 2022 09:17:07 +0000 (09:17 +0000)]
Possibly now the tests work

2 years agoFixed test
Michael [Sun, 17 Jul 2022 09:08:12 +0000 (09:08 +0000)]
Fixed test

2 years agoTest added
Michael [Sun, 17 Jul 2022 09:02:28 +0000 (09:02 +0000)]
Test added

2 years agoMerge remote-tracking branch 'upstream/develop' into warn
Michael [Sun, 17 Jul 2022 08:51:46 +0000 (08:51 +0000)]
Merge remote-tracking branch 'upstream/develop' into warn

2 years agoUpdated messages.po
Michael [Sun, 17 Jul 2022 07:39:12 +0000 (07:39 +0000)]
Updated messages.po

2 years agoCheck for GMP module
Michael [Sun, 17 Jul 2022 06:34:37 +0000 (06:34 +0000)]
Check for GMP module

2 years agoMerge pull request #11745 from nupplaphil/bug/woodpecker
Tobias Diekershoff [Sun, 17 Jul 2022 05:07:31 +0000 (07:07 +0200)]
Merge pull request #11745 from nupplaphil/bug/woodpecker

Fix CI / CD woodpecker pipeline

2 years agoFix CI / CD woodpecker pipeline
Philipp [Sun, 17 Jul 2022 00:26:46 +0000 (02:26 +0200)]
Fix CI / CD woodpecker pipeline
- Combination of `labels` and `matrix`-build is broken

2 years agoMerge pull request #11739 from Quix0r/fixes/missing-return-statements
Philipp [Sat, 16 Jul 2022 14:23:32 +0000 (16:23 +0200)]
Merge pull request #11739 from Quix0r/fixes/missing-return-statements

Fixes/missing return statements

2 years agoMerge pull request #11741 from Quix0r/fixes/missing-array-object-type
Philipp [Sat, 16 Jul 2022 14:19:21 +0000 (16:19 +0200)]
Merge pull request #11741 from Quix0r/fixes/missing-array-object-type

Fixed E_NOTICE due to wrong array

2 years agoFixed:
Roland Häder [Sat, 16 Jul 2022 10:18:08 +0000 (12:18 +0200)]
Fixed:
- $item is the proper array here,
- see https://github.com/friendica/friendica/issues/11632#issuecomment-1186119430

2 years agoAll these methods need to return an integer (0=Success) or otherwise doExecute()
Roland Häder [Sat, 16 Jul 2022 05:43:29 +0000 (07:43 +0200)]
All these methods need to return an integer (0=Success) or otherwise doExecute()
will return NULL.

2 years agoThis class has already been "imported".
Roland Häder [Sat, 16 Jul 2022 05:25:46 +0000 (07:25 +0200)]
This class has already been "imported".

2 years agoMerge pull request #11735 from MrPetovan/bug/11732-frio-scheme-accent
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

2 years ago[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

2 years agoMerge pull request #11734 from Quix0r/fixes/added-final-check-link_item
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

2 years agoChanged:
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

2 years agoMerge pull request #11733 from Quix0r/fixes/returned-type-hint
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"

2 years agoAdded returned type-int "int"
Roland Häder [Wed, 13 Jul 2022 19:09:49 +0000 (21:09 +0200)]
Added returned type-int "int"

2 years agoMerge pull request #11730 from HankG/bugfix-frio-display-settings-error
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

2 years agoFix 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

2 years agoMerge pull request #11729 from MrPetovan/bug/11723-maintenance-mode-view-module
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

2 years agoEnable 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

2 years agoMerge pull request #11728 from nupplaphil/feat/split_db_definitions
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

2 years agoAdd docs
Philipp [Tue, 12 Jul 2022 22:27:39 +0000 (00:27 +0200)]
Add docs

2 years agoinclude suggested changes
Philipp [Tue, 12 Jul 2022 22:23:12 +0000 (00:23 +0200)]
include suggested changes

2 years agoAdd dbview.config.php for vfs directory mocking
Philipp [Tue, 12 Jul 2022 21:46:21 +0000 (23:46 +0200)]
Add dbview.config.php for vfs directory mocking

2 years agoFix tests
Philipp [Tue, 12 Jul 2022 21:30:29 +0000 (23:30 +0200)]
Fix tests

2 years agoSplit DBStructure & View to avoid DB-calls and dependencies for basic operations
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

2 years agoMerge pull request #11727 from nupplaphil/bug/redirect
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

2 years agoFix HTTP Client redirect Bug
Philipp [Tue, 12 Jul 2022 18:09:18 +0000 (20:09 +0200)]
Fix HTTP Client redirect Bug

2 years agoAdd test case for https://github.com/friendica/friendica/issues/11726
Philipp [Tue, 12 Jul 2022 17:49:39 +0000 (19:49 +0200)]
Add test case for https://github.com/friendica/friendica/issues/11726

2 years agoMerge pull request #11725 from MrPetovan/bug/fatal-errors
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

2 years agoFix 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

2 years agoMerge pull request #11719 from nupplaphil/feat/type_use
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 :-)

2 years agoMerge pull request #11720 from MrPetovan/bug/fatal-errors
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

2 years agoRemove 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

2 years agoadhere `use` and type-hints :-)
Philipp [Sat, 9 Jul 2022 09:41:36 +0000 (11:41 +0200)]
adhere `use` and type-hints :-)

2 years agoMerge pull request #11718 from HankG/feature-optional-network-group-count
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

2 years agoMerge branch 'develop' into 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

2 years agoMake network counts at the group level system level configurable
Hank Grabowski [Fri, 8 Jul 2022 19:29:34 +0000 (15:29 -0400)]
Make network counts at the group level system level configurable

2 years agoMerge pull request #11717 from tobiasd/20220708-de2
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+

2 years agoDE translation updates THX FOSS+
Tobias Diekershoff [Fri, 8 Jul 2022 13:33:12 +0000 (15:33 +0200)]
DE translation updates THX FOSS+

2 years agoMerge pull request #11715 from tobiasd/20220708-de
Philipp [Fri, 8 Jul 2022 06:29:38 +0000 (08:29 +0200)]
Merge pull request #11715 from tobiasd/20220708-de

DE translation updates

2 years agoDE translation updates
Tobias Diekershoff [Fri, 8 Jul 2022 06:23:25 +0000 (08:23 +0200)]
DE translation updates

2 years agoMerge pull request #11714 from nupplaphil/bug/trust
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

2 years agoAdd the right exceptions for BaseUrl::redirect and respect them when catching excepti...
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

2 years agoAdd a lot of log-points
Philipp [Thu, 7 Jul 2022 19:33:41 +0000 (21:33 +0200)]
Add a lot of log-points

2 years agoMerge pull request #11711 from tobiasd/20220707_plsv
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

2 years agoSV update to the strings THX viktorbagare
Tobias Diekershoff [Thu, 7 Jul 2022 09:08:05 +0000 (11:08 +0200)]
SV update to the strings THX viktorbagare

2 years agoPL translation update THX strebski
Tobias Diekershoff [Thu, 7 Jul 2022 09:07:26 +0000 (11:07 +0200)]
PL translation update THX strebski

2 years agoMerge pull request #11710 from Quix0r/fixes/type-error-send-contact-reject
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

2 years agoFixed:
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

2 years agoMerge pull request #11709 from Quix0r/fixes/type-error-null-uri-id
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

2 years agoFixed:
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

2 years agoMerge pull request #11705 from Quix0r/fixes/null-value-invocation
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"

2 years agoFixes:
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"

2 years agoMerge pull request #11703 from MrPetovan/bug/fatal-errors
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

2 years agoRemove overly strict type-hint in ActivityPub\Transmission::createCachedActivityFromItem
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

2 years agoRename Smilies::pregHeart to better match its purpose
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

2 years agoMerge pull request #11701 from Quix0r/fixes/missing-type-hints-getstart
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

2 years agoAdded missing type-hints, #11700
Roland Häder [Fri, 1 Jul 2022 00:50:03 +0000 (02:50 +0200)]
Added missing type-hints, #11700

2 years agoMerge pull request #11699 from Quix0r/rewrites/type-hints-001
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

2 years agoChanged double-quotes to single
Roland Häder [Thu, 30 Jun 2022 15:43:22 +0000 (17:43 +0200)]
Changed double-quotes to single

2 years agoChanges:
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

2 years agoFixed type-hints
Roland Häder [Thu, 30 Jun 2022 12:58:36 +0000 (14:58 +0200)]
Fixed type-hints

2 years agoChanges
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

2 years agoChanges
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

2 years agoChanges
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

2 years agoChanges:
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

2 years agoChanges:
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

2 years agoSome empty lines
Roland Häder [Sun, 26 Jun 2022 23:16:35 +0000 (01:16 +0200)]
Some empty lines

2 years agoA bit more documentation
Roland Häder [Sun, 26 Jun 2022 13:57:09 +0000 (15:57 +0200)]
A bit more documentation

2 years agoChanges:
Roland Häder [Sun, 26 Jun 2022 13:14:51 +0000 (15:14 +0200)]
Changes:
- added some type-hints

2 years agoFixed:
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

2 years agoFixed:
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

2 years agoMerge pull request #11697 from Quix0r/fixes/contact-user-isblocked-retuning-null
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"

2 years agoFixes:
Roland Häder [Mon, 27 Jun 2022 11:49:26 +0000 (13:49 +0200)]
Fixes:
- more "bool expected but null returned" errors

2 years agoFixed:
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"

2 years agoMerge pull request #11696 from Quix0r/fixed-twitter-api-empty-about
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"

2 years agoChanged:
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.

2 years agoMerge pull request #11693 from nupplaphil/feat/woodpecker
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

2 years agoUse labels for woodpecker continuous deployments
Philipp [Sun, 26 Jun 2022 13:45:58 +0000 (15:45 +0200)]
Use labels for woodpecker continuous deployments

2 years agoMerge pull request #11684 from MrPetovan/bug/11651-ap-fetch-queue
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

2 years agoMerge pull request #11692 from MrPetovan/bug/fatal-errors
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

2 years agoConvert 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

2 years agoMerge pull request #11690 from nupplaphil/feat/2fa_improv
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

2 years agoadaptions
Philipp [Sun, 26 Jun 2022 08:13:32 +0000 (10:13 +0200)]
adaptions

2 years agoadd anything ..
Philipp [Sat, 25 Jun 2022 21:06:42 +0000 (23:06 +0200)]
add anything ..

2 years agoUpdate messages.po
Philipp [Sat, 25 Jun 2022 20:37:50 +0000 (22:37 +0200)]
Update messages.po

2 years agoImprove 2 factor usage
Philipp [Sat, 25 Jun 2022 12:45:33 +0000 (14:45 +0200)]
Improve 2 factor usage

2 years agoimprove 2fa token field
Philipp [Thu, 23 Jun 2022 21:30:33 +0000 (23:30 +0200)]
improve 2fa token field

2 years agoAdd more 2fa properties
Philipp [Thu, 23 Jun 2022 21:29:56 +0000 (23:29 +0200)]
Add more 2fa properties

2 years agoRename 2FA recovery message
Philipp [Thu, 23 Jun 2022 20:56:25 +0000 (22:56 +0200)]
Rename 2FA recovery message

2 years agoCreate ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
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

2 years agoMerge pull request #11689 from Quix0r/rewrites/double-quotes-single
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

2 years agoMade @TODO more clear?
Roland Häder [Sat, 25 Jun 2022 15:58:27 +0000 (17:58 +0200)]
Made @TODO more clear?

2 years agoMerge pull request #11688 from MrPetovan/bug/11635-mod-photos-posted
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