diff --git a/customize.dist/translations/messages.es.js b/customize.dist/translations/messages.es.js
index d2359c44b..40efab91e 100644
--- a/customize.dist/translations/messages.es.js
+++ b/customize.dist/translations/messages.es.js
@@ -411,8 +411,10 @@ define(function () {
out.upgradeTitle = "Mejora tu cuenta para obtener más espacio";
out.MB = "MB";
out.GB = "GB";
+ out.KB = "KB";
out.formattedMB = "{0} MB";
out.formattedGB = "{0} GB";
+ out.formattedKB = "{0} KB";
out.pinLimitReached = "Has llegado al limite de espacio";
out.pinLimitReachedAlert = "Has llegado al limite de espacio. Nuevos pads no serán movidos a tu CryptDrive.
Para resolver este problema, puedes quitar pads de tu CryptDrive (incluso en la papelera) o mejorar tu cuenta para obtener más espacio.";
diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js
index 5dfd383b0..4ef512615 100644
--- a/customize.dist/translations/messages.fr.js
+++ b/customize.dist/translations/messages.fr.js
@@ -62,8 +62,11 @@ define(function () {
out.upgradeTitle = "Améliorer votre compte pour augmenter la limite de stockage";
out.MB = "Mo";
out.GB = "Go";
+ out.KB = "Ko";
+
out.formattedMB = "{0} Mo";
out.formattedGB = "{0} Go";
+ out.formattedKB = "{0} Ko";
out.greenLight = "Tout fonctionne bien";
out.orangeLight = "Votre connexion est lente, ce qui réduit la qualité de l'éditeur";
@@ -351,6 +354,21 @@ define(function () {
out.settings_logoutEverywhere = "Se déconnecter de toutes les autres sessions.";
out.settings_logoutEverywhereConfirm = "Êtes-vous sûr ? Vous devrez vous reconnecter sur tous vos autres appareils.";
+ out.upload_serverError = "Erreur interne: impossible d'uploader le fichier pour l'instant.";
+ out.upload_uploadPending = "Vous avez déjà un fichier en cours d'upload. Souhaitez-vous l'annuler et uploader ce nouveau fichier ?";
+ out.upload_success = "Votre fichier ({0}) a été uploadé avec succès et ajouté à votre CryptDrive.";
+ out.upload_notEnoughSpace = "Il n'y a pas assez d'espace libre dans votre CryptDrive pour ce fichier.";
+ out.upload_tooLarge = "Ce fichier dépasse la taille maximale autorisée.";
+ out.upload_choose = "Choisir un fichier";
+ out.upload_pending = "En attente";
+ out.upload_cancelled = "Annulé";
+ out.upload_name = "Nom du fichier";
+ out.upload_size = "Taille";
+ out.upload_progress = "État";
+
+ // general warnings
+ out.warn_notPinned = "Ce pad n'est stocké dans aucun CryptDrive. Il va expirer après 3 mois d'inactivité. En savoir plus...";
+
// index.html
//about.html
diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js
index 6cbff3d7f..4643afb55 100644
--- a/customize.dist/translations/messages.js
+++ b/customize.dist/translations/messages.js
@@ -64,9 +64,11 @@ define(function () {
out.upgradeTitle = "Upgrade your account to increase the storage limit";
out.MB = "MB";
out.GB = "GB";
+ out.KB = "KB";
out.formattedMB = "{0} MB";
out.formattedGB = "{0} GB";
+ out.formattedKB = "{0} KB";
out.greenLight = "Everything is working fine";
out.orangeLight = "Your slow connection may impact your experience";
@@ -240,8 +242,6 @@ define(function () {
out.fm_info_template = 'Contains all the pads stored as templates and that you can re-use when you create a new pad.';
out.fm_info_trash = 'Files deleted from the trash are also removed from "All files" and it is impossible to recover them from the file manager.'; // Same here for "All files" and "out.fm_filesDataName"
out.fm_info_allFiles = 'Contains all the files from "Documents", "Unsorted" and "Trash". You can\'t move or remove files from here.'; // Same here
- out.fm_info_login = "Log in";
- out.fm_info_register = "Sign up";
out.fm_info_anonymous = 'You are not logged in so these pads may be deleted (find out why). ' +
'Sign up or Log in to keep them alive.';
out.fm_alert_backupUrl = "Backup link for this drive.
" +
@@ -364,6 +364,12 @@ define(function () {
out.upload_success = "Your file ({0}) has been successfully uploaded and added to your drive.";
out.upload_notEnoughSpace = "There is not enough space for this file in your CryptDrive.";
out.upload_tooLarge = "This file exceeds the maximum upload size.";
+ out.upload_choose = "Choose a file";
+ out.upload_pending = "Pending";
+ out.upload_cancelled = "Cancelled";
+ out.upload_name = "File name";
+ out.upload_size = "Size";
+ out.upload_progress = "Progress";
// general warnings
out.warn_notPinned = "This pad is not in anyone's CryptDrive. It will expire after 3 months. Learn more...";
diff --git a/rpc.js b/rpc.js
index e7d3c1627..a155c8272 100644
--- a/rpc.js
+++ b/rpc.js
@@ -13,7 +13,7 @@ var RPC = module.exports;
var Store = require("./storage/file");
-var DEFAULT_LIMIT = 50 * 1024 * 1024;
+var DEFAULT_LIMIT = 150 * 1024 * 1024;
var isValidId = function (chan) {
return /^[a-fA-F0-9]/.test(chan) ||
diff --git a/www/file/file.css b/www/file/file.css
index 08c95f730..375a356cc 100644
--- a/www/file/file.css
+++ b/www/file/file.css
@@ -68,3 +68,42 @@ body {
z-index: 10000;
display: block;
}
+#status {
+ display: none;
+ width: 80vw;
+ margin-top: 50px;
+ margin-left: 10vw;
+ border: 1px solid black;
+ border-collapse: collapse;
+}
+#status tr:nth-child(1) {
+ background-color: #ccc;
+ border: 1px solid #999;
+}
+#status tr:nth-child(1) td {
+ text-align: center;
+}
+#status td {
+ border-left: 1px solid #BBB;
+ border-right: 1px solid #BBB;
+ padding: 0 10px;
+}
+#status .upProgress {
+ width: 200px;
+ position: relative;
+ text-align: center;
+}
+#status .progressContainer {
+ position: absolute;
+ width: 0px;
+ left: 5px;
+ top: 1px;
+ bottom: 1px;
+ background-color: rgba(0, 0, 255, 0.3);
+}
+#status .upCancel {
+ text-align: center;
+}
+#status .fa.cancel {
+ color: #ff0073;
+}
diff --git a/www/file/file.less b/www/file/file.less
index 69432a539..b3074e33c 100644
--- a/www/file/file.less
+++ b/www/file/file.less
@@ -80,3 +80,38 @@ html, body {
display: block;
}
+#status {
+ display: none;
+ width: 80vw;
+ margin-top: 50px;
+ margin-left: 10vw;
+ border: 1px solid black;
+ border-collapse: collapse;
+ tr:nth-child(1) {
+ background-color: #ccc;
+ border: 1px solid #999;
+ td { text-align: center; }
+ }
+ td {
+ border-left: 1px solid #BBB;
+ border-right: 1px solid #BBB;
+ padding: 0 10px;
+ }
+ .upProgress {
+ width: 200px;
+ position: relative;
+ text-align: center;
+ }
+ .progressContainer {
+ position: absolute;
+ width: 0px;
+ left: 5px;
+ top: 1px; bottom: 1px;
+ background-color: rgba(0,0,255,0.3);
+ }
+ .upCancel { text-align: center; }
+ .fa.cancel {
+ color: rgb(255, 0, 115);
+ }
+}
+
diff --git a/www/file/inner.html b/www/file/inner.html
index 727e11498..c6fe5fb32 100644
--- a/www/file/inner.html
+++ b/www/file/inner.html
@@ -11,8 +11,16 @@
File name | +Size | +Progress | +Cancel | +