cloudcmd 19.8.15 → 19.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ChangeLog CHANGED
@@ -1,3 +1,13 @@
1
+ 2026.03.23, v19.9.1
2
+
3
+ fix:
4
+ - 6e5318fa client: modules: config: input: quote
5
+
6
+ 2026.03.23, v19.9.0
7
+
8
+ feature:
9
+ - a1216cdd cloudcmd: add ability to hide port configuration
10
+
1
11
  2026.03.23, v19.8.15
2
12
 
3
13
  feature:
package/HELP.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v19.8.15
1
+ # Cloud Commander v19.9.1
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
@@ -88,6 +88,7 @@ Cloud Commander supports the following command-line parameters:
88
88
  | `--contact` | enable contact
89
89
  | `--config-dialog` | enable config dialog
90
90
  | `--config-auth` | enable auth change in config dialog
91
+ | `--config-port` | enable port change in config dialog
91
92
  | `--console` | enable console
92
93
  | `--sync-console-path` | sync console path
93
94
  | `--terminal` | enable terminal
@@ -118,6 +119,7 @@ Cloud Commander supports the following command-line parameters:
118
119
  | `--no-confirm-move` | do not confirm move
119
120
  | `--no-config-dialog` | disable config dialog
120
121
  | `--no-config-auth` | disable auth change in config dialog
122
+ | `--no-config-port` | disable port change in config dialog
121
123
  | `--no-console` | disable console
122
124
  | `--no-sync-console-path` | do not sync console path
123
125
  | `--no-contact` | disable contact
@@ -440,6 +442,7 @@ Some config options can be overridden with environment variables, such as:
440
442
  - `CLOUDCMD_CONTACT` - enable contact
441
443
  - `CLOUDCMD_CONFIG_DIALOG` - enable config dialog
442
444
  - `CLOUDCMD_CONFIG_AUTH` - enable auth change in config dialog
445
+ - `CLOUDCMD_CONFIG_PORT` - enable port change in config dialog
443
446
  - `CLOUDCMD_CONSOLE` - enable console
444
447
  - `CLOUDCMD_SYNC_CONSOLE_PATH` - sync console path
445
448
  - `CLOUDCMD_TERMINAL` - enable terminal
@@ -1111,6 +1114,8 @@ There are a lot of ways to be involved in `Cloud Commander` development:
1111
1114
 
1112
1115
  ## Version history
1113
1116
 
1117
+ - *2026.03.23*, **[v19.9.1](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.1)**
1118
+ - *2026.03.23*, **[v19.9.0](//github.com/coderaiser/cloudcmd/releases/tag/v19.9.0)**
1114
1119
  - *2026.03.23*, **[v19.8.15](//github.com/coderaiser/cloudcmd/releases/tag/v19.8.15)**
1115
1120
  - *2026.03.23*, **[v19.8.14](//github.com/coderaiser/cloudcmd/releases/tag/v19.8.14)**
1116
1121
  - *2026.03.23*, **[v19.8.13](//github.com/coderaiser/cloudcmd/releases/tag/v19.8.13)**
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cloud Commander v19.8.15 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
1
+ # Cloud Commander v19.9.1 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
2
2
 
3
3
  ### [Main][MainURL] [Blog][BlogURL] [Support][SupportURL] [Demo][DemoURL]
4
4
 
package/bin/cloudcmd.js CHANGED
@@ -78,6 +78,7 @@ const yargsOptions = {
78
78
  'open',
79
79
  'config-dialog',
80
80
  'config-auth',
81
+ 'config-port',
81
82
  'console',
82
83
  'sync-console-path',
83
84
  'contact',
@@ -132,6 +133,7 @@ const yargsOptions = {
132
133
  'sync-console-path': choose(env.bool('sync_console_path'), config('syncConsolePath')),
133
134
  'config-dialog': choose(env.bool('config_dialog'), config('configDialog')),
134
135
  'config-auth': choose(env.bool('config_auth'), config('configAuth')),
136
+ 'config-port': choose(env.bool('config_port'), config('configPort')),
135
137
  'terminal-path': env.parse('terminal_path') || config('terminalPath'),
136
138
  'terminal-command': env.parse('terminal_command') || config('terminalCommand'),
137
139
  'terminal-auto-restart': choose(env.bool('terminal_auto_restart'), config('terminalAutoRestart')),
@@ -214,6 +216,7 @@ async function main() {
214
216
  config('oneFilePanel', args.oneFilePanel);
215
217
  config('configDialog', args.configDialog);
216
218
  config('configAuth', args.configAuth);
219
+ config('configPort', args.configPort);
217
220
  config('keysPanel', args.keysPanel);
218
221
  config('export', args.export);
219
222
  config('exportToken', args.exportToken);
@@ -10790,10 +10790,15 @@ var files = __webpack_require__(5907);
10790
10790
  var cloudfunc = __webpack_require__(2518);
10791
10791
  // EXTERNAL MODULE: ./client/dom/images.js
10792
10792
  var dom_images = __webpack_require__(9732);
10793
+ // EXTERNAL MODULE: ./common/entity.js
10794
+ var entity = __webpack_require__(634);
10793
10795
  ;// ./client/modules/config/input.js
10794
10796
 
10795
- const isType = currify((type, object, name) => type === typeof object[name]);
10796
- const isBool = isType('boolean');
10797
+ const isBool = a => typeof a === 'boolean';
10798
+ const isString = a => typeof a === 'string';
10799
+ const {
10800
+ keys
10801
+ } = Object;
10797
10802
  function getElementByName(selector, element) {
10798
10803
  const str = `[data-name="js-${selector}"]`;
10799
10804
  return element.querySelector(str);
@@ -10804,11 +10809,16 @@ const getName = element => {
10804
10809
  };
10805
10810
  const convert = config => {
10806
10811
  const result = config;
10807
- const array = Object.keys(config);
10808
- const filtered = array.filter(isBool(config));
10809
- for (const name of filtered) {
10812
+ for (const name of keys(config)) {
10810
10813
  const item = config[name];
10811
- result[name] = setState(item);
10814
+ if (isBool(item)) {
10815
+ result[name] = setState(item);
10816
+ continue;
10817
+ }
10818
+ if (isString(item)) {
10819
+ result[name] = (0,entity/* encode */.l)(item);
10820
+ continue;
10821
+ }
10812
10822
  }
10813
10823
  return result;
10814
10824
  };
@@ -10951,6 +10961,7 @@ async function fillTemplate() {
10951
10961
  columns,
10952
10962
  theme,
10953
10963
  configAuth,
10964
+ configPort,
10954
10965
  ...obj
10955
10966
  } = convert(config);
10956
10967
  obj[`${menu}-selected`] = 'selected';
@@ -10959,6 +10970,7 @@ async function fillTemplate() {
10959
10970
  obj[`${columns}-selected`] = 'selected';
10960
10971
  obj[`${theme}-selected`] = 'selected';
10961
10972
  obj.configAuth = configAuth ? '' : 'hidden';
10973
+ obj.configPort = configPort ? '' : 'hidden';
10962
10974
  const innerHTML = (0,rendy/* rendy */.n)(Template, obj);
10963
10975
  Element = create_element('form', {
10964
10976
  className: 'config',