From f2a4aecc054eeb730a2e0112657e4ca4b24445c2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jul 2022 06:34:37 +0000 Subject: [PATCH 1/8] Check for GMP module --- src/Contact/Avatar.php | 2 +- src/Core/Installer.php | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Contact/Avatar.php b/src/Contact/Avatar.php index f43ed7b8c7..1dd2f9cee6 100644 --- a/src/Contact/Avatar.php +++ b/src/Contact/Avatar.php @@ -263,7 +263,7 @@ class Avatar { $localFile = self::getCacheFile($avatar); if (!empty($localFile)) { - unlink($localFile); + @unlink($localFile); Logger::debug('Unlink avatar', ['avatar' => $avatar]); } } diff --git a/src/Core/Installer.php b/src/Core/Installer.php index ff759c9feb..9a9bdfb5f7 100644 --- a/src/Core/Installer.php +++ b/src/Core/Installer.php @@ -486,6 +486,13 @@ class Installer ); $returnVal = $returnVal ? $status : false; + $status = $this->checkFunction('gmp_strval', + DI::l10n()->t('GNU Multiple Precision PHP module'), + DI::l10n()->t('Error: GNU Multiple Precision PHP module required but not installed.'), + true + ); + $returnVal = $returnVal ? $status : false; + return $returnVal; } From 6454f9a32cf35eb59b7742fdc23f211c55b25e6d Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jul 2022 07:39:12 +0000 Subject: [PATCH 2/8] Updated messages.po --- doc/Install.md | 2 +- doc/de/Install.md | 2 +- view/lang/C/messages.po | 736 ++++++++++++++++++++-------------------- 3 files changed, 374 insertions(+), 366 deletions(-) diff --git a/doc/Install.md b/doc/Install.md index 733c8109b0..b109113ef9 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -30,7 +30,7 @@ Due to the large variety of operating systems and PHP platforms in existence we * Apache with mod-rewrite enabled and "Options All" so you can use a local `.htaccess` file * PHP 7.3+ (PHP8 is not fully supported yet) * PHP *command line* access with register_argc_argv set to true in the php.ini file - * Curl, GD, PDO, mbstrings, MySQLi, hash, xml, zip and OpenSSL extensions + * Curl, GD, GMP, PDO, mbstrings, MySQLi, hash, xml, zip and OpenSSL extensions * The POSIX module of PHP needs to be activated (e.g. [RHEL, CentOS](http://www.bigsoft.co.uk/blog/index.php/2014/12/08/posix-php-commands-not-working-under-centos-7) have disabled it) * Some form of email server or email gateway such that PHP mail() works. If you cannot set up your own email server, you can use the [phpmailer](https://github.com/friendica/friendica-addons/tree/develop/phpmailer) addon and use a remote SMTP server. diff --git a/doc/de/Install.md b/doc/de/Install.md index 7517a6b1a3..03a46f6152 100644 --- a/doc/de/Install.md +++ b/doc/de/Install.md @@ -27,7 +27,7 @@ Requirements * Apache mit einer aktiverten mod-rewrite-Funktion und dem Eintrag "Options All", so dass du die lokale .htaccess-Datei nutzen kannst * PHP 7.3+ (PHP 8 wird noch nicht komplett unterstützt) * PHP *Kommandozeilen*-Zugang mit register_argc_argv auf "true" gesetzt in der php.ini-Datei - * Curl, GD, PDO, MySQLi, xml, zip und OpenSSL-Erweiterung + * Curl, GD, GMP, PDO, MySQLi, xml, zip und OpenSSL-Erweiterung * Das POSIX Modul muss aktiviert sein ([CentOS, RHEL](http://www.bigsoft.co.uk/blog/index.php/2014/12/08/posix-php-commands-not-working-under-centos-7http://www.bigsoft.co.uk/blog/index.php/2014/12/08/posix-php-commands-not-working-under-centos-7) haben dies z.B. deaktiviert) * Einen E-Mail Server, so dass PHP `mail()` funktioniert. Wenn kein eigener E-Mail Server zur Verfügung steht, kann alternativ das [phpmailer](https://github.com/friendica/friendica-addons/tree/develop/phpmailer) Addon mit einem externen SMTP Account verwendet werden. diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index 178d909dfa..702fcda9aa 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2022.09-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-07-07 17:00-0400\n" +"POT-Creation-Date: 2022-07-17 07:33+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -45,8 +45,8 @@ msgstr "" #: mod/cal.php:243 mod/events.php:374 src/Content/Nav.php:196 #: src/Content/Nav.php:260 src/Module/BaseProfile.php:84 -#: src/Module/BaseProfile.php:95 view/theme/frio/theme.php:229 -#: view/theme/frio/theme.php:233 +#: src/Module/BaseProfile.php:95 view/theme/frio/theme.php:234 +#: view/theme/frio/theme.php:238 msgid "Events" msgstr "" @@ -424,7 +424,7 @@ msgstr "" msgid "Basic" msgstr "" -#: mod/events.php:517 src/Module/Admin/Site.php:439 src/Module/Contact.php:474 +#: mod/events.php:517 src/Module/Admin/Site.php:441 src/Module/Contact.php:474 #: src/Module/Profile/Profile.php:249 msgid "Advanced" msgstr "" @@ -434,7 +434,7 @@ msgid "Failed to remove event" msgstr "" #: mod/fbrowser.php:61 src/Content/Nav.php:194 src/Module/BaseProfile.php:64 -#: view/theme/frio/theme.php:227 +#: view/theme/frio/theme.php:232 msgid "Photos" msgstr "" @@ -469,7 +469,7 @@ msgstr "" #: mod/follow.php:138 src/Content/Item.php:459 src/Content/Widget.php:80 #: src/Model/Contact.php:1104 src/Model/Contact.php:1116 -#: view/theme/vier/theme.php:172 +#: view/theme/vier/theme.php:181 msgid "Connect/Follow" msgstr "" @@ -715,7 +715,7 @@ msgstr "" msgid "Discard" msgstr "" -#: mod/message.php:133 src/Content/Nav.php:285 view/theme/frio/theme.php:234 +#: mod/message.php:133 src/Content/Nav.php:285 view/theme/frio/theme.php:239 msgid "Messages" msgstr "" @@ -1204,7 +1204,7 @@ msgstr "" #: mod/settings.php:205 mod/settings.php:237 mod/settings.php:268 #: mod/settings.php:352 src/Module/Admin/Addons/Index.php:69 #: src/Module/Admin/Features.php:87 src/Module/Admin/Logs/Settings.php:81 -#: src/Module/Admin/Site.php:434 src/Module/Admin/Themes/Index.php:113 +#: src/Module/Admin/Site.php:436 src/Module/Admin/Themes/Index.php:113 #: src/Module/Admin/Tos.php:83 src/Module/Settings/Account.php:559 #: src/Module/Settings/Delegation.php:170 src/Module/Settings/Display.php:193 msgid "Save Settings" @@ -1405,11 +1405,11 @@ msgid "" "hours." msgstr "" -#: mod/suggest.php:55 src/Content/Widget.php:83 view/theme/vier/theme.php:175 +#: mod/suggest.php:55 src/Content/Widget.php:83 view/theme/vier/theme.php:184 msgid "Friend Suggestions" msgstr "" -#: mod/tagger.php:78 src/Content/Item.php:354 src/Model/Item.php:2728 +#: mod/tagger.php:78 src/Content/Item.php:354 src/Model/Item.php:2727 msgid "photo" msgstr "" @@ -2273,11 +2273,11 @@ msgstr "" msgid "%1$s poked %2$s" msgstr "" -#: src/Content/Item.php:345 src/Model/Item.php:2726 +#: src/Content/Item.php:345 src/Model/Item.php:2725 msgid "event" msgstr "" -#: src/Content/Item.php:438 view/theme/frio/theme.php:254 +#: src/Content/Item.php:438 view/theme/frio/theme.php:260 msgid "Follow Thread" msgstr "" @@ -2367,41 +2367,41 @@ msgstr "" #: src/Content/Nav.php:192 src/Module/BaseProfile.php:56 #: src/Module/Contact.php:433 src/Module/Contact/Profile.php:380 -#: src/Module/Settings/TwoFactor/Index.php:120 view/theme/frio/theme.php:225 +#: src/Module/Settings/TwoFactor/Index.php:120 view/theme/frio/theme.php:230 msgid "Status" msgstr "" #: src/Content/Nav.php:192 src/Content/Nav.php:275 -#: view/theme/frio/theme.php:225 +#: view/theme/frio/theme.php:230 msgid "Your posts and conversations" msgstr "" #: src/Content/Nav.php:193 src/Module/BaseProfile.php:48 #: src/Module/BaseSettings.php:55 src/Module/Contact.php:457 #: src/Module/Contact/Profile.php:382 src/Module/Profile/Profile.php:241 -#: src/Module/Welcome.php:57 view/theme/frio/theme.php:226 +#: src/Module/Welcome.php:57 view/theme/frio/theme.php:231 msgid "Profile" msgstr "" -#: src/Content/Nav.php:193 view/theme/frio/theme.php:226 +#: src/Content/Nav.php:193 view/theme/frio/theme.php:231 msgid "Your profile page" msgstr "" -#: src/Content/Nav.php:194 view/theme/frio/theme.php:227 +#: src/Content/Nav.php:194 view/theme/frio/theme.php:232 msgid "Your photos" msgstr "" #: src/Content/Nav.php:195 src/Module/BaseProfile.php:72 #: src/Module/BaseProfile.php:75 src/Module/Contact.php:449 -#: view/theme/frio/theme.php:228 +#: view/theme/frio/theme.php:233 msgid "Media" msgstr "" -#: src/Content/Nav.php:195 view/theme/frio/theme.php:228 +#: src/Content/Nav.php:195 view/theme/frio/theme.php:233 msgid "Your postings with media" msgstr "" -#: src/Content/Nav.php:196 view/theme/frio/theme.php:229 +#: src/Content/Nav.php:196 view/theme/frio/theme.php:234 msgid "Your events" msgstr "" @@ -2430,7 +2430,7 @@ msgstr "" #: src/Module/Settings/TwoFactor/AppSpecific.php:127 #: src/Module/Settings/TwoFactor/Index.php:119 #: src/Module/Settings/TwoFactor/Recovery.php:105 -#: src/Module/Settings/TwoFactor/Verify.php:145 view/theme/vier/theme.php:217 +#: src/Module/Settings/TwoFactor/Verify.php:145 view/theme/vier/theme.php:226 msgid "Help" msgstr "" @@ -2467,7 +2467,7 @@ msgstr "" #: src/Content/Nav.php:237 src/Content/Nav.php:296 #: src/Content/Text/HTML.php:899 src/Module/BaseProfile.php:125 #: src/Module/BaseProfile.php:128 src/Module/Contact.php:370 -#: src/Module/Contact.php:464 view/theme/frio/theme.php:236 +#: src/Module/Contact.php:464 view/theme/frio/theme.php:241 msgid "Contacts" msgstr "" @@ -2480,7 +2480,7 @@ msgid "Conversations on this and other servers" msgstr "" #: src/Content/Nav.php:260 src/Module/BaseProfile.php:87 -#: src/Module/BaseProfile.php:98 view/theme/frio/theme.php:233 +#: src/Module/BaseProfile.php:98 view/theme/frio/theme.php:238 msgid "Events and Calendar" msgstr "" @@ -2510,11 +2510,11 @@ msgstr "" msgid "Terms of Service of this Friendica instance" msgstr "" -#: src/Content/Nav.php:273 view/theme/frio/theme.php:232 +#: src/Content/Nav.php:273 view/theme/frio/theme.php:237 msgid "Network" msgstr "" -#: src/Content/Nav.php:273 view/theme/frio/theme.php:232 +#: src/Content/Nav.php:273 view/theme/frio/theme.php:237 msgid "Conversations from your friends" msgstr "" @@ -2539,7 +2539,7 @@ msgstr "" msgid "Mark all system notifications as seen" msgstr "" -#: src/Content/Nav.php:285 view/theme/frio/theme.php:234 +#: src/Content/Nav.php:285 view/theme/frio/theme.php:239 msgid "Private mail" msgstr "" @@ -2561,15 +2561,15 @@ msgstr "" #: src/Content/Nav.php:294 src/Module/Admin/Addons/Details.php:114 #: src/Module/Admin/Themes/Details.php:93 src/Module/BaseSettings.php:122 -#: src/Module/Welcome.php:52 view/theme/frio/theme.php:235 +#: src/Module/Welcome.php:52 view/theme/frio/theme.php:240 msgid "Settings" msgstr "" -#: src/Content/Nav.php:294 view/theme/frio/theme.php:235 +#: src/Content/Nav.php:294 view/theme/frio/theme.php:240 msgid "Account settings" msgstr "" -#: src/Content/Nav.php:296 view/theme/frio/theme.php:236 +#: src/Content/Nav.php:296 view/theme/frio/theme.php:241 msgid "Manage/edit friends and contacts" msgstr "" @@ -2624,8 +2624,8 @@ msgid "" "%2$s %3$s" msgstr "" -#: src/Content/Text/BBCode.php:1213 src/Model/Item.php:3301 -#: src/Model/Item.php:3307 src/Model/Item.php:3308 +#: src/Content/Text/BBCode.php:1213 src/Model/Item.php:3300 +#: src/Model/Item.php:3306 src/Model/Item.php:3307 msgid "Link to source" msgstr "" @@ -2685,41 +2685,41 @@ msgid_plural "%d invitations available" msgstr[0] "" msgstr[1] "" -#: src/Content/Widget.php:78 view/theme/vier/theme.php:170 +#: src/Content/Widget.php:78 view/theme/vier/theme.php:179 msgid "Find People" msgstr "" -#: src/Content/Widget.php:79 view/theme/vier/theme.php:171 +#: src/Content/Widget.php:79 view/theme/vier/theme.php:180 msgid "Enter name or interest" msgstr "" -#: src/Content/Widget.php:81 view/theme/vier/theme.php:173 +#: src/Content/Widget.php:81 view/theme/vier/theme.php:182 msgid "Examples: Robert Morgenstein, Fishing" msgstr "" #: src/Content/Widget.php:82 src/Module/Contact.php:391 -#: src/Module/Directory.php:97 view/theme/vier/theme.php:174 +#: src/Module/Directory.php:97 view/theme/vier/theme.php:183 msgid "Find" msgstr "" -#: src/Content/Widget.php:84 view/theme/vier/theme.php:176 +#: src/Content/Widget.php:84 view/theme/vier/theme.php:185 msgid "Similar Interests" msgstr "" -#: src/Content/Widget.php:85 view/theme/vier/theme.php:177 +#: src/Content/Widget.php:85 view/theme/vier/theme.php:186 msgid "Random Profile" msgstr "" -#: src/Content/Widget.php:86 view/theme/vier/theme.php:178 +#: src/Content/Widget.php:86 view/theme/vier/theme.php:187 msgid "Invite Friends" msgstr "" #: src/Content/Widget.php:87 src/Module/Directory.php:89 -#: view/theme/vier/theme.php:179 +#: view/theme/vier/theme.php:188 msgid "Global Directory" msgstr "" -#: src/Content/Widget.php:89 view/theme/vier/theme.php:181 +#: src/Content/Widget.php:89 view/theme/vier/theme.php:190 msgid "Local Directory" msgstr "" @@ -2911,22 +2911,22 @@ msgid "" "web server root." msgstr "" -#: src/Core/Installer.php:202 +#: src/Core/Installer.php:200 msgid "" "You may need to import the file \"database.sql\" manually using phpmyadmin " "or mysql." msgstr "" -#: src/Core/Installer.php:203 src/Module/Install.php:213 +#: src/Core/Installer.php:201 src/Module/Install.php:213 #: src/Module/Install.php:372 msgid "Please see the file \"doc/INSTALL.md\"." msgstr "" -#: src/Core/Installer.php:264 +#: src/Core/Installer.php:262 msgid "Could not find a command line version of PHP in the web server PATH." msgstr "" -#: src/Core/Installer.php:265 +#: src/Core/Installer.php:263 msgid "" "If you don't have a command line version of PHP installed on your server, " "you will not be able to run the background processing. See 'Setup the worker'" msgstr "" -#: src/Core/Installer.php:270 +#: src/Core/Installer.php:268 msgid "PHP executable path" msgstr "" -#: src/Core/Installer.php:270 +#: src/Core/Installer.php:268 msgid "" "Enter full path to php executable. You can leave this blank to continue the " "installation." msgstr "" -#: src/Core/Installer.php:275 +#: src/Core/Installer.php:273 msgid "Command line PHP" msgstr "" -#: src/Core/Installer.php:284 +#: src/Core/Installer.php:282 msgid "PHP executable is not the php cli binary (could be cgi-fgci version)" msgstr "" -#: src/Core/Installer.php:285 +#: src/Core/Installer.php:283 msgid "Found PHP version: " msgstr "" -#: src/Core/Installer.php:287 +#: src/Core/Installer.php:285 msgid "PHP cli binary" msgstr "" -#: src/Core/Installer.php:300 +#: src/Core/Installer.php:298 msgid "" "The command line version of PHP on your system does not have " "\"register_argc_argv\" enabled." msgstr "" -#: src/Core/Installer.php:301 +#: src/Core/Installer.php:299 msgid "This is required for message delivery to work." msgstr "" -#: src/Core/Installer.php:306 +#: src/Core/Installer.php:304 msgid "PHP register_argc_argv" msgstr "" -#: src/Core/Installer.php:338 +#: src/Core/Installer.php:336 msgid "" "Error: the \"openssl_pkey_new\" function on this system is not able to " "generate encryption keys" msgstr "" -#: src/Core/Installer.php:339 +#: src/Core/Installer.php:337 msgid "" "If running under Windows, please see \"http://www.php.net/manual/en/openssl." "installation.php\"." msgstr "" -#: src/Core/Installer.php:342 +#: src/Core/Installer.php:340 msgid "Generate encryption keys" msgstr "" -#: src/Core/Installer.php:394 +#: src/Core/Installer.php:392 msgid "" "Error: Apache webserver mod-rewrite module is required but not installed." msgstr "" -#: src/Core/Installer.php:399 +#: src/Core/Installer.php:397 msgid "Apache mod_rewrite module" msgstr "" -#: src/Core/Installer.php:405 +#: src/Core/Installer.php:403 msgid "Error: PDO or MySQLi PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:410 +#: src/Core/Installer.php:408 msgid "Error: The MySQL driver for PDO is not installed." msgstr "" -#: src/Core/Installer.php:414 +#: src/Core/Installer.php:412 msgid "PDO or MySQLi PHP module" msgstr "" -#: src/Core/Installer.php:422 +#: src/Core/Installer.php:420 msgid "Error, XML PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:426 +#: src/Core/Installer.php:424 msgid "XML PHP module" msgstr "" -#: src/Core/Installer.php:429 +#: src/Core/Installer.php:427 msgid "libCurl PHP module" msgstr "" -#: src/Core/Installer.php:430 +#: src/Core/Installer.php:428 msgid "Error: libCURL PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:436 +#: src/Core/Installer.php:434 msgid "GD graphics PHP module" msgstr "" -#: src/Core/Installer.php:437 +#: src/Core/Installer.php:435 msgid "" "Error: GD graphics PHP module with JPEG support required but not installed." msgstr "" -#: src/Core/Installer.php:443 +#: src/Core/Installer.php:441 msgid "OpenSSL PHP module" msgstr "" -#: src/Core/Installer.php:444 +#: src/Core/Installer.php:442 msgid "Error: openssl PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:450 +#: src/Core/Installer.php:448 msgid "mb_string PHP module" msgstr "" -#: src/Core/Installer.php:451 +#: src/Core/Installer.php:449 msgid "Error: mb_string PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:457 +#: src/Core/Installer.php:455 msgid "iconv PHP module" msgstr "" -#: src/Core/Installer.php:458 +#: src/Core/Installer.php:456 msgid "Error: iconv PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:464 +#: src/Core/Installer.php:462 msgid "POSIX PHP module" msgstr "" -#: src/Core/Installer.php:465 +#: src/Core/Installer.php:463 msgid "Error: POSIX PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:471 +#: src/Core/Installer.php:469 msgid "Program execution functions" msgstr "" -#: src/Core/Installer.php:472 +#: src/Core/Installer.php:470 msgid "" "Error: Program execution functions (proc_open) required but not enabled." msgstr "" -#: src/Core/Installer.php:478 +#: src/Core/Installer.php:476 msgid "JSON PHP module" msgstr "" -#: src/Core/Installer.php:479 +#: src/Core/Installer.php:477 msgid "Error: JSON PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:485 +#: src/Core/Installer.php:483 msgid "File Information PHP module" msgstr "" -#: src/Core/Installer.php:486 +#: src/Core/Installer.php:484 msgid "Error: File Information PHP module required but not installed." msgstr "" -#: src/Core/Installer.php:509 +#: src/Core/Installer.php:490 +msgid "GNU Multiple Precision PHP module" +msgstr "" + +#: src/Core/Installer.php:491 +msgid "Error: GNU Multiple Precision PHP module required but not installed." +msgstr "" + +#: src/Core/Installer.php:514 msgid "" "The web installer needs to be able to create a file called \"local.config.php" "\" in the \"config\" folder of your web server and it is unable to do so." msgstr "" -#: src/Core/Installer.php:510 +#: src/Core/Installer.php:515 msgid "" "This is most often a permission setting, as the web server may not be able " "to write files in your folder - even if you can." msgstr "" -#: src/Core/Installer.php:511 +#: src/Core/Installer.php:516 msgid "" "At the end of this procedure, we will give you a text to save in a file " "named local.config.php in your Friendica \"config\" folder." msgstr "" -#: src/Core/Installer.php:512 +#: src/Core/Installer.php:517 msgid "" "You can alternatively skip this procedure and perform a manual installation. " "Please see the file \"doc/INSTALL.md\" for instructions." msgstr "" -#: src/Core/Installer.php:515 +#: src/Core/Installer.php:520 msgid "config/local.config.php is writable" msgstr "" -#: src/Core/Installer.php:535 +#: src/Core/Installer.php:540 msgid "" "Friendica uses the Smarty3 template engine to render its web views. Smarty3 " "compiles templates to PHP to speed up rendering." msgstr "" -#: src/Core/Installer.php:536 +#: src/Core/Installer.php:541 msgid "" "In order to store these compiled templates, the web server needs to have " "write access to the directory view/smarty3/ under the Friendica top level " "folder." msgstr "" -#: src/Core/Installer.php:537 +#: src/Core/Installer.php:542 msgid "" "Please ensure that the user that your web server runs as (e.g. www-data) has " "write access to this folder." msgstr "" -#: src/Core/Installer.php:538 +#: src/Core/Installer.php:543 msgid "" "Note: as a security measure, you should give the web server write access to " "view/smarty3/ only--not the template files (.tpl) that it contains." msgstr "" -#: src/Core/Installer.php:541 +#: src/Core/Installer.php:546 msgid "view/smarty3 is writable" msgstr "" -#: src/Core/Installer.php:569 +#: src/Core/Installer.php:574 msgid "" "Url rewrite in .htaccess seems not working. Make sure you copied .htaccess-" "dist to .htaccess." msgstr "" -#: src/Core/Installer.php:570 +#: src/Core/Installer.php:575 msgid "" "In some circumstances (like running inside containers), you can skip this " "error." msgstr "" -#: src/Core/Installer.php:572 +#: src/Core/Installer.php:577 msgid "Error message from Curl when fetching" msgstr "" -#: src/Core/Installer.php:578 +#: src/Core/Installer.php:583 msgid "Url rewrite is working" msgstr "" -#: src/Core/Installer.php:607 +#: src/Core/Installer.php:612 msgid "" "The detection of TLS to secure the communication between the browser and the " "new Friendica server failed." msgstr "" -#: src/Core/Installer.php:608 +#: src/Core/Installer.php:613 msgid "" "It is highly encouraged to use Friendica only over a secure connection as " "sensitive information like passwords will be transmitted." msgstr "" -#: src/Core/Installer.php:609 +#: src/Core/Installer.php:614 msgid "Please ensure that the connection to the server is secure." msgstr "" -#: src/Core/Installer.php:610 +#: src/Core/Installer.php:615 msgid "No TLS detected" msgstr "" -#: src/Core/Installer.php:612 +#: src/Core/Installer.php:617 msgid "TLS detected" msgstr "" -#: src/Core/Installer.php:639 +#: src/Core/Installer.php:644 msgid "ImageMagick PHP extension is not installed" msgstr "" -#: src/Core/Installer.php:641 +#: src/Core/Installer.php:646 msgid "ImageMagick PHP extension is installed" msgstr "" -#: src/Core/Installer.php:643 +#: src/Core/Installer.php:648 msgid "ImageMagick supports GIF" msgstr "" -#: src/Core/Installer.php:665 +#: src/Core/Installer.php:670 msgid "Database already in use." msgstr "" -#: src/Core/Installer.php:670 +#: src/Core/Installer.php:675 msgid "Could not connect to database." msgstr "" @@ -3530,33 +3538,33 @@ msgstr "" msgid "Done. You can now login with your username and password" msgstr "" -#: src/Database/DBStructure.php:65 +#: src/Database/DBStructure.php:57 #, php-format msgid "The database version had been set to %s." msgstr "" -#: src/Database/DBStructure.php:78 +#: src/Database/DBStructure.php:70 #, php-format msgid "" "The post update is at version %d, it has to be at %d to safely drop the " "tables." msgstr "" -#: src/Database/DBStructure.php:91 +#: src/Database/DBStructure.php:83 msgid "No unused tables found." msgstr "" -#: src/Database/DBStructure.php:96 +#: src/Database/DBStructure.php:88 msgid "" "These tables are not used for friendica and will be deleted when you execute " "\"dbstructure drop -e\":" msgstr "" -#: src/Database/DBStructure.php:134 +#: src/Database/DBStructure.php:126 msgid "There are no tables on MyISAM or InnoDB with the Antelope file format." msgstr "" -#: src/Database/DBStructure.php:157 +#: src/Database/DBStructure.php:150 #, php-format msgid "" "\n" @@ -3564,20 +3572,20 @@ msgid "" "%s\n" msgstr "" -#: src/Database/DBStructure.php:160 +#: src/Database/DBStructure.php:153 msgid "Errors encountered performing database changes: " msgstr "" -#: src/Database/DBStructure.php:563 +#: src/Database/DBStructure.php:219 msgid "Another database update is currently running." msgstr "" -#: src/Database/DBStructure.php:567 +#: src/Database/DBStructure.php:223 #, php-format msgid "%s: Database update" msgstr "" -#: src/Database/DBStructure.php:817 +#: src/Database/DBStructure.php:479 #, php-format msgid "%s: updating %s table." msgstr "" @@ -3807,53 +3815,53 @@ msgstr "" msgid "Detected languages in this post:\\n%s" msgstr "" -#: src/Model/Item.php:2730 +#: src/Model/Item.php:2729 msgid "activity" msgstr "" -#: src/Model/Item.php:2732 +#: src/Model/Item.php:2731 msgid "comment" msgstr "" -#: src/Model/Item.php:2735 +#: src/Model/Item.php:2734 msgid "post" msgstr "" -#: src/Model/Item.php:2851 +#: src/Model/Item.php:2850 #, php-format msgid "Content warning: %s" msgstr "" -#: src/Model/Item.php:3210 +#: src/Model/Item.php:3209 msgid "bytes" msgstr "" -#: src/Model/Item.php:3244 +#: src/Model/Item.php:3243 #, php-format msgid "%s (%d%s, %d votes)" msgstr "" -#: src/Model/Item.php:3246 +#: src/Model/Item.php:3245 #, php-format msgid "%s (%d votes)" msgstr "" -#: src/Model/Item.php:3251 +#: src/Model/Item.php:3250 #, php-format msgid "%d voters. Poll end: %s" msgstr "" -#: src/Model/Item.php:3253 +#: src/Model/Item.php:3252 #, php-format msgid "%d voters." msgstr "" -#: src/Model/Item.php:3255 +#: src/Model/Item.php:3254 #, php-format msgid "Poll end: %s" msgstr "" -#: src/Model/Item.php:3289 src/Model/Item.php:3290 +#: src/Model/Item.php:3288 src/Model/Item.php:3289 msgid "View on separate page" msgstr "" @@ -4285,7 +4293,7 @@ msgstr "" #: src/Module/Admin/Blocklist/Server/Index.php:78 #: src/Module/Admin/Federation.php:196 src/Module/Admin/Item/Delete.php:64 #: src/Module/Admin/Logs/Settings.php:79 src/Module/Admin/Logs/View.php:84 -#: src/Module/Admin/Queue.php:72 src/Module/Admin/Site.php:431 +#: src/Module/Admin/Queue.php:72 src/Module/Admin/Site.php:433 #: src/Module/Admin/Storage.php:138 src/Module/Admin/Summary.php:233 #: src/Module/Admin/Themes/Details.php:90 src/Module/Admin/Themes/Index.php:111 #: src/Module/Admin/Tos.php:75 src/Module/Admin/Users/Active.php:136 @@ -5038,470 +5046,470 @@ msgstr "" msgid "Priority" msgstr "" -#: src/Module/Admin/Site.php:336 src/Module/Settings/Display.php:138 +#: src/Module/Admin/Site.php:338 src/Module/Settings/Display.php:138 msgid "No special theme for mobile devices" msgstr "" -#: src/Module/Admin/Site.php:353 src/Module/Settings/Display.php:148 +#: src/Module/Admin/Site.php:355 src/Module/Settings/Display.php:148 #, php-format msgid "%s - (Experimental)" msgstr "" -#: src/Module/Admin/Site.php:365 +#: src/Module/Admin/Site.php:367 msgid "No community page for local users" msgstr "" -#: src/Module/Admin/Site.php:366 +#: src/Module/Admin/Site.php:368 msgid "No community page" msgstr "" -#: src/Module/Admin/Site.php:367 +#: src/Module/Admin/Site.php:369 msgid "Public postings from users of this site" msgstr "" -#: src/Module/Admin/Site.php:368 +#: src/Module/Admin/Site.php:370 msgid "Public postings from the federated network" msgstr "" -#: src/Module/Admin/Site.php:369 +#: src/Module/Admin/Site.php:371 msgid "Public postings from local users and the federated network" msgstr "" -#: src/Module/Admin/Site.php:375 +#: src/Module/Admin/Site.php:377 msgid "Multi user instance" msgstr "" -#: src/Module/Admin/Site.php:402 +#: src/Module/Admin/Site.php:404 msgid "Closed" msgstr "" -#: src/Module/Admin/Site.php:403 +#: src/Module/Admin/Site.php:405 msgid "Requires approval" msgstr "" -#: src/Module/Admin/Site.php:404 +#: src/Module/Admin/Site.php:406 msgid "Open" msgstr "" -#: src/Module/Admin/Site.php:408 src/Module/Install.php:222 +#: src/Module/Admin/Site.php:410 src/Module/Install.php:222 msgid "No SSL policy, links will track page SSL state" msgstr "" -#: src/Module/Admin/Site.php:409 src/Module/Install.php:223 +#: src/Module/Admin/Site.php:411 src/Module/Install.php:223 msgid "Force all links to use SSL" msgstr "" -#: src/Module/Admin/Site.php:410 src/Module/Install.php:224 +#: src/Module/Admin/Site.php:412 src/Module/Install.php:224 msgid "Self-signed certificate, use SSL for local links only (discouraged)" msgstr "" -#: src/Module/Admin/Site.php:414 +#: src/Module/Admin/Site.php:416 msgid "Don't check" msgstr "" -#: src/Module/Admin/Site.php:415 +#: src/Module/Admin/Site.php:417 msgid "check the stable version" msgstr "" -#: src/Module/Admin/Site.php:416 +#: src/Module/Admin/Site.php:418 msgid "check the development version" msgstr "" -#: src/Module/Admin/Site.php:420 +#: src/Module/Admin/Site.php:422 msgid "none" msgstr "" -#: src/Module/Admin/Site.php:421 +#: src/Module/Admin/Site.php:423 msgid "Local contacts" msgstr "" -#: src/Module/Admin/Site.php:422 +#: src/Module/Admin/Site.php:424 msgid "Interactors" msgstr "" -#: src/Module/Admin/Site.php:432 src/Module/BaseAdmin.php:93 +#: src/Module/Admin/Site.php:434 src/Module/BaseAdmin.php:93 msgid "Site" msgstr "" -#: src/Module/Admin/Site.php:433 +#: src/Module/Admin/Site.php:435 msgid "General Information" msgstr "" -#: src/Module/Admin/Site.php:435 +#: src/Module/Admin/Site.php:437 msgid "Republish users to directory" msgstr "" -#: src/Module/Admin/Site.php:436 src/Module/Register.php:152 +#: src/Module/Admin/Site.php:438 src/Module/Register.php:152 msgid "Registration" msgstr "" -#: src/Module/Admin/Site.php:437 +#: src/Module/Admin/Site.php:439 msgid "File upload" msgstr "" -#: src/Module/Admin/Site.php:438 +#: src/Module/Admin/Site.php:440 msgid "Policies" msgstr "" -#: src/Module/Admin/Site.php:440 +#: src/Module/Admin/Site.php:442 msgid "Auto Discovered Contact Directory" msgstr "" -#: src/Module/Admin/Site.php:441 +#: src/Module/Admin/Site.php:443 msgid "Performance" msgstr "" -#: src/Module/Admin/Site.php:442 +#: src/Module/Admin/Site.php:444 msgid "Worker" msgstr "" -#: src/Module/Admin/Site.php:443 +#: src/Module/Admin/Site.php:445 msgid "Message Relay" msgstr "" -#: src/Module/Admin/Site.php:444 +#: src/Module/Admin/Site.php:446 msgid "" "Use the command \"console relay\" in the command line to add or remove " "relays." msgstr "" -#: src/Module/Admin/Site.php:445 +#: src/Module/Admin/Site.php:447 msgid "The system is not subscribed to any relays at the moment." msgstr "" -#: src/Module/Admin/Site.php:446 +#: src/Module/Admin/Site.php:448 msgid "The system is currently subscribed to the following relays:" msgstr "" -#: src/Module/Admin/Site.php:448 +#: src/Module/Admin/Site.php:450 msgid "Relocate Node" msgstr "" -#: src/Module/Admin/Site.php:449 +#: src/Module/Admin/Site.php:451 msgid "" "Relocating your node enables you to change the DNS domain of this node and " "keep all the existing users and posts. This process takes a while and can " "only be started from the relocate console command like this:" msgstr "" -#: src/Module/Admin/Site.php:450 +#: src/Module/Admin/Site.php:452 msgid "(Friendica directory)# bin/console relocate https://newdomain.com" msgstr "" -#: src/Module/Admin/Site.php:454 +#: src/Module/Admin/Site.php:456 msgid "Site name" msgstr "" -#: src/Module/Admin/Site.php:455 +#: src/Module/Admin/Site.php:457 msgid "Sender Email" msgstr "" -#: src/Module/Admin/Site.php:455 +#: src/Module/Admin/Site.php:457 msgid "" "The email address your server shall use to send notification emails from." msgstr "" -#: src/Module/Admin/Site.php:456 +#: src/Module/Admin/Site.php:458 msgid "Name of the system actor" msgstr "" -#: src/Module/Admin/Site.php:456 +#: src/Module/Admin/Site.php:458 msgid "" "Name of the internal system account that is used to perform ActivityPub " "requests. This must be an unused username. If set, this can't be changed " "again." msgstr "" -#: src/Module/Admin/Site.php:457 +#: src/Module/Admin/Site.php:459 msgid "Banner/Logo" msgstr "" -#: src/Module/Admin/Site.php:458 +#: src/Module/Admin/Site.php:460 msgid "Email Banner/Logo" msgstr "" -#: src/Module/Admin/Site.php:459 +#: src/Module/Admin/Site.php:461 msgid "Shortcut icon" msgstr "" -#: src/Module/Admin/Site.php:459 +#: src/Module/Admin/Site.php:461 msgid "Link to an icon that will be used for browsers." msgstr "" -#: src/Module/Admin/Site.php:460 +#: src/Module/Admin/Site.php:462 msgid "Touch icon" msgstr "" -#: src/Module/Admin/Site.php:460 +#: src/Module/Admin/Site.php:462 msgid "Link to an icon that will be used for tablets and mobiles." msgstr "" -#: src/Module/Admin/Site.php:461 +#: src/Module/Admin/Site.php:463 msgid "Additional Info" msgstr "" -#: src/Module/Admin/Site.php:461 +#: src/Module/Admin/Site.php:463 #, php-format msgid "" "For public servers: you can add additional information here that will be " "listed at %s/servers." msgstr "" -#: src/Module/Admin/Site.php:462 +#: src/Module/Admin/Site.php:464 msgid "System language" msgstr "" -#: src/Module/Admin/Site.php:463 +#: src/Module/Admin/Site.php:465 msgid "System theme" msgstr "" -#: src/Module/Admin/Site.php:463 +#: src/Module/Admin/Site.php:465 #, php-format msgid "" "Default system theme - may be over-ridden by user profiles - Change default theme settings" msgstr "" -#: src/Module/Admin/Site.php:464 +#: src/Module/Admin/Site.php:466 msgid "Mobile system theme" msgstr "" -#: src/Module/Admin/Site.php:464 +#: src/Module/Admin/Site.php:466 msgid "Theme for mobile devices" msgstr "" -#: src/Module/Admin/Site.php:465 src/Module/Install.php:232 +#: src/Module/Admin/Site.php:467 src/Module/Install.php:232 msgid "SSL link policy" msgstr "" -#: src/Module/Admin/Site.php:465 src/Module/Install.php:234 +#: src/Module/Admin/Site.php:467 src/Module/Install.php:234 msgid "Determines whether generated links should be forced to use SSL" msgstr "" -#: src/Module/Admin/Site.php:466 +#: src/Module/Admin/Site.php:468 msgid "Force SSL" msgstr "" -#: src/Module/Admin/Site.php:466 +#: src/Module/Admin/Site.php:468 msgid "" "Force all Non-SSL requests to SSL - Attention: on some systems it could lead " "to endless loops." msgstr "" -#: src/Module/Admin/Site.php:467 +#: src/Module/Admin/Site.php:469 msgid "Show help entry from navigation menu" msgstr "" -#: src/Module/Admin/Site.php:467 +#: src/Module/Admin/Site.php:469 msgid "" "Displays the menu entry for the Help pages from the navigation menu. It is " "always accessible by calling /help directly." msgstr "" -#: src/Module/Admin/Site.php:468 +#: src/Module/Admin/Site.php:470 msgid "Single user instance" msgstr "" -#: src/Module/Admin/Site.php:468 +#: src/Module/Admin/Site.php:470 msgid "Make this instance multi-user or single-user for the named user" msgstr "" -#: src/Module/Admin/Site.php:470 +#: src/Module/Admin/Site.php:472 msgid "Maximum image size" msgstr "" -#: src/Module/Admin/Site.php:470 +#: src/Module/Admin/Site.php:472 msgid "" "Maximum size in bytes of uploaded images. Default is 0, which means no " "limits." msgstr "" -#: src/Module/Admin/Site.php:471 +#: src/Module/Admin/Site.php:473 msgid "Maximum image length" msgstr "" -#: src/Module/Admin/Site.php:471 +#: src/Module/Admin/Site.php:473 msgid "" "Maximum length in pixels of the longest side of uploaded images. Default is " "-1, which means no limits." msgstr "" -#: src/Module/Admin/Site.php:472 +#: src/Module/Admin/Site.php:474 msgid "JPEG image quality" msgstr "" -#: src/Module/Admin/Site.php:472 +#: src/Module/Admin/Site.php:474 msgid "" "Uploaded JPEGS will be saved at this quality setting [0-100]. Default is " "100, which is full quality." msgstr "" -#: src/Module/Admin/Site.php:474 +#: src/Module/Admin/Site.php:476 msgid "Register policy" msgstr "" -#: src/Module/Admin/Site.php:475 +#: src/Module/Admin/Site.php:477 msgid "Maximum Daily Registrations" msgstr "" -#: src/Module/Admin/Site.php:475 +#: src/Module/Admin/Site.php:477 msgid "" "If registration is permitted above, this sets the maximum number of new user " "registrations to accept per day. If register is set to closed, this setting " "has no effect." msgstr "" -#: src/Module/Admin/Site.php:476 +#: src/Module/Admin/Site.php:478 msgid "Register text" msgstr "" -#: src/Module/Admin/Site.php:476 +#: src/Module/Admin/Site.php:478 msgid "" "Will be displayed prominently on the registration page. You can use BBCode " "here." msgstr "" -#: src/Module/Admin/Site.php:477 +#: src/Module/Admin/Site.php:479 msgid "Forbidden Nicknames" msgstr "" -#: src/Module/Admin/Site.php:477 +#: src/Module/Admin/Site.php:479 msgid "" "Comma separated list of nicknames that are forbidden from registration. " "Preset is a list of role names according RFC 2142." msgstr "" -#: src/Module/Admin/Site.php:478 +#: src/Module/Admin/Site.php:480 msgid "Accounts abandoned after x days" msgstr "" -#: src/Module/Admin/Site.php:478 +#: src/Module/Admin/Site.php:480 msgid "" "Will not waste system resources polling external sites for abandonded " "accounts. Enter 0 for no time limit." msgstr "" -#: src/Module/Admin/Site.php:479 +#: src/Module/Admin/Site.php:481 msgid "Allowed friend domains" msgstr "" -#: src/Module/Admin/Site.php:479 +#: src/Module/Admin/Site.php:481 msgid "" "Comma separated list of domains which are allowed to establish friendships " "with this site. Wildcards are accepted. Empty to allow any domains" msgstr "" -#: src/Module/Admin/Site.php:480 +#: src/Module/Admin/Site.php:482 msgid "Allowed email domains" msgstr "" -#: src/Module/Admin/Site.php:480 +#: src/Module/Admin/Site.php:482 msgid "" "Comma separated list of domains which are allowed in email addresses for " "registrations to this site. Wildcards are accepted. Empty to allow any " "domains" msgstr "" -#: src/Module/Admin/Site.php:481 +#: src/Module/Admin/Site.php:483 msgid "No OEmbed rich content" msgstr "" -#: src/Module/Admin/Site.php:481 +#: src/Module/Admin/Site.php:483 msgid "" "Don't show the rich content (e.g. embedded PDF), except from the domains " "listed below." msgstr "" -#: src/Module/Admin/Site.php:482 +#: src/Module/Admin/Site.php:484 msgid "Trusted third-party domains" msgstr "" -#: src/Module/Admin/Site.php:482 +#: src/Module/Admin/Site.php:484 msgid "" "Comma separated list of domains from which content is allowed to be embedded " "in posts like with OEmbed. All sub-domains of the listed domains are allowed " "as well." msgstr "" -#: src/Module/Admin/Site.php:483 +#: src/Module/Admin/Site.php:485 msgid "Block public" msgstr "" -#: src/Module/Admin/Site.php:483 +#: src/Module/Admin/Site.php:485 msgid "" "Check to block public access to all otherwise public personal pages on this " "site unless you are currently logged in." msgstr "" -#: src/Module/Admin/Site.php:484 +#: src/Module/Admin/Site.php:486 msgid "Force publish" msgstr "" -#: src/Module/Admin/Site.php:484 +#: src/Module/Admin/Site.php:486 msgid "" "Check to force all profiles on this site to be listed in the site directory." msgstr "" -#: src/Module/Admin/Site.php:484 +#: src/Module/Admin/Site.php:486 msgid "Enabling this may violate privacy laws like the GDPR" msgstr "" -#: src/Module/Admin/Site.php:485 +#: src/Module/Admin/Site.php:487 msgid "Global directory URL" msgstr "" -#: src/Module/Admin/Site.php:485 +#: src/Module/Admin/Site.php:487 msgid "" "URL to the global directory. If this is not set, the global directory is " "completely unavailable to the application." msgstr "" -#: src/Module/Admin/Site.php:486 +#: src/Module/Admin/Site.php:488 msgid "Private posts by default for new users" msgstr "" -#: src/Module/Admin/Site.php:486 +#: src/Module/Admin/Site.php:488 msgid "" "Set default post permissions for all new members to the default privacy " "group rather than public." msgstr "" -#: src/Module/Admin/Site.php:487 +#: src/Module/Admin/Site.php:489 msgid "Don't include post content in email notifications" msgstr "" -#: src/Module/Admin/Site.php:487 +#: src/Module/Admin/Site.php:489 msgid "" "Don't include the content of a post/comment/private message/etc. in the " "email notifications that are sent out from this site, as a privacy measure." msgstr "" -#: src/Module/Admin/Site.php:488 +#: src/Module/Admin/Site.php:490 msgid "Disallow public access to addons listed in the apps menu." msgstr "" -#: src/Module/Admin/Site.php:488 +#: src/Module/Admin/Site.php:490 msgid "" "Checking this box will restrict addons listed in the apps menu to members " "only." msgstr "" -#: src/Module/Admin/Site.php:489 +#: src/Module/Admin/Site.php:491 msgid "Don't embed private images in posts" msgstr "" -#: src/Module/Admin/Site.php:489 +#: src/Module/Admin/Site.php:491 msgid "" "Don't replace locally-hosted private photos in posts with an embedded copy " "of the image. This means that contacts who receive posts containing private " "photos will have to authenticate and load each image, which may take a while." msgstr "" -#: src/Module/Admin/Site.php:490 +#: src/Module/Admin/Site.php:492 msgid "Explicit Content" msgstr "" -#: src/Module/Admin/Site.php:490 +#: src/Module/Admin/Site.php:492 msgid "" "Set this to announce that your node is used mostly for explicit content that " "might not be suited for minors. This information will be published in the " @@ -5510,257 +5518,257 @@ msgid "" "will be shown at the user registration page." msgstr "" -#: src/Module/Admin/Site.php:491 +#: src/Module/Admin/Site.php:493 msgid "Proxify external content" msgstr "" -#: src/Module/Admin/Site.php:491 +#: src/Module/Admin/Site.php:493 msgid "" "Route external content via the proxy functionality. This is used for example " "for some OEmbed accesses and in some other rare cases." msgstr "" -#: src/Module/Admin/Site.php:492 +#: src/Module/Admin/Site.php:494 msgid "Cache contact avatars" msgstr "" -#: src/Module/Admin/Site.php:492 +#: src/Module/Admin/Site.php:494 msgid "" "Locally store the avatar pictures of the contacts. This uses a lot of " "storage space but it increases the performance." msgstr "" -#: src/Module/Admin/Site.php:493 +#: src/Module/Admin/Site.php:495 msgid "Allow Users to set remote_self" msgstr "" -#: src/Module/Admin/Site.php:493 +#: src/Module/Admin/Site.php:495 msgid "" "With checking this, every user is allowed to mark every contact as a " "remote_self in the repair contact dialog. Setting this flag on a contact " "causes mirroring every posting of that contact in the users stream." msgstr "" -#: src/Module/Admin/Site.php:494 +#: src/Module/Admin/Site.php:496 msgid "Enable multiple registrations" msgstr "" -#: src/Module/Admin/Site.php:494 +#: src/Module/Admin/Site.php:496 msgid "Enable users to register additional accounts for use as pages." msgstr "" -#: src/Module/Admin/Site.php:495 +#: src/Module/Admin/Site.php:497 msgid "Enable OpenID" msgstr "" -#: src/Module/Admin/Site.php:495 +#: src/Module/Admin/Site.php:497 msgid "Enable OpenID support for registration and logins." msgstr "" -#: src/Module/Admin/Site.php:496 +#: src/Module/Admin/Site.php:498 msgid "Enable Fullname check" msgstr "" -#: src/Module/Admin/Site.php:496 +#: src/Module/Admin/Site.php:498 msgid "" "Enable check to only allow users to register with a space between the first " "name and the last name in their full name." msgstr "" -#: src/Module/Admin/Site.php:497 +#: src/Module/Admin/Site.php:499 msgid "Community pages for visitors" msgstr "" -#: src/Module/Admin/Site.php:497 +#: src/Module/Admin/Site.php:499 msgid "" "Which community pages should be available for visitors. Local users always " "see both pages." msgstr "" -#: src/Module/Admin/Site.php:498 +#: src/Module/Admin/Site.php:500 msgid "Posts per user on community page" msgstr "" -#: src/Module/Admin/Site.php:498 +#: src/Module/Admin/Site.php:500 msgid "" "The maximum number of posts per user on the community page. (Not valid for " "\"Global Community\")" msgstr "" -#: src/Module/Admin/Site.php:500 +#: src/Module/Admin/Site.php:502 msgid "Enable Mail support" msgstr "" -#: src/Module/Admin/Site.php:500 +#: src/Module/Admin/Site.php:502 msgid "" "Enable built-in mail support to poll IMAP folders and to reply via mail." msgstr "" -#: src/Module/Admin/Site.php:501 +#: src/Module/Admin/Site.php:503 msgid "" "Mail support can't be enabled because the PHP IMAP module is not installed." msgstr "" -#: src/Module/Admin/Site.php:502 +#: src/Module/Admin/Site.php:504 msgid "Enable OStatus support" msgstr "" -#: src/Module/Admin/Site.php:502 +#: src/Module/Admin/Site.php:504 msgid "" "Enable built-in OStatus (StatusNet, GNU Social etc.) compatibility. All " "communications in OStatus are public." msgstr "" -#: src/Module/Admin/Site.php:504 +#: src/Module/Admin/Site.php:506 msgid "" "Diaspora support can't be enabled because Friendica was installed into a sub " "directory." msgstr "" -#: src/Module/Admin/Site.php:505 +#: src/Module/Admin/Site.php:507 msgid "Enable Diaspora support" msgstr "" -#: src/Module/Admin/Site.php:505 +#: src/Module/Admin/Site.php:507 msgid "" "Enable built-in Diaspora network compatibility for communicating with " "diaspora servers." msgstr "" -#: src/Module/Admin/Site.php:506 +#: src/Module/Admin/Site.php:508 msgid "Verify SSL" msgstr "" -#: src/Module/Admin/Site.php:506 +#: src/Module/Admin/Site.php:508 msgid "" "If you wish, you can turn on strict certificate checking. This will mean you " "cannot connect (at all) to self-signed SSL sites." msgstr "" -#: src/Module/Admin/Site.php:507 +#: src/Module/Admin/Site.php:509 msgid "Proxy user" msgstr "" -#: src/Module/Admin/Site.php:507 +#: src/Module/Admin/Site.php:509 msgid "User name for the proxy server." msgstr "" -#: src/Module/Admin/Site.php:508 +#: src/Module/Admin/Site.php:510 msgid "Proxy URL" msgstr "" -#: src/Module/Admin/Site.php:508 +#: src/Module/Admin/Site.php:510 msgid "" "If you want to use a proxy server that Friendica should use to connect to " "the network, put the URL of the proxy here." msgstr "" -#: src/Module/Admin/Site.php:509 +#: src/Module/Admin/Site.php:511 msgid "Network timeout" msgstr "" -#: src/Module/Admin/Site.php:509 +#: src/Module/Admin/Site.php:511 msgid "Value is in seconds. Set to 0 for unlimited (not recommended)." msgstr "" -#: src/Module/Admin/Site.php:510 +#: src/Module/Admin/Site.php:512 msgid "Maximum Load Average" msgstr "" -#: src/Module/Admin/Site.php:510 +#: src/Module/Admin/Site.php:512 #, php-format msgid "" "Maximum system load before delivery and poll processes are deferred - " "default %d." msgstr "" -#: src/Module/Admin/Site.php:511 +#: src/Module/Admin/Site.php:513 msgid "Minimal Memory" msgstr "" -#: src/Module/Admin/Site.php:511 +#: src/Module/Admin/Site.php:513 msgid "" "Minimal free memory in MB for the worker. Needs access to /proc/meminfo - " "default 0 (deactivated)." msgstr "" -#: src/Module/Admin/Site.php:512 +#: src/Module/Admin/Site.php:514 msgid "Periodically optimize tables" msgstr "" -#: src/Module/Admin/Site.php:512 +#: src/Module/Admin/Site.php:514 msgid "Periodically optimize tables like the cache and the workerqueue" msgstr "" -#: src/Module/Admin/Site.php:514 +#: src/Module/Admin/Site.php:516 msgid "Discover followers/followings from contacts" msgstr "" -#: src/Module/Admin/Site.php:514 +#: src/Module/Admin/Site.php:516 msgid "" "If enabled, contacts are checked for their followers and following contacts." msgstr "" -#: src/Module/Admin/Site.php:515 +#: src/Module/Admin/Site.php:517 msgid "None - deactivated" msgstr "" -#: src/Module/Admin/Site.php:516 +#: src/Module/Admin/Site.php:518 msgid "" "Local contacts - contacts of our local contacts are discovered for their " "followers/followings." msgstr "" -#: src/Module/Admin/Site.php:517 +#: src/Module/Admin/Site.php:519 msgid "" "Interactors - contacts of our local contacts and contacts who interacted on " "locally visible postings are discovered for their followers/followings." msgstr "" -#: src/Module/Admin/Site.php:519 +#: src/Module/Admin/Site.php:521 msgid "Synchronize the contacts with the directory server" msgstr "" -#: src/Module/Admin/Site.php:519 +#: src/Module/Admin/Site.php:521 msgid "" "if enabled, the system will check periodically for new contacts on the " "defined directory server." msgstr "" -#: src/Module/Admin/Site.php:521 +#: src/Module/Admin/Site.php:523 msgid "Days between requery" msgstr "" -#: src/Module/Admin/Site.php:521 +#: src/Module/Admin/Site.php:523 msgid "Number of days after which a server is requeried for his contacts." msgstr "" -#: src/Module/Admin/Site.php:522 +#: src/Module/Admin/Site.php:524 msgid "Discover contacts from other servers" msgstr "" -#: src/Module/Admin/Site.php:522 +#: src/Module/Admin/Site.php:524 msgid "" "Periodically query other servers for contacts. The system queries Friendica, " "Mastodon and Hubzilla servers." msgstr "" -#: src/Module/Admin/Site.php:523 +#: src/Module/Admin/Site.php:525 msgid "Search the local directory" msgstr "" -#: src/Module/Admin/Site.php:523 +#: src/Module/Admin/Site.php:525 msgid "" "Search the local directory instead of the global directory. When searching " "locally, every search will be executed on the global directory in the " "background. This improves the search results when the search is repeated." msgstr "" -#: src/Module/Admin/Site.php:525 +#: src/Module/Admin/Site.php:527 msgid "Publish server information" msgstr "" -#: src/Module/Admin/Site.php:525 +#: src/Module/Admin/Site.php:527 msgid "" "If enabled, general server and usage data will be published. The data " "contains the name and version of the server, number of users with public " @@ -5768,50 +5776,50 @@ msgid "" "href=\"http://the-federation.info/\">the-federation.info for details." msgstr "" -#: src/Module/Admin/Site.php:527 +#: src/Module/Admin/Site.php:529 msgid "Check upstream version" msgstr "" -#: src/Module/Admin/Site.php:527 +#: src/Module/Admin/Site.php:529 msgid "" "Enables checking for new Friendica versions at github. If there is a new " "version, you will be informed in the admin panel overview." msgstr "" -#: src/Module/Admin/Site.php:528 +#: src/Module/Admin/Site.php:530 msgid "Suppress Tags" msgstr "" -#: src/Module/Admin/Site.php:528 +#: src/Module/Admin/Site.php:530 msgid "Suppress showing a list of hashtags at the end of the posting." msgstr "" -#: src/Module/Admin/Site.php:529 +#: src/Module/Admin/Site.php:531 msgid "Clean database" msgstr "" -#: src/Module/Admin/Site.php:529 +#: src/Module/Admin/Site.php:531 msgid "" "Remove old remote items, orphaned database records and old content from some " "other helper tables." msgstr "" -#: src/Module/Admin/Site.php:530 +#: src/Module/Admin/Site.php:532 msgid "Lifespan of remote items" msgstr "" -#: src/Module/Admin/Site.php:530 +#: src/Module/Admin/Site.php:532 msgid "" "When the database cleanup is enabled, this defines the days after which " "remote items will be deleted. Own items, and marked or filed items are " "always kept. 0 disables this behaviour." msgstr "" -#: src/Module/Admin/Site.php:531 +#: src/Module/Admin/Site.php:533 msgid "Lifespan of unclaimed items" msgstr "" -#: src/Module/Admin/Site.php:531 +#: src/Module/Admin/Site.php:533 msgid "" "When the database cleanup is enabled, this defines the days after which " "unclaimed remote items (mostly content from the relay) will be deleted. " @@ -5819,144 +5827,144 @@ msgid "" "items if set to 0." msgstr "" -#: src/Module/Admin/Site.php:532 +#: src/Module/Admin/Site.php:534 msgid "Lifespan of raw conversation data" msgstr "" -#: src/Module/Admin/Site.php:532 +#: src/Module/Admin/Site.php:534 msgid "" "The conversation data is used for ActivityPub and OStatus, as well as for " "debug purposes. It should be safe to remove it after 14 days, default is 90 " "days." msgstr "" -#: src/Module/Admin/Site.php:533 +#: src/Module/Admin/Site.php:535 msgid "Maximum numbers of comments per post" msgstr "" -#: src/Module/Admin/Site.php:533 +#: src/Module/Admin/Site.php:535 msgid "How much comments should be shown for each post? Default value is 100." msgstr "" -#: src/Module/Admin/Site.php:534 +#: src/Module/Admin/Site.php:536 msgid "Maximum numbers of comments per post on the display page" msgstr "" -#: src/Module/Admin/Site.php:534 +#: src/Module/Admin/Site.php:536 msgid "" "How many comments should be shown on the single view for each post? Default " "value is 1000." msgstr "" -#: src/Module/Admin/Site.php:535 +#: src/Module/Admin/Site.php:537 msgid "Temp path" msgstr "" -#: src/Module/Admin/Site.php:535 +#: src/Module/Admin/Site.php:537 msgid "" "If you have a restricted system where the webserver can't access the system " "temp path, enter another path here." msgstr "" -#: src/Module/Admin/Site.php:536 +#: src/Module/Admin/Site.php:538 msgid "Only search in tags" msgstr "" -#: src/Module/Admin/Site.php:536 +#: src/Module/Admin/Site.php:538 msgid "On large systems the text search can slow down the system extremely." msgstr "" -#: src/Module/Admin/Site.php:537 +#: src/Module/Admin/Site.php:539 msgid "Generate counts per contact group when calculating network count" msgstr "" -#: src/Module/Admin/Site.php:537 +#: src/Module/Admin/Site.php:539 msgid "" "On systems with users that heavily use contact groups the query can be very " "expensive." msgstr "" -#: src/Module/Admin/Site.php:539 +#: src/Module/Admin/Site.php:541 msgid "Maximum number of parallel workers" msgstr "" -#: src/Module/Admin/Site.php:539 +#: src/Module/Admin/Site.php:541 #, php-format msgid "" "On shared hosters set this to %d. On larger systems, values of %d are great. " "Default value is %d." msgstr "" -#: src/Module/Admin/Site.php:540 +#: src/Module/Admin/Site.php:542 msgid "Enable fastlane" msgstr "" -#: src/Module/Admin/Site.php:540 +#: src/Module/Admin/Site.php:542 msgid "" "When enabed, the fastlane mechanism starts an additional worker if processes " "with higher priority are blocked by processes of lower priority." msgstr "" -#: src/Module/Admin/Site.php:542 +#: src/Module/Admin/Site.php:544 msgid "Direct relay transfer" msgstr "" -#: src/Module/Admin/Site.php:542 +#: src/Module/Admin/Site.php:544 msgid "" "Enables the direct transfer to other servers without using the relay servers" msgstr "" -#: src/Module/Admin/Site.php:543 +#: src/Module/Admin/Site.php:545 msgid "Relay scope" msgstr "" -#: src/Module/Admin/Site.php:543 +#: src/Module/Admin/Site.php:545 msgid "" "Can be \"all\" or \"tags\". \"all\" means that every public post should be " "received. \"tags\" means that only posts with selected tags should be " "received." msgstr "" -#: src/Module/Admin/Site.php:543 src/Module/Contact/Profile.php:273 +#: src/Module/Admin/Site.php:545 src/Module/Contact/Profile.php:273 #: src/Module/Settings/TwoFactor/Index.php:126 msgid "Disabled" msgstr "" -#: src/Module/Admin/Site.php:543 +#: src/Module/Admin/Site.php:545 msgid "all" msgstr "" -#: src/Module/Admin/Site.php:543 +#: src/Module/Admin/Site.php:545 msgid "tags" msgstr "" -#: src/Module/Admin/Site.php:544 +#: src/Module/Admin/Site.php:546 msgid "Server tags" msgstr "" -#: src/Module/Admin/Site.php:544 +#: src/Module/Admin/Site.php:546 msgid "Comma separated list of tags for the \"tags\" subscription." msgstr "" -#: src/Module/Admin/Site.php:545 +#: src/Module/Admin/Site.php:547 msgid "Deny Server tags" msgstr "" -#: src/Module/Admin/Site.php:545 +#: src/Module/Admin/Site.php:547 msgid "Comma separated list of tags that are rejected." msgstr "" -#: src/Module/Admin/Site.php:546 +#: src/Module/Admin/Site.php:548 msgid "Allow user tags" msgstr "" -#: src/Module/Admin/Site.php:546 +#: src/Module/Admin/Site.php:548 msgid "" "If enabled, the tags from the saved searches will used for the \"tags\" " "subscription in addition to the \"relay_server_tags\"." msgstr "" -#: src/Module/Admin/Site.php:549 +#: src/Module/Admin/Site.php:551 msgid "Start Relocation" msgstr "" @@ -8136,11 +8144,11 @@ msgstr "" msgid "Show unread" msgstr "" -#: src/Module/Notifications/Ping.php:221 +#: src/Module/Notifications/Ping.php:222 msgid "{0} requested registration" msgstr "" -#: src/Module/Notifications/Ping.php:232 +#: src/Module/Notifications/Ping.php:233 #, php-format msgid "{0} and %d others requested registration" msgstr "" @@ -8666,29 +8674,29 @@ msgstr "" msgid "Trust and sign out" msgstr "" -#: src/Module/Security/TwoFactor/Trust.php:89 +#: src/Module/Security/TwoFactor/Trust.php:95 msgid "Couldn't save browser to Cookie." msgstr "" -#: src/Module/Security/TwoFactor/Trust.php:119 +#: src/Module/Security/TwoFactor/Trust.php:139 msgid "Trust this browser?" msgstr "" -#: src/Module/Security/TwoFactor/Trust.php:120 +#: src/Module/Security/TwoFactor/Trust.php:140 msgid "" "

If you choose to trust this browser, you will not be asked for a " "verification code the next time you sign in.

" msgstr "" -#: src/Module/Security/TwoFactor/Trust.php:121 +#: src/Module/Security/TwoFactor/Trust.php:141 msgid "Not now" msgstr "" -#: src/Module/Security/TwoFactor/Trust.php:122 +#: src/Module/Security/TwoFactor/Trust.php:142 msgid "Don't trust" msgstr "" -#: src/Module/Security/TwoFactor/Trust.php:123 +#: src/Module/Security/TwoFactor/Trust.php:143 msgid "Trust" msgstr "" @@ -10234,116 +10242,116 @@ msgstr "" msgid "%1$s has started following you" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:200 +#: src/Navigation/Notifications/Factory/Notification.php:207 #, php-format msgid "%1$s liked your comment on %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:203 +#: src/Navigation/Notifications/Factory/Notification.php:210 #, php-format msgid "%1$s liked your post %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:210 +#: src/Navigation/Notifications/Factory/Notification.php:217 #, php-format msgid "%1$s disliked your comment on %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:213 +#: src/Navigation/Notifications/Factory/Notification.php:220 #, php-format msgid "%1$s disliked your post %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:220 +#: src/Navigation/Notifications/Factory/Notification.php:227 #, php-format msgid "%1$s shared your comment %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:223 +#: src/Navigation/Notifications/Factory/Notification.php:230 #, php-format msgid "%1$s shared your post %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:227 -#: src/Navigation/Notifications/Factory/Notification.php:297 +#: src/Navigation/Notifications/Factory/Notification.php:234 +#: src/Navigation/Notifications/Factory/Notification.php:304 #, php-format msgid "%1$s shared the post %2$s from %3$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:229 -#: src/Navigation/Notifications/Factory/Notification.php:299 +#: src/Navigation/Notifications/Factory/Notification.php:236 +#: src/Navigation/Notifications/Factory/Notification.php:306 #, php-format msgid "%1$s shared a post from %3$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:231 -#: src/Navigation/Notifications/Factory/Notification.php:301 +#: src/Navigation/Notifications/Factory/Notification.php:238 +#: src/Navigation/Notifications/Factory/Notification.php:308 #, php-format msgid "%1$s shared the post %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:233 -#: src/Navigation/Notifications/Factory/Notification.php:303 +#: src/Navigation/Notifications/Factory/Notification.php:240 +#: src/Navigation/Notifications/Factory/Notification.php:310 #, php-format msgid "%1$s shared a post" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:241 +#: src/Navigation/Notifications/Factory/Notification.php:248 #, php-format msgid "%1$s wants to attend your event %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:248 +#: src/Navigation/Notifications/Factory/Notification.php:255 #, php-format msgid "%1$s does not want to attend your event %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:255 +#: src/Navigation/Notifications/Factory/Notification.php:262 #, php-format msgid "%1$s maybe wants to attend your event %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:262 +#: src/Navigation/Notifications/Factory/Notification.php:269 #, php-format msgid "%1$s tagged you on %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:266 +#: src/Navigation/Notifications/Factory/Notification.php:273 #, php-format msgid "%1$s replied to you on %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:270 +#: src/Navigation/Notifications/Factory/Notification.php:277 #, php-format msgid "%1$s commented in your thread %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:274 +#: src/Navigation/Notifications/Factory/Notification.php:281 #, php-format msgid "%1$s commented on your comment %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:281 +#: src/Navigation/Notifications/Factory/Notification.php:288 #, php-format msgid "%1$s commented in their thread %2$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:283 +#: src/Navigation/Notifications/Factory/Notification.php:290 #, php-format msgid "%1$s commented in their thread" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:285 +#: src/Navigation/Notifications/Factory/Notification.php:292 #, php-format msgid "%1$s commented in the thread %2$s from %3$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:287 +#: src/Navigation/Notifications/Factory/Notification.php:294 #, php-format msgid "%1$s commented in the thread from %3$s" msgstr "" -#: src/Navigation/Notifications/Factory/Notification.php:292 +#: src/Navigation/Notifications/Factory/Notification.php:299 #, php-format msgid "%1$s commented on your thread %2$s" msgstr "" @@ -10858,12 +10866,12 @@ msgstr "" msgid "Login failed. Please check your credentials." msgstr "" -#: src/Security/Authentication.php:369 +#: src/Security/Authentication.php:374 #, php-format msgid "Welcome %s" msgstr "" -#: src/Security/Authentication.php:370 +#: src/Security/Authentication.php:375 msgid "Please upload a profile photo." msgstr "" @@ -11159,11 +11167,11 @@ msgstr "" msgid "Back to top" msgstr "" -#: view/theme/frio/theme.php:207 +#: view/theme/frio/theme.php:212 msgid "Guest" msgstr "" -#: view/theme/frio/theme.php:210 +#: view/theme/frio/theme.php:215 msgid "Visitor" msgstr "" @@ -11211,7 +11219,7 @@ msgstr "" msgid "Community Pages" msgstr "" -#: view/theme/vier/config.php:123 view/theme/vier/theme.php:125 +#: view/theme/vier/config.php:123 view/theme/vier/theme.php:134 msgid "Community Profiles" msgstr "" @@ -11219,7 +11227,7 @@ msgstr "" msgid "Help or @NewHere ?" msgstr "" -#: view/theme/vier/config.php:125 view/theme/vier/theme.php:296 +#: view/theme/vier/config.php:125 view/theme/vier/theme.php:305 msgid "Connect Services" msgstr "" @@ -11227,10 +11235,10 @@ msgstr "" msgid "Find Friends" msgstr "" -#: view/theme/vier/config.php:127 view/theme/vier/theme.php:152 +#: view/theme/vier/config.php:127 view/theme/vier/theme.php:161 msgid "Last users" msgstr "" -#: view/theme/vier/theme.php:211 +#: view/theme/vier/theme.php:220 msgid "Quick Start" msgstr "" From 760aecefd87067a14e84468d35768d472271ec5c Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jul 2022 09:02:28 +0000 Subject: [PATCH 3/8] Test added --- tests/src/Core/InstallerTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index 9256581b16..c951823148 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -276,6 +276,17 @@ class InstallerTest extends MockedTest true, $install->getChecks()); + $this->mockFunctionL10TCalls(); + $this->setFunctions(['gmp_strval' => false]); + $install = new Installer(); + self::assertFalse($install->checkFunctions()); + self::assertCheckExist(11, + 'GNU Multiple Precision PHP module', + 'Error: GNU Multiple Precision PHP module required but not installed.', + false, + true, + $install->getChecks()); + $this->mockFunctionL10TCalls(); $this->setFunctions([ 'curl_init' => true, From 5188180094166e734a7bb6d4aacd9d8ee8b9e991 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jul 2022 09:08:12 +0000 Subject: [PATCH 4/8] Fixed test --- tests/src/Core/InstallerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index c951823148..98fa3474fb 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -104,6 +104,8 @@ class InstallerTest extends MockedTest $this->mockL10nT('Error: JSON PHP module required but not installed.', 1); $this->mockL10nT('File Information PHP module', 1); $this->mockL10nT('Error: File Information PHP module required but not installed.', 1); + $this->mockL10nT('GNU Multiple Precision PHP module', 1); + $this->mockL10nT('Error: GNU Multiple Precision PHP module required but not installed.', 1); $this->mockL10nT('Program execution functions', 1); $this->mockL10nT('Error: Program execution functions (proc_open) required but not enabled.', 1); } From f0fe323832e7320f481a5b540cab38a7a42aa379 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jul 2022 09:17:07 +0000 Subject: [PATCH 5/8] Possibly now the tests work --- tests/src/Core/InstallerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index 98fa3474fb..c25247cc5f 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -299,6 +299,7 @@ class InstallerTest extends MockedTest 'posix_kill' => true, 'json_encode' => true, 'finfo_open' => true, + 'gmp_strval' => true, ]); $install = new Installer(); self::assertTrue($install->checkFunctions()); From 06698cc5f61dfa81706c7970cee704c5ec059722 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Jul 2022 09:31:44 +0000 Subject: [PATCH 6/8] Test? --- tests/src/Core/InstallerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index c25247cc5f..20838b5292 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -282,7 +282,7 @@ class InstallerTest extends MockedTest $this->setFunctions(['gmp_strval' => false]); $install = new Installer(); self::assertFalse($install->checkFunctions()); - self::assertCheckExist(11, + self::assertCheckExist(12, 'GNU Multiple Precision PHP module', 'Error: GNU Multiple Precision PHP module required but not installed.', false, From 3bd706fcfc308d0073a0c2ecad5149180e691040 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 Jul 2022 03:32:49 +0000 Subject: [PATCH 7/8] Superfluous todo removed --- src/Worker/PushSubscription.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Worker/PushSubscription.php b/src/Worker/PushSubscription.php index f82f469146..9b22ff4841 100644 --- a/src/Worker/PushSubscription.php +++ b/src/Worker/PushSubscription.php @@ -102,7 +102,6 @@ class PushSubscription ], ]); - // @todo Only used for logging? $payload = [ 'access_token' => $application_token['access_token'], 'preferred_locale' => $user['language'], From af8e05999018cf882b1cf583e7423909e42e7400 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 Jul 2022 03:48:19 +0000 Subject: [PATCH 8/8] Renamed platform definition file --- src/Model/GServer.php | 8 ++++---- static/{generator.config.php => platforms.config.php} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename static/{generator.config.php => platforms.config.php} (100%) diff --git a/src/Model/GServer.php b/src/Model/GServer.php index e33264566e..8305a3c965 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -1896,16 +1896,16 @@ class GServer * * @return array server data */ - private static function analyseRootBody($curlResult, array $serverdata): array + private static function analyseRootBody($curlResult, array $serverdata): array { if (empty($curlResult->getBody())) { return $serverdata; } - if (file_exists(__DIR__ . '/../../static/generator.config.php')) { - require __DIR__ . '/../../static/generator.config.php'; + if (file_exists(__DIR__ . '/../../static/platforms.config.php')) { + require __DIR__ . '/../../static/platforms.config.php'; } else { - throw new HTTPException\InternalServerErrorException('Invalid generator file'); + throw new HTTPException\InternalServerErrorException('Invalid platform file'); } $platforms = array_merge($ap_platforms, $dfrn_platforms, $zap_platforms, $platforms); diff --git a/static/generator.config.php b/static/platforms.config.php similarity index 100% rename from static/generator.config.php rename to static/platforms.config.php