feature(cloudcmd) remove --progress option, make always enabled

This commit is contained in:
coderaiser 2019-08-21 21:44:39 +03:00
parent e0df785ece
commit 6e4bedca2d
7 changed files with 1 additions and 18 deletions

View file

@ -82,7 +82,6 @@ Cloud Commander supports the following command-line parameters:
| `--prefix` | set url prefix
| `--prefix-socket` | set prefix for url connection
| `--port` | set port number
| `--progress` | show progress of file operations
| `--confirm-copy` | confirm copy
| `--confirm-move` | confirm move
| `--open` | open web browser when server starts
@ -117,7 +116,6 @@ Cloud Commander supports the following command-line parameters:
| `--no-name` | set default tab name in web browser
| `--no-keys-panel` | hide keys panel
| `--no-one-file-panel` | show two file panels
| `--no-progress` | do not show progress of file operations
| `--no-confirm-copy` | do not confirm copy
| `--no-confirm-move` | do not confirm move
| `--no-config-dialog` | disable config dialog
@ -398,7 +396,6 @@ Here's a description of all options:
"root" : "/", // root directory
"prefix" : "", // url prefix
"prefixSocket" : "", // prefix for socket connection
"progress" : true, // show progress of file operations
"confirmCopy" : true, // confirm copy
"confirmMove" : true, // confirm move
"showConfig" : false, // show config at startup

View file

@ -59,7 +59,6 @@ const args = require('minimist')(argv.slice(2), {
'server',
'online',
'open',
'progress',
'config-dialog',
'config-auth',
'console',
@ -94,7 +93,6 @@ const args = require('minimist')(argv.slice(2), {
'username' : env('username') || config('username'),
'root' : choose(env('root'), config('root')),
'prefix' : config('prefix'),
'progress' : config('progress'),
'console' : choose(env.bool('console'), config('console')),
'contact' : choose(env.bool('contact'), config('contact')),
'terminal' : choose(env.bool('terminal'), config('terminal')),
@ -159,7 +157,6 @@ function main() {
config('online', args.online);
config('open', args.open);
config('username', args.username);
config('progress', args.progress);
config('console', args.console);
config('syncConsolePath', args['sync-console-path']);
config('showFileName', args['show-file-name']);

View file

@ -62,7 +62,7 @@ module.exports.init = promisify((callback) => {
exec.series([
DOM.loadSocket,
async (callback) => {
if (!config('progress') || config('dropbox'))
if (config('dropbox'))
return callback();
const {

View file

@ -18,7 +18,6 @@
"root": "/",
"prefix": "",
"prefixSocket": "",
"progress": true,
"contact": true,
"confirmCopy": true,
"confirmMove": true,

View file

@ -15,7 +15,6 @@
"--prefix ": "set url prefix",
"--prefix-socket ": "set prefix for socket connection",
"--port ": "set port number",
"--progress ": "show progress of file operations",
"--confirm-copy ": "confirm copy",
"--confirm-move ": "confirm move",
"--open ": "open web browser when server started",
@ -51,7 +50,6 @@
"--no-one-file-panel ": "show two file panels",
"--no-keys-panel ": "hide keys panel",
"--no-one-file-panel ": "show two file panels",
"--no-progress ": "do not show progress of file operations",
"--no-confirm-copy ": "do not confirm copy",
"--no-confirm-move ": "do not confirm move",
"--no-config-dialog ": "disable config dialog",

View file

@ -38,7 +38,6 @@ programs in browser from any computer, mobile or tablet device.
--prefix set url prefix
--prefix-socket set prefix for socket connection
--port set port number
--progress show progress of file operations
--confirm-copy confirm copy
--confirm-move confirm move
--open open web browser when server started
@ -73,7 +72,6 @@ programs in browser from any computer, mobile or tablet device.
--no-name set default tab name in web browser
--no-one-file-panel show two file panels
--no-keys-panel hide keys panel
--no-progress do not show progress of file operations
--no-confirm-copy do not confirm copy
--no-confirm-move do not confirm move
--no-contact disable contact

View file

@ -146,12 +146,6 @@
<input data-name="js-confirmMove" type="checkbox" {{ confirmMove }}>
Confirm Move
</label>
</li>
<li>
<label>
<input data-name="js-progress" type="checkbox" {{ progress }}>
Progress
</label>
</li>
<li>
<label>