mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
FEATURE: upload backups
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user