aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/public.js2
-rw-r--r--apps/files_sharing/l10n/bg.js2
-rw-r--r--apps/files_sharing/l10n/bg.json2
-rw-r--r--apps/files_sharing/l10n/ca.js2
-rw-r--r--apps/files_sharing/l10n/ca.json2
-rw-r--r--apps/files_sharing/l10n/cs.js2
-rw-r--r--apps/files_sharing/l10n/cs.json2
-rw-r--r--apps/files_sharing/l10n/de.js2
-rw-r--r--apps/files_sharing/l10n/de.json2
-rw-r--r--apps/files_sharing/l10n/de_DE.js4
-rw-r--r--apps/files_sharing/l10n/de_DE.json4
-rw-r--r--apps/files_sharing/l10n/en_GB.js4
-rw-r--r--apps/files_sharing/l10n/en_GB.json4
-rw-r--r--apps/files_sharing/l10n/es.js4
-rw-r--r--apps/files_sharing/l10n/es.json4
-rw-r--r--apps/files_sharing/l10n/eu.js11
-rw-r--r--apps/files_sharing/l10n/eu.json11
-rw-r--r--apps/files_sharing/l10n/fi.js2
-rw-r--r--apps/files_sharing/l10n/fi.json2
-rw-r--r--apps/files_sharing/l10n/fr.js6
-rw-r--r--apps/files_sharing/l10n/fr.json6
-rw-r--r--apps/files_sharing/l10n/gl.js4
-rw-r--r--apps/files_sharing/l10n/gl.json4
-rw-r--r--apps/files_sharing/l10n/hu.js4
-rw-r--r--apps/files_sharing/l10n/hu.json4
-rw-r--r--apps/files_sharing/l10n/mk.js10
-rw-r--r--apps/files_sharing/l10n/mk.json10
-rw-r--r--apps/files_sharing/l10n/pl.js1
-rw-r--r--apps/files_sharing/l10n/pl.json1
-rw-r--r--apps/files_sharing/l10n/pt_BR.js2
-rw-r--r--apps/files_sharing/l10n/pt_BR.json2
-rw-r--r--apps/files_sharing/l10n/ru.js20
-rw-r--r--apps/files_sharing/l10n/ru.json20
-rw-r--r--apps/files_sharing/l10n/sr.js4
-rw-r--r--apps/files_sharing/l10n/sr.json4
-rw-r--r--apps/files_sharing/l10n/sv.js8
-rw-r--r--apps/files_sharing/l10n/sv.json8
-rw-r--r--apps/files_sharing/l10n/tr.js4
-rw-r--r--apps/files_sharing/l10n/tr.json4
-rw-r--r--apps/files_sharing/l10n/zh_HK.js4
-rw-r--r--apps/files_sharing/l10n/zh_HK.json4
-rw-r--r--apps/files_sharing/l10n/zh_TW.js4
-rw-r--r--apps/files_sharing/l10n/zh_TW.json4
-rw-r--r--apps/files_sharing/lib/Controller/DeletedShareAPIController.php30
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php71
-rw-r--r--apps/files_sharing/lib/Controller/ShareesAPIController.php8
-rw-r--r--apps/files_sharing/lib/MountProvider.php1
-rw-r--r--apps/files_sharing/lib/SharedStorage.php12
-rw-r--r--apps/files_sharing/src/additionalScripts.js4
-rw-r--r--apps/files_sharing/src/collaborationresources.js6
-rw-r--r--apps/files_sharing/src/components/ExternalShareAction.vue2
-rw-r--r--apps/files_sharing/src/components/PersonalSettings.vue2
-rw-r--r--apps/files_sharing/src/components/SharePermissionsEditor.vue14
-rw-r--r--apps/files_sharing/src/components/SharingEntry.vue12
-rw-r--r--apps/files_sharing/src/components/SharingEntryInherited.vue14
-rw-r--r--apps/files_sharing/src/components/SharingEntryInternal.vue4
-rw-r--r--apps/files_sharing/src/components/SharingEntryLink.vue18
-rw-r--r--apps/files_sharing/src/components/SharingEntrySimple.vue2
-rw-r--r--apps/files_sharing/src/components/SharingInput.vue16
-rw-r--r--apps/files_sharing/src/files_sharing.js4
-rw-r--r--apps/files_sharing/src/files_sharing_tab.js2
-rw-r--r--apps/files_sharing/src/index.js1
-rw-r--r--apps/files_sharing/src/lib/SharePermissionsToolBox.spec.js2
-rw-r--r--apps/files_sharing/src/mixins/ShareRequests.js2
-rw-r--r--apps/files_sharing/src/mixins/SharesMixin.js2
-rw-r--r--apps/files_sharing/src/personal-settings.js2
-rw-r--r--apps/files_sharing/src/share.js2
-rw-r--r--apps/files_sharing/src/style/sharebreadcrumb.scss8
-rw-r--r--apps/files_sharing/src/utils/GeneratePassword.js2
-rw-r--r--apps/files_sharing/src/views/SharingInherited.vue8
-rw-r--r--apps/files_sharing/src/views/SharingLinkList.vue6
-rw-r--r--apps/files_sharing/src/views/SharingList.vue6
-rw-r--r--apps/files_sharing/src/views/SharingTab.vue24
-rw-r--r--apps/files_sharing/tests/Controller/ShareAPIControllerTest.php4
-rw-r--r--apps/files_sharing/tests/MountProviderTest.php12
75 files changed, 395 insertions, 118 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 128875ba6ab..154b970c5be 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -217,7 +217,7 @@ OCA.Sharing.PublicApp = {
// Remove the link. This means that files without a default action fail hard
$tr.find('a.name').attr('href', '#');
- this.fileActions.actions.all = {};
+ delete this.fileActions.actions.all.Download;
}
return $tr;
};
diff --git a/apps/files_sharing/l10n/bg.js b/apps/files_sharing/l10n/bg.js
index 1e88d4f85d9..54b6faf7a21 100644
--- a/apps/files_sharing/l10n/bg.js
+++ b/apps/files_sharing/l10n/bg.js
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Копирай",
"Sorry, this link doesn’t seem to work anymore." : "Връзката вече не е активна.",
"Toggle grid view" : "Превключи решетъчния изглед",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Споделянето %s не бе успешно, защото вътрешния сървър не позволява споделяния на приложението sciencemesh",
+ "Science Mesh" : "Приложение Science Mesh",
"Error generating password from password_policy" : "Грешка при генериране на парола от политиката за пароли"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/bg.json b/apps/files_sharing/l10n/bg.json
index fa449218ded..816b9a7701a 100644
--- a/apps/files_sharing/l10n/bg.json
+++ b/apps/files_sharing/l10n/bg.json
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Копирай",
"Sorry, this link doesn’t seem to work anymore." : "Връзката вече не е активна.",
"Toggle grid view" : "Превключи решетъчния изглед",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Споделянето %s не бе успешно, защото вътрешния сървър не позволява споделяния на приложението sciencemesh",
+ "Science Mesh" : "Приложение Science Mesh",
"Error generating password from password_policy" : "Грешка при генериране на парола от политиката за пароли"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/ca.js b/apps/files_sharing/l10n/ca.js
index 30ef87ec137..f4f9a213671 100644
--- a/apps/files_sharing/l10n/ca.js
+++ b/apps/files_sharing/l10n/ca.js
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Copia-ho al porta-papers",
"Sorry, this link doesn’t seem to work anymore." : "Aquest enllaç sembla que no funciona.",
"Toggle grid view" : "Commuta la vista de la graella",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "S'ha produït un error en compartir %s perquè el rerefons no admet comparticions de sciencemesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "S'ha produït un error en generar la contrasenya des de password_policy"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/ca.json b/apps/files_sharing/l10n/ca.json
index efe1d173d2c..565ece28926 100644
--- a/apps/files_sharing/l10n/ca.json
+++ b/apps/files_sharing/l10n/ca.json
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Copia-ho al porta-papers",
"Sorry, this link doesn’t seem to work anymore." : "Aquest enllaç sembla que no funciona.",
"Toggle grid view" : "Commuta la vista de la graella",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "S'ha produït un error en compartir %s perquè el rerefons no admet comparticions de sciencemesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "S'ha produït un error en generar la contrasenya des de password_policy"
},"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 f061a0c25f2..c1f05508ebd 100644
--- a/apps/files_sharing/l10n/cs.js
+++ b/apps/files_sharing/l10n/cs.js
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Zkopírovat do schránky",
"Sorry, this link doesn’t seem to work anymore." : "Je nám líto, ale tento odkaz už není funkční.",
"Toggle grid view" : "Vyp/zap. zobrazení v mřížce",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Sdílení %s se nezdařilo protože podpůrná vrstva nepodporuje sciencemesh sdílení",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Chyba při vytváření hesla ze zásady pro hesla"
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
diff --git a/apps/files_sharing/l10n/cs.json b/apps/files_sharing/l10n/cs.json
index 8a12a8608bb..3cad2fefb63 100644
--- a/apps/files_sharing/l10n/cs.json
+++ b/apps/files_sharing/l10n/cs.json
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Zkopírovat do schránky",
"Sorry, this link doesn’t seem to work anymore." : "Je nám líto, ale tento odkaz už není funkční.",
"Toggle grid view" : "Vyp/zap. zobrazení v mřížce",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Sdílení %s se nezdařilo protože podpůrná vrstva nepodporuje sciencemesh sdílení",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Chyba při vytváření hesla ze zásady pro hesla"
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/de.js b/apps/files_sharing/l10n/de.js
index 046fe93b6e5..714199944b0 100644
--- a/apps/files_sharing/l10n/de.js
+++ b/apps/files_sharing/l10n/de.js
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "In die Zwischenablage kopieren",
"Sorry, this link doesn’t seem to work anymore." : "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
"Toggle grid view" : "Rasteransicht umschalten",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Freigabe von %s fehlgeschlagen, da das Backend keine ScienceMesh-Freigaben unterstützt",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "Fehler beim Erzeugen des Passworts basierend auf der Passwort-Policy"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/de.json b/apps/files_sharing/l10n/de.json
index 32af202969e..f063ca03cb3 100644
--- a/apps/files_sharing/l10n/de.json
+++ b/apps/files_sharing/l10n/de.json
@@ -273,6 +273,8 @@
"Copy to clipboard" : "In die Zwischenablage kopieren",
"Sorry, this link doesn’t seem to work anymore." : "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
"Toggle grid view" : "Rasteransicht umschalten",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Freigabe von %s fehlgeschlagen, da das Backend keine ScienceMesh-Freigaben unterstützt",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "Fehler beim Erzeugen des Passworts basierend auf der Passwort-Policy"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/de_DE.js b/apps/files_sharing/l10n/de_DE.js
index 5c92cc23016..d8a34955d29 100644
--- a/apps/files_sharing/l10n/de_DE.js
+++ b/apps/files_sharing/l10n/de_DE.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "Sie können nichts mit einem Kreis teilen, wenn die App nicht aktiviert ist",
"Please specify a valid circle" : "Bitte einen gültigen Kreis angeben",
"Sharing %s failed because the back end does not support room shares" : "Freigabe von %s fehlgeschlagen, da das Backend die Freigabe von Räumen nicht unterstützt",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Freigabe von %s fehlgeschlagen, da das Backend keine ScienceMesh-Freigaben unterstützt",
"Unknown share type" : "Unbekannter Freigabetyp",
"Not a directory" : "Kein Verzeichnis",
"Could not lock node" : "Knotenpunkt konnte nicht gesperrt werden",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "Kreis",
"Talk conversation" : "Talk-Unterhaltung",
"Deck board" : "Deck-Board",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "auf {server}",
"Others with access" : "Andere mit Zugriff",
"No other users with access found" : "Keine anderen Benutzer mit Zugriff gefunden",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "In die Zwischenablage kopieren",
"Sorry, this link doesn’t seem to work anymore." : "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
"Toggle grid view" : "Rasteransicht umschalten",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Freigabe von %s fehlgeschlagen, da das Backend keine ScienceMesh-Freigaben unterstützt",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "Fehler beim Erzeugen des Passworts basierend auf der Kennwortrichtlinie"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/de_DE.json b/apps/files_sharing/l10n/de_DE.json
index 129d4ce05c0..175b8cca909 100644
--- a/apps/files_sharing/l10n/de_DE.json
+++ b/apps/files_sharing/l10n/de_DE.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "Sie können nichts mit einem Kreis teilen, wenn die App nicht aktiviert ist",
"Please specify a valid circle" : "Bitte einen gültigen Kreis angeben",
"Sharing %s failed because the back end does not support room shares" : "Freigabe von %s fehlgeschlagen, da das Backend die Freigabe von Räumen nicht unterstützt",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Freigabe von %s fehlgeschlagen, da das Backend keine ScienceMesh-Freigaben unterstützt",
"Unknown share type" : "Unbekannter Freigabetyp",
"Not a directory" : "Kein Verzeichnis",
"Could not lock node" : "Knotenpunkt konnte nicht gesperrt werden",
@@ -223,6 +224,7 @@
"Circle" : "Kreis",
"Talk conversation" : "Talk-Unterhaltung",
"Deck board" : "Deck-Board",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "auf {server}",
"Others with access" : "Andere mit Zugriff",
"No other users with access found" : "Keine anderen Benutzer mit Zugriff gefunden",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "In die Zwischenablage kopieren",
"Sorry, this link doesn’t seem to work anymore." : "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.",
"Toggle grid view" : "Rasteransicht umschalten",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Freigabe von %s fehlgeschlagen, da das Backend keine ScienceMesh-Freigaben unterstützt",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "Fehler beim Erzeugen des Passworts basierend auf der Kennwortrichtlinie"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/en_GB.js b/apps/files_sharing/l10n/en_GB.js
index d582d9128d2..2315c7aa2f2 100644
--- a/apps/files_sharing/l10n/en_GB.js
+++ b/apps/files_sharing/l10n/en_GB.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "You cannot share to a Circle if the app is not enabled",
"Please specify a valid circle" : "Please specify a valid circle",
"Sharing %s failed because the back end does not support room shares" : "Sharing %s failed because the back end does not support room shares",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Sharing %s failed because the back end does not support ScienceMesh shares",
"Unknown share type" : "Unknown share type",
"Not a directory" : "Not a directory",
"Could not lock node" : "Could not lock node",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "Circle",
"Talk conversation" : "Talk conversation",
"Deck board" : "Deck board",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "on {server}",
"Others with access" : "Others with access",
"No other users with access found" : "No other users with access found",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "Copy to clipboard",
"Sorry, this link doesn’t seem to work anymore." : "Sorry, this link doesn’t seem to work any more.",
"Toggle grid view" : "Toggle grid view",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Sharing %s failed because the back end does not support sciencemesh shares",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Error generating password from password policy"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/en_GB.json b/apps/files_sharing/l10n/en_GB.json
index 6f8746bb3d0..dd1a781eeaf 100644
--- a/apps/files_sharing/l10n/en_GB.json
+++ b/apps/files_sharing/l10n/en_GB.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "You cannot share to a Circle if the app is not enabled",
"Please specify a valid circle" : "Please specify a valid circle",
"Sharing %s failed because the back end does not support room shares" : "Sharing %s failed because the back end does not support room shares",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Sharing %s failed because the back end does not support ScienceMesh shares",
"Unknown share type" : "Unknown share type",
"Not a directory" : "Not a directory",
"Could not lock node" : "Could not lock node",
@@ -223,6 +224,7 @@
"Circle" : "Circle",
"Talk conversation" : "Talk conversation",
"Deck board" : "Deck board",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "on {server}",
"Others with access" : "Others with access",
"No other users with access found" : "No other users with access found",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "Copy to clipboard",
"Sorry, this link doesn’t seem to work anymore." : "Sorry, this link doesn’t seem to work any more.",
"Toggle grid view" : "Toggle grid view",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Sharing %s failed because the back end does not support sciencemesh shares",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Error generating password from password policy"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/es.js b/apps/files_sharing/l10n/es.js
index bec5cac5d94..4431bd29de6 100644
--- a/apps/files_sharing/l10n/es.js
+++ b/apps/files_sharing/l10n/es.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "No puede compartir a un Circulo si la aplicación no esta activada",
"Please specify a valid circle" : "Por favor especifique un circulo valido",
"Sharing %s failed because the back end does not support room shares" : "Compartir %s ha fallado porque el backend no soporta habitaciones compartidas",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Compartir %s ha fallado porque el backend no soporta recursos compartidos de ScienceMesh",
"Unknown share type" : "Tipo de recurso compartido desconocido",
"Not a directory" : "No es un directorio",
"Could not lock node" : "No se ha podido bloquear el nodo",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "Círculo",
"Talk conversation" : "Conversación de Talk",
"Deck board" : "Tablero Deck",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "en {server}",
"Others with access" : "Otros con acceso",
"No other users with access found" : "No se encontraron otros usuarios con acceso",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "Copiar al portapapeles",
"Sorry, this link doesn’t seem to work anymore." : "Vaya, este enlace parece que no volverá a funcionar.",
"Toggle grid view" : "Alternar vista de cuadrícula",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Compartir %s ha fallado porque el backend no soporta recursos compartidos de ScienceMesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Error generando contraseña desde la política de contraseñas"
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/files_sharing/l10n/es.json b/apps/files_sharing/l10n/es.json
index 73a1e1abc8f..1f8bdf5a5ad 100644
--- a/apps/files_sharing/l10n/es.json
+++ b/apps/files_sharing/l10n/es.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "No puede compartir a un Circulo si la aplicación no esta activada",
"Please specify a valid circle" : "Por favor especifique un circulo valido",
"Sharing %s failed because the back end does not support room shares" : "Compartir %s ha fallado porque el backend no soporta habitaciones compartidas",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Compartir %s ha fallado porque el backend no soporta recursos compartidos de ScienceMesh",
"Unknown share type" : "Tipo de recurso compartido desconocido",
"Not a directory" : "No es un directorio",
"Could not lock node" : "No se ha podido bloquear el nodo",
@@ -223,6 +224,7 @@
"Circle" : "Círculo",
"Talk conversation" : "Conversación de Talk",
"Deck board" : "Tablero Deck",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "en {server}",
"Others with access" : "Otros con acceso",
"No other users with access found" : "No se encontraron otros usuarios con acceso",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "Copiar al portapapeles",
"Sorry, this link doesn’t seem to work anymore." : "Vaya, este enlace parece que no volverá a funcionar.",
"Toggle grid view" : "Alternar vista de cuadrícula",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Compartir %s ha fallado porque el backend no soporta recursos compartidos de ScienceMesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Error generando contraseña desde la política de contraseñas"
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/eu.js b/apps/files_sharing/l10n/eu.js
index ce18a6622b9..2d317135f9c 100644
--- a/apps/files_sharing/l10n/eu.js
+++ b/apps/files_sharing/l10n/eu.js
@@ -206,7 +206,10 @@ OC.L10N.register(
"Share link ({label})" : "Partekatu ({label}) eskeka",
"Share link ({index})" : "Partekatu ({index}) esteka",
"Share link" : "Partekatu esteka",
+ "Actions for \"{title}\"" : "\"{title}\"-ren ekintzak",
+ "Copy public link of \"{title}\" to clipboard" : "Kopiatu \"{title}\"-ren esteka publikoa arbelean",
"Error, please enter proper password and/or expiration date" : "Errorea, sartu dagokion pasahitza edo/eta iraungitze-data",
+ "Link share created" : "Esteka partekatzea sortu da",
"Error while creating the share" : "Errore bat gertatu da partekatzea sortzean",
"Search for share recipients" : "Bilatu partekatze-hartzaileak",
"No recommendations. Start typing." : "Gomendiorik ez. Hasi idazten.",
@@ -239,9 +242,12 @@ OC.L10N.register(
"Error updating the share" : "Errorea partekatzea eguneratzen",
"File \"{path}\" has been unshared" : "\"{path}\" fitxategiaren partekatzea eten da",
"Folder \"{path}\" has been unshared" : "\"{path}\" karpetaren partekatzea eten da",
+ "Share {propertyName} saved" : "Partekatu {propertyName} gordeta",
"Shared" : "Partekatuta",
"Share" : "Partekatu",
"Shared with" : "Honekin partekatua",
+ "Password created successfully" : "Pasahitza ongi sortu da",
+ "Error generating password from password policy" : "Errorea pasahitz-gidalerrotik pasahitza sortzean",
"Shared with you and the group {group} by {owner}" : "{owner} erabiltzaileak zu eta {group} taldearekin partekatuta",
"Shared with you and {circle} by {owner}" : " {owner} erabiltzaileak zurekin eta {circle} zirkuluarekin partekatua",
"Shared with you and the conversation {conversation} by {owner}" : "{owner} erabiltzaileak zu eta {conversation} elkarrizketarekin partekatua",
@@ -268,6 +274,9 @@ OC.L10N.register(
"One or more of your shares will expire tomorrow" : "Zure partekatzeetako bat gutxienez bihar iraungiko da",
"Copy to clipboard" : "Kopiatu arbelera",
"Sorry, this link doesn’t seem to work anymore." : "Barkatu, esteka hori jada ez dabilela dirudi.",
- "Toggle grid view" : "Txandakatu sareta ikuspegia"
+ "Toggle grid view" : "Txandakatu sareta ikuspegia",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "%spartekatzeak huts egin du atzealdeak ez duelako zientzia sareko partekatzea onartzen",
+ "Science Mesh" : "Zientzia sarea",
+ "Error generating password from password_policy" : "Errorea pasahitz-gidalerrotik pasahitza sortzean"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/eu.json b/apps/files_sharing/l10n/eu.json
index fbf162b4fcb..553868a74e0 100644
--- a/apps/files_sharing/l10n/eu.json
+++ b/apps/files_sharing/l10n/eu.json
@@ -204,7 +204,10 @@
"Share link ({label})" : "Partekatu ({label}) eskeka",
"Share link ({index})" : "Partekatu ({index}) esteka",
"Share link" : "Partekatu esteka",
+ "Actions for \"{title}\"" : "\"{title}\"-ren ekintzak",
+ "Copy public link of \"{title}\" to clipboard" : "Kopiatu \"{title}\"-ren esteka publikoa arbelean",
"Error, please enter proper password and/or expiration date" : "Errorea, sartu dagokion pasahitza edo/eta iraungitze-data",
+ "Link share created" : "Esteka partekatzea sortu da",
"Error while creating the share" : "Errore bat gertatu da partekatzea sortzean",
"Search for share recipients" : "Bilatu partekatze-hartzaileak",
"No recommendations. Start typing." : "Gomendiorik ez. Hasi idazten.",
@@ -237,9 +240,12 @@
"Error updating the share" : "Errorea partekatzea eguneratzen",
"File \"{path}\" has been unshared" : "\"{path}\" fitxategiaren partekatzea eten da",
"Folder \"{path}\" has been unshared" : "\"{path}\" karpetaren partekatzea eten da",
+ "Share {propertyName} saved" : "Partekatu {propertyName} gordeta",
"Shared" : "Partekatuta",
"Share" : "Partekatu",
"Shared with" : "Honekin partekatua",
+ "Password created successfully" : "Pasahitza ongi sortu da",
+ "Error generating password from password policy" : "Errorea pasahitz-gidalerrotik pasahitza sortzean",
"Shared with you and the group {group} by {owner}" : "{owner} erabiltzaileak zu eta {group} taldearekin partekatuta",
"Shared with you and {circle} by {owner}" : " {owner} erabiltzaileak zurekin eta {circle} zirkuluarekin partekatua",
"Shared with you and the conversation {conversation} by {owner}" : "{owner} erabiltzaileak zu eta {conversation} elkarrizketarekin partekatua",
@@ -266,6 +272,9 @@
"One or more of your shares will expire tomorrow" : "Zure partekatzeetako bat gutxienez bihar iraungiko da",
"Copy to clipboard" : "Kopiatu arbelera",
"Sorry, this link doesn’t seem to work anymore." : "Barkatu, esteka hori jada ez dabilela dirudi.",
- "Toggle grid view" : "Txandakatu sareta ikuspegia"
+ "Toggle grid view" : "Txandakatu sareta ikuspegia",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "%spartekatzeak huts egin du atzealdeak ez duelako zientzia sareko partekatzea onartzen",
+ "Science Mesh" : "Zientzia sarea",
+ "Error generating password from password_policy" : "Errorea pasahitz-gidalerrotik pasahitza sortzean"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/fi.js b/apps/files_sharing/l10n/fi.js
index 7c2069f868c..0aa30fec77c 100644
--- a/apps/files_sharing/l10n/fi.js
+++ b/apps/files_sharing/l10n/fi.js
@@ -231,6 +231,8 @@ OC.L10N.register(
"Error creating the share" : "Virhe jakoa luotaessa",
"Error updating the share: {errorMessage}" : "Virhe päivittäessä jakoa: {errorMessage}",
"Error updating the share" : "Virhe jakoa päivittäessä",
+ "File \"{path}\" has been unshared" : "Tiedoston \"{path}\" jakaminen on lopetettu",
+ "Folder \"{path}\" has been unshared" : "Kansion \"{path}\" jakaminen on lopetettu",
"Share {propertyName} saved" : "Jako {propertyName} tallennettu",
"Shared" : "Jaettu",
"Share" : "Jaa",
diff --git a/apps/files_sharing/l10n/fi.json b/apps/files_sharing/l10n/fi.json
index 01867dd7482..c63db430f6b 100644
--- a/apps/files_sharing/l10n/fi.json
+++ b/apps/files_sharing/l10n/fi.json
@@ -229,6 +229,8 @@
"Error creating the share" : "Virhe jakoa luotaessa",
"Error updating the share: {errorMessage}" : "Virhe päivittäessä jakoa: {errorMessage}",
"Error updating the share" : "Virhe jakoa päivittäessä",
+ "File \"{path}\" has been unshared" : "Tiedoston \"{path}\" jakaminen on lopetettu",
+ "Folder \"{path}\" has been unshared" : "Kansion \"{path}\" jakaminen on lopetettu",
"Share {propertyName} saved" : "Jako {propertyName} tallennettu",
"Shared" : "Jaettu",
"Share" : "Jaa",
diff --git a/apps/files_sharing/l10n/fr.js b/apps/files_sharing/l10n/fr.js
index 84ab92cde84..c7ac7bf9970 100644
--- a/apps/files_sharing/l10n/fr.js
+++ b/apps/files_sharing/l10n/fr.js
@@ -209,7 +209,7 @@ OC.L10N.register(
"Actions for \"{title}\"" : "Actions pour \"{title}\"",
"Copy public link of \"{title}\" to clipboard" : "Copier le lien public de \"{title}\" dans le presse-papiers",
"Error, please enter proper password and/or expiration date" : "Erreur. Merci d'entrer un mot de passe valide et/ou une date d'expiration",
- "Link share created" : "Partage de lien créé",
+ "Link share created" : "Lien de partage créé",
"Error while creating the share" : "Erreur lors de la création du partage",
"Search for share recipients" : "Recherche de destinataires de partages",
"No recommendations. Start typing." : "Aucune recommandation. Commencez à écrire.",
@@ -242,7 +242,7 @@ OC.L10N.register(
"Error updating the share" : "Erreur lors de la mise à jour du partage",
"File \"{path}\" has been unshared" : "Le partage du fichier \"{path}\" a été retiré",
"Folder \"{path}\" has been unshared" : "Le partage du dossier \"{path}\" a été retiré",
- "Share {propertyName} saved" : "Le partage {nom de la propriété} a été enregistré",
+ "Share {propertyName} saved" : "Le partage {propertyName} a été enregistré",
"Shared" : "Partagé",
"Share" : "Partager",
"Shared with" : "Partagé avec",
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Copier dans le presse-papier",
"Sorry, this link doesn’t seem to work anymore." : "Désolé, ce lien semble ne plus fonctionner.",
"Toggle grid view" : "Activer/Désactiver l'affichage mosaïque",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Le partage de %s a échoué car le serveur ne supporte pas les partages sciencemesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Erreur de génération de mot de passe à partir de password_policy"
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/files_sharing/l10n/fr.json b/apps/files_sharing/l10n/fr.json
index 26240c25808..76e537ba5d3 100644
--- a/apps/files_sharing/l10n/fr.json
+++ b/apps/files_sharing/l10n/fr.json
@@ -207,7 +207,7 @@
"Actions for \"{title}\"" : "Actions pour \"{title}\"",
"Copy public link of \"{title}\" to clipboard" : "Copier le lien public de \"{title}\" dans le presse-papiers",
"Error, please enter proper password and/or expiration date" : "Erreur. Merci d'entrer un mot de passe valide et/ou une date d'expiration",
- "Link share created" : "Partage de lien créé",
+ "Link share created" : "Lien de partage créé",
"Error while creating the share" : "Erreur lors de la création du partage",
"Search for share recipients" : "Recherche de destinataires de partages",
"No recommendations. Start typing." : "Aucune recommandation. Commencez à écrire.",
@@ -240,7 +240,7 @@
"Error updating the share" : "Erreur lors de la mise à jour du partage",
"File \"{path}\" has been unshared" : "Le partage du fichier \"{path}\" a été retiré",
"Folder \"{path}\" has been unshared" : "Le partage du dossier \"{path}\" a été retiré",
- "Share {propertyName} saved" : "Le partage {nom de la propriété} a été enregistré",
+ "Share {propertyName} saved" : "Le partage {propertyName} a été enregistré",
"Shared" : "Partagé",
"Share" : "Partager",
"Shared with" : "Partagé avec",
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Copier dans le presse-papier",
"Sorry, this link doesn’t seem to work anymore." : "Désolé, ce lien semble ne plus fonctionner.",
"Toggle grid view" : "Activer/Désactiver l'affichage mosaïque",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Le partage de %s a échoué car le serveur ne supporte pas les partages sciencemesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Erreur de génération de mot de passe à partir de password_policy"
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/gl.js b/apps/files_sharing/l10n/gl.js
index 8455d2b804e..3548cf4941e 100644
--- a/apps/files_sharing/l10n/gl.js
+++ b/apps/files_sharing/l10n/gl.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "Vostede non pode compartir para un circulo se a aplicación non esta activada",
"Please specify a valid circle" : "Especifique un circulo correcto",
"Sharing %s failed because the back end does not support room shares" : "Fallou a compartición de %s, xa que a infraestrutura non admite salas compartidas",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Produciuse un erro ao compartir %s porque o back-end non admite recursos compartidos de ScienceMesh",
"Unknown share type" : "Tipo descoñecido de recurso compartido",
"Not a directory" : "Non é un directorio",
"Could not lock node" : "Non foi posíbel bloquear o nodo",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "Círculo",
"Talk conversation" : "Conversa co Talk",
"Deck board" : "Taboleiro do Deck",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "en {server}",
"Others with access" : "Outros con acceso",
"No other users with access found" : "Non se atoparon outros usuarios con acceso",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "Copiar no portapapeis.",
"Sorry, this link doesn’t seem to work anymore." : "Semella que esta ligazón non funciona.",
"Toggle grid view" : "Alternar a vista de grella",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Produciuse un erro ao compartir %s porque o back-end non admite recursos compartidos sciencemesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Erro ao xerar o contrasinal pola password_policy"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/gl.json b/apps/files_sharing/l10n/gl.json
index 974b9e16b38..3937346f85c 100644
--- a/apps/files_sharing/l10n/gl.json
+++ b/apps/files_sharing/l10n/gl.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "Vostede non pode compartir para un circulo se a aplicación non esta activada",
"Please specify a valid circle" : "Especifique un circulo correcto",
"Sharing %s failed because the back end does not support room shares" : "Fallou a compartición de %s, xa que a infraestrutura non admite salas compartidas",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Produciuse un erro ao compartir %s porque o back-end non admite recursos compartidos de ScienceMesh",
"Unknown share type" : "Tipo descoñecido de recurso compartido",
"Not a directory" : "Non é un directorio",
"Could not lock node" : "Non foi posíbel bloquear o nodo",
@@ -223,6 +224,7 @@
"Circle" : "Círculo",
"Talk conversation" : "Conversa co Talk",
"Deck board" : "Taboleiro do Deck",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "en {server}",
"Others with access" : "Outros con acceso",
"No other users with access found" : "Non se atoparon outros usuarios con acceso",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "Copiar no portapapeis.",
"Sorry, this link doesn’t seem to work anymore." : "Semella que esta ligazón non funciona.",
"Toggle grid view" : "Alternar a vista de grella",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Produciuse un erro ao compartir %s porque o back-end non admite recursos compartidos sciencemesh",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Erro ao xerar o contrasinal pola password_policy"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/hu.js b/apps/files_sharing/l10n/hu.js
index f1702652e57..4a437e96676 100644
--- a/apps/files_sharing/l10n/hu.js
+++ b/apps/files_sharing/l10n/hu.js
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Másolás a vágólapra",
"Sorry, this link doesn’t seem to work anymore." : "Sajnos úgy tűnik, ez a hivatkozás már nem működik.",
"Toggle grid view" : "Rácsnézet be/ki",
- "Error generating password from password_policy" : "Hiba a password_policy használatával történő jelszó előállításakor"
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "A(z) %s megosztása sikertelen, mert a háttérprogram nem támogatja a szobamegosztásokat",
+ "Science Mesh" : "Science Mesh",
+ "Error generating password from password_policy" : "Hiba a password_policy használatával történő jelszó-előállításkor"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/hu.json b/apps/files_sharing/l10n/hu.json
index 9c33542fe21..7f01f9d3eb5 100644
--- a/apps/files_sharing/l10n/hu.json
+++ b/apps/files_sharing/l10n/hu.json
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Másolás a vágólapra",
"Sorry, this link doesn’t seem to work anymore." : "Sajnos úgy tűnik, ez a hivatkozás már nem működik.",
"Toggle grid view" : "Rácsnézet be/ki",
- "Error generating password from password_policy" : "Hiba a password_policy használatával történő jelszó előállításakor"
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "A(z) %s megosztása sikertelen, mert a háttérprogram nem támogatja a szobamegosztásokat",
+ "Science Mesh" : "Science Mesh",
+ "Error generating password from password_policy" : "Hiba a password_policy használatával történő jelszó-előállításkor"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/mk.js b/apps/files_sharing/l10n/mk.js
index 94c86837ae3..46b17cc38de 100644
--- a/apps/files_sharing/l10n/mk.js
+++ b/apps/files_sharing/l10n/mk.js
@@ -204,8 +204,12 @@ OC.L10N.register(
"Shared via link by {initiator}" : "Споделено со линк од {initiator}",
"Mail share ({label})" : "Споделено преку е-пошта ({label})",
"Share link ({label})" : "Сподели линк ({label})",
+ "Share link ({index})" : "Сподели линк ({index})",
"Share link" : "Сподели линк",
+ "Actions for \"{title}\"" : "Акции за \"{title}\"",
+ "Copy public link of \"{title}\" to clipboard" : "Копирај јавен линк во клипборд за \"{title}\"",
"Error, please enter proper password and/or expiration date" : "Грешка, внесете лозинка и/или рок на траење",
+ "Link share created" : "Креиран линк за споделување",
"Error while creating the share" : "Грешка при креирање на споделување",
"Search for share recipients" : "Пребарај за примачи на споделувањето",
"No recommendations. Start typing." : "Нема препораки. Започнете со пишување.",
@@ -237,9 +241,12 @@ OC.L10N.register(
"Error updating the share" : "Грешка при ажурирање на споделувањето",
"File \"{path}\" has been unshared" : "Датотеката \"{path}\" повеќе не се споделува",
"Folder \"{path}\" has been unshared" : "Папката \"{path}\" повеќе не се споделува",
+ "Share {propertyName} saved" : "Зачувано е споделувањето {propertyName}",
"Shared" : "Споделен",
"Share" : "Сподели",
"Shared with" : "Споделено со",
+ "Password created successfully" : "Успрешно е креирана лозинка",
+ "Error generating password from password policy" : "Грешка при генерирање на лозинка од политиката на лозинки",
"Shared with you and the group {group} by {owner}" : "Споделено со Вас и групата {group} од {owner}",
"Shared with you and {circle} by {owner}" : "Споделено со тебе и {circle} од {owner}",
"Shared with you and the conversation {conversation} by {owner}" : "Споделено со тебе и во разговорот {conversation} од {owner}",
@@ -266,6 +273,7 @@ OC.L10N.register(
"One or more of your shares will expire tomorrow" : "Едно или повеќе од твојте споделувања ќе истечат утре",
"Copy to clipboard" : "Копирај во клипборд",
"Sorry, this link doesn’t seem to work anymore." : "Извенете, но овој линк повеќе не функционира.",
- "Toggle grid view" : "Промена во мрежа"
+ "Toggle grid view" : "Промена во мрежа",
+ "Error generating password from password_policy" : "Грешка при генерирање на лозинка од политиката на лозинки"
},
"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;");
diff --git a/apps/files_sharing/l10n/mk.json b/apps/files_sharing/l10n/mk.json
index cf5328e23bc..304b6547b8b 100644
--- a/apps/files_sharing/l10n/mk.json
+++ b/apps/files_sharing/l10n/mk.json
@@ -202,8 +202,12 @@
"Shared via link by {initiator}" : "Споделено со линк од {initiator}",
"Mail share ({label})" : "Споделено преку е-пошта ({label})",
"Share link ({label})" : "Сподели линк ({label})",
+ "Share link ({index})" : "Сподели линк ({index})",
"Share link" : "Сподели линк",
+ "Actions for \"{title}\"" : "Акции за \"{title}\"",
+ "Copy public link of \"{title}\" to clipboard" : "Копирај јавен линк во клипборд за \"{title}\"",
"Error, please enter proper password and/or expiration date" : "Грешка, внесете лозинка и/или рок на траење",
+ "Link share created" : "Креиран линк за споделување",
"Error while creating the share" : "Грешка при креирање на споделување",
"Search for share recipients" : "Пребарај за примачи на споделувањето",
"No recommendations. Start typing." : "Нема препораки. Започнете со пишување.",
@@ -235,9 +239,12 @@
"Error updating the share" : "Грешка при ажурирање на споделувањето",
"File \"{path}\" has been unshared" : "Датотеката \"{path}\" повеќе не се споделува",
"Folder \"{path}\" has been unshared" : "Папката \"{path}\" повеќе не се споделува",
+ "Share {propertyName} saved" : "Зачувано е споделувањето {propertyName}",
"Shared" : "Споделен",
"Share" : "Сподели",
"Shared with" : "Споделено со",
+ "Password created successfully" : "Успрешно е креирана лозинка",
+ "Error generating password from password policy" : "Грешка при генерирање на лозинка од политиката на лозинки",
"Shared with you and the group {group} by {owner}" : "Споделено со Вас и групата {group} од {owner}",
"Shared with you and {circle} by {owner}" : "Споделено со тебе и {circle} од {owner}",
"Shared with you and the conversation {conversation} by {owner}" : "Споделено со тебе и во разговорот {conversation} од {owner}",
@@ -264,6 +271,7 @@
"One or more of your shares will expire tomorrow" : "Едно или повеќе од твојте споделувања ќе истечат утре",
"Copy to clipboard" : "Копирај во клипборд",
"Sorry, this link doesn’t seem to work anymore." : "Извенете, но овој линк повеќе не функционира.",
- "Toggle grid view" : "Промена во мрежа"
+ "Toggle grid view" : "Промена во мрежа",
+ "Error generating password from password_policy" : "Грешка при генерирање на лозинка од политиката на лозинки"
},"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/pl.js b/apps/files_sharing/l10n/pl.js
index d2aaeba4005..e198ff2cad5 100644
--- a/apps/files_sharing/l10n/pl.js
+++ b/apps/files_sharing/l10n/pl.js
@@ -275,6 +275,7 @@ OC.L10N.register(
"Copy to clipboard" : "Kopiuj do schowka",
"Sorry, this link doesn’t seem to work anymore." : "Niestety, ten link już nie działa.",
"Toggle grid view" : "Przełącz widok siatki",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Udostępnienie %s nie powiodło się, ponieważ oprogramowanie nie obsługuje udostępnień Science Mesh",
"Error generating password from password_policy" : "Błąd podczas generowania hasła z password_policy"
},
"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);");
diff --git a/apps/files_sharing/l10n/pl.json b/apps/files_sharing/l10n/pl.json
index 55d27ccb005..10855463619 100644
--- a/apps/files_sharing/l10n/pl.json
+++ b/apps/files_sharing/l10n/pl.json
@@ -273,6 +273,7 @@
"Copy to clipboard" : "Kopiuj do schowka",
"Sorry, this link doesn’t seem to work anymore." : "Niestety, ten link już nie działa.",
"Toggle grid view" : "Przełącz widok siatki",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Udostępnienie %s nie powiodło się, ponieważ oprogramowanie nie obsługuje udostępnień Science Mesh",
"Error generating password from password_policy" : "Błąd podczas generowania hasła z password_policy"
},"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/pt_BR.js b/apps/files_sharing/l10n/pt_BR.js
index ba254c97c7e..650426ed8f7 100644
--- a/apps/files_sharing/l10n/pt_BR.js
+++ b/apps/files_sharing/l10n/pt_BR.js
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Copiar para a área de transferência",
"Sorry, this link doesn’t seem to work anymore." : "Desculpe, este link parece não funcionar mais.",
"Toggle grid view" : "Alternar a visão em grade",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Sharing %s failed because the back end does not support sciencemesh shares",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Erro ao gerar senha de password_policy"
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/files_sharing/l10n/pt_BR.json b/apps/files_sharing/l10n/pt_BR.json
index ca3ab67a8b5..78404e026e1 100644
--- a/apps/files_sharing/l10n/pt_BR.json
+++ b/apps/files_sharing/l10n/pt_BR.json
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Copiar para a área de transferência",
"Sorry, this link doesn’t seem to work anymore." : "Desculpe, este link parece não funcionar mais.",
"Toggle grid view" : "Alternar a visão em grade",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Sharing %s failed because the back end does not support sciencemesh shares",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Erro ao gerar senha de password_policy"
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/ru.js b/apps/files_sharing/l10n/ru.js
index 9e836d84251..5ba3d5da784 100644
--- a/apps/files_sharing/l10n/ru.js
+++ b/apps/files_sharing/l10n/ru.js
@@ -69,8 +69,8 @@ OC.L10N.register(
"{actor} shared {file} as public link" : "{actor} предоставил(а) общий доступ к «{file}» созданием общедоступной ссылки",
"{actor} removed public link for {file}" : "{actor} удалил(а) общедоступную ссылку на «{file}»",
"Public link of {actor} for {file} expired" : "Истёк срок действия общедоступной ссылки на «{file}», созданной {actor}.",
- "{user} accepted the remote share" : "{user} принял(а) общий ресурс другого сервера",
- "{user} declined the remote share" : "{user} отклонил(а) общий ресурс другого сервера",
+ "{user} accepted the remote share" : "{user} принял(а) общий ресурс с другого сервера",
+ "{user} declined the remote share" : "{user} отклонил(а) общий ресурс с другого сервера",
"You received a new remote share {file} from {user}" : "Вы получили от {user} новый общий ресурс «{file}», расположенный на другом сервере",
"{user} accepted the remote share of {file}" : "{user} принял(а) доступ к ресурсу «{file}», расположенному на другом сервере",
"{user} declined the remote share of {file}" : "{user} отклонил(а) доступ к ресурсу «{file}», расположенному на другом сервере",
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "Вы не можете поделиться с кругом, если приложение «Круг» не включено",
"Please specify a valid circle" : "Укажите верный круг",
"Sharing %s failed because the back end does not support room shares" : "Не удалось предоставить общий доступ к «%s» поскольку механизм обмена не поддерживает общий доступ такого типа",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Не удалось предоставить общий доступ к «%s» поскольку механизм обмена не поддерживает общие ресурсы типа ScienceMesh",
"Unknown share type" : "Общий доступ неизвестного типа",
"Not a directory" : "Это не каталог",
"Could not lock node" : "Не удалось заблокировать узел",
@@ -204,8 +205,12 @@ OC.L10N.register(
"Shared via link by {initiator}" : "{initiator} предоставил(а) доступ по ссылке",
"Mail share ({label})" : "Отправка почты ({label})",
"Share link ({label})" : "Ссылка общего доступа ({label})",
+ "Share link ({index})" : "Ссылка общего доступа ({index})",
"Share link" : "Общий доступ по ссылке",
+ "Actions for \"{title}\"" : "Действия над «{title}»",
+ "Copy public link of \"{title}\" to clipboard" : "Скопировать общедоступную ссылку для доступа к «{title}» в буфер обмена",
"Error, please enter proper password and/or expiration date" : "Введите действительный пароль и/или дату истечения",
+ "Link share created" : "Ссылка создана",
"Error while creating the share" : "Не удалось создать общий ресурс",
"Search for share recipients" : "Найти больше получателей общего ресурса",
"No recommendations. Start typing." : "Рекомендации отсутствуют, начните вводить символы",
@@ -221,6 +226,7 @@ OC.L10N.register(
"Circle" : "Круг",
"Talk conversation" : "Название обсуждения",
"Deck board" : "Доска",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "на {server}",
"Others with access" : "Другие пользователи, имеющие доступ",
"No other users with access found" : "Не найдено пользователей, имеющих доступ",
@@ -236,9 +242,14 @@ OC.L10N.register(
"Error creating the share" : "Ошибка создания общего доступа",
"Error updating the share: {errorMessage}" : "Не удалось изменить общий ресурс: {errorMessage}",
"Error updating the share" : "Ошибка изменения параметров общего доступа",
+ "File \"{path}\" has been unshared" : "Закрыт общий доступ к файлу «{path}»",
+ "Folder \"{path}\" has been unshared" : "Закрыт общий доступ к папке «{path}»",
+ "Share {propertyName} saved" : "Общий ресурс «{propertyName}» сохранён",
"Shared" : "Опубликованное",
"Share" : "Поделиться",
"Shared with" : "Общий доступ",
+ "Password created successfully" : "Пароль создан",
+ "Error generating password from password policy" : "Не удалось создать пароль на основе политики",
"Shared with you and the group {group} by {owner}" : "{owner} предоставил(а) доступ Вам и группе {group}",
"Shared with you and {circle} by {owner}" : "{owner} предоставил(а) доступ Вам и участникам круга «{circle}»",
"Shared with you and the conversation {conversation} by {owner}" : "{owner} предоставил(а) доступ Вам и участникам беседы «{conversation}»",
@@ -265,6 +276,9 @@ OC.L10N.register(
"One or more of your shares will expire tomorrow" : "Завтра истекает срок одного или нескольких опубликованных вами ресурсов",
"Copy to clipboard" : "Копировать в буфер обмена",
"Sorry, this link doesn’t seem to work anymore." : "Похоже, эта ссылка больше не работает.",
- "Toggle grid view" : "Включить или отключить режим просмотра сеткой"
+ "Toggle grid view" : "Включить или отключить режим просмотра сеткой",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Не удалось предоставить общий доступ к «%s» поскольку механизм обмена не поддерживает общие ресурсы типа Science Mesh",
+ "Science Mesh" : "Science Mesh",
+ "Error generating password from password_policy" : "Не удалось создать пароль на основе политики"
},
"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);");
diff --git a/apps/files_sharing/l10n/ru.json b/apps/files_sharing/l10n/ru.json
index 78e232487a1..db8f769e75c 100644
--- a/apps/files_sharing/l10n/ru.json
+++ b/apps/files_sharing/l10n/ru.json
@@ -67,8 +67,8 @@
"{actor} shared {file} as public link" : "{actor} предоставил(а) общий доступ к «{file}» созданием общедоступной ссылки",
"{actor} removed public link for {file}" : "{actor} удалил(а) общедоступную ссылку на «{file}»",
"Public link of {actor} for {file} expired" : "Истёк срок действия общедоступной ссылки на «{file}», созданной {actor}.",
- "{user} accepted the remote share" : "{user} принял(а) общий ресурс другого сервера",
- "{user} declined the remote share" : "{user} отклонил(а) общий ресурс другого сервера",
+ "{user} accepted the remote share" : "{user} принял(а) общий ресурс с другого сервера",
+ "{user} declined the remote share" : "{user} отклонил(а) общий ресурс с другого сервера",
"You received a new remote share {file} from {user}" : "Вы получили от {user} новый общий ресурс «{file}», расположенный на другом сервере",
"{user} accepted the remote share of {file}" : "{user} принял(а) доступ к ресурсу «{file}», расположенному на другом сервере",
"{user} declined the remote share of {file}" : "{user} отклонил(а) доступ к ресурсу «{file}», расположенному на другом сервере",
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "Вы не можете поделиться с кругом, если приложение «Круг» не включено",
"Please specify a valid circle" : "Укажите верный круг",
"Sharing %s failed because the back end does not support room shares" : "Не удалось предоставить общий доступ к «%s» поскольку механизм обмена не поддерживает общий доступ такого типа",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Не удалось предоставить общий доступ к «%s» поскольку механизм обмена не поддерживает общие ресурсы типа ScienceMesh",
"Unknown share type" : "Общий доступ неизвестного типа",
"Not a directory" : "Это не каталог",
"Could not lock node" : "Не удалось заблокировать узел",
@@ -202,8 +203,12 @@
"Shared via link by {initiator}" : "{initiator} предоставил(а) доступ по ссылке",
"Mail share ({label})" : "Отправка почты ({label})",
"Share link ({label})" : "Ссылка общего доступа ({label})",
+ "Share link ({index})" : "Ссылка общего доступа ({index})",
"Share link" : "Общий доступ по ссылке",
+ "Actions for \"{title}\"" : "Действия над «{title}»",
+ "Copy public link of \"{title}\" to clipboard" : "Скопировать общедоступную ссылку для доступа к «{title}» в буфер обмена",
"Error, please enter proper password and/or expiration date" : "Введите действительный пароль и/или дату истечения",
+ "Link share created" : "Ссылка создана",
"Error while creating the share" : "Не удалось создать общий ресурс",
"Search for share recipients" : "Найти больше получателей общего ресурса",
"No recommendations. Start typing." : "Рекомендации отсутствуют, начните вводить символы",
@@ -219,6 +224,7 @@
"Circle" : "Круг",
"Talk conversation" : "Название обсуждения",
"Deck board" : "Доска",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "на {server}",
"Others with access" : "Другие пользователи, имеющие доступ",
"No other users with access found" : "Не найдено пользователей, имеющих доступ",
@@ -234,9 +240,14 @@
"Error creating the share" : "Ошибка создания общего доступа",
"Error updating the share: {errorMessage}" : "Не удалось изменить общий ресурс: {errorMessage}",
"Error updating the share" : "Ошибка изменения параметров общего доступа",
+ "File \"{path}\" has been unshared" : "Закрыт общий доступ к файлу «{path}»",
+ "Folder \"{path}\" has been unshared" : "Закрыт общий доступ к папке «{path}»",
+ "Share {propertyName} saved" : "Общий ресурс «{propertyName}» сохранён",
"Shared" : "Опубликованное",
"Share" : "Поделиться",
"Shared with" : "Общий доступ",
+ "Password created successfully" : "Пароль создан",
+ "Error generating password from password policy" : "Не удалось создать пароль на основе политики",
"Shared with you and the group {group} by {owner}" : "{owner} предоставил(а) доступ Вам и группе {group}",
"Shared with you and {circle} by {owner}" : "{owner} предоставил(а) доступ Вам и участникам круга «{circle}»",
"Shared with you and the conversation {conversation} by {owner}" : "{owner} предоставил(а) доступ Вам и участникам беседы «{conversation}»",
@@ -263,6 +274,9 @@
"One or more of your shares will expire tomorrow" : "Завтра истекает срок одного или нескольких опубликованных вами ресурсов",
"Copy to clipboard" : "Копировать в буфер обмена",
"Sorry, this link doesn’t seem to work anymore." : "Похоже, эта ссылка больше не работает.",
- "Toggle grid view" : "Включить или отключить режим просмотра сеткой"
+ "Toggle grid view" : "Включить или отключить режим просмотра сеткой",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Не удалось предоставить общий доступ к «%s» поскольку механизм обмена не поддерживает общие ресурсы типа Science Mesh",
+ "Science Mesh" : "Science Mesh",
+ "Error generating password from password_policy" : "Не удалось создать пароль на основе политики"
},"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/sr.js b/apps/files_sharing/l10n/sr.js
index ac792c96391..6a37370b32e 100644
--- a/apps/files_sharing/l10n/sr.js
+++ b/apps/files_sharing/l10n/sr.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "Не можете делити са Круговима ако та апликација није укључена",
"Please specify a valid circle" : "Одаберите исправан круг",
"Sharing %s failed because the back end does not support room shares" : "Није успело дељење %s зато што позадински мотор дељења не подржава дељења у соби",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Дељење %s није успело јер позадински механизам не подржава ScienceMesh дељења",
"Unknown share type" : "Непознат тип дељења",
"Not a directory" : "Није фасцикла",
"Could not lock node" : "Не могу да закључам чвор",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "Круг",
"Talk conversation" : "Talk разговори",
"Deck board" : "Табла Шпила",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "на серверу {server}",
"Others with access" : "Остали са приступом",
"No other users with access found" : "Нису нађени други корисници са приступом",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "Копирај у оставу",
"Sorry, this link doesn’t seem to work anymore." : "Нажалост, изгледа да веза више не ради.",
"Toggle grid view" : "Укључи/искључи приказ мреже",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Дељење %s није успело јер позадински механизам не подржава sciencemesh дељења",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Грешка приликом креирања лозинке из password_policy"
},
"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);");
diff --git a/apps/files_sharing/l10n/sr.json b/apps/files_sharing/l10n/sr.json
index 051163dc15d..406e1f2e3c3 100644
--- a/apps/files_sharing/l10n/sr.json
+++ b/apps/files_sharing/l10n/sr.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "Не можете делити са Круговима ако та апликација није укључена",
"Please specify a valid circle" : "Одаберите исправан круг",
"Sharing %s failed because the back end does not support room shares" : "Није успело дељење %s зато што позадински мотор дељења не подржава дељења у соби",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Дељење %s није успело јер позадински механизам не подржава ScienceMesh дељења",
"Unknown share type" : "Непознат тип дељења",
"Not a directory" : "Није фасцикла",
"Could not lock node" : "Не могу да закључам чвор",
@@ -223,6 +224,7 @@
"Circle" : "Круг",
"Talk conversation" : "Talk разговори",
"Deck board" : "Табла Шпила",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "на серверу {server}",
"Others with access" : "Остали са приступом",
"No other users with access found" : "Нису нађени други корисници са приступом",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "Копирај у оставу",
"Sorry, this link doesn’t seem to work anymore." : "Нажалост, изгледа да веза више не ради.",
"Toggle grid view" : "Укључи/искључи приказ мреже",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Дељење %s није успело јер позадински механизам не подржава sciencemesh дељења",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "Грешка приликом креирања лозинке из password_policy"
},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/sv.js b/apps/files_sharing/l10n/sv.js
index e4f56404aec..90d67891c49 100644
--- a/apps/files_sharing/l10n/sv.js
+++ b/apps/files_sharing/l10n/sv.js
@@ -114,12 +114,13 @@ OC.L10N.register(
"Public upload is only possible for publicly shared folders" : "Offentlig uppladdning fungerar endast i offentligt delade mappar",
"Sharing %s sending the password by Nextcloud Talk failed because Nextcloud Talk is not enabled" : "Dela %s och skicka lösenordet via Nextcloud Talk går inte eftersom Nextcloud Talk är inte aktiverad",
"Invalid date, date format must be YYYY-MM-DD" : "Ogiltigt datum, måste anges: ÅÅÅÅ-MM-DD",
- "Sharing %1$s failed because the back end does not allow shares from type %2$s" : "Delning %1$s misslyckades för att det inte är tillåtet med delningar från typ %2$s",
+ "Sharing %1$s failed because the back end does not allow shares from type %2$s" : "Delning av %1$s misslyckades för att det inte är tillåtet med delningar från typ %2$s",
"Please specify a valid federated user ID" : "Vänligen ange ett giltigt federerat användar-id.",
"Please specify a valid federated group ID" : "Vänligen ange ett giltigt federerat grupp-id.",
"You cannot share to a Circle if the app is not enabled" : "Du kan inte dela till en cirkel om appen inte är aktiverad",
"Please specify a valid circle" : "Vänligen ange en giltig cirkel",
- "Sharing %s failed because the back end does not support room shares" : "Dela %s misslyckades eftersom systemet inte stödjer rum-delningar",
+ "Sharing %s failed because the back end does not support room shares" : "Delning av %s misslyckades eftersom systemet inte stödjer rum-delningar",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Delning av %s misslyckades eftersom servern inte stödjer ScienceMesh-delningar",
"Unknown share type" : "Ogiltig delningstyp",
"Not a directory" : "Inte en mapp",
"Could not lock node" : "Kunde inte låsa nod",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "Cirkel",
"Talk conversation" : "Talk-konversation",
"Deck board" : "Deck-plank",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "på {server}",
"Others with access" : "Andra med åtkomst",
"No other users with access found" : "Inga andra användare med åtkomst hittades",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "Kopiera till urklipp",
"Sorry, this link doesn’t seem to work anymore." : "Tyvärr, denna länk verkar inte fungera längre.",
"Toggle grid view" : "Växla rutnätsvy",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Delning av %s misslyckades eftersom servern inte stödjer ScienceMesh-delningar",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "Fel vid generering av lösenord från lösenordspolicy"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_sharing/l10n/sv.json b/apps/files_sharing/l10n/sv.json
index 60b906f25ef..39fef34b92a 100644
--- a/apps/files_sharing/l10n/sv.json
+++ b/apps/files_sharing/l10n/sv.json
@@ -112,12 +112,13 @@
"Public upload is only possible for publicly shared folders" : "Offentlig uppladdning fungerar endast i offentligt delade mappar",
"Sharing %s sending the password by Nextcloud Talk failed because Nextcloud Talk is not enabled" : "Dela %s och skicka lösenordet via Nextcloud Talk går inte eftersom Nextcloud Talk är inte aktiverad",
"Invalid date, date format must be YYYY-MM-DD" : "Ogiltigt datum, måste anges: ÅÅÅÅ-MM-DD",
- "Sharing %1$s failed because the back end does not allow shares from type %2$s" : "Delning %1$s misslyckades för att det inte är tillåtet med delningar från typ %2$s",
+ "Sharing %1$s failed because the back end does not allow shares from type %2$s" : "Delning av %1$s misslyckades för att det inte är tillåtet med delningar från typ %2$s",
"Please specify a valid federated user ID" : "Vänligen ange ett giltigt federerat användar-id.",
"Please specify a valid federated group ID" : "Vänligen ange ett giltigt federerat grupp-id.",
"You cannot share to a Circle if the app is not enabled" : "Du kan inte dela till en cirkel om appen inte är aktiverad",
"Please specify a valid circle" : "Vänligen ange en giltig cirkel",
- "Sharing %s failed because the back end does not support room shares" : "Dela %s misslyckades eftersom systemet inte stödjer rum-delningar",
+ "Sharing %s failed because the back end does not support room shares" : "Delning av %s misslyckades eftersom systemet inte stödjer rum-delningar",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "Delning av %s misslyckades eftersom servern inte stödjer ScienceMesh-delningar",
"Unknown share type" : "Ogiltig delningstyp",
"Not a directory" : "Inte en mapp",
"Could not lock node" : "Kunde inte låsa nod",
@@ -223,6 +224,7 @@
"Circle" : "Cirkel",
"Talk conversation" : "Talk-konversation",
"Deck board" : "Deck-plank",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "på {server}",
"Others with access" : "Andra med åtkomst",
"No other users with access found" : "Inga andra användare med åtkomst hittades",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "Kopiera till urklipp",
"Sorry, this link doesn’t seem to work anymore." : "Tyvärr, denna länk verkar inte fungera längre.",
"Toggle grid view" : "Växla rutnätsvy",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Delning av %s misslyckades eftersom servern inte stödjer ScienceMesh-delningar",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "Fel vid generering av lösenord från lösenordspolicy"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/tr.js b/apps/files_sharing/l10n/tr.js
index 000d29246ad..73d731cc1b8 100644
--- a/apps/files_sharing/l10n/tr.js
+++ b/apps/files_sharing/l10n/tr.js
@@ -211,7 +211,7 @@ OC.L10N.register(
"Error, please enter proper password and/or expiration date" : "Hata. Lütfen uygun bir parola ya da son kullanma tarihi yazın",
"Link share created" : "Paylaşım bağlantısı oluşturuldu",
"Error while creating the share" : "Paylaşım oluşturulurken sorun çıktı",
- "Search for share recipients" : "Paylaşım alıcıları arayın",
+ "Search for share recipients" : "Paylaşım alıcıları ara",
"No recommendations. Start typing." : "Herhangi bir öneri yok. Yazmaya başlayın.",
"Resharing is not allowed" : "Yeniden paylaşıma izin verilmiyor",
"Name or email …" : "Ad ya da e-posta adresi …",
@@ -275,6 +275,8 @@ OC.L10N.register(
"Copy to clipboard" : "Panoya kopyala",
"Sorry, this link doesn’t seem to work anymore." : "Ne yazık ki, bu bağlantı artık çalışmıyor gibi görünüyor.",
"Toggle grid view" : "Tablo görünümünü değiştir",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Arka uç ScienceMesh paylaşımlarına izin vermediğinden %s paylaşılamadı",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "password_policy ile parola oluşturulurken sorun çıktı"
},
"nplurals=2; plural=(n > 1);");
diff --git a/apps/files_sharing/l10n/tr.json b/apps/files_sharing/l10n/tr.json
index 13c721d8176..761805333a9 100644
--- a/apps/files_sharing/l10n/tr.json
+++ b/apps/files_sharing/l10n/tr.json
@@ -209,7 +209,7 @@
"Error, please enter proper password and/or expiration date" : "Hata. Lütfen uygun bir parola ya da son kullanma tarihi yazın",
"Link share created" : "Paylaşım bağlantısı oluşturuldu",
"Error while creating the share" : "Paylaşım oluşturulurken sorun çıktı",
- "Search for share recipients" : "Paylaşım alıcıları arayın",
+ "Search for share recipients" : "Paylaşım alıcıları ara",
"No recommendations. Start typing." : "Herhangi bir öneri yok. Yazmaya başlayın.",
"Resharing is not allowed" : "Yeniden paylaşıma izin verilmiyor",
"Name or email …" : "Ad ya da e-posta adresi …",
@@ -273,6 +273,8 @@
"Copy to clipboard" : "Panoya kopyala",
"Sorry, this link doesn’t seem to work anymore." : "Ne yazık ki, bu bağlantı artık çalışmıyor gibi görünüyor.",
"Toggle grid view" : "Tablo görünümünü değiştir",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "Arka uç ScienceMesh paylaşımlarına izin vermediğinden %s paylaşılamadı",
+ "Science Mesh" : "ScienceMesh",
"Error generating password from password_policy" : "password_policy ile parola oluşturulurken sorun çıktı"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/zh_HK.js b/apps/files_sharing/l10n/zh_HK.js
index fdc74972a7e..ec5413ecd31 100644
--- a/apps/files_sharing/l10n/zh_HK.js
+++ b/apps/files_sharing/l10n/zh_HK.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "當應用未被啟用,你無法分享到circle。",
"Please specify a valid circle" : "請指定一個有效的circle",
"Sharing %s failed because the back end does not support room shares" : "分享 %s 失敗,因為後端不支援聊天室分享",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "分享 %s 失敗,因為後端不支援 ScienceMesh 分享",
"Unknown share type" : "未知的分享類型",
"Not a directory" : "這不是一個資料夾",
"Could not lock node" : "無法鎖定節點",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "社交圈子",
"Talk conversation" : "Talk 對話",
"Deck board" : "Deck 面板",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "在 {server} 上",
"Others with access" : "其他擁有存取權限的人",
"No other users with access found" : "找不到其他擁有存取權限的用戶",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "複製到剪貼板",
"Sorry, this link doesn’t seem to work anymore." : "抱歉,此連結已經失效",
"Toggle grid view" : "切換網格檢視",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "分享 %s 失敗,因為後端不支援 Science Mesh 分享",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "從密碼策略生成密碼時出錯"
},
"nplurals=1; plural=0;");
diff --git a/apps/files_sharing/l10n/zh_HK.json b/apps/files_sharing/l10n/zh_HK.json
index d401afed0e7..718daeeb14a 100644
--- a/apps/files_sharing/l10n/zh_HK.json
+++ b/apps/files_sharing/l10n/zh_HK.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "當應用未被啟用,你無法分享到circle。",
"Please specify a valid circle" : "請指定一個有效的circle",
"Sharing %s failed because the back end does not support room shares" : "分享 %s 失敗,因為後端不支援聊天室分享",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "分享 %s 失敗,因為後端不支援 ScienceMesh 分享",
"Unknown share type" : "未知的分享類型",
"Not a directory" : "這不是一個資料夾",
"Could not lock node" : "無法鎖定節點",
@@ -223,6 +224,7 @@
"Circle" : "社交圈子",
"Talk conversation" : "Talk 對話",
"Deck board" : "Deck 面板",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "在 {server} 上",
"Others with access" : "其他擁有存取權限的人",
"No other users with access found" : "找不到其他擁有存取權限的用戶",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "複製到剪貼板",
"Sorry, this link doesn’t seem to work anymore." : "抱歉,此連結已經失效",
"Toggle grid view" : "切換網格檢視",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "分享 %s 失敗,因為後端不支援 Science Mesh 分享",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "從密碼策略生成密碼時出錯"
},"pluralForm" :"nplurals=1; plural=0;"
} \ No newline at end of file
diff --git a/apps/files_sharing/l10n/zh_TW.js b/apps/files_sharing/l10n/zh_TW.js
index b4d3721e610..7bd157e2041 100644
--- a/apps/files_sharing/l10n/zh_TW.js
+++ b/apps/files_sharing/l10n/zh_TW.js
@@ -120,6 +120,7 @@ OC.L10N.register(
"You cannot share to a Circle if the app is not enabled" : "因為應用程式未啟用,所以您無法分享至小圈圈",
"Please specify a valid circle" : "請指定有效的小圈圈",
"Sharing %s failed because the back end does not support room shares" : "分享 %s 失敗,因為後端不支援聊天室分享",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "分享 %s 失敗,因為後端不支援 ScienceMesh 分享",
"Unknown share type" : "未知的分享類型",
"Not a directory" : "不是目錄",
"Could not lock node" : "無法鎖定節點",
@@ -225,6 +226,7 @@ OC.L10N.register(
"Circle" : "圈子",
"Talk conversation" : "Talk 對話",
"Deck board" : "看板佈告欄",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "於 {server}",
"Others with access" : "有存取權的其他人",
"No other users with access found" : "找不到其他有存取權的使用者",
@@ -275,6 +277,8 @@ OC.L10N.register(
"Copy to clipboard" : "複製到剪貼簿",
"Sorry, this link doesn’t seem to work anymore." : "抱歉,此連結已經失效",
"Toggle grid view" : "切換網格檢視",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "分享 %s 失敗,因為後端不支援 sciencemesh 分享",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "從密碼策略產生密碼時發生錯誤"
},
"nplurals=1; plural=0;");
diff --git a/apps/files_sharing/l10n/zh_TW.json b/apps/files_sharing/l10n/zh_TW.json
index 227bb7a4974..6650d4127ac 100644
--- a/apps/files_sharing/l10n/zh_TW.json
+++ b/apps/files_sharing/l10n/zh_TW.json
@@ -118,6 +118,7 @@
"You cannot share to a Circle if the app is not enabled" : "因為應用程式未啟用,所以您無法分享至小圈圈",
"Please specify a valid circle" : "請指定有效的小圈圈",
"Sharing %s failed because the back end does not support room shares" : "分享 %s 失敗,因為後端不支援聊天室分享",
+ "Sharing %s failed because the back end does not support ScienceMesh shares" : "分享 %s 失敗,因為後端不支援 ScienceMesh 分享",
"Unknown share type" : "未知的分享類型",
"Not a directory" : "不是目錄",
"Could not lock node" : "無法鎖定節點",
@@ -223,6 +224,7 @@
"Circle" : "圈子",
"Talk conversation" : "Talk 對話",
"Deck board" : "看板佈告欄",
+ "ScienceMesh" : "ScienceMesh",
"on {server}" : "於 {server}",
"Others with access" : "有存取權的其他人",
"No other users with access found" : "找不到其他有存取權的使用者",
@@ -273,6 +275,8 @@
"Copy to clipboard" : "複製到剪貼簿",
"Sorry, this link doesn’t seem to work anymore." : "抱歉,此連結已經失效",
"Toggle grid view" : "切換網格檢視",
+ "Sharing %s failed because the back end does not support sciencemesh shares" : "分享 %s 失敗,因為後端不支援 sciencemesh 分享",
+ "Science Mesh" : "Science Mesh",
"Error generating password from password_policy" : "從密碼策略產生密碼時發生錯誤"
},"pluralForm" :"nplurals=1; plural=0;"
} \ No newline at end of file
diff --git a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php
index 1d625b35322..19d1cbd0af6 100644
--- a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php
@@ -159,6 +159,14 @@ class DeletedShareAPIController extends OCSController {
$result = array_merge($result, $this->getDeckShareHelper()->formatShare($share));
} catch (QueryException $e) {
}
+ } elseif ($share->getShareType() === IShare::TYPE_SCIENCEMESH) {
+ $result['share_with'] = $share->getSharedWith();
+ $result['share_with_displayname'] = '';
+
+ try {
+ $result = array_merge($result, $this->getSciencemeshShareHelper()->formatShare($share));
+ } catch (QueryException $e) {
+ }
}
return $result;
@@ -171,8 +179,9 @@ class DeletedShareAPIController extends OCSController {
$groupShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_GROUP, null, -1, 0);
$roomShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_ROOM, null, -1, 0);
$deckShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_DECK, null, -1, 0);
+ $sciencemeshShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_SCIENCEMESH, null, -1, 0);
- $shares = array_merge($groupShares, $roomShares, $deckShares);
+ $shares = array_merge($groupShares, $roomShares, $deckShares, $sciencemeshShares);
$shares = array_map(function (IShare $share) {
return $this->formatShare($share);
@@ -224,7 +233,7 @@ class DeletedShareAPIController extends OCSController {
}
/**
- * Returns the helper of ShareAPIHelper for deck shares.
+ * Returns the helper of DeletedShareAPIHelper for deck shares.
*
* If the Deck application is not enabled or the helper is not available
* a QueryException is thrown instead.
@@ -239,4 +248,21 @@ class DeletedShareAPIController extends OCSController {
return $this->serverContainer->get('\OCA\Deck\Sharing\ShareAPIHelper');
}
+
+ /**
+ * Returns the helper of DeletedShareAPIHelper for sciencemesh shares.
+ *
+ * If the sciencemesh application is not enabled or the helper is not available
+ * a QueryException is thrown instead.
+ *
+ * @return \OCA\Deck\Sharing\ShareAPIHelper
+ * @throws QueryException
+ */
+ private function getSciencemeshShareHelper() {
+ if (!$this->appManager->isEnabledForUser('sciencemesh')) {
+ throw new QueryException();
+ }
+
+ return $this->serverContainer->get('\OCA\ScienceMesh\Sharing\ShareAPIHelper');
+ }
}
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index ab318a81fc2..e1595a98ea3 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -320,6 +320,14 @@ class ShareAPIController extends OCSController {
$result = array_merge($result, $this->getDeckShareHelper()->formatShare($share));
} catch (QueryException $e) {
}
+ } elseif ($share->getShareType() === IShare::TYPE_SCIENCEMESH) {
+ $result['share_with'] = $share->getSharedWith();
+ $result['share_with_displayname'] = '';
+
+ try {
+ $result = array_merge($result, $this->getSciencemeshShareHelper()->formatShare($share));
+ } catch (QueryException $e) {
+ }
}
@@ -692,6 +700,12 @@ class ShareAPIController extends OCSController {
} catch (QueryException $e) {
throw new OCSForbiddenException($this->l->t('Sharing %s failed because the back end does not support room shares', [$node->getPath()]));
}
+ } elseif ($shareType === IShare::TYPE_SCIENCEMESH) {
+ try {
+ $this->getSciencemeshShareHelper()->createShare($share, $shareWith, $permissions, $expireDate);
+ } catch (QueryException $e) {
+ throw new OCSForbiddenException($this->l->t('Sharing %s failed because the back end does not support ScienceMesh shares', [$node->getPath()]));
+ }
} else {
throw new OCSBadRequestException($this->l->t('Unknown share type'));
}
@@ -730,8 +744,9 @@ class ShareAPIController extends OCSController {
$circleShares = $this->shareManager->getSharedWith($this->currentUser, IShare::TYPE_CIRCLE, $node, -1, 0);
$roomShares = $this->shareManager->getSharedWith($this->currentUser, IShare::TYPE_ROOM, $node, -1, 0);
$deckShares = $this->shareManager->getSharedWith($this->currentUser, IShare::TYPE_DECK, $node, -1, 0);
+ $sciencemeshShares = $this->shareManager->getSharedWith($this->currentUser, IShare::TYPE_SCIENCEMESH, $node, -1, 0);
- $shares = array_merge($userShares, $groupShares, $circleShares, $roomShares, $deckShares);
+ $shares = array_merge($userShares, $groupShares, $circleShares, $roomShares, $deckShares, $sciencemeshShares);
$filteredShares = array_filter($shares, function (IShare $share) {
return $share->getShareOwner() !== $this->currentUser;
@@ -1414,6 +1429,14 @@ class ShareAPIController extends OCSController {
}
}
+ if ($share->getShareType() === IShare::TYPE_SCIENCEMESH) {
+ try {
+ return $this->getSciencemeshShareHelper()->canAccessShare($share, $this->currentUser);
+ } catch (QueryException $e) {
+ return false;
+ }
+ }
+
return false;
}
@@ -1490,7 +1513,8 @@ class ShareAPIController extends OCSController {
protected function canDeleteShareFromSelf(\OCP\Share\IShare $share): bool {
if ($share->getShareType() !== IShare::TYPE_GROUP &&
$share->getShareType() !== IShare::TYPE_ROOM &&
- $share->getShareType() !== IShare::TYPE_DECK
+ $share->getShareType() !== IShare::TYPE_DECK &&
+ $share->getShareType() !== IShare::TYPE_SCIENCEMESH
) {
return false;
}
@@ -1527,6 +1551,14 @@ class ShareAPIController extends OCSController {
}
}
+ if ($share->getShareType() === IShare::TYPE_SCIENCEMESH) {
+ try {
+ return $this->getSciencemeshShareHelper()->canAccessShare($share, $this->currentUser);
+ } catch (QueryException $e) {
+ return false;
+ }
+ }
+
return false;
}
@@ -1606,6 +1638,15 @@ class ShareAPIController extends OCSController {
// Do nothing, just try the other share type
}
+ try {
+ if ($this->shareManager->shareProviderExists(IShare::TYPE_SCIENCEMESH)) {
+ $share = $this->shareManager->getShareById('sciencemesh:' . $id, $this->currentUser);
+ return $share;
+ }
+ } catch (ShareNotFound $e) {
+ // Do nothing, just try the other share type
+ }
+
if (!$this->shareManager->outgoingServer2ServerSharesAllowed()) {
throw new ShareNotFound();
}
@@ -1670,6 +1711,23 @@ class ShareAPIController extends OCSController {
}
/**
+ * Returns the helper of ShareAPIHelper for sciencemesh shares.
+ *
+ * If the sciencemesh application is not enabled or the helper is not available
+ * a QueryException is thrown instead.
+ *
+ * @return \OCA\Deck\Sharing\ShareAPIHelper
+ * @throws QueryException
+ */
+ private function getSciencemeshShareHelper() {
+ if (!$this->appManager->isEnabledForUser('sciencemesh')) {
+ throw new QueryException();
+ }
+
+ return $this->serverContainer->get('\OCA\ScienceMesh\Sharing\ShareAPIHelper');
+ }
+
+ /**
* @param string $viewer
* @param Node $node
* @param bool $reShares
@@ -1684,7 +1742,8 @@ class ShareAPIController extends OCSController {
IShare::TYPE_EMAIL,
IShare::TYPE_CIRCLE,
IShare::TYPE_ROOM,
- IShare::TYPE_DECK
+ IShare::TYPE_DECK,
+ IShare::TYPE_SCIENCEMESH
];
// Should we assume that the (currentUser) viewer is the owner of the node !?
@@ -1837,8 +1896,12 @@ class ShareAPIController extends OCSController {
// TALK SHARES
$roomShares = $this->shareManager->getSharesBy($this->currentUser, IShare::TYPE_ROOM, $path, $reshares, -1, 0);
+ // DECK SHARES
$deckShares = $this->shareManager->getSharesBy($this->currentUser, IShare::TYPE_DECK, $path, $reshares, -1, 0);
+ // SCIENCEMESH SHARES
+ $sciencemeshShares = $this->shareManager->getSharesBy($this->currentUser, IShare::TYPE_SCIENCEMESH, $path, $reshares, -1, 0);
+
// FEDERATION
if ($this->shareManager->outgoingServer2ServerSharesAllowed()) {
$federatedShares = $this->shareManager->getSharesBy($this->currentUser, IShare::TYPE_REMOTE, $path, $reshares, -1, 0);
@@ -1851,7 +1914,7 @@ class ShareAPIController extends OCSController {
$federatedGroupShares = [];
}
- return array_merge($userShares, $groupShares, $linkShares, $mailShares, $circleShares, $roomShares, $deckShares, $federatedShares, $federatedGroupShares);
+ return array_merge($userShares, $groupShares, $linkShares, $mailShares, $circleShares, $roomShares, $deckShares, $sciencemeshShares, $federatedShares, $federatedGroupShares);
}
diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php
index 5a2e200c238..8daa7dc5ab9 100644
--- a/apps/files_sharing/lib/Controller/ShareesAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php
@@ -186,6 +186,10 @@ class ShareesAPIController extends OCSController {
if ($this->shareManager->shareProviderExists(IShare::TYPE_ROOM)) {
$shareTypes[] = IShare::TYPE_ROOM;
}
+
+ if ($this->shareManager->shareProviderExists(IShare::TYPE_SCIENCEMESH)) {
+ $shareTypes[] = IShare::TYPE_SCIENCEMESH;
+ }
} else {
if ($this->shareManager->allowGroupSharing()) {
$shareTypes[] = IShare::TYPE_GROUP;
@@ -198,6 +202,10 @@ class ShareesAPIController extends OCSController {
$shareTypes[] = IShare::TYPE_CIRCLE;
}
+ if ($this->shareManager->shareProviderExists(IShare::TYPE_SCIENCEMESH)) {
+ $shareTypes[] = IShare::TYPE_SCIENCEMESH;
+ }
+
if ($shareType !== null && is_array($shareType)) {
$shareTypes = array_intersect($shareTypes, $shareType);
} elseif (is_numeric($shareType)) {
diff --git a/apps/files_sharing/lib/MountProvider.php b/apps/files_sharing/lib/MountProvider.php
index a9705e94906..2ad7ede8e40 100644
--- a/apps/files_sharing/lib/MountProvider.php
+++ b/apps/files_sharing/lib/MountProvider.php
@@ -97,6 +97,7 @@ class MountProvider implements IMountProvider {
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_CIRCLE, null, -1));
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_ROOM, null, -1));
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_DECK, null, -1));
+ $shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_SCIENCEMESH, null, -1));
// filter out excluded shares and group shares that includes self
diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php
index 2c1ddf9af4a..5243c8d1594 100644
--- a/apps/files_sharing/lib/SharedStorage.php
+++ b/apps/files_sharing/lib/SharedStorage.php
@@ -224,17 +224,17 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
/**
* Get the permissions granted for a shared file
*
- * @param string $target Shared target file path
+ * @param string $path Shared target file path
* @return int CRUDS permissions granted
*/
- public function getPermissions($target = ''): int {
+ public function getPermissions($path = ''): int {
if (!$this->isValid()) {
return 0;
}
- $permissions = parent::getPermissions($target) & $this->superShare->getPermissions();
+ $permissions = parent::getPermissions($path) & $this->superShare->getPermissions();
// part files and the mount point always have delete permissions
- if ($target === '' || pathinfo($target, PATHINFO_EXTENSION) === 'part') {
+ if ($path === '' || pathinfo($path, PATHINFO_EXTENSION) === 'part') {
$permissions |= \OCP\Constants::PERMISSION_DELETE;
}
@@ -517,9 +517,9 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
}
/**
- * @param bool $available
+ * @param bool $isAvailable
*/
- public function setAvailability($available) {
+ public function setAvailability($isAvailable) {
// shares do not participate in availability logic
}
diff --git a/apps/files_sharing/src/additionalScripts.js b/apps/files_sharing/src/additionalScripts.js
index 6cc039a876a..2ed4d86b64d 100644
--- a/apps/files_sharing/src/additionalScripts.js
+++ b/apps/files_sharing/src/additionalScripts.js
@@ -22,8 +22,8 @@
*
*/
-import './share'
-import './sharebreadcrumbview'
+import './share.js'
+import './sharebreadcrumbview.js'
import './style/sharebreadcrumb.scss'
import './collaborationresourceshandler.js'
diff --git a/apps/files_sharing/src/collaborationresources.js b/apps/files_sharing/src/collaborationresources.js
index 1e6eda02a93..0175993a2f1 100644
--- a/apps/files_sharing/src/collaborationresources.js
+++ b/apps/files_sharing/src/collaborationresources.js
@@ -23,11 +23,11 @@
import Vue from 'vue'
import Vuex from 'vuex'
-import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu'
-import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
+import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu.js'
+import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'
import ClickOutside from 'vue-click-outside'
-import View from './views/CollaborationView'
+import View from './views/CollaborationView.vue'
Vue.prototype.t = t
Tooltip.options.defaultHtml = false
diff --git a/apps/files_sharing/src/components/ExternalShareAction.vue b/apps/files_sharing/src/components/ExternalShareAction.vue
index 39caa1260c8..02b9eadd6e9 100644
--- a/apps/files_sharing/src/components/ExternalShareAction.vue
+++ b/apps/files_sharing/src/components/ExternalShareAction.vue
@@ -29,7 +29,7 @@
</template>
<script>
-import Share from '../models/Share'
+import Share from '../models/Share.js'
export default {
name: 'ExternalShareAction',
diff --git a/apps/files_sharing/src/components/PersonalSettings.vue b/apps/files_sharing/src/components/PersonalSettings.vue
index 526bee07324..71a439d72b5 100644
--- a/apps/files_sharing/src/components/PersonalSettings.vue
+++ b/apps/files_sharing/src/components/PersonalSettings.vue
@@ -43,7 +43,7 @@ import { loadState } from '@nextcloud/initial-state'
import { showError } from '@nextcloud/dialogs'
import axios from '@nextcloud/axios'
-import SelectShareFolderDialogue from './SelectShareFolderDialogue'
+import SelectShareFolderDialogue from './SelectShareFolderDialogue.vue'
export default {
name: 'PersonalSettings',
diff --git a/apps/files_sharing/src/components/SharePermissionsEditor.vue b/apps/files_sharing/src/components/SharePermissionsEditor.vue
index c5e652b2cda..41aec036baf 100644
--- a/apps/files_sharing/src/components/SharePermissionsEditor.vue
+++ b/apps/files_sharing/src/components/SharePermissionsEditor.vue
@@ -104,11 +104,11 @@
</template>
<script>
-import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
-import NcActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio'
-import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
+import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
+import NcActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio.js'
+import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
-import SharesMixin from '../mixins/SharesMixin'
+import SharesMixin from '../mixins/SharesMixin.js'
import {
ATOMIC_PERMISSIONS,
BUNDLED_PERMISSIONS,
@@ -116,10 +116,10 @@ import {
permissionsSetIsValid,
togglePermissions,
canTogglePermissions,
-} from '../lib/SharePermissionsToolBox'
+} from '../lib/SharePermissionsToolBox.js'
-import Tune from 'vue-material-design-icons/Tune'
-import ChevronLeft from 'vue-material-design-icons/ChevronLeft'
+import Tune from 'vue-material-design-icons/Tune.vue'
+import ChevronLeft from 'vue-material-design-icons/ChevronLeft.vue'
export default {
name: 'SharePermissionsEditor',
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue
index 92527a8f14a..f39e55ccc51 100644
--- a/apps/files_sharing/src/components/SharingEntry.vue
+++ b/apps/files_sharing/src/components/SharingEntry.vue
@@ -137,12 +137,12 @@
</template>
<script>
-import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
-import NcActions from '@nextcloud/vue/dist/Components/NcActions'
-import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
-import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
-import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
-import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable'
+import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
+import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
+import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
+import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
+import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
+import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable.js'
import SharesMixin from '../mixins/SharesMixin.js'
diff --git a/apps/files_sharing/src/components/SharingEntryInherited.vue b/apps/files_sharing/src/components/SharingEntryInherited.vue
index dd53f4f637b..eb39597149a 100644
--- a/apps/files_sharing/src/components/SharingEntryInherited.vue
+++ b/apps/files_sharing/src/components/SharingEntryInherited.vue
@@ -48,15 +48,15 @@
<script>
import { generateUrl } from '@nextcloud/router'
import { basename } from '@nextcloud/paths'
-import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
-import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
-import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
-import NcActionText from '@nextcloud/vue/dist/Components/NcActionText'
+import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
+import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
+import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
+import NcActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
// eslint-disable-next-line no-unused-vars
-import Share from '../models/Share'
-import SharesMixin from '../mixins/SharesMixin'
-import SharingEntrySimple from '../components/SharingEntrySimple'
+import Share from '../models/Share.js'
+import SharesMixin from '../mixins/SharesMixin.js'
+import SharingEntrySimple from '../components/SharingEntrySimple.vue'
export default {
name: 'SharingEntryInherited',
diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue
index d3b55d4991c..c7c75a6777f 100644
--- a/apps/files_sharing/src/components/SharingEntryInternal.vue
+++ b/apps/files_sharing/src/components/SharingEntryInternal.vue
@@ -22,8 +22,8 @@
<script>
import { generateUrl } from '@nextcloud/router'
import { showSuccess } from '@nextcloud/dialogs'
-import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
-import SharingEntrySimple from './SharingEntrySimple'
+import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
+import SharingEntrySimple from './SharingEntrySimple.vue'
export default {
name: 'SharingEntryInternal',
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index 7622efa6fac..e45690ba2a0 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -281,15 +281,15 @@ import { showError, showSuccess } from '@nextcloud/dialogs'
import { Type as ShareTypes } from '@nextcloud/sharing'
import Vue from 'vue'
-import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
-import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
-import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
-import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
-import NcActionText from '@nextcloud/vue/dist/Components/NcActionText'
-import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator'
-import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable'
-import NcActions from '@nextcloud/vue/dist/Components/NcActions'
-import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
+import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
+import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
+import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
+import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
+import NcActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
+import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
+import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable.js'
+import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
+import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import ExternalShareAction from './ExternalShareAction.vue'
import SharePermissionsEditor from './SharePermissionsEditor.vue'
diff --git a/apps/files_sharing/src/components/SharingEntrySimple.vue b/apps/files_sharing/src/components/SharingEntrySimple.vue
index 43a6172fb15..daff947fe80 100644
--- a/apps/files_sharing/src/components/SharingEntrySimple.vue
+++ b/apps/files_sharing/src/components/SharingEntrySimple.vue
@@ -40,7 +40,7 @@
</template>
<script>
-import NcActions from '@nextcloud/vue/dist/Components/NcActions'
+import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
export default {
name: 'SharingEntrySimple',
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue
index 8dadb4689ff..a86a8998468 100644
--- a/apps/files_sharing/src/components/SharingInput.vue
+++ b/apps/files_sharing/src/components/SharingInput.vue
@@ -52,11 +52,11 @@ import axios from '@nextcloud/axios'
import debounce from 'debounce'
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
-import Config from '../services/ConfigService'
-import GeneratePassword from '../utils/GeneratePassword'
-import Share from '../models/Share'
-import ShareRequests from '../mixins/ShareRequests'
-import ShareTypes from '../mixins/ShareTypes'
+import Config from '../services/ConfigService.js'
+import GeneratePassword from '../utils/GeneratePassword.js'
+import Share from '../models/Share.js'
+import ShareRequests from '../mixins/ShareRequests.js'
+import ShareTypes from '../mixins/ShareTypes.js'
export default {
name: 'SharingInput',
@@ -194,6 +194,7 @@ export default {
this.SHARE_TYPES.SHARE_TYPE_ROOM,
this.SHARE_TYPES.SHARE_TYPE_GUEST,
this.SHARE_TYPES.SHARE_TYPE_DECK,
+ this.SHARE_TYPES.SHARE_TYPE_SCIENCEMESH,
]
if (OC.getCapabilities().files_sharing.public.enabled === true) {
@@ -420,6 +421,11 @@ export default {
icon: 'icon-deck',
iconTitle: t('files_sharing', 'Deck board'),
}
+ case this.SHARE_TYPES.SHARE_TYPE_SCIENCEMESH:
+ return {
+ icon: 'icon-sciencemesh',
+ iconTitle: t('files_sharing', 'ScienceMesh'),
+ }
default:
return {}
}
diff --git a/apps/files_sharing/src/files_sharing.js b/apps/files_sharing/src/files_sharing.js
index 97174542458..0578da7f9c5 100644
--- a/apps/files_sharing/src/files_sharing.js
+++ b/apps/files_sharing/src/files_sharing.js
@@ -21,5 +21,5 @@
*
*/
-import '../js/app'
-import '../js/sharedfilelist'
+import '../js/app.js'
+import '../js/sharedfilelist.js'
diff --git a/apps/files_sharing/src/files_sharing_tab.js b/apps/files_sharing/src/files_sharing_tab.js
index 8858f35570f..96bd207fa8a 100644
--- a/apps/files_sharing/src/files_sharing_tab.js
+++ b/apps/files_sharing/src/files_sharing_tab.js
@@ -30,7 +30,7 @@ import ExternalLinkActions from './services/ExternalLinkActions.js'
import ExternalShareActions from './services/ExternalShareActions.js'
import TabSections from './services/TabSections.js'
-// eslint-disable-next-line node/no-missing-import, import/no-unresolved
+// eslint-disable-next-line n/no-missing-import, import/no-unresolved
import ShareVariant from '@mdi/svg/svg/share-variant.svg?raw'
// Init Sharing Tab Service
diff --git a/apps/files_sharing/src/index.js b/apps/files_sharing/src/index.js
index 9f80c79270e..95ed017bbf9 100644
--- a/apps/files_sharing/src/index.js
+++ b/apps/files_sharing/src/index.js
@@ -34,5 +34,6 @@ Object.assign(OC, {
SHARE_TYPE_REMOTE_GROUP: 9,
SHARE_TYPE_ROOM: 10,
SHARE_TYPE_DECK: 12,
+ SHARE_TYPE_SCIENCEMESH: 15,
},
})
diff --git a/apps/files_sharing/src/lib/SharePermissionsToolBox.spec.js b/apps/files_sharing/src/lib/SharePermissionsToolBox.spec.js
index 7ae29c7134a..f66e5e7964b 100644
--- a/apps/files_sharing/src/lib/SharePermissionsToolBox.spec.js
+++ b/apps/files_sharing/src/lib/SharePermissionsToolBox.spec.js
@@ -29,7 +29,7 @@ import {
permissionsSetIsValid,
togglePermissions,
canTogglePermissions,
-} from '../lib/SharePermissionsToolBox'
+} from '../lib/SharePermissionsToolBox.js'
describe('SharePermissionsToolBox', () => {
test('Adding permissions', () => {
diff --git a/apps/files_sharing/src/mixins/ShareRequests.js b/apps/files_sharing/src/mixins/ShareRequests.js
index 9eaad8c4161..4218eecc485 100644
--- a/apps/files_sharing/src/mixins/ShareRequests.js
+++ b/apps/files_sharing/src/mixins/ShareRequests.js
@@ -28,7 +28,7 @@ import 'url-search-params-polyfill'
import { generateOcsUrl } from '@nextcloud/router'
import axios from '@nextcloud/axios'
-import Share from '../models/Share'
+import Share from '../models/Share.js'
const shareUrl = generateOcsUrl('apps/files_sharing/api/v1/shares')
diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js
index 2a4637be121..a29e1a91b02 100644
--- a/apps/files_sharing/src/mixins/SharesMixin.js
+++ b/apps/files_sharing/src/mixins/SharesMixin.js
@@ -27,7 +27,7 @@
import { showError, showSuccess } from '@nextcloud/dialogs'
import { getCurrentUser } from '@nextcloud/auth'
-// eslint-disable-next-line import/no-unresolved, node/no-missing-import
+// eslint-disable-next-line import/no-unresolved, n/no-missing-import
import PQueue from 'p-queue'
import debounce from 'debounce'
diff --git a/apps/files_sharing/src/personal-settings.js b/apps/files_sharing/src/personal-settings.js
index afc35dc98dc..1142b6e5136 100644
--- a/apps/files_sharing/src/personal-settings.js
+++ b/apps/files_sharing/src/personal-settings.js
@@ -24,7 +24,7 @@
import Vue from 'vue'
import { getRequestToken } from '@nextcloud/auth'
-import PersonalSettings from './components/PersonalSettings'
+import PersonalSettings from './components/PersonalSettings.vue'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(getRequestToken())
diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js
index ca4dba7c888..06eea5807a1 100644
--- a/apps/files_sharing/src/share.js
+++ b/apps/files_sharing/src/share.js
@@ -201,6 +201,8 @@ import { getCapabilities } from '@nextcloud/capabilities'
hasShares = true
} else if (shareType === ShareTypes.SHARE_TYPE_DECK) {
hasShares = true
+ } else if (shareType === ShareTypes.SHARE_TYPE_SCIENCEMESH) {
+ hasShares = true
}
})
OCA.Sharing.Util._updateFileActionIcon($tr, hasShares, hasLink)
diff --git a/apps/files_sharing/src/style/sharebreadcrumb.scss b/apps/files_sharing/src/style/sharebreadcrumb.scss
index f3096f45013..c4853e05165 100644
--- a/apps/files_sharing/src/style/sharebreadcrumb.scss
+++ b/apps/files_sharing/src/style/sharebreadcrumb.scss
@@ -20,15 +20,15 @@
*
*/
-div.crumb span.icon-shared,
-div.crumb span.icon-public {
+li.crumb span.icon-shared,
+li.crumb span.icon-public {
display: inline-block;
cursor: pointer;
opacity: 0.2;
margin-right: 6px;
}
-div.crumb span.icon-shared.shared,
-div.crumb span.icon-public.shared {
+li.crumb span.icon-shared.shared,
+li.crumb span.icon-public.shared {
opacity: 0.7;
}
diff --git a/apps/files_sharing/src/utils/GeneratePassword.js b/apps/files_sharing/src/utils/GeneratePassword.js
index 63cc68983a1..077f385d7d8 100644
--- a/apps/files_sharing/src/utils/GeneratePassword.js
+++ b/apps/files_sharing/src/utils/GeneratePassword.js
@@ -21,7 +21,7 @@
*/
import axios from '@nextcloud/axios'
-import Config from '../services/ConfigService'
+import Config from '../services/ConfigService.js'
import { showError, showSuccess } from '@nextcloud/dialogs'
const config = new Config()
diff --git a/apps/files_sharing/src/views/SharingInherited.vue b/apps/files_sharing/src/views/SharingInherited.vue
index b570b47e257..b61f65ae47a 100644
--- a/apps/files_sharing/src/views/SharingInherited.vue
+++ b/apps/files_sharing/src/views/SharingInherited.vue
@@ -47,12 +47,12 @@
<script>
import { generateOcsUrl } from '@nextcloud/router'
-import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
+import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import axios from '@nextcloud/axios'
-import Share from '../models/Share'
-import SharingEntryInherited from '../components/SharingEntryInherited'
-import SharingEntrySimple from '../components/SharingEntrySimple'
+import Share from '../models/Share.js'
+import SharingEntryInherited from '../components/SharingEntryInherited.vue'
+import SharingEntrySimple from '../components/SharingEntrySimple.vue'
export default {
name: 'SharingInherited',
diff --git a/apps/files_sharing/src/views/SharingLinkList.vue b/apps/files_sharing/src/views/SharingLinkList.vue
index ee7418c00d5..c3f1425cb70 100644
--- a/apps/files_sharing/src/views/SharingLinkList.vue
+++ b/apps/files_sharing/src/views/SharingLinkList.vue
@@ -46,9 +46,9 @@
<script>
// eslint-disable-next-line no-unused-vars
-import Share from '../models/Share'
-import ShareTypes from '../mixins/ShareTypes'
-import SharingEntryLink from '../components/SharingEntryLink'
+import Share from '../models/Share.js'
+import ShareTypes from '../mixins/ShareTypes.js'
+import SharingEntryLink from '../components/SharingEntryLink.vue'
export default {
name: 'SharingLinkList',
diff --git a/apps/files_sharing/src/views/SharingList.vue b/apps/files_sharing/src/views/SharingList.vue
index 0635ad27635..05dc87d9b07 100644
--- a/apps/files_sharing/src/views/SharingList.vue
+++ b/apps/files_sharing/src/views/SharingList.vue
@@ -33,9 +33,9 @@
<script>
// eslint-disable-next-line no-unused-vars
-import Share from '../models/Share'
-import SharingEntry from '../components/SharingEntry'
-import ShareTypes from '../mixins/ShareTypes'
+import Share from '../models/Share.js'
+import SharingEntry from '../components/SharingEntry.vue'
+import ShareTypes from '../mixins/ShareTypes.js'
export default {
name: 'SharingList',
diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue
index ea25149b97e..bfaf8a766ee 100644
--- a/apps/files_sharing/src/views/SharingTab.vue
+++ b/apps/files_sharing/src/views/SharingTab.vue
@@ -87,21 +87,21 @@
<script>
import { CollectionList } from 'nextcloud-vue-collections'
import { generateOcsUrl } from '@nextcloud/router'
-import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
+import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import axios from '@nextcloud/axios'
import { loadState } from '@nextcloud/initial-state'
-import Config from '../services/ConfigService'
-import { shareWithTitle } from '../utils/SharedWithMe'
-import Share from '../models/Share'
-import ShareTypes from '../mixins/ShareTypes'
-import SharingEntryInternal from '../components/SharingEntryInternal'
-import SharingEntrySimple from '../components/SharingEntrySimple'
-import SharingInput from '../components/SharingInput'
-
-import SharingInherited from './SharingInherited'
-import SharingLinkList from './SharingLinkList'
-import SharingList from './SharingList'
+import Config from '../services/ConfigService.js'
+import { shareWithTitle } from '../utils/SharedWithMe.js'
+import Share from '../models/Share.js'
+import ShareTypes from '../mixins/ShareTypes.js'
+import SharingEntryInternal from '../components/SharingEntryInternal.vue'
+import SharingEntrySimple from '../components/SharingEntrySimple.vue'
+import SharingInput from '../components/SharingInput.vue'
+
+import SharingInherited from './SharingInherited.vue'
+import SharingLinkList from './SharingLinkList.vue'
+import SharingList from './SharingList.vue'
export default {
name: 'SharingTab',
diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
index 6405181d0dc..2a2a7d940be 100644
--- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
@@ -218,10 +218,10 @@ class ShareAPIControllerTest extends TestCase {
$this->expectExceptionMessage('Wrong share ID, share does not exist');
$this->shareManager
- ->expects($this->exactly(6))
+ ->expects($this->exactly(7))
->method('getShareById')
->willReturnCallback(function ($id) {
- if ($id === 'ocinternal:42' || $id === 'ocRoomShare:42' || $id === 'ocFederatedSharing:42' || $id === 'ocCircleShare:42' || $id === 'ocMailShare:42' || $id === 'deck:42') {
+ if ($id === 'ocinternal:42' || $id === 'ocRoomShare:42' || $id === 'ocFederatedSharing:42' || $id === 'ocCircleShare:42' || $id === 'ocMailShare:42' || $id === 'deck:42' || $id === 'sciencemesh:42') {
throw new \OCP\Share\Exceptions\ShareNotFound();
} else {
throw new \Exception();
diff --git a/apps/files_sharing/tests/MountProviderTest.php b/apps/files_sharing/tests/MountProviderTest.php
index 37e7e3d9d03..f7cf5156ec5 100644
--- a/apps/files_sharing/tests/MountProviderTest.php
+++ b/apps/files_sharing/tests/MountProviderTest.php
@@ -163,12 +163,13 @@ class MountProviderTest extends \Test\TestCase {
$this->makeMockShare(12, 103, 'user2', '/share7', 31),
$this->makeMockShare(13, 103, 'user2', '/share7', 31),
];
- // tests regarding circles are made in the app itself.
+ // tests regarding circles and sciencemesh are made in the apps themselves.
$circleShares = [];
+ $sciencemeshShares = [];
$this->user->expects($this->any())
->method('getUID')
->willReturn('user1');
- $this->shareManager->expects($this->exactly(5))
+ $this->shareManager->expects($this->exactly(6))
->method('getSharedWith')
->withConsecutive(
['user1', IShare::TYPE_USER],
@@ -176,12 +177,14 @@ class MountProviderTest extends \Test\TestCase {
['user1', IShare::TYPE_CIRCLE, null, -1],
['user1', IShare::TYPE_ROOM, null, -1],
['user1', IShare::TYPE_DECK, null, -1],
+ ['user1', IShare::TYPE_SCIENCEMESH, null, -1],
)->willReturnOnConsecutiveCalls(
$userShares,
$groupShares,
$circleShares,
$roomShares,
$deckShares,
+ $sciencemeshShares
);
$this->shareManager->expects($this->any())
->method('newShare')
@@ -386,7 +389,8 @@ class MountProviderTest extends \Test\TestCase {
$circleShares = [];
$roomShares = [];
$deckShares = [];
- $this->shareManager->expects($this->exactly(5))
+ $sciencemeshShares = [];
+ $this->shareManager->expects($this->exactly(6))
->method('getSharedWith')
->withConsecutive(
['user1', IShare::TYPE_USER],
@@ -394,12 +398,14 @@ class MountProviderTest extends \Test\TestCase {
['user1', IShare::TYPE_CIRCLE, null, -1],
['user1', IShare::TYPE_ROOM, null, -1],
['user1', IShare::TYPE_DECK, null, -1],
+ ['user1', IShare::TYPE_SCIENCEMESH, null, -1],
)->willReturnOnConsecutiveCalls(
$userShares,
$groupShares,
$circleShares,
$roomShares,
$deckShares,
+ $sciencemeshShares
);
$this->shareManager->expects($this->any())
->method('newShare')