Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ git submodule update --init
# Codespace config
cp .devcontainer/codespace.config.php config/codespace.config.php

# Authorization header fix for Apache → PHP
sudo tee /etc/apache2/conf-available/nextcloud-auth-fix.conf > /dev/null <<'EOF'
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
EOF

sudo a2enconf nextcloud-auth-fix

# VSCode debugger profile
mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json

Expand Down
4 changes: 4 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,7 @@

AddDefaultCharset utf-8
Options -Indexes
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

ErrorDocument 403 /index.php/error/403
ErrorDocument 404 /index.php/error/404
4 changes: 2 additions & 2 deletions apps/cloud_federation_api/l10n/lt_LT.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "Cloud Federation įskiepis",
"Cloud Federation API" : "Cloud Federation įskiepis",
"Enable clouds to communicate with each other and exchange data" : "Leisti debesų technologijoms jungtis ir keistis duomenimis tarpusavyje",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Cloud Federation įskiepis leidžia atskiriems Nextcloud serveriams jungtis ir keistis duomenimis tarpusavyje."
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Cloud Federation įskiepis leidžia atskiriems Nextcloud serveriams jungtis ir keistis duomenimis tarpusavyje."
},
"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);");
4 changes: 2 additions & 2 deletions apps/cloud_federation_api/l10n/lt_LT.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "translations": {
"Cloud Federation API" : "Cloud Federation įskiepis",
"Cloud Federation API" : "Cloud Federation įskiepis",
"Enable clouds to communicate with each other and exchange data" : "Leisti debesų technologijoms jungtis ir keistis duomenimis tarpusavyje",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Cloud Federation įskiepis leidžia atskiriems Nextcloud serveriams jungtis ir keistis duomenimis tarpusavyje."
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Cloud Federation įskiepis leidžia atskiriems Nextcloud serveriams jungtis ir keistis duomenimis tarpusavyje."
},"pluralForm" :"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"
}
20 changes: 10 additions & 10 deletions apps/dav/l10n/lt_LT.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ OC.L10N.register(
"{actor} shared calendar {calendar} with you" : "{actor} pradėjo bendrinti su jumis kalendorių {calendar}",
"You shared calendar {calendar} with {user}" : "Jūs pradėjote bendrinti kalendorių {calendar} su {user}",
"{actor} shared calendar {calendar} with {user}" : "{actor} pradėjo bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from you" : "{actor} nustojo bendrinti su jumis kalendorių {calendar}",
"You unshared calendar {calendar} from {user}" : "Jūs nustojote bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from {user}" : "{actor} nustojo bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from you" : "{actor} nustojo bendrinti su jumis kalendorių {calendar}",
"You unshared calendar {calendar} from {user}" : "Jūs nustojote bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from {user}" : "{actor} nustojo bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from themselves" : "{actor} nustojo bendrinti su savimi kalendorių {calendar}",
"You shared calendar {calendar} with group {group}" : "Jūs pradėjote bendrinti kalendorių {calendar} su grupe {group}",
"{actor} shared calendar {calendar} with group {group}" : "{actor} pradėjo bendrinti kalendorių {calendar} su grupe {group}",
"You unshared calendar {calendar} from group {group}" : "Jūs nustojote bendrinti kalendorių {calendar} su grupe {group}",
"{actor} unshared calendar {calendar} from group {group}" : "{actor} nustojo bendrinti kalendorių {calendar} su grupe {group}",
"{actor} shared calendar {calendar} with group {group}" : "{actor} pradėjo bendrinti kalendorių {calendar} su grupe {group}",
"You unshared calendar {calendar} from group {group}" : "Jūs nustojote bendrinti kalendorių {calendar} su grupe {group}",
"{actor} unshared calendar {calendar} from group {group}" : "{actor} nustojo bendrinti kalendorių {calendar} su grupe {group}",
"Untitled event" : "Įvykis be pavadinimo",
"{actor} created event {event} in calendar {calendar}" : "{actor} kalendoriuje {calendar} sukūrė įvykį {event}",
"You created event {event} in calendar {calendar}" : "Jūs kalendoriuje {calendar} sukūrėte įvykį {event}",
Expand All @@ -36,7 +36,7 @@ OC.L10N.register(
"You moved event {event} from calendar {sourceCalendar} to calendar {targetCalendar}" : "Jūs perkėlėte {event} įvykį iš {sourceCalendar} kalendroriaus į {targetCalendar} kalendorių",
"{actor} restored event {event} of calendar {calendar}" : "{actor} kalendoriuje {calendar} atkūrė įvykį {event}",
"You restored event {event} of calendar {calendar}" : "Jūs kalendoriuje {calendar} atkūrėte įvykį {event}",
"Busy" : "Užimtas laikas",
"Busy" : "Užimta",
"{actor} created to-do {todo} in list {calendar}" : "{actor} sukūrė {todo} darbų sąraše {calendar}",
"You created to-do {todo} in list {calendar}" : "Jūs sukūrėte {todo} darbų sąraše {calendar}",
"{actor} deleted to-do {todo} from list {calendar}" : "{actor} pašalino {todo} darbą iš sąrašo {calendar}",
Expand All @@ -53,7 +53,7 @@ OC.L10N.register(
"A <strong>calendar</strong> was modified" : "<strong>Kalendorius</strong> buvo modifikuotas",
"A calendar <strong>event</strong> was modified" : "Kalendoriaus <strong>įvykis</strong> buvo modifikuotas",
"A calendar <strong>to-do</strong> was modified" : "Kalendoriaus <strong>darbų sąrašas</strong> buvo atnaujintas",
"Contact birthdays" : "Adresatų gimtadieniai",
"Contact birthdays" : "Kontaktų gimtadieniai",
"Death of %s" : "%s pabaiga",
"Untitled calendar" : "Kalendorius be pavadinimo",
"Calendar:" : "Kalendorius:",
Expand Down Expand Up @@ -195,7 +195,7 @@ OC.L10N.register(
"Third Last" : "Trečias paskutinis",
"Fourth Last" : "Ketvirtasis paskutinis",
"Fifth Last" : "Penktas paskutinis",
"Contacts" : "Adresatai",
"Contacts" : "Kontaktai",
"{actor} created address book {addressbook}" : "{actor} sukūrė adresų knygą {addressbook}",
"You created address book {addressbook}" : "Jūs sukūrėte adresų knygą {addressbook}",
"{actor} deleted address book {addressbook}" : "{actor} ištrynė adresų knygą {addressbook}",
Expand Down Expand Up @@ -273,7 +273,7 @@ OC.L10N.register(
"Your web server is properly set up to allow file synchronization over WebDAV." : "Jūsų žiniatinklio serveris tinkamai sukonfigūruotas, kad būtų galima sinchronizuoti failus per WebDAV.",
"Calendars including events, details and attendees" : "Kalendoriai su įvykiais, informacija ir dalyviais",
"Migrated calendar (%1$s)" : "Perkeltas kalendorius (%1$s)",
"Contacts and groups" : "Adresatai ir grupės",
"Contacts and groups" : "Kontaktai ir grupės",
"WebDAV" : "WebDAV",
"Absence saved" : "Išsaugotas nebuvimas",
"Failed to save your absence settings" : "Nepavyko išsaugoti jūsų nebuvimo nustatymų",
Expand Down
20 changes: 10 additions & 10 deletions apps/dav/l10n/lt_LT.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"{actor} shared calendar {calendar} with you" : "{actor} pradėjo bendrinti su jumis kalendorių {calendar}",
"You shared calendar {calendar} with {user}" : "Jūs pradėjote bendrinti kalendorių {calendar} su {user}",
"{actor} shared calendar {calendar} with {user}" : "{actor} pradėjo bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from you" : "{actor} nustojo bendrinti su jumis kalendorių {calendar}",
"You unshared calendar {calendar} from {user}" : "Jūs nustojote bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from {user}" : "{actor} nustojo bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from you" : "{actor} nustojo bendrinti su jumis kalendorių {calendar}",
"You unshared calendar {calendar} from {user}" : "Jūs nustojote bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from {user}" : "{actor} nustojo bendrinti kalendorių {calendar} su {user}",
"{actor} unshared calendar {calendar} from themselves" : "{actor} nustojo bendrinti su savimi kalendorių {calendar}",
"You shared calendar {calendar} with group {group}" : "Jūs pradėjote bendrinti kalendorių {calendar} su grupe {group}",
"{actor} shared calendar {calendar} with group {group}" : "{actor} pradėjo bendrinti kalendorių {calendar} su grupe {group}",
"You unshared calendar {calendar} from group {group}" : "Jūs nustojote bendrinti kalendorių {calendar} su grupe {group}",
"{actor} unshared calendar {calendar} from group {group}" : "{actor} nustojo bendrinti kalendorių {calendar} su grupe {group}",
"{actor} shared calendar {calendar} with group {group}" : "{actor} pradėjo bendrinti kalendorių {calendar} su grupe {group}",
"You unshared calendar {calendar} from group {group}" : "Jūs nustojote bendrinti kalendorių {calendar} su grupe {group}",
"{actor} unshared calendar {calendar} from group {group}" : "{actor} nustojo bendrinti kalendorių {calendar} su grupe {group}",
"Untitled event" : "Įvykis be pavadinimo",
"{actor} created event {event} in calendar {calendar}" : "{actor} kalendoriuje {calendar} sukūrė įvykį {event}",
"You created event {event} in calendar {calendar}" : "Jūs kalendoriuje {calendar} sukūrėte įvykį {event}",
Expand All @@ -34,7 +34,7 @@
"You moved event {event} from calendar {sourceCalendar} to calendar {targetCalendar}" : "Jūs perkėlėte {event} įvykį iš {sourceCalendar} kalendroriaus į {targetCalendar} kalendorių",
"{actor} restored event {event} of calendar {calendar}" : "{actor} kalendoriuje {calendar} atkūrė įvykį {event}",
"You restored event {event} of calendar {calendar}" : "Jūs kalendoriuje {calendar} atkūrėte įvykį {event}",
"Busy" : "Užimtas laikas",
"Busy" : "Užimta",
"{actor} created to-do {todo} in list {calendar}" : "{actor} sukūrė {todo} darbų sąraše {calendar}",
"You created to-do {todo} in list {calendar}" : "Jūs sukūrėte {todo} darbų sąraše {calendar}",
"{actor} deleted to-do {todo} from list {calendar}" : "{actor} pašalino {todo} darbą iš sąrašo {calendar}",
Expand All @@ -51,7 +51,7 @@
"A <strong>calendar</strong> was modified" : "<strong>Kalendorius</strong> buvo modifikuotas",
"A calendar <strong>event</strong> was modified" : "Kalendoriaus <strong>įvykis</strong> buvo modifikuotas",
"A calendar <strong>to-do</strong> was modified" : "Kalendoriaus <strong>darbų sąrašas</strong> buvo atnaujintas",
"Contact birthdays" : "Adresatų gimtadieniai",
"Contact birthdays" : "Kontaktų gimtadieniai",
"Death of %s" : "%s pabaiga",
"Untitled calendar" : "Kalendorius be pavadinimo",
"Calendar:" : "Kalendorius:",
Expand Down Expand Up @@ -193,7 +193,7 @@
"Third Last" : "Trečias paskutinis",
"Fourth Last" : "Ketvirtasis paskutinis",
"Fifth Last" : "Penktas paskutinis",
"Contacts" : "Adresatai",
"Contacts" : "Kontaktai",
"{actor} created address book {addressbook}" : "{actor} sukūrė adresų knygą {addressbook}",
"You created address book {addressbook}" : "Jūs sukūrėte adresų knygą {addressbook}",
"{actor} deleted address book {addressbook}" : "{actor} ištrynė adresų knygą {addressbook}",
Expand Down Expand Up @@ -271,7 +271,7 @@
"Your web server is properly set up to allow file synchronization over WebDAV." : "Jūsų žiniatinklio serveris tinkamai sukonfigūruotas, kad būtų galima sinchronizuoti failus per WebDAV.",
"Calendars including events, details and attendees" : "Kalendoriai su įvykiais, informacija ir dalyviais",
"Migrated calendar (%1$s)" : "Perkeltas kalendorius (%1$s)",
"Contacts and groups" : "Adresatai ir grupės",
"Contacts and groups" : "Kontaktai ir grupės",
"WebDAV" : "WebDAV",
"Absence saved" : "Išsaugotas nebuvimas",
"Failed to save your absence settings" : "Nepavyko išsaugoti jūsų nebuvimo nustatymų",
Expand Down
5 changes: 2 additions & 3 deletions apps/dav/lib/CardDAV/ImageExportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;
use Symfony\Component\HttpFoundation\HeaderUtils;
use Symfony\Component\String\UnicodeString;

class ImageExportPlugin extends ServerPlugin {

Expand Down Expand Up @@ -89,9 +90,7 @@ public function httpGet(RequestInterface $request, ResponseInterface $response)
$response->setHeader('Content-Type', $file->getMimeType());
$fileName = $node->getName() . '.' . PhotoCache::ALLOWED_CONTENT_TYPES[$file->getMimeType()];
$sanitized = str_replace(['/', '\\'], '-', $fileName);
$fallback = @iconv('UTF-8', 'ASCII//TRANSLIT', $sanitized) ?: $sanitized;
$fallback = preg_replace('/[^\x20-\x7e]/', '', $fallback);
$fallback = str_replace('%', '', $fallback);
$fallback = str_replace('%', '', (new UnicodeString($sanitized))->ascii()->toString());
$response->setHeader('Content-Disposition', HeaderUtils::makeDisposition(HeaderUtils::DISPOSITION_ATTACHMENT, $sanitized, $fallback));
$response->setStatus(Http::STATUS_OK);

Expand Down
5 changes: 2 additions & 3 deletions apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;
use Symfony\Component\HttpFoundation\HeaderUtils;
use Symfony\Component\String\UnicodeString;

class AppleProvisioningPlugin extends ServerPlugin {
/**
Expand Down Expand Up @@ -126,9 +127,7 @@ public function httpGet(RequestInterface $request, ResponseInterface $response):

$response->setStatus(Http::STATUS_OK);
$sanitized = str_replace(['/', '\\'], '-', $filename);
$fallback = @iconv('UTF-8', 'ASCII//TRANSLIT', $sanitized) ?: $sanitized;
$fallback = preg_replace('/[^\x20-\x7e]/', '', $fallback);
$fallback = str_replace('%', '', $fallback);
$fallback = str_replace('%', '', (new UnicodeString($sanitized))->ascii()->toString());
$response->setHeader('Content-Disposition', HeaderUtils::makeDisposition(HeaderUtils::DISPOSITION_ATTACHMENT, $sanitized, $fallback));
$response->setHeader('Content-Type', 'application/xml; charset=utf-8');
$response->setBody($body);
Expand Down
4 changes: 2 additions & 2 deletions apps/files/l10n/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ OC.L10N.register(
"Submitting fields …" : "Enviando campos …",
"Submit" : "Enviar",
"Choose a file or folder to transfer" : "Elegir un archivo o carpeta para transferir",
"Transfer \"{path}\"" : "Transferir a \"{path}\"",
"Select file or folder" : "Selecciona un archivo o una carpeta",
"Transfer \"{path}\"" : "Transferir \"{path}\"",
"Select file or folder" : "Seleccionar un archivo o una carpeta",
"Transfer" : "Transferir",
"Transfer {path} to {userid}" : "Transferir {path} a {userid}",
"Error while opening file picker for transfer ownership" : "Se ha producido un error al abrir el selector de archivos para transferir la propiedad",
Expand Down
4 changes: 2 additions & 2 deletions apps/files/l10n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@
"Submitting fields …" : "Enviando campos …",
"Submit" : "Enviar",
"Choose a file or folder to transfer" : "Elegir un archivo o carpeta para transferir",
"Transfer \"{path}\"" : "Transferir a \"{path}\"",
"Select file or folder" : "Selecciona un archivo o una carpeta",
"Transfer \"{path}\"" : "Transferir \"{path}\"",
"Select file or folder" : "Seleccionar un archivo o una carpeta",
"Transfer" : "Transferir",
"Transfer {path} to {userid}" : "Transferir {path} a {userid}",
"Error while opening file picker for transfer ownership" : "Se ha producido un error al abrir el selector de archivos para transferir la propiedad",
Expand Down
20 changes: 10 additions & 10 deletions apps/files_external/l10n/lt_LT.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ OC.L10N.register(
"Invalid mount point" : "Neteisingas prijungimo taškas",
"Objectstore forbidden" : "Objektų saugykla yra neprieinama",
"Invalid storage backend \"%s\"" : "Neteisinga saugyklos „%s“ posistemė",
"Not permitted to use backend \"%s\"" : "Neleidžiama naudoti vidinės pusės „%s“",
"Not permitted to use backend \"%s\"" : "Neleidžiama naudoti posistemės „%s“",
"Not permitted to use authentication mechanism \"%s\"" : "Neleidžiama naudoti tapatybės nustatymo mechanizmo „%s“",
"Unsatisfied backend parameters" : " Netinkami posistemės parametrai",
"Unsatisfied authentication mechanism parameters" : "Netinkami parametrai perduoti į prisijungimo mechanizmą",
Expand All @@ -24,7 +24,7 @@ OC.L10N.register(
"Login" : "Prisijungti",
"Password" : "Slaptažodis",
"Tenant name" : "Laikino valdytojo vardas",
"Identity endpoint URL" : "Identiteto URL",
"Identity endpoint URL" : "Tapatybės galutinio taško URL",
"OpenStack v3" : "OpenStack v3",
"Domain" : "Domenas",
"Rackspace" : "Rackspace",
Expand All @@ -46,7 +46,7 @@ OC.L10N.register(
"Bucket" : "Amazon S3 saugykla",
"Hostname" : "Domeno vardas",
"Port" : "Prievadas",
"Proxy" : "Įgaliotasis serveris",
"Proxy" : "Tarpinis serveris",
"Region" : "Regionas",
"Storage Class" : "Saugyklos klasė",
"Use HTTPS" : "Naudoti HTTPS",
Expand All @@ -66,7 +66,7 @@ OC.L10N.register(
"Location" : "Vieta",
"Nextcloud (WebDAV)" : "Nextcloud (WebDAV)",
"SFTP (SSH file transfer)" : "SFTP (failų persiuntimas per SSH)",
"Root" : "Šaknis",
"Root" : "Šakninis",
"SFTP with public key authentication" : "SFTP su viešojo rakto autentifikavimu",
"SMB / CIFS (Windows network share)" : "SMB / CIFS (Windows tinklo bendrinimas)",
"Share" : "Bendrinti",
Expand All @@ -88,9 +88,9 @@ OC.L10N.register(
"Edit storage" : "Redaguoti saugyklą",
"Add storage" : "Pridėti saugyklą",
"Folder name" : "Aplanko pavadinimas",
"Authentication" : "Prisijungimas",
"Authentication" : "Autentifikavimas",
"Cancel" : "Atsisakyti",
"Edit" : "Taisyti",
"Edit" : "Redaguoti",
"Create" : "Sukurti",
"Restrict to" : "Apsiriboti",
"Storage configuration" : "Saugyklos konfigūracija",
Expand Down Expand Up @@ -138,7 +138,7 @@ OC.L10N.register(
"Global credentials saved" : "Globalūs prisijungimo duomenys išsaugoti",
"Could not save global credentials" : "Nepavyko išsaugoti globalių prisijungimo duomenų",
"Global credentials can be used to authenticate with multiple external storages that have the same credentials." : "Globalūs prisijungimo duomenys gali būti naudojami autentifikavimui naudojant kelias išorines saugyklas, turinčias tuos pačius prisijungimo duomenis.",
"Saving …" : "Įrašoma…",
"Saving …" : "Įrašoma …",
"Save" : "Įrašyti",
"Unable to update this external storage config. {statusMessage}" : "Nepavyko atnaujinti šios išorinės saugyklos konfigūracijos. {statusMessage}",
"New configuration successfully saved" : "Nauja konfigūracija sėkmingai įrašyta",
Expand All @@ -160,7 +160,7 @@ OC.L10N.register(
"No external storage" : "Nėra išorinės atminties",
"Storage type" : "Saugyklos tipas",
"Unknown" : "Nežinoma",
"Scope" : "Leidimas",
"Scope" : "Apimtis",
"Personal" : "Asmeniniai",
"System" : "Sistema",
"Connected" : "Prisijungta",
Expand All @@ -176,10 +176,10 @@ OC.L10N.register(
"Secret key" : "Slaptasis raktas",
"OAuth2" : "OAuth2",
"Client ID" : "Kliento ID",
"Client secret" : "Trečiųjų šalių programinės įrangos kliento identifikacijos raktas",
"Client secret" : "Kliento paslaptis",
"S3 Storage" : "S3 saugykla",
"Enable SSL" : "Įjungti SSL",
"Enable Path Style" : "Amazon S3 kelias",
"Enable Path Style" : "Įgalinti kelio stilių",
"Legacy (v2) authentication" : "\"Legacy\" (v2) autentifikacija",
"FTP" : "FTP",
"Local" : "Vietinis",
Expand Down
Loading