FEATURE: upload backups

This commit is contained in:
Régis Hanol
2014-02-22 01:41:01 +01:00
parent 23066edbe1
commit 68a935c36b
16 changed files with 1093 additions and 25 deletions
+5
View File
@@ -1341,6 +1341,11 @@ en:
columns:
filename: "Filename"
size: "Size"
upload:
text: "UPLOAD"
uploading: "UPLOADING"
success: "'{{filename}}' has successfully been uploaded."
error: "There has been an error ({{message}}) while uploading '{{filename}}'"
operations:
is_running: "An operation is currently running..."
failed: "The {{operation}} failed. Please check the logs."
+2
View File
@@ -121,6 +121,8 @@ Discourse::Application.routes.draw do
get "cancel" => "backups#cancel"
get "rollback" => "backups#rollback"
put "readonly" => "backups#readonly"
get "upload" => "backups#check_chunk"
post "upload" => "backups#upload_chunk"
end
end