Skip to content
Snippets Groups Projects
Commit 4b804668 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge branch 'master' into master-sqlserver

Conflicts:
	lib/db.php
	lib/files/cache/cache.php
	lib/files/cache/legacy.php
	lib/setup.php
parents 78a3625d 9058d398
No related branches found
No related tags found
No related merge requests found
Showing
with 55 additions and 14 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
var prefix, var prefix,
property, property,
// In Opera, `'onfocusin' in document == true`, hence the extra `hasFocus` check to detect IE-like behavior // In Opera, `'onfocusin' in document == true`, hence the extra `hasFocus` check to detect IE-like behavior
eventName = 'onfocusin' in document && 'hasFocus' in document ? 'focusin focusout' : 'focus blur', eventName = 'onfocusin' in document && 'hasFocus' in document ? 'focusin focusout' : 'focus blur',
prefixes = ['', 'moz', 'ms', 'o', 'webkit'], prefixes = ['', 'moz', 'ms', 'o', 'webkit'],
$support = $.support, $support = $.support,
...@@ -19,12 +19,11 @@ ...@@ -19,12 +19,11 @@
$(/blur$/.test(eventName) ? window : document).on(eventName, function (event) { $(/blur$/.test(eventName) ? window : document).on(eventName, function (event) {
var type = event.type, var type = event.type,
originalEvent = event.originalEvent, originalEvent = event.originalEvent;
toElement = originalEvent.toElement; // If it’s a `{focusin,focusout}` event (IE), `fromElement` and `toElement` should both be `null` or `undefined`;
// If it’s a `{focusin,focusout}` event (IE), `fromElement` and `toElement` should both be `null` or `undefined`; // else, the page visibility hasn’t changed, but the user just clicked somewhere in the doc.
// else, the page visibility hasn’t changed, but the user just clicked somewhere in the doc. // In IE9, we need to check the `relatedTarget` property instead.
// In IE9, we need to check the `relatedTarget` property instead. if (!/^focus./.test(type) || originalEvent == undefined || (originalEvent.toElement == undefined && originalEvent.fromElement == undefined && originalEvent.relatedTarget == undefined)) {
if (!/^focus./.test(type) || (toElement == undefined && originalEvent.fromElement == undefined && originalEvent.relatedTarget == undefined)) {
$event.trigger((property && document[property] || /^(?:blur|focusout)$/.test(type) ? 'hide' : 'show') + '.visibility'); $event.trigger((property && document[property] || /^(?:blur|focusout)$/.test(type) ? 'hide' : 'show') + '.visibility');
} }
}); });
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"Not enough storage available" => "Nicht genug Speicherplatz verfügbar", "Not enough storage available" => "Nicht genug Speicherplatz verfügbar",
"Invalid directory." => "Ungültiges Verzeichnis.", "Invalid directory." => "Ungültiges Verzeichnis.",
"Files" => "Dateien", "Files" => "Dateien",
"Delete permanently" => "Permanent löschen",
"Delete" => "Löschen", "Delete" => "Löschen",
"Rename" => "Umbenennen", "Rename" => "Umbenennen",
"Pending" => "Ausstehend", "Pending" => "Ausstehend",
...@@ -59,6 +60,7 @@ ...@@ -59,6 +60,7 @@
"Text file" => "Textdatei", "Text file" => "Textdatei",
"Folder" => "Ordner", "Folder" => "Ordner",
"From link" => "Von einem Link", "From link" => "Von einem Link",
"Trash bin" => "Mülleimer",
"Cancel upload" => "Upload abbrechen", "Cancel upload" => "Upload abbrechen",
"Nothing in here. Upload something!" => "Alles leer. Lade etwas hoch!", "Nothing in here. Upload something!" => "Alles leer. Lade etwas hoch!",
"Download" => "Herunterladen", "Download" => "Herunterladen",
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
"Text file" => "Textdatei", "Text file" => "Textdatei",
"Folder" => "Ordner", "Folder" => "Ordner",
"From link" => "Von einem Link", "From link" => "Von einem Link",
"Trash bin" => "Mülleimer",
"Cancel upload" => "Upload abbrechen", "Cancel upload" => "Upload abbrechen",
"Nothing in here. Upload something!" => "Alles leer. Bitte laden Sie etwas hoch!", "Nothing in here. Upload something!" => "Alles leer. Bitte laden Sie etwas hoch!",
"Download" => "Herunterladen", "Download" => "Herunterladen",
......
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Could not move %s" => "%s liigutamine ebaõnnestus",
"Unable to rename file" => "Faili ümbernimetamine ebaõnnestus",
"No file was uploaded. Unknown error" => "Ühtegi faili ei laetud üles. Tundmatu viga", "No file was uploaded. Unknown error" => "Ühtegi faili ei laetud üles. Tundmatu viga",
"There is no error, the file uploaded with success" => "Ühtegi viga pole, fail on üles laetud", "There is no error, the file uploaded with success" => "Ühtegi viga pole, fail on üles laetud",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Üles laetud faili suurus ületab HTML vormis määratud upload_max_filesize suuruse", "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "Üles laetud faili suurus ületab HTML vormis määratud upload_max_filesize suuruse",
...@@ -6,7 +8,10 @@ ...@@ -6,7 +8,10 @@
"No file was uploaded" => "Ühtegi faili ei laetud üles", "No file was uploaded" => "Ühtegi faili ei laetud üles",
"Missing a temporary folder" => "Ajutiste failide kaust puudub", "Missing a temporary folder" => "Ajutiste failide kaust puudub",
"Failed to write to disk" => "Kettale kirjutamine ebaõnnestus", "Failed to write to disk" => "Kettale kirjutamine ebaõnnestus",
"Not enough storage available" => "Saadaval pole piisavalt ruumi",
"Invalid directory." => "Vigane kaust.",
"Files" => "Failid", "Files" => "Failid",
"Delete permanently" => "Kustuta jäädavalt",
"Delete" => "Kustuta", "Delete" => "Kustuta",
"Rename" => "ümber", "Rename" => "ümber",
"Pending" => "Ootel", "Pending" => "Ootel",
...@@ -17,6 +22,8 @@ ...@@ -17,6 +22,8 @@
"replaced {new_name}" => "asendatud nimega {new_name}", "replaced {new_name}" => "asendatud nimega {new_name}",
"undo" => "tagasi", "undo" => "tagasi",
"replaced {new_name} with {old_name}" => "asendas nime {old_name} nimega {new_name}", "replaced {new_name} with {old_name}" => "asendas nime {old_name} nimega {new_name}",
"'.' is an invalid file name." => "'.' on vigane failinimi.",
"File name cannot be empty." => "Faili nimi ei saa olla tühi.",
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Vigane nimi, '\\', '/', '<', '>', ':', '\"', '|', '?' ja '*' pole lubatud.", "Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Vigane nimi, '\\', '/', '<', '>', ':', '\"', '|', '?' ja '*' pole lubatud.",
"Unable to upload your file as it is a directory or has 0 bytes" => "Sinu faili üleslaadimine ebaõnnestus, kuna see on kaust või selle suurus on 0 baiti", "Unable to upload your file as it is a directory or has 0 bytes" => "Sinu faili üleslaadimine ebaõnnestus, kuna see on kaust või selle suurus on 0 baiti",
"Upload Error" => "Üleslaadimise viga", "Upload Error" => "Üleslaadimise viga",
...@@ -46,6 +53,7 @@ ...@@ -46,6 +53,7 @@
"Text file" => "Tekstifail", "Text file" => "Tekstifail",
"Folder" => "Kaust", "Folder" => "Kaust",
"From link" => "Allikast", "From link" => "Allikast",
"Trash bin" => "Prügikast",
"Cancel upload" => "Tühista üleslaadimine", "Cancel upload" => "Tühista üleslaadimine",
"Nothing in here. Upload something!" => "Siin pole midagi. Lae midagi üles!", "Nothing in here. Upload something!" => "Siin pole midagi. Lae midagi üles!",
"Download" => "Lae alla", "Download" => "Lae alla",
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"Not enough storage available" => "Ez dago behar aina leku erabilgarri,", "Not enough storage available" => "Ez dago behar aina leku erabilgarri,",
"Invalid directory." => "Baliogabeko karpeta.", "Invalid directory." => "Baliogabeko karpeta.",
"Files" => "Fitxategiak", "Files" => "Fitxategiak",
"Delete permanently" => "Ezabatu betirako",
"Delete" => "Ezabatu", "Delete" => "Ezabatu",
"Rename" => "Berrizendatu", "Rename" => "Berrizendatu",
"Pending" => "Zain", "Pending" => "Zain",
...@@ -23,6 +24,7 @@ ...@@ -23,6 +24,7 @@
"replaced {new_name}" => "ordezkatua {new_name}", "replaced {new_name}" => "ordezkatua {new_name}",
"undo" => "desegin", "undo" => "desegin",
"replaced {new_name} with {old_name}" => " {new_name}-k {old_name} ordezkatu du", "replaced {new_name} with {old_name}" => " {new_name}-k {old_name} ordezkatu du",
"perform delete operation" => "Ezabatu",
"'.' is an invalid file name." => "'.' ez da fitxategi izen baliogarria.", "'.' is an invalid file name." => "'.' ez da fitxategi izen baliogarria.",
"File name cannot be empty." => "Fitxategi izena ezin da hutsa izan.", "File name cannot be empty." => "Fitxategi izena ezin da hutsa izan.",
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "IZen aliogabea, '\\', '/', '<', '>', ':', '\"', '|', '?' eta '*' ez daude baimenduta.", "Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "IZen aliogabea, '\\', '/', '<', '>', ':', '\"', '|', '?' eta '*' ez daude baimenduta.",
...@@ -58,6 +60,7 @@ ...@@ -58,6 +60,7 @@
"Text file" => "Testu fitxategia", "Text file" => "Testu fitxategia",
"Folder" => "Karpeta", "Folder" => "Karpeta",
"From link" => "Estekatik", "From link" => "Estekatik",
"Trash bin" => "Zakarrontzia",
"Cancel upload" => "Ezeztatu igoera", "Cancel upload" => "Ezeztatu igoera",
"Nothing in here. Upload something!" => "Ez dago ezer. Igo zerbait!", "Nothing in here. Upload something!" => "Ez dago ezer. Igo zerbait!",
"Download" => "Deskargatu", "Download" => "Deskargatu",
...@@ -65,5 +68,6 @@ ...@@ -65,5 +68,6 @@
"Upload too large" => "Igotakoa handiegia da", "Upload too large" => "Igotakoa handiegia da",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "Igotzen saiatzen ari zaren fitxategiak zerbitzari honek igotzeko onartzen duena baino handiagoak dira.", "The files you are trying to upload exceed the maximum size for file uploads on this server." => "Igotzen saiatzen ari zaren fitxategiak zerbitzari honek igotzeko onartzen duena baino handiagoak dira.",
"Files are being scanned, please wait." => "Fitxategiak eskaneatzen ari da, itxoin mezedez.", "Files are being scanned, please wait." => "Fitxategiak eskaneatzen ari da, itxoin mezedez.",
"Current scanning" => "Orain eskaneatzen ari da" "Current scanning" => "Orain eskaneatzen ari da",
"Upgrading filesystem cache..." => "Fitxategi sistemaren katxea eguneratzen..."
); );
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"Not enough storage available" => "Nincs elég szabad hely.", "Not enough storage available" => "Nincs elég szabad hely.",
"Invalid directory." => "Érvénytelen mappa.", "Invalid directory." => "Érvénytelen mappa.",
"Files" => "Fájlok", "Files" => "Fájlok",
"Delete permanently" => "Végleges törlés",
"Delete" => "Törlés", "Delete" => "Törlés",
"Rename" => "Átnevezés", "Rename" => "Átnevezés",
"Pending" => "Folyamatban", "Pending" => "Folyamatban",
...@@ -23,6 +24,7 @@ ...@@ -23,6 +24,7 @@
"replaced {new_name}" => "a(z) {new_name} állományt kicseréltük", "replaced {new_name}" => "a(z) {new_name} állományt kicseréltük",
"undo" => "visszavonás", "undo" => "visszavonás",
"replaced {new_name} with {old_name}" => "{new_name} fájlt kicseréltük ezzel: {old_name}", "replaced {new_name} with {old_name}" => "{new_name} fájlt kicseréltük ezzel: {old_name}",
"perform delete operation" => "a törlés végrehajtása",
"'.' is an invalid file name." => "'.' fájlnév érvénytelen.", "'.' is an invalid file name." => "'.' fájlnév érvénytelen.",
"File name cannot be empty." => "A fájlnév nem lehet semmi.", "File name cannot be empty." => "A fájlnév nem lehet semmi.",
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Érvénytelen elnevezés. Ezek a karakterek nem használhatók: '\\', '/', '<', '>', ':', '\"', '|', '?' és '*'", "Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "Érvénytelen elnevezés. Ezek a karakterek nem használhatók: '\\', '/', '<', '>', ':', '\"', '|', '?' és '*'",
...@@ -58,6 +60,7 @@ ...@@ -58,6 +60,7 @@
"Text file" => "Szövegfájl", "Text file" => "Szövegfájl",
"Folder" => "Mappa", "Folder" => "Mappa",
"From link" => "Feltöltés linkről", "From link" => "Feltöltés linkről",
"Trash bin" => "Szemetes mappa",
"Cancel upload" => "A feltöltés megszakítása", "Cancel upload" => "A feltöltés megszakítása",
"Nothing in here. Upload something!" => "Itt nincs semmi. Töltsön fel valamit!", "Nothing in here. Upload something!" => "Itt nincs semmi. Töltsön fel valamit!",
"Download" => "Letöltés", "Download" => "Letöltés",
...@@ -65,5 +68,6 @@ ...@@ -65,5 +68,6 @@
"Upload too large" => "A feltöltés túl nagy", "Upload too large" => "A feltöltés túl nagy",
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "A feltöltendő állományok mérete meghaladja a kiszolgálón megengedett maximális méretet.", "The files you are trying to upload exceed the maximum size for file uploads on this server." => "A feltöltendő állományok mérete meghaladja a kiszolgálón megengedett maximális méretet.",
"Files are being scanned, please wait." => "A fájllista ellenőrzése zajlik, kis türelmet!", "Files are being scanned, please wait." => "A fájllista ellenőrzése zajlik, kis türelmet!",
"Current scanning" => "Ellenőrzés alatt" "Current scanning" => "Ellenőrzés alatt",
"Upgrading filesystem cache..." => "A fájlrendszer gyorsítótárának frissítése zajlik..."
); );
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
"Text file" => "テキストファイル", "Text file" => "テキストファイル",
"Folder" => "フォルダ", "Folder" => "フォルダ",
"From link" => "リンク", "From link" => "リンク",
"Trash bin" => "ゴミ箱",
"Cancel upload" => "アップロードをキャンセル", "Cancel upload" => "アップロードをキャンセル",
"Nothing in here. Upload something!" => "ここには何もありません。何かアップロードしてください。", "Nothing in here. Upload something!" => "ここには何もありません。何かアップロードしてください。",
"Download" => "ダウンロード", "Download" => "ダウンロード",
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
"Text file" => "Tập tin văn bản", "Text file" => "Tập tin văn bản",
"Folder" => "Thư mục", "Folder" => "Thư mục",
"From link" => "Từ liên kết", "From link" => "Từ liên kết",
"Trash bin" => "Thùng rác",
"Cancel upload" => "Hủy upload", "Cancel upload" => "Hủy upload",
"Nothing in here. Upload something!" => "Không có gì ở đây .Hãy tải lên một cái gì đó !", "Nothing in here. Upload something!" => "Không có gì ở đây .Hãy tải lên một cái gì đó !",
"Download" => "Tải xuống", "Download" => "Tải xuống",
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</div> </div>
<?php if ($_['trash'] ): ?> <?php if ($_['trash'] ): ?>
<div id="trash" class="button"> <div id="trash" class="button">
<a><?php echo $l->t('Trash bin');?></a> <a><?php echo $l->t('Deleted files');?></a>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div id="uploadprogresswrapper"> <div id="uploadprogresswrapper">
......
<?php if(count($_["breadcrumb"])):?> <?php if(count($_["breadcrumb"])):?>
<div class="crumb"> <div class="crumb">
<a href="<?php echo $_['baseURL']; ?>"> <a href="<?php echo $_['baseURL']; ?>">
<img src="<?php echo OCP\image_path('core','places/home.svg');?>" class="svg" /> <img src="<?php echo OCP\image_path('core', 'places/home.svg');?>" class="svg" />
</a> </a>
</div> </div>
<?php endif;?> <?php endif;?>
......
...@@ -12,7 +12,7 @@ OC_FileProxy::register( new OCA\Encryption\Proxy() ); ...@@ -12,7 +12,7 @@ OC_FileProxy::register( new OCA\Encryption\Proxy() );
// User-related hooks // User-related hooks
OCP\Util::connectHook( 'OC_User', 'post_login', 'OCA\Encryption\Hooks', 'login' ); OCP\Util::connectHook( 'OC_User', 'post_login', 'OCA\Encryption\Hooks', 'login' );
OCP\Util::connectHook( 'OC_User', 'pre_setPassword','OCA\Encryption\Hooks', 'setPassphrase' ); OCP\Util::connectHook( 'OC_User', 'pre_setPassword', 'OCA\Encryption\Hooks', 'setPassphrase' );
// Sharing-related hooks // Sharing-related hooks
OCP\Util::connectHook( 'OCP\Share', 'post_shared', 'OCA\Encryption\Hooks', 'postShared' ); OCP\Util::connectHook( 'OCP\Share', 'post_shared', 'OCA\Encryption\Hooks', 'postShared' );
......
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Encryption" => "Verschlüsselung", "Encryption" => "Verschlüsselung",
"File encryption is enabled." => "Dateiverschlüsselung ist aktiviert",
"The following file types will not be encrypted:" => "Die folgenden Dateitypen werden nicht verschlüsselt:",
"Exclude the following file types from encryption:" => "Schließe die folgenden Dateitypen von der Verschlüsselung aus:",
"None" => "Keine" "None" => "Keine"
); );
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Encryption" => "Krüpteerimine", "Encryption" => "Krüpteerimine",
"File encryption is enabled." => "Faili krüpteerimine on sisse lülitatud.",
"The following file types will not be encrypted:" => "Järgnevaid failitüüpe ei krüpteerita:",
"Exclude the following file types from encryption:" => "Järgnevaid failitüüpe ei krüpteerita:",
"None" => "Pole" "None" => "Pole"
); );
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Encryption" => "Enkriptazioa", "Encryption" => "Enkriptazioa",
"File encryption is enabled." => "Fitxategien enkriptazioa gaituta dago.",
"The following file types will not be encrypted:" => "Hurrengo fitxategi motak ez dira enkriptatuko:",
"Exclude the following file types from encryption:" => "Baztertu hurrengo fitxategi motak enkriptatzetik:",
"None" => "Bat ere ez" "None" => "Bat ere ez"
); );
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Encryption" => "Titkosítás", "Encryption" => "Titkosítás",
"File encryption is enabled." => "Az állományok titkosítása be van kapcsolva.",
"The following file types will not be encrypted:" => "A következő fájltípusok nem kerülnek titkosításra:",
"Exclude the following file types from encryption:" => "Zárjuk ki a titkosításból a következő fájltípusokat:",
"None" => "Egyik sem" "None" => "Egyik sem"
); );
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Encryption" => "Szyfrowanie", "Encryption" => "Szyfrowanie",
"File encryption is enabled." => "Szyfrowanie plików jest włączone",
"The following file types will not be encrypted:" => "Poniższe typy plików nie będą szyfrowane:",
"Exclude the following file types from encryption:" => "Wyłącz poniższe typy plików z szyfrowania:",
"None" => "Brak" "None" => "Brak"
); );
<?php $TRANSLATIONS = array( <?php $TRANSLATIONS = array(
"Encryption" => "Criptografia", "Encryption" => "Criptografia",
"File encryption is enabled." => "A criptografia de arquivos está ativada.",
"The following file types will not be encrypted:" => "Os seguintes tipos de arquivo não serão criptografados:",
"Exclude the following file types from encryption:" => "Excluir os seguintes tipos de arquivo da criptografia:",
"None" => "Nenhuma" "None" => "Nenhuma"
); );
...@@ -692,4 +692,4 @@ class Crypt { ...@@ -692,4 +692,4 @@ class Crypt {
} }
} }
\ No newline at end of file
<?php <?php
OCP\JSON::checkAppEnabled('files_external'); OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::callCheck();
if ( ! ($filename = $_FILES['rootcert_import']['name']) ) { if ( ! ($filename = $_FILES['rootcert_import']['name']) ) {
header("Location: settings/personal.php"); header("Location: settings/personal.php");
...@@ -13,7 +14,7 @@ fclose($fh); ...@@ -13,7 +14,7 @@ fclose($fh);
$filename = $_FILES['rootcert_import']['name']; $filename = $_FILES['rootcert_import']['name'];
$view = new \OC\Files\View('/'.\OCP\User::getUser().'/files_external/uploads'); $view = new \OC\Files\View('/'.\OCP\User::getUser().'/files_external/uploads');
if (!$view->file_exists('')){ if (!$view->file_exists('')) {
$view->mkdir(''); $view->mkdir('');
} }
......
...@@ -4,6 +4,8 @@ require_once 'Dropbox/autoload.php'; ...@@ -4,6 +4,8 @@ require_once 'Dropbox/autoload.php';
OCP\JSON::checkAppEnabled('files_external'); OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::checkLoggedIn(); OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
if (isset($_POST['app_key']) && isset($_POST['app_secret'])) { if (isset($_POST['app_key']) && isset($_POST['app_secret'])) {
$oauth = new Dropbox_OAuth_Curl($_POST['app_key'], $_POST['app_secret']); $oauth = new Dropbox_OAuth_Curl($_POST['app_key'], $_POST['app_secret']);
if (isset($_POST['step'])) { if (isset($_POST['step'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment