aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/admin_audit/l10n/sw.js7
-rw-r--r--apps/admin_audit/l10n/sw.json5
-rw-r--r--apps/files_sharing/l10n/cs.js3
-rw-r--r--apps/files_sharing/l10n/cs.json3
-rw-r--r--apps/files_sharing/l10n/it.js10
-rw-r--r--apps/files_sharing/l10n/it.json10
-rw-r--r--core/Command/Integrity/CheckApp.php59
-rw-r--r--core/l10n/cs.js5
-rw-r--r--core/l10n/cs.json5
-rw-r--r--lib/l10n/sw.js1
-rw-r--r--lib/l10n/sw.json1
11 files changed, 93 insertions, 16 deletions
diff --git a/apps/admin_audit/l10n/sw.js b/apps/admin_audit/l10n/sw.js
new file mode 100644
index 00000000000..58fd34da654
--- /dev/null
+++ b/apps/admin_audit/l10n/sw.js
@@ -0,0 +1,7 @@
+OC.L10N.register(
+ "admin_audit",
+ {
+ "Auditing / Logging" : "Ukaguzi/kuweka kumbukumbu",
+ "Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Hutoa uwezo wa kuweka kumbukumbu kwa Nextcloud kama vile ufikiaji wa faili za kumbukumbu au vitendo nyeti."
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/admin_audit/l10n/sw.json b/apps/admin_audit/l10n/sw.json
new file mode 100644
index 00000000000..3775e3f2982
--- /dev/null
+++ b/apps/admin_audit/l10n/sw.json
@@ -0,0 +1,5 @@
+{ "translations": {
+ "Auditing / Logging" : "Ukaguzi/kuweka kumbukumbu",
+ "Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Hutoa uwezo wa kuweka kumbukumbu kwa Nextcloud kama vile ufikiaji wa faili za kumbukumbu au vitendo nyeti."
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/cs.js b/apps/files_sharing/l10n/cs.js
index 9b38e6b491c..831d2bfb086 100644
--- a/apps/files_sharing/l10n/cs.js
+++ b/apps/files_sharing/l10n/cs.js
@@ -379,8 +379,11 @@ OC.L10N.register(
"Share note for recipient saved" : "Poznámka pro příjemce sdílení uložena",
"Share password saved" : "Heslo ke sdílení uloženo",
"Share permissions saved" : "Oprávnění ke sdílení uložena",
+ "To upload files to {folder}, you need to provide your name first." : "Pokud chcete nahrávat soubory do {folder}, je zapotřebí nejprve zadat své jméno.",
"Upload files to {folder}" : "Nahrát soubory do {folder}",
+ "Please confirm your name to upload files to {folder}" : "Potvrďte své jméno pokud chcete nahrávat soubory do {folder}",
"{ownerDisplayName} shared a folder with you." : "{ownerDisplayName} vám nasdílel(a) složku.",
+ "Names must not be empty." : "Jména je třeba vyplnit.",
"Names must not start with a dot." : "Je třeba, aby názvy nezačínaly tečkou.",
"\"{char}\" is not allowed inside a name." : "„{char}“ není v názvu možné použít.",
"\"{segment}\" is a reserved name and not allowed." : "„{segment}“ je vyhrazeným názvem a není povoleno k použití.",
diff --git a/apps/files_sharing/l10n/cs.json b/apps/files_sharing/l10n/cs.json
index bdbd6f72ad8..4dd4be7d9a1 100644
--- a/apps/files_sharing/l10n/cs.json
+++ b/apps/files_sharing/l10n/cs.json
@@ -377,8 +377,11 @@
"Share note for recipient saved" : "Poznámka pro příjemce sdílení uložena",
"Share password saved" : "Heslo ke sdílení uloženo",
"Share permissions saved" : "Oprávnění ke sdílení uložena",
+ "To upload files to {folder}, you need to provide your name first." : "Pokud chcete nahrávat soubory do {folder}, je zapotřebí nejprve zadat své jméno.",
"Upload files to {folder}" : "Nahrát soubory do {folder}",
+ "Please confirm your name to upload files to {folder}" : "Potvrďte své jméno pokud chcete nahrávat soubory do {folder}",
"{ownerDisplayName} shared a folder with you." : "{ownerDisplayName} vám nasdílel(a) složku.",
+ "Names must not be empty." : "Jména je třeba vyplnit.",
"Names must not start with a dot." : "Je třeba, aby názvy nezačínaly tečkou.",
"\"{char}\" is not allowed inside a name." : "„{char}“ není v názvu možné použít.",
"\"{segment}\" is a reserved name and not allowed." : "„{segment}“ je vyhrazeným názvem a není povoleno k použití.",
diff --git a/apps/files_sharing/l10n/it.js b/apps/files_sharing/l10n/it.js
index 2a8ad91ab8d..c9f59f71283 100644
--- a/apps/files_sharing/l10n/it.js
+++ b/apps/files_sharing/l10n/it.js
@@ -257,6 +257,7 @@ OC.L10N.register(
"File drop" : "Elimina file",
"Upload files to {foldername}." : "Carica i file su{foldername}.",
"By uploading files, you agree to the terms of service." : "Caricando i file accetti i termini del servizio.",
+ "Successfully uploaded files" : "File caricati correttamente",
"View terms of service" : "Visualizza i termini del servizio",
"Terms of service" : "Termini del servizio",
"Share with {userName}" : "Condividi con {userName}",
@@ -378,8 +379,17 @@ OC.L10N.register(
"Share note for recipient saved" : "Condividi nota salvata per il destinatario",
"Share password saved" : "Condividi la password salvata",
"Share permissions saved" : "Condivisione dei permessi salvati",
+ "To upload files to {folder}, you need to provide your name first." : "Per caricare file su {folder}, devi prima fornire il tuo nome.",
"Upload files to {folder}" : "Carica file su {folder}",
+ "Please confirm your name to upload files to {folder}" : "Si prega di confermare il nome per caricare i file su {folder}",
"{ownerDisplayName} shared a folder with you." : "{ownerDisplayName} ha condiviso una cartella con te.",
+ "Names must not be empty." : "I nomi non devono essere vuoti.",
+ "Names must not start with a dot." : "I nomi non devono iniziare con un punto.",
+ "\"{char}\" is not allowed inside a name." : "\"{char}\" non è consentito all'interno di un nome.",
+ "\"{segment}\" is a reserved name and not allowed." : "\"{segment}\" è un nome riservato e non consentito.",
+ "\"{extension}\" is not an allowed name." : "\"{extension}\" non è un nome consentito.",
+ "Names must not end with \"{extension}\"." : "I nomi non devono terminare con \"{extension}\".",
+ "Invalid name." : "Nome non valido.",
"Shared by" : "Condiviso da",
"Shared with" : "Condiviso con",
"Password created successfully" : "Password creata correttamente",
diff --git a/apps/files_sharing/l10n/it.json b/apps/files_sharing/l10n/it.json
index 2626115c29b..7aef2f2a78c 100644
--- a/apps/files_sharing/l10n/it.json
+++ b/apps/files_sharing/l10n/it.json
@@ -255,6 +255,7 @@
"File drop" : "Elimina file",
"Upload files to {foldername}." : "Carica i file su{foldername}.",
"By uploading files, you agree to the terms of service." : "Caricando i file accetti i termini del servizio.",
+ "Successfully uploaded files" : "File caricati correttamente",
"View terms of service" : "Visualizza i termini del servizio",
"Terms of service" : "Termini del servizio",
"Share with {userName}" : "Condividi con {userName}",
@@ -376,8 +377,17 @@
"Share note for recipient saved" : "Condividi nota salvata per il destinatario",
"Share password saved" : "Condividi la password salvata",
"Share permissions saved" : "Condivisione dei permessi salvati",
+ "To upload files to {folder}, you need to provide your name first." : "Per caricare file su {folder}, devi prima fornire il tuo nome.",
"Upload files to {folder}" : "Carica file su {folder}",
+ "Please confirm your name to upload files to {folder}" : "Si prega di confermare il nome per caricare i file su {folder}",
"{ownerDisplayName} shared a folder with you." : "{ownerDisplayName} ha condiviso una cartella con te.",
+ "Names must not be empty." : "I nomi non devono essere vuoti.",
+ "Names must not start with a dot." : "I nomi non devono iniziare con un punto.",
+ "\"{char}\" is not allowed inside a name." : "\"{char}\" non è consentito all'interno di un nome.",
+ "\"{segment}\" is a reserved name and not allowed." : "\"{segment}\" è un nome riservato e non consentito.",
+ "\"{extension}\" is not an allowed name." : "\"{extension}\" non è un nome consentito.",
+ "Names must not end with \"{extension}\"." : "I nomi non devono terminare con \"{extension}\".",
+ "Invalid name." : "Nome non valido.",
"Shared by" : "Condiviso da",
"Shared with" : "Condiviso con",
"Password created successfully" : "Password creata correttamente",
diff --git a/core/Command/Integrity/CheckApp.php b/core/Command/Integrity/CheckApp.php
index e1889a35cfe..0145a3f8070 100644
--- a/core/Command/Integrity/CheckApp.php
+++ b/core/Command/Integrity/CheckApp.php
@@ -40,31 +40,58 @@ class CheckApp extends Base {
$this
->setName('integrity:check-app')
->setDescription('Check integrity of an app using a signature.')
- ->addArgument('appid', InputArgument::REQUIRED, 'Application to check')
- ->addOption('path', null, InputOption::VALUE_OPTIONAL, 'Path to application. If none is given it will be guessed.');
+ ->addArgument('appid', InputArgument::OPTIONAL, 'Application to check')
+ ->addOption('path', null, InputOption::VALUE_OPTIONAL, 'Path to application. If none is given it will be guessed.')
+ ->addOption('all', null, InputOption::VALUE_NONE, 'Check integrity of all apps.');
}
/**
* {@inheritdoc }
*/
protected function execute(InputInterface $input, OutputInterface $output): int {
- $appid = $input->getArgument('appid');
- $path = (string)$input->getOption('path');
- if ($path === '') {
- $path = $this->appLocator->getAppPath($appid);
+ if ($input->getOption('all') && $input->getArgument('appid')) {
+ $output->writeln('<error>Option "--all" cannot be combined with an appid</error>');
+ return 1;
}
- if ($this->appManager->isShipped($appid) || $this->fileAccessHelper->file_exists($path . '/appinfo/signature.json')) {
- // Only verify if the application explicitly ships a signature.json file
- $result = $this->checker->verifyAppSignature($appid, $path, true);
- $this->writeArrayInOutputFormat($input, $output, $result);
- if (count($result) > 0) {
- $output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE);
- return 1;
+
+ if (!$input->getArgument('appid') && !$input->getOption('all')) {
+ $output->writeln('<error>Please specify an appid, or "--all" to verify all apps</error>');
+ return 1;
+ }
+
+ if ($input->getArgument('appid')) {
+ $appIds = [$input->getArgument('appid')];
+ } else {
+ $appIds = $this->appManager->getAllAppsInAppsFolders();
+ }
+
+ $errorsFound = false;
+
+ foreach ($appIds as $appId) {
+ $path = (string)$input->getOption('path');
+ if ($path === '') {
+ $path = $this->appLocator->getAppPath($appId);
}
+
+ if ($this->appManager->isShipped($appId) || $this->fileAccessHelper->file_exists($path . '/appinfo/signature.json')) {
+ // Only verify if the application explicitly ships a signature.json file
+ $result = $this->checker->verifyAppSignature($appId, $path, true);
+
+ if (count($result) > 0) {
+ $output->writeln('<error>' . $appId . ': ' . count($result) . ' errors found:</error>');
+ $this->writeArrayInOutputFormat($input, $output, $result);
+ $errorsFound = true;
+ }
+ } else {
+ $output->writeln('<comment>' . $appId . ': ' . 'App signature not found, skipping app integrity check</comment>');
+ }
+ }
+
+ if (!$errorsFound) {
$output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE);
- } else {
- $output->writeln('<comment>App signature not found, skipping app integrity check</comment>');
+ return 0;
}
- return 0;
+
+ return 1;
}
}
diff --git a/core/l10n/cs.js b/core/l10n/cs.js
index cbe55e6a565..7faa43c9173 100644
--- a/core/l10n/cs.js
+++ b/core/l10n/cs.js
@@ -328,6 +328,11 @@ OC.L10N.register(
"Login form is disabled." : "Formulář pro přihlášení je vypnut",
"The Nextcloud login form is disabled. Use another login option if available or contact your administration." : "Přihlašovací formulář je v Nextcloud vypnutý. Použijte jinou možnost přihlášení nebo se obraťte na svého správce.",
"More actions" : "Další akce",
+ "User menu" : "Nabídka uživatele",
+ "You will be identified as {user} by the account owner." : "Vlastníkem účtu budete identifikováni jako {user}.",
+ "You are currently not identified." : "V tuto chvíli nejste identifikováni.",
+ "Set public name" : "Nastavit veřejné jméno",
+ "Change public name" : "Změnit veřejné jméno",
"Password is too weak" : "Heslo je příliš snadno prolomitelné",
"Password is weak" : "Heslo je snadno prolomitelné",
"Password is average" : "Heslo je postačující",
diff --git a/core/l10n/cs.json b/core/l10n/cs.json
index 59a3aef036b..755951958de 100644
--- a/core/l10n/cs.json
+++ b/core/l10n/cs.json
@@ -326,6 +326,11 @@
"Login form is disabled." : "Formulář pro přihlášení je vypnut",
"The Nextcloud login form is disabled. Use another login option if available or contact your administration." : "Přihlašovací formulář je v Nextcloud vypnutý. Použijte jinou možnost přihlášení nebo se obraťte na svého správce.",
"More actions" : "Další akce",
+ "User menu" : "Nabídka uživatele",
+ "You will be identified as {user} by the account owner." : "Vlastníkem účtu budete identifikováni jako {user}.",
+ "You are currently not identified." : "V tuto chvíli nejste identifikováni.",
+ "Set public name" : "Nastavit veřejné jméno",
+ "Change public name" : "Změnit veřejné jméno",
"Password is too weak" : "Heslo je příliš snadno prolomitelné",
"Password is weak" : "Heslo je snadno prolomitelné",
"Password is average" : "Heslo je postačující",
diff --git a/lib/l10n/sw.js b/lib/l10n/sw.js
index 6d7fa5472b2..ddcc74ef517 100644
--- a/lib/l10n/sw.js
+++ b/lib/l10n/sw.js
@@ -1,6 +1,7 @@
OC.L10N.register(
"lib",
{
+ "Files" : "Mafaili",
"seconds ago" : "sukunde zilizopita",
"File already exists" : "Faili lipo tayari",
"Settings" : "Mipangilio",
diff --git a/lib/l10n/sw.json b/lib/l10n/sw.json
index 845df9bc18f..3f81b601398 100644
--- a/lib/l10n/sw.json
+++ b/lib/l10n/sw.json
@@ -1,4 +1,5 @@
{ "translations": {
+ "Files" : "Mafaili",
"seconds ago" : "sukunde zilizopita",
"File already exists" : "Faili lipo tayari",
"Settings" : "Mipangilio",