Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php1
-rw-r--r--lib/l10n/cs.js1
-rw-r--r--lib/l10n/cs.json1
-rw-r--r--lib/l10n/de.js1
-rw-r--r--lib/l10n/de.json1
-rw-r--r--lib/l10n/de_DE.js1
-rw-r--r--lib/l10n/de_DE.json1
-rw-r--r--lib/l10n/fr.js1
-rw-r--r--lib/l10n/fr.json1
-rw-r--r--lib/l10n/gl.js3
-rw-r--r--lib/l10n/gl.json3
-rw-r--r--lib/l10n/it.js1
-rw-r--r--lib/l10n/it.json1
-rw-r--r--lib/l10n/nb.js1
-rw-r--r--lib/l10n/nb.json1
-rw-r--r--lib/l10n/pl.js3
-rw-r--r--lib/l10n/pl.json3
-rw-r--r--lib/l10n/pt_BR.js1
-rw-r--r--lib/l10n/pt_BR.json1
-rw-r--r--lib/l10n/ru.js3
-rw-r--r--lib/l10n/ru.json3
-rw-r--r--lib/l10n/tr.js1
-rw-r--r--lib/l10n/tr.json1
-rw-r--r--lib/private/DB/MigrationService.php5
-rw-r--r--lib/private/Files/Filesystem.php4
-rw-r--r--lib/private/Files/ObjectStore/ObjectStoreStorage.php5
-rw-r--r--lib/private/Files/Type/Detection.php8
-rw-r--r--lib/private/Share20/Hooks.php4
-rw-r--r--lib/public/Files/Storage/IWriteStreamStorage.php3
29 files changed, 50 insertions, 14 deletions
diff --git a/lib/base.php b/lib/base.php
index 92e459e869e..61db221ac68 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -901,7 +901,6 @@ class OC {
public static function registerShareHooks() {
if (\OC::$server->getSystemConfig()->getValue('installed')) {
OC_Hook::connect('OC_User', 'post_deleteUser', Hooks::class, 'post_deleteUser');
- OC_Hook::connect('OC_User', 'post_removeFromGroup', Hooks::class, 'post_removeFromGroupLDAP');
OC_Hook::connect('OC_User', 'post_deleteGroup', Hooks::class, 'post_deleteGroup');
/** @var \OCP\EventDispatcher\IEventDispatcher $dispatcher */
diff --git a/lib/l10n/cs.js b/lib/l10n/cs.js
index 145e6a12bfb..6ee405b8ba0 100644
--- a/lib/l10n/cs.js
+++ b/lib/l10n/cs.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "Je vyžadováno PHP %s nebo novější.",
"PHP with a version lower than %s is required." : "Je vyžadováno PHP ve verzi nižší než %s.",
"%sbit or higher PHP required." : "Je vyžadováno PHP %sbit nebo vyšší.",
+ "The following architectures are supported: %s" : "Jsou podporovány následující architektury: %s",
"The following databases are supported: %s" : "Jsou podporovány následující databáze: %s",
"The command line tool %s could not be found" : "Nástroj příkazového řádku %s nebyl nalezen",
"The library %s is not available." : "Knihovna %s není dostupná.",
diff --git a/lib/l10n/cs.json b/lib/l10n/cs.json
index 3f989c85633..499a55ea9ee 100644
--- a/lib/l10n/cs.json
+++ b/lib/l10n/cs.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "Je vyžadováno PHP %s nebo novější.",
"PHP with a version lower than %s is required." : "Je vyžadováno PHP ve verzi nižší než %s.",
"%sbit or higher PHP required." : "Je vyžadováno PHP %sbit nebo vyšší.",
+ "The following architectures are supported: %s" : "Jsou podporovány následující architektury: %s",
"The following databases are supported: %s" : "Jsou podporovány následující databáze: %s",
"The command line tool %s could not be found" : "Nástroj příkazového řádku %s nebyl nalezen",
"The library %s is not available." : "Knihovna %s není dostupná.",
diff --git a/lib/l10n/de.js b/lib/l10n/de.js
index 38d6d9f98f6..9814b47dc92 100644
--- a/lib/l10n/de.js
+++ b/lib/l10n/de.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "PHP %s oder höher wird benötigt.",
"PHP with a version lower than %s is required." : "PHP wird in einer früheren Version als %s benötigt.",
"%sbit or higher PHP required." : "%sbit oder höheres PHP wird benötigt.",
+ "The following architectures are supported: %s" : "Die folgenden Architekturen werden unterstützt: %s",
"The following databases are supported: %s" : "Die folgenden Datenbanken werden unterstützt: %s",
"The command line tool %s could not be found" : "Das Kommandozeilenwerkzeug %s konnte nicht gefunden werden",
"The library %s is not available." : "Die Bibliothek %s ist nicht verfügbar.",
diff --git a/lib/l10n/de.json b/lib/l10n/de.json
index f7f0c703ab3..6c786fc111d 100644
--- a/lib/l10n/de.json
+++ b/lib/l10n/de.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "PHP %s oder höher wird benötigt.",
"PHP with a version lower than %s is required." : "PHP wird in einer früheren Version als %s benötigt.",
"%sbit or higher PHP required." : "%sbit oder höheres PHP wird benötigt.",
+ "The following architectures are supported: %s" : "Die folgenden Architekturen werden unterstützt: %s",
"The following databases are supported: %s" : "Die folgenden Datenbanken werden unterstützt: %s",
"The command line tool %s could not be found" : "Das Kommandozeilenwerkzeug %s konnte nicht gefunden werden",
"The library %s is not available." : "Die Bibliothek %s ist nicht verfügbar.",
diff --git a/lib/l10n/de_DE.js b/lib/l10n/de_DE.js
index a22d76d3107..fc1d76f38d7 100644
--- a/lib/l10n/de_DE.js
+++ b/lib/l10n/de_DE.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "PHP %s oder höher wird benötigt.",
"PHP with a version lower than %s is required." : "PHP wird in einer früheren Version als %s benötigt.",
"%sbit or higher PHP required." : "%sbit oder höheres PHP wird benötigt.",
+ "The following architectures are supported: %s" : "Folgende Architekturen werden unterstützt: %s",
"The following databases are supported: %s" : "Folgende Datenbanken werden unterstützt: %s",
"The command line tool %s could not be found" : "Das Kommandozeilenwerkzeug %s konnte nicht gefunden werden",
"The library %s is not available." : "Die Bibliothek %s ist nicht verfügbar.",
diff --git a/lib/l10n/de_DE.json b/lib/l10n/de_DE.json
index e4302e6e7e3..f1c5773336e 100644
--- a/lib/l10n/de_DE.json
+++ b/lib/l10n/de_DE.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "PHP %s oder höher wird benötigt.",
"PHP with a version lower than %s is required." : "PHP wird in einer früheren Version als %s benötigt.",
"%sbit or higher PHP required." : "%sbit oder höheres PHP wird benötigt.",
+ "The following architectures are supported: %s" : "Folgende Architekturen werden unterstützt: %s",
"The following databases are supported: %s" : "Folgende Datenbanken werden unterstützt: %s",
"The command line tool %s could not be found" : "Das Kommandozeilenwerkzeug %s konnte nicht gefunden werden",
"The library %s is not available." : "Die Bibliothek %s ist nicht verfügbar.",
diff --git a/lib/l10n/fr.js b/lib/l10n/fr.js
index 56089302662..d3963fa2e1d 100644
--- a/lib/l10n/fr.js
+++ b/lib/l10n/fr.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "PHP %s ou supérieur est requis.",
"PHP with a version lower than %s is required." : "PHP avec une version antérieure à %s est requis.",
"%sbit or higher PHP required." : "PHP %sbits ou supérieur est requis.",
+ "The following architectures are supported: %s" : "Les architectures suivantes sont prises en charge : %s",
"The following databases are supported: %s" : "Les bases de données suivantes sont prises en charge : %s",
"The command line tool %s could not be found" : "La commande %s est introuvable",
"The library %s is not available." : "La librairie %s n'est pas disponible.",
diff --git a/lib/l10n/fr.json b/lib/l10n/fr.json
index 90f9579a63a..5746372b058 100644
--- a/lib/l10n/fr.json
+++ b/lib/l10n/fr.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "PHP %s ou supérieur est requis.",
"PHP with a version lower than %s is required." : "PHP avec une version antérieure à %s est requis.",
"%sbit or higher PHP required." : "PHP %sbits ou supérieur est requis.",
+ "The following architectures are supported: %s" : "Les architectures suivantes sont prises en charge : %s",
"The following databases are supported: %s" : "Les bases de données suivantes sont prises en charge : %s",
"The command line tool %s could not be found" : "La commande %s est introuvable",
"The library %s is not available." : "La librairie %s n'est pas disponible.",
diff --git a/lib/l10n/gl.js b/lib/l10n/gl.js
index 7f5fc408c42..40a1e3de1be 100644
--- a/lib/l10n/gl.js
+++ b/lib/l10n/gl.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "É necesario PHP %s ou superior.",
"PHP with a version lower than %s is required." : "É necesario PHP cunha versión inferior a %s.",
"%sbit or higher PHP required." : "É necesario PHP para %sbits ou superior.",
+ "The following architectures are supported: %s" : "Admítense as seguintes arquitecturas: %s",
"The following databases are supported: %s" : "Admítense as seguintes bases de datos: %s",
"The command line tool %s could not be found" : "Non foi posíbel atopar a ferramenta de liña de ordes %s",
"The library %s is not available." : "Non está dispoñíbel a biblioteca %s.",
@@ -67,7 +68,7 @@ OC.L10N.register(
"_in %n minute_::_in %n minutes_" : ["nun minuto","en %n minutos"],
"_%n minute ago_::_%n minutes ago_" : ["hai %n minuto","hai %n minutos"],
"in a few seconds" : "en poucos segundos",
- "seconds ago" : "segundos atrás",
+ "seconds ago" : "hai uns segundos",
"Empty file" : "Ficheiro baleiro",
"Module with ID: %s does not exist. Please enable it in your apps settings or contact your administrator." : "Non existe o módulo co ID: %s. Actíveo nos axustes das aplicacións ou contacte co administrador.",
"File name is a reserved word" : "O nome de ficheiro é unha palabra reservada",
diff --git a/lib/l10n/gl.json b/lib/l10n/gl.json
index c3e6d7b6846..999bb411fff 100644
--- a/lib/l10n/gl.json
+++ b/lib/l10n/gl.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "É necesario PHP %s ou superior.",
"PHP with a version lower than %s is required." : "É necesario PHP cunha versión inferior a %s.",
"%sbit or higher PHP required." : "É necesario PHP para %sbits ou superior.",
+ "The following architectures are supported: %s" : "Admítense as seguintes arquitecturas: %s",
"The following databases are supported: %s" : "Admítense as seguintes bases de datos: %s",
"The command line tool %s could not be found" : "Non foi posíbel atopar a ferramenta de liña de ordes %s",
"The library %s is not available." : "Non está dispoñíbel a biblioteca %s.",
@@ -65,7 +66,7 @@
"_in %n minute_::_in %n minutes_" : ["nun minuto","en %n minutos"],
"_%n minute ago_::_%n minutes ago_" : ["hai %n minuto","hai %n minutos"],
"in a few seconds" : "en poucos segundos",
- "seconds ago" : "segundos atrás",
+ "seconds ago" : "hai uns segundos",
"Empty file" : "Ficheiro baleiro",
"Module with ID: %s does not exist. Please enable it in your apps settings or contact your administrator." : "Non existe o módulo co ID: %s. Actíveo nos axustes das aplicacións ou contacte co administrador.",
"File name is a reserved word" : "O nome de ficheiro é unha palabra reservada",
diff --git a/lib/l10n/it.js b/lib/l10n/it.js
index 5c84a6c5f55..8b352f64a36 100644
--- a/lib/l10n/it.js
+++ b/lib/l10n/it.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "Richiesto PHP %s o superiore",
"PHP with a version lower than %s is required." : "Richiesta una versione di PHP minore di %s.",
"%sbit or higher PHP required." : "Richiesto PHP %sbit o superiore.",
+ "The following architectures are supported: %s" : "Sono supportate le seguenti architetture: %s",
"The following databases are supported: %s" : "I seguenti database sono supportati: %s",
"The command line tool %s could not be found" : "Lo strumento da riga di comando %s non è stato trovato",
"The library %s is not available." : "La libreria %s non è disponibile.",
diff --git a/lib/l10n/it.json b/lib/l10n/it.json
index 86b2536d84f..52943853be1 100644
--- a/lib/l10n/it.json
+++ b/lib/l10n/it.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "Richiesto PHP %s o superiore",
"PHP with a version lower than %s is required." : "Richiesta una versione di PHP minore di %s.",
"%sbit or higher PHP required." : "Richiesto PHP %sbit o superiore.",
+ "The following architectures are supported: %s" : "Sono supportate le seguenti architetture: %s",
"The following databases are supported: %s" : "I seguenti database sono supportati: %s",
"The command line tool %s could not be found" : "Lo strumento da riga di comando %s non è stato trovato",
"The library %s is not available." : "La libreria %s non è disponibile.",
diff --git a/lib/l10n/nb.js b/lib/l10n/nb.js
index be6e50292f7..290364b8fde 100644
--- a/lib/l10n/nb.js
+++ b/lib/l10n/nb.js
@@ -200,6 +200,7 @@ OC.L10N.register(
"Security" : "Sikkerhet",
"Groupware" : "Gruppevare",
"Personal info" : "Personlig informasjon",
+ "Mobile & desktop" : "Mobil og skrivebord",
"This can usually be fixed by giving the webserver write access to the apps directory or disabling the appstore in the config file. See %s" : "Dette kan vanligvis ordnes ved å gi webserveren skrivetilgang til apps-mappen eller ved å skru av app-butikken i config-filen. Se %s"
},
"nplurals=2; plural=(n != 1);");
diff --git a/lib/l10n/nb.json b/lib/l10n/nb.json
index 111bf569bd3..be76d21b1df 100644
--- a/lib/l10n/nb.json
+++ b/lib/l10n/nb.json
@@ -198,6 +198,7 @@
"Security" : "Sikkerhet",
"Groupware" : "Gruppevare",
"Personal info" : "Personlig informasjon",
+ "Mobile & desktop" : "Mobil og skrivebord",
"This can usually be fixed by giving the webserver write access to the apps directory or disabling the appstore in the config file. See %s" : "Dette kan vanligvis ordnes ved å gi webserveren skrivetilgang til apps-mappen eller ved å skru av app-butikken i config-filen. Se %s"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/lib/l10n/pl.js b/lib/l10n/pl.js
index 4e131b8e382..125eb69e50e 100644
--- a/lib/l10n/pl.js
+++ b/lib/l10n/pl.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "Wymagane jest PHP %s lub wyższe.",
"PHP with a version lower than %s is required." : "Wymagane jest PHP z wersją niższą niż %s.",
"%sbit or higher PHP required." : "%sbit lub wymagane wyższe PHP.",
+ "The following architectures are supported: %s" : "Obsługiwane są następujące architektury: %s",
"The following databases are supported: %s" : "Obsługiwane są następujące bazy danych: %s",
"The command line tool %s could not be found" : "Nie można znaleźć narzędzia wiersza poleceń %s",
"The library %s is not available." : "Biblioteka %s nie jest dostępna.",
@@ -115,7 +116,7 @@ OC.L10N.register(
"Can’t increase permissions of %s" : "Nie można zwiększyć uprawnień %s",
"Files can’t be shared with delete permissions" : "Pliki nie mogą zostać udostępnione z prawem do usuwania",
"Files can’t be shared with create permissions" : "Pliki nie mogą zostać udostępnione z prawem do tworzenia",
- "Expiration date is in the past" : "Data ważności jest przeszła",
+ "Expiration date is in the past" : "Data ważności już minęła",
"Can’t set expiration date more than %s days in the future" : "Nie można ustawić daty ważności na dłuższą niż %s dni",
"%1$s shared »%2$s« with you" : "%1$s udostępnił Tobie »%2$s«",
"%1$s shared »%2$s« with you." : "%1$s udostępnił Tobie »%2$s«.",
diff --git a/lib/l10n/pl.json b/lib/l10n/pl.json
index a7d5bd7f445..ff360af54e3 100644
--- a/lib/l10n/pl.json
+++ b/lib/l10n/pl.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "Wymagane jest PHP %s lub wyższe.",
"PHP with a version lower than %s is required." : "Wymagane jest PHP z wersją niższą niż %s.",
"%sbit or higher PHP required." : "%sbit lub wymagane wyższe PHP.",
+ "The following architectures are supported: %s" : "Obsługiwane są następujące architektury: %s",
"The following databases are supported: %s" : "Obsługiwane są następujące bazy danych: %s",
"The command line tool %s could not be found" : "Nie można znaleźć narzędzia wiersza poleceń %s",
"The library %s is not available." : "Biblioteka %s nie jest dostępna.",
@@ -113,7 +114,7 @@
"Can’t increase permissions of %s" : "Nie można zwiększyć uprawnień %s",
"Files can’t be shared with delete permissions" : "Pliki nie mogą zostać udostępnione z prawem do usuwania",
"Files can’t be shared with create permissions" : "Pliki nie mogą zostać udostępnione z prawem do tworzenia",
- "Expiration date is in the past" : "Data ważności jest przeszła",
+ "Expiration date is in the past" : "Data ważności już minęła",
"Can’t set expiration date more than %s days in the future" : "Nie można ustawić daty ważności na dłuższą niż %s dni",
"%1$s shared »%2$s« with you" : "%1$s udostępnił Tobie »%2$s«",
"%1$s shared »%2$s« with you." : "%1$s udostępnił Tobie »%2$s«.",
diff --git a/lib/l10n/pt_BR.js b/lib/l10n/pt_BR.js
index 143a6777970..9941630a213 100644
--- a/lib/l10n/pt_BR.js
+++ b/lib/l10n/pt_BR.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "PHP %s ou superior é requerido.",
"PHP with a version lower than %s is required." : "É requerida uma versão PHP mais antiga que a %s .",
"%sbit or higher PHP required." : "%sbit ou PHP maior é requerido.",
+ "The following architectures are supported: %s" : "As seguintes plataformas são suportadas: %s",
"The following databases are supported: %s" : "Os seguintes bancos de dados são suportados: %s",
"The command line tool %s could not be found" : "A ferramenta de linha de comando %s não pôde ser encontrada",
"The library %s is not available." : "A biblioteca %s não está disponível.",
diff --git a/lib/l10n/pt_BR.json b/lib/l10n/pt_BR.json
index c51835ebba3..1c48c52068c 100644
--- a/lib/l10n/pt_BR.json
+++ b/lib/l10n/pt_BR.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "PHP %s ou superior é requerido.",
"PHP with a version lower than %s is required." : "É requerida uma versão PHP mais antiga que a %s .",
"%sbit or higher PHP required." : "%sbit ou PHP maior é requerido.",
+ "The following architectures are supported: %s" : "As seguintes plataformas são suportadas: %s",
"The following databases are supported: %s" : "Os seguintes bancos de dados são suportados: %s",
"The command line tool %s could not be found" : "A ferramenta de linha de comando %s não pôde ser encontrada",
"The library %s is not available." : "A biblioteca %s não está disponível.",
diff --git a/lib/l10n/ru.js b/lib/l10n/ru.js
index 1c5384f6ec0..7d746783dec 100644
--- a/lib/l10n/ru.js
+++ b/lib/l10n/ru.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"The files of the app %1$s were not replaced correctly. Make sure it is a version compatible with the server." : "Файлы приложения %1$s не были заменены корректно. Удостоверьтесь, что устанавливаемая версия этого приложения совместима с версией сервера.",
"Sample configuration detected" : "Обнаружена конфигурация из примера.",
"It has been detected that the sample configuration has been copied. This can break your installation and is unsupported. Please read the documentation before performing changes on config.php" : "Была обнаружена конфигурация из примера. Такая конфигурация не поддерживается и может повредить вашей системе. Прочтите документацию перед внесением изменений в файл config.php",
+ "Other activities" : "Другие события",
"%1$s and %2$s" : "%1$s и %2$s",
"%1$s, %2$s and %3$s" : "%1$s, %2$s и %3$s",
"%1$s, %2$s, %3$s and %4$s" : "%1$s, %2$s, %3$s и %4$s",
@@ -77,7 +78,7 @@ OC.L10N.register(
"App \"%s\" cannot be installed because appinfo file cannot be read." : "Приложение «%s» не может быть установлено, так как файл с информацией о приложении не может быть прочтен.",
"App \"%s\" cannot be installed because it is not compatible with this version of the server." : "Приложение «%s» не может быть установлено, потому что оно несовместимо с этой версией сервера",
"__language_name__" : "Русский",
- "This is an automatically sent email, please do not reply." : "Это соощение отправлено автоматически, пожалуйста, не отвечайте на него.",
+ "This is an automatically sent email, please do not reply." : "Это сообщение отправлено автоматически и не требует ответа.",
"Help" : "Помощь",
"Apps" : "Приложения",
"Settings" : "Настройки",
diff --git a/lib/l10n/ru.json b/lib/l10n/ru.json
index 3ebe074cd8c..e9449fc32e9 100644
--- a/lib/l10n/ru.json
+++ b/lib/l10n/ru.json
@@ -8,6 +8,7 @@
"The files of the app %1$s were not replaced correctly. Make sure it is a version compatible with the server." : "Файлы приложения %1$s не были заменены корректно. Удостоверьтесь, что устанавливаемая версия этого приложения совместима с версией сервера.",
"Sample configuration detected" : "Обнаружена конфигурация из примера.",
"It has been detected that the sample configuration has been copied. This can break your installation and is unsupported. Please read the documentation before performing changes on config.php" : "Была обнаружена конфигурация из примера. Такая конфигурация не поддерживается и может повредить вашей системе. Прочтите документацию перед внесением изменений в файл config.php",
+ "Other activities" : "Другие события",
"%1$s and %2$s" : "%1$s и %2$s",
"%1$s, %2$s and %3$s" : "%1$s, %2$s и %3$s",
"%1$s, %2$s, %3$s and %4$s" : "%1$s, %2$s, %3$s и %4$s",
@@ -75,7 +76,7 @@
"App \"%s\" cannot be installed because appinfo file cannot be read." : "Приложение «%s» не может быть установлено, так как файл с информацией о приложении не может быть прочтен.",
"App \"%s\" cannot be installed because it is not compatible with this version of the server." : "Приложение «%s» не может быть установлено, потому что оно несовместимо с этой версией сервера",
"__language_name__" : "Русский",
- "This is an automatically sent email, please do not reply." : "Это соощение отправлено автоматически, пожалуйста, не отвечайте на него.",
+ "This is an automatically sent email, please do not reply." : "Это сообщение отправлено автоматически и не требует ответа.",
"Help" : "Помощь",
"Apps" : "Приложения",
"Settings" : "Настройки",
diff --git a/lib/l10n/tr.js b/lib/l10n/tr.js
index bc7fbdb19ed..d592547ce8e 100644
--- a/lib/l10n/tr.js
+++ b/lib/l10n/tr.js
@@ -23,6 +23,7 @@ OC.L10N.register(
"PHP %s or higher is required." : "PHP %s ya da daha sonraki bir sürümü gerekli.",
"PHP with a version lower than %s is required." : "PHP %s ya da daha önceki bir sürümü gerekli.",
"%sbit or higher PHP required." : "%sbit ya da daha sonraki bir PHP sürümü gerekli.",
+ "The following architectures are supported: %s" : "Şu mimariler destekleniyor: %s",
"The following databases are supported: %s" : "Şu veritabanları destekleniyor: %s",
"The command line tool %s could not be found" : "%s komut satırı aracı bulunamadı",
"The library %s is not available." : "%s kitaplığı bulunamadı.",
diff --git a/lib/l10n/tr.json b/lib/l10n/tr.json
index 47728d5d016..b4ae4da56bf 100644
--- a/lib/l10n/tr.json
+++ b/lib/l10n/tr.json
@@ -21,6 +21,7 @@
"PHP %s or higher is required." : "PHP %s ya da daha sonraki bir sürümü gerekli.",
"PHP with a version lower than %s is required." : "PHP %s ya da daha önceki bir sürümü gerekli.",
"%sbit or higher PHP required." : "%sbit ya da daha sonraki bir PHP sürümü gerekli.",
+ "The following architectures are supported: %s" : "Şu mimariler destekleniyor: %s",
"The following databases are supported: %s" : "Şu veritabanları destekleniyor: %s",
"The command line tool %s could not be found" : "%s komut satırı aracı bulunamadı",
"The library %s is not available." : "%s kitaplığı bulunamadı.",
diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php
index 9f5b5bfe72b..d08f4fc75ce 100644
--- a/lib/private/DB/MigrationService.php
+++ b/lib/private/DB/MigrationService.php
@@ -513,6 +513,11 @@ class MigrationService {
if ((!$sourceTable instanceof Table || !$sourceTable->hasColumn($thing->getName())) && \strlen($thing->getName()) > 30) {
throw new \InvalidArgumentException('Column name "' . $table->getName() . '"."' . $thing->getName() . '" is too long.');
}
+
+ if ($thing->getNotnull() && $thing->getDefault() === ''
+ && $sourceTable instanceof Table && !$sourceTable->hasColumn($thing->getName())) {
+ throw new \InvalidArgumentException('Column name "' . $table->getName() . '"."' . $thing->getName() . '" is NotNull, but has empty string or null as default.');
+ }
}
foreach ($table->getIndexes() as $thing) {
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php
index 4b04656f49b..daf5a7243e2 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -438,13 +438,13 @@ class Filesystem {
// home mounts are handled seperate since we need to ensure this is mounted before we call the other mount providers
$homeMount = $mountConfigManager->getHomeMountForUser($userObject);
+ self::getMountManager()->addMount($homeMount);
+
if ($homeMount->getStorageRootId() === -1) {
$homeMount->getStorage()->mkdir('');
$homeMount->getStorage()->getScanner()->scan('');
}
- self::getMountManager()->addMount($homeMount);
-
\OC\Files\Filesystem::getStorage($user);
// Chance to mount for other storages
diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
index bd5b2d47770..a752b27ca26 100644
--- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
@@ -285,6 +285,11 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
case 'rb':
$stat = $this->stat($path);
if (is_array($stat)) {
+ // Reading 0 sized files is a waste of time
+ if (isset($stat['size']) && $stat['size'] === 0) {
+ return fopen('php://memory', $mode);
+ }
+
try {
return $this->objectStore->readObject($this->getURN($stat['fileid']));
} catch (NotFoundException $e) {
diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php
index 1352963fc67..4e7f89778a4 100644
--- a/lib/private/Files/Type/Detection.php
+++ b/lib/private/Files/Type/Detection.php
@@ -120,8 +120,14 @@ class Detection implements IMimeTypeDetector {
$this->mimetypes = array_merge($this->mimetypes, $types);
// Update the alternative mimetypes to avoid having to look them up each time.
- foreach ($this->mimetypes as $mimeType) {
+ foreach ($this->mimetypes as $extension => $mimeType) {
+ if (strpos($extension, '_comment') === 0) {
+ continue;
+ }
$this->secureMimeTypes[$mimeType[0]] = $mimeType[1] ?? $mimeType[0];
+ if (isset($mimeType[1])) {
+ $this->secureMimeTypes[$mimeType[1]] = $mimeType[1];
+ }
}
}
diff --git a/lib/private/Share20/Hooks.php b/lib/private/Share20/Hooks.php
index 0e41e20a2cd..b596123bbe0 100644
--- a/lib/private/Share20/Hooks.php
+++ b/lib/private/Share20/Hooks.php
@@ -30,8 +30,4 @@ class Hooks {
public static function post_deleteGroup($arguments) {
\OC::$server->getShareManager()->groupDeleted($arguments['gid']);
}
-
- public static function post_removeFromGroupLDAP($arguments) {
- \OC::$server->getShareManager()->userDeletedFromGroup($arguments['uid'], $arguments['gid']);
- }
}
diff --git a/lib/public/Files/Storage/IWriteStreamStorage.php b/lib/public/Files/Storage/IWriteStreamStorage.php
index 24d6d7a1f94..319453d4bbc 100644
--- a/lib/public/Files/Storage/IWriteStreamStorage.php
+++ b/lib/public/Files/Storage/IWriteStreamStorage.php
@@ -26,6 +26,8 @@ declare(strict_types=1);
namespace OCP\Files\Storage;
+use OCP\Files\GenericFileException;
+
/**
* Interface that adds the ability to write a stream directly to file
*
@@ -39,6 +41,7 @@ interface IWriteStreamStorage extends IStorage {
* @param resource $stream
* @param int|null $size the size of the stream if known in advance
* @return int the number of bytes written
+ * @throws GenericFileException
* @since 15.0.0
*/
public function writeStream(string $path, $stream, int $size = null): int;