Commit Graph

34153 Commits

Author SHA1 Message Date
Roland Häder cb7f52cc6a
Fixed:
- $item is the proper array here,
- see https://github.com/friendica/friendica/issues/11632#issuecomment-1186119430
2022-07-16 12:19:09 +02:00
Michael Vogel 974564f75e
Merge pull request #11735 from MrPetovan/bug/11732-frio-scheme-accent
[frio] Accept 0 as a valid content background transparency in frio/style.php
2022-07-14 05:37:38 +02:00
Hypolite Petovan c50b3d671e [frio] Accept 0 as a valid content background transparency in frio/style.php 2022-07-13 17:51:45 -04:00
Hypolite Petovan 5d1ed5e71f
Merge pull request #11734 from Quix0r/fixes/added-final-check-link_item
$link_item might be boolean (no record found) under rare conditions
2022-07-13 17:08:48 -04:00
Roland Häder a38209db1e
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
2022-07-13 22:05:53 +02:00
Philipp 59a1ba4fae
Merge pull request #11733 from Quix0r/fixes/returned-type-hint
Added returned type-int "int"
2022-07-13 21:14:28 +02:00
Roland Häder 4cb5cadba8
Added returned type-int "int" 2022-07-13 21:10:50 +02:00
Hypolite Petovan 5d8ebffb4e
Merge pull request #11730 from HankG/bugfix-frio-display-settings-error
Fix frio settings display error setting scheme to custom type if null
2022-07-13 08:50:23 -04:00
Hank Grabowski 74252b5a31 Fix frio settings display error setting scheme to custom type if null 2022-07-13 08:40:54 -04:00
Tobias Diekershoff 1ca929ca36
Merge pull request #11729 from MrPetovan/bug/11723-maintenance-mode-view-module
Enable the view module in maintenance mode
2022-07-13 06:32:28 +02:00
Hypolite Petovan 1d94e2866a 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
2022-07-12 19:48:36 -04:00
Hypolite Petovan ac56dcd50f
Merge pull request #11728 from nupplaphil/feat/split_db_definitions
Split DBStructure & View
2022-07-12 18:57:35 -04:00
Philipp 74c5c66cb5
Add docs 2022-07-13 00:27:39 +02:00
Philipp d74e57ef2c
include suggested changes 2022-07-13 00:23:12 +02:00
Philipp 6ef609f4fb
Add dbview.config.php for vfs directory mocking 2022-07-12 23:46:21 +02:00
Philipp 41803cb731
Fix tests 2022-07-12 23:40:31 +02:00
Philipp a910fd8864
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
2022-07-12 23:40:31 +02:00
Hypolite Petovan a2c929d128
Merge pull request #11727 from nupplaphil/bug/redirect
Fix HTTP Client redirect Bug
2022-07-12 15:24:58 -04:00
Philipp 8e547510a0
Fix HTTP Client redirect Bug 2022-07-12 20:11:53 +02:00
Philipp 83a16ac114
Add test case for https://github.com/friendica/friendica/issues/11726 2022-07-12 20:10:17 +02:00
Michael Vogel d9d30c7b06
Merge pull request #11725 from MrPetovan/bug/fatal-errors
Fix type hint typo in Protocol\Email::messageGetPart
2022-07-12 07:13:27 +02:00
Hypolite Petovan 74991d1f95 Fix type hint typo in Protocol\Email::messageGetPart
- Address https://github.com/friendica/friendica/issues/11724
2022-07-11 23:05:13 -04:00
Hypolite Petovan 05ed13a279
Merge pull request #11719 from nupplaphil/feat/type_use
adhere `use` and type-hints :-)
2022-07-09 17:42:42 -04:00
Michael Vogel d87963d8a1
Merge pull request #11720 from MrPetovan/bug/fatal-errors
Remove unused uid parameter in Item::newURI
2022-07-09 13:52:57 +02:00
Hypolite Petovan eb8237dd89 Remove unused uid parameter in Item::newURI 2022-07-09 07:39:51 -04:00
Philipp e8fd495847
adhere use and type-hints :-) 2022-07-09 11:41:36 +02:00
Hypolite Petovan b31c2f4ec1
Merge pull request #11718 from HankG/feature-optional-network-group-count
Feature optional network group count
2022-07-08 20:40:22 -04:00
Hank Grabowski 96d3b5bcf1 Merge branch 'develop' into feature-optional-network-group-count 2022-07-08 15:35:26 -04:00
Hank Grabowski e57e1ba1e5 Make network counts at the group level system level configurable 2022-07-08 15:29:34 -04:00
Hypolite Petovan 12149ab4ea
Merge pull request #11717 from tobiasd/20220708-de2
DE translation updates THX FOSS+
2022-07-08 10:16:47 -04:00
Tobias Diekershoff cb92809736
DE translation updates THX FOSS+ 2022-07-08 15:33:12 +02:00
Philipp f02daef435
Merge pull request #11715 from tobiasd/20220708-de
DE translation updates
2022-07-08 08:29:38 +02:00
Tobias Diekershoff 16906cdd4a
DE translation updates 2022-07-08 08:23:25 +02:00
Hypolite Petovan 3e5b51b914
Merge pull request #11714 from nupplaphil/bug/trust
[2FA] Add a lot of log-points
2022-07-07 18:10:40 -04:00
Philipp 34f2b2f558
Add the right exceptions for BaseUrl::redirect and respect them when catching exceptions at the Trust page 2022-07-07 21:47:39 +02:00
Philipp e4a83eafb8
Add a lot of log-points 2022-07-07 21:33:41 +02:00
Hypolite Petovan 464fdb955c
Merge pull request #11711 from tobiasd/20220707_plsv
PL, SV translation updates THX strebski and viktorbagare
2022-07-07 08:47:31 -04:00
Tobias Diekershoff 28e2eab7ae
SV update to the strings THX viktorbagare 2022-07-07 11:08:05 +02:00
Tobias Diekershoff a82c874d5d
PL translation update THX strebski 2022-07-07 11:07:26 +02:00
Hypolite Petovan 4f77b1e2db
Merge pull request #11710 from Quix0r/fixes/type-error-send-contact-reject
Type-hint has to be string, instead of int
2022-07-06 03:56:12 -04:00
Roland Häder bf809c9d57
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
2022-07-06 05:43:00 +02:00
Philipp 7b55f93027
Merge pull request #11709 from Quix0r/fixes/type-error-null-uri-id
Avoid TypeError because of missing "uri-id" entry
2022-07-05 19:38:18 +02:00
Roland Häder 4875524101
Fixed:
- added exception to prevent `TypeError` because of missing `uri-id` entry
- maybe fixes #11708
2022-07-05 18:53:51 +02:00
Hypolite Petovan c88898df9c
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"
2022-07-03 08:57:23 -04:00
Roland Häder ba33c95e97
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"
2022-07-03 14:45:12 +02:00
Tobias Diekershoff e6ed8f6315
Merge pull request #11703 from MrPetovan/bug/fatal-errors
Fix fatal errors
2022-07-03 06:32:37 +02:00
Hypolite Petovan 181c142bb4 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
2022-07-02 22:16:59 -04:00
Hypolite Petovan e6feed65bf 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
2022-07-02 22:14:20 -04:00
Tobias Diekershoff da7bc082b9
Merge pull request #11701 from Quix0r/fixes/missing-type-hints-getstart
Added missing type-hints
2022-07-01 06:40:54 +02:00
Roland Häder 3326c4cb31
Added missing type-hints, #11700 2022-07-01 02:50:34 +02:00