aspera-cli 4.14.0 → 4.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/BUGS.md +29 -3
  4. data/CHANGELOG.md +300 -185
  5. data/CONTRIBUTING.md +74 -23
  6. data/README.md +2346 -1619
  7. data/bin/ascli +16 -25
  8. data/bin/asession +15 -15
  9. data/examples/dascli +2 -2
  10. data/examples/proxy.pac +1 -1
  11. data/lib/aspera/aoc.rb +216 -150
  12. data/lib/aspera/ascmd.rb +25 -18
  13. data/lib/aspera/assert.rb +45 -0
  14. data/lib/aspera/cli/basic_auth_plugin.rb +9 -6
  15. data/lib/aspera/cli/error.rb +17 -0
  16. data/lib/aspera/cli/extended_value.rb +51 -16
  17. data/lib/aspera/cli/formatter.rb +276 -174
  18. data/lib/aspera/cli/hints.rb +81 -0
  19. data/lib/aspera/cli/main.rb +114 -147
  20. data/lib/aspera/cli/manager.rb +181 -136
  21. data/lib/aspera/cli/plugin.rb +82 -64
  22. data/lib/aspera/cli/plugins/alee.rb +0 -1
  23. data/lib/aspera/cli/plugins/aoc.rb +327 -331
  24. data/lib/aspera/cli/plugins/ats.rb +12 -8
  25. data/lib/aspera/cli/plugins/bss.rb +2 -2
  26. data/lib/aspera/cli/plugins/config.rb +575 -439
  27. data/lib/aspera/cli/plugins/console.rb +40 -0
  28. data/lib/aspera/cli/plugins/cos.rb +4 -5
  29. data/lib/aspera/cli/plugins/faspex.rb +111 -92
  30. data/lib/aspera/cli/plugins/faspex5.rb +245 -182
  31. data/lib/aspera/cli/plugins/node.rb +239 -160
  32. data/lib/aspera/cli/plugins/orchestrator.rb +56 -19
  33. data/lib/aspera/cli/plugins/preview.rb +54 -38
  34. data/lib/aspera/cli/plugins/server.rb +63 -20
  35. data/lib/aspera/cli/plugins/shares.rb +64 -38
  36. data/lib/aspera/cli/sync_actions.rb +68 -0
  37. data/lib/aspera/cli/transfer_agent.rb +64 -67
  38. data/lib/aspera/cli/transfer_progress.rb +73 -0
  39. data/lib/aspera/cli/version.rb +1 -1
  40. data/lib/aspera/colors.rb +3 -1
  41. data/lib/aspera/command_line_builder.rb +27 -22
  42. data/lib/aspera/cos_node.rb +6 -4
  43. data/lib/aspera/coverage.rb +22 -0
  44. data/lib/aspera/data_repository.rb +33 -2
  45. data/lib/aspera/environment.rb +21 -8
  46. data/lib/aspera/fasp/agent_alpha.rb +116 -0
  47. data/lib/aspera/fasp/agent_base.rb +40 -76
  48. data/lib/aspera/fasp/agent_connect.rb +21 -22
  49. data/lib/aspera/fasp/agent_direct.rb +169 -179
  50. data/lib/aspera/fasp/agent_httpgw.rb +200 -195
  51. data/lib/aspera/fasp/agent_node.rb +43 -35
  52. data/lib/aspera/fasp/agent_trsdk.rb +124 -41
  53. data/lib/aspera/fasp/error_info.rb +2 -2
  54. data/lib/aspera/fasp/faux_file.rb +52 -0
  55. data/lib/aspera/fasp/installation.rb +89 -191
  56. data/lib/aspera/fasp/management.rb +249 -0
  57. data/lib/aspera/fasp/parameters.rb +86 -47
  58. data/lib/aspera/fasp/parameters.yaml +75 -8
  59. data/lib/aspera/fasp/products.rb +162 -0
  60. data/lib/aspera/fasp/resume_policy.rb +7 -5
  61. data/lib/aspera/fasp/sync.rb +273 -0
  62. data/lib/aspera/fasp/transfer_spec.rb +10 -8
  63. data/lib/aspera/fasp/uri.rb +6 -6
  64. data/lib/aspera/faspex_gw.rb +11 -8
  65. data/lib/aspera/faspex_postproc.rb +8 -7
  66. data/lib/aspera/hash_ext.rb +2 -2
  67. data/lib/aspera/id_generator.rb +3 -1
  68. data/lib/aspera/json_rpc.rb +51 -0
  69. data/lib/aspera/keychain/encrypted_hash.rb +46 -11
  70. data/lib/aspera/keychain/macos_security.rb +15 -13
  71. data/lib/aspera/line_logger.rb +23 -0
  72. data/lib/aspera/log.rb +61 -19
  73. data/lib/aspera/nagios.rb +7 -2
  74. data/lib/aspera/node.rb +105 -21
  75. data/lib/aspera/node_simulator.rb +214 -0
  76. data/lib/aspera/oauth.rb +57 -36
  77. data/lib/aspera/open_application.rb +4 -4
  78. data/lib/aspera/persistency_action_once.rb +13 -14
  79. data/lib/aspera/persistency_folder.rb +5 -4
  80. data/lib/aspera/preview/file_types.rb +56 -268
  81. data/lib/aspera/preview/generator.rb +28 -39
  82. data/lib/aspera/preview/options.rb +2 -0
  83. data/lib/aspera/preview/terminal.rb +36 -16
  84. data/lib/aspera/preview/utils.rb +23 -29
  85. data/lib/aspera/proxy_auto_config.rb +6 -3
  86. data/lib/aspera/rest.rb +127 -80
  87. data/lib/aspera/rest_call_error.rb +1 -1
  88. data/lib/aspera/rest_error_analyzer.rb +16 -14
  89. data/lib/aspera/rest_errors_aspera.rb +39 -34
  90. data/lib/aspera/secret_hider.rb +18 -17
  91. data/lib/aspera/ssh.rb +10 -5
  92. data/lib/aspera/temp_file_manager.rb +11 -4
  93. data/lib/aspera/web_auth.rb +10 -7
  94. data/lib/aspera/web_server_simple.rb +11 -5
  95. data.tar.gz.sig +0 -0
  96. metadata +108 -39
  97. metadata.gz.sig +0 -0
  98. data/lib/aspera/cli/listener/line_dump.rb +0 -19
  99. data/lib/aspera/cli/listener/logger.rb +0 -22
  100. data/lib/aspera/cli/listener/progress.rb +0 -50
  101. data/lib/aspera/cli/listener/progress_multi.rb +0 -84
  102. data/lib/aspera/cli/plugins/sync.rb +0 -44
  103. data/lib/aspera/fasp/listener.rb +0 -13
  104. data/lib/aspera/sync.rb +0 -213
data/CHANGELOG.md CHANGED
@@ -1,234 +1,349 @@
1
1
  # Changes (Release notes)
2
2
 
3
+ * 4.16.0
4
+
5
+ * New Features:
6
+ * **global**: option `output` to redirect result to a file instead of `stdout`
7
+ * **global**: new option `silent_insecure`
8
+ * `config`: keys added to `config ascp info`
9
+ * `config`: added command `pubkey` to extract public key from private key
10
+ * `config`: new command `vault info`
11
+ * `faspex5`: added `shared_folders` management
12
+ * `faspex5`: if package has content protection, ask passphrase interactively, unless `content_protection=null` in `ts`
13
+ * `faspex`: added `INIT` for `once_only`
14
+ * `aoc`: added `INIT` for `once_only`
15
+ * `aoc`: more list commands honor option `query`
16
+ * Issues Fixed:
17
+ * `config`: wizard was failing due to `require` of optional gem.
18
+ * `aoc`: use paging to list entities, instead of just one page(e.g. retrieve all packages)
19
+ * `faspex5`: When receiving ALL packages, only get those with status `completed`.
20
+ * `direct` agent: better support for WSS
21
+ * Breaking Changes:
22
+ * `shares`: option `type` for users and groups is replaced with mandatory positional argument with same value.
23
+ * `aoc`, `faspex`: package `recv` command changed to `receive`, for consistency with faspex5 (`recv` is now an alias command)
24
+
25
+ * 4.15.0
26
+
27
+ * General: removed many redundant options, more consistency between plugins, see below in "break".
28
+ * New Features:
29
+ * **global**: added resolution hints for well known issues.
30
+ * **global**: extended value expression `@extend:` finds and replace extended values in a string (e.g. for JSON)
31
+ * **global**: option `fields` now supports `RegExp`
32
+ * **global**: option `home` to set the main folder for configuration and cache
33
+ * **global**: option `ignore_certificate` to specify specific URLs instead of global option `insecure`
34
+ * **global**: option `cert_stores` to specify alternate certificate stores
35
+ * **global**: uniform progress bar for any type of transfer.
36
+ * **global**: add extended value types: `re` and `yaml`
37
+ * **global**: option `pid_file` to write tool's PID during execution, deleted on exit
38
+ * `config`: command `remote_certificate` to retrieve a remote certificate
39
+ * `config`: added logger level `trace1` and `trace2`
40
+ * `config`: `wizard` can detect multiple applications at the same address or url.
41
+ * `aoc`: wizard accepts public links
42
+ * `aoc`: support private links, and possibility to list shared folder with workspace `@json:null`
43
+ * `orchestrator`: error analysis for workflow start
44
+ * `httpgw`: now supports pseudo file for testing: e.g. `faux:///testfile?1k`
45
+ * `node`: added command `transfer sessions` to list all sessions of all transfers
46
+ * `node`: generate bearer token from private key and user information
47
+ * `node`: access node API with bearer token as credentials
48
+ * **global**: agent `direct` allows ignoring certificate for wss using http options
49
+ * `preview`: command `show` generates a preview and displays it in terminal
50
+ * Issues Fixed:
51
+ * Ruby warning: `net/protocol.rb:68: warning: already initialized constant Net::ProtocRetryError` solved by removing dependency on `net-smtp` from gem spec (already in base ruby).
52
+ * Breaking Changes:
53
+ * **global**: commands `detect` and `wizard` takes now a mandatory argument: address or url instead of option `url`.
54
+ * **global**: renamed option `pkeypath` to `key_path`
55
+ * **global**: renamed option `notif_to` to `notify_to` and `notif_template` to `notify_template`
56
+ * **global**: removed extended value handler `incps`, as it is never used (use `extend` instead).
57
+ * **global**: option `fields`: `+prop` is replaced with: `DEF,prop` and `-field` is replaced with: `DEF,-field`, and whole list is evaluated.
58
+ * **global**: replaced option `progress` with option `progressbar` (bool)
59
+ * **global**: removed option `rest_debug` and `-r`, replaced with `--log-level=trace2`
60
+ * **global**: the default file name for private key when using wizard is change from `aspera_aoc_key` to `my_private_key.pem`
61
+ * `faspex5`: removed option and `auth` type `link`: simply provide the public link as `url`
62
+ * `faspex`: remote source selection now uses percent selector instead of parameter `id` or `name`
63
+ * `faspex`: option `source_name` is now `remote_source`
64
+ * `aoc`: selection by name uses percent selector instead of option or parameter `name`
65
+ * `aoc`: removed option `link`: use `url` instead
66
+ * `aoc`: in command `short_link`, place type before command, e.g. `short_link private create /blah`
67
+ * `aoc`: replaced option `operation` with mandatory positional parameter for command `files transfer`
68
+ * `aoc`: replaced option `from_folder` with mandatory positional parameter for command `files transfer`
69
+ * `orchestrator`: workflow start takes arguments as optional positional extended value instead of option `param`
70
+ * `node`: `find` command now takes an optional `@ruby:` extended value instead of option `query` with prefix: `exec:`
71
+ * `sync`: plugin `sync` is removed: actions are available through `server` and `node` plugins.
72
+ * `sync`: replaced option `sync_session` with optional positional parameter.
73
+ * `preview`: command `scan`, `events` and `trevents` replaced option `query` with optional positional parameter for filter (like `find`).
74
+ * **global**: agent `trsdk` parameters `host` and `port` in option `transfer_info` are replaced with parameter `url`, like `grpc://host:port`
75
+
3
76
  * 4.14.0
4
77
 
5
- * new: server: option `passphrase` for simpler command line (#114)
6
- * new: percent selector for entities identifier
7
- * new: faspex5: shared inbox and workgroup membership management
8
- * new: faspex5: invite external user to shared inbox
9
- * new: faspex5: package list and receive from workgroups and shared inboxes
10
- * new: config: Command `ascp info` shows default transfer spec.
11
- * new: httpgw: synchronous and asynchronous upload modes
12
- * new: node: command `bandwidth_average` to get average bandwidth of node, per periods
13
- * fix: option `ts`: deep add and remove of keys. (#117)
14
- * fix: faspex5: user lookup for `packages send` shall be exact match (#120)
15
- * fix: direct: if transfer spec contains "paths" and elements with "destination", but first element has only "source", then destinations were ignored. Now "destination" all or none is enforced.
16
- * change: using `aoc files` or node gen4 operations (`browse`, `delete`) on a link will follow the link only if path ends with /
17
- * change: shares: command `repository` is changed to `files` for consistency with aoc and upcoming faspex5, but is still available as alias
18
- * change: aoc: better handling of shared links
19
- * change: global: option `value` is deprecated. Use positional parameter for creation data and option `query` for list/delete operations.
20
- * change: config: remove deprecated command: `export_to_cli`
21
- * change: config: removed all legacy preset command, newer command `preset` shall be used now.
22
- * change: config: SDK is now installed in $HOME/.aspera/sdk instead of $HOME/.aspera/ascli/sdk
23
- * change(break): aoc/node: Simplification: gen4 operations: show modify permission thumbnail are now directly under node gen 4 command. Command `file` is suppressed. Option `path` is suppressed. The default expected argument is a path. To provide a file id, use selector syntax: %id:_file_id_
24
- * change(break): node: option `token_type` is removed, as starting with HSTS 4.3 basic token is only allowed with access keys, so use gen4 operations: `acc do self`
78
+ * New Features:
79
+ * `server`: option `passphrase` for simpler command line (#114)
80
+ * percent selector for entities identifier
81
+ * `faspex5`: shared inbox and workgroup membership management
82
+ * `faspex5`: invite external user to shared inbox
83
+ * `faspex5`: package list and receive from workgroup and shared inbox
84
+ * `config`: Command `ascp info` shows default transfer spec.
85
+ * **global**: agent `httpgw` synchronous and asynchronous upload modes
86
+ * `node`: command `bandwidth_average` to get average bandwidth of node, per periods
87
+ * Issues Fixed:
88
+ * option `ts`: deep add and remove of keys. (#117)
89
+ * `faspex5`: user lookup for `packages send` shall be exact match (#120)
90
+ * **global**: agent `direct` if transfer spec contains "paths" and elements with "destination", but first element has only "source", then destinations were ignored. Now "destination" all or none is enforced.
91
+ * Breaking Changes:
92
+ * using `aoc files` or node gen4 operations (`browse`, `delete`) on a link will follow the link only if path ends with /
93
+ * `shares`: command `repository` is changed to `files` for consistency with aoc and upcoming faspex5, but is still available as alias
94
+ * `aoc`: better handling of shared links
95
+ * **global**: option `value` is deprecated. Use positional parameter for creation data and option `query` for list/delete operations.
96
+ * `config`: remove deprecated command: `export_to_cli`
97
+ * `config`: removed all legacy preset command, newer command `preset` shall be used now.
98
+ * `config`: SDK is now installed in $HOME/.aspera/sdk instead of $HOME/.aspera/ascli/sdk
99
+ * `aoc`, `node`: Simplification: gen4 operations: show modify permission thumbnail are now directly under node gen 4 command. Command `file` is suppressed. Option `path` is suppressed. The default expected argument is a path. To provide a file id, use selector syntax: %id:_file_id_
100
+ * `node`: option `token_type` is removed, as starting with HSTS 4.3 basic token is only allowed with access keys, so use gen4 operations: `acc do self`
25
101
 
26
102
  * 4.13.0
27
103
 
28
- * new: preview: option `reencode_ffmpeg` allows overriding all re-encoding options
29
- * new: faspex5: package delete (#107)
30
- * new: faspex5: package recv for inboxes and regular users (#108)
31
- * new: faspex5: smtp management
32
- * new: faspex5: use public link for authorization of package download, using option `link`
33
- * new: faspex5: list content of package, and allow partial download of package
34
- * new: faspex5: list packages support multiple pages and items limitations (`max` and `pmax`)
35
- * new: aoc: files operations with workspace-less user (#109)
36
- * new: node: async with gen3 token (#110)
37
- * new: node: display of preview of file in terminal for access keys
38
- * change: option `transfer_info` is now cumulative, setting several times merge values
39
- * change(deprecation): Removed support of Ruby 2.4 and 2.5 : too old, no security update since a long time. If you need older ruby version use older gem version.
40
- * fix: cos: do not use refresh token when not supported
41
- * fix: container: SDK installed in other folder than `ascli` (#106)
104
+ * New Features:
105
+ * `preview`: option `reencode_ffmpeg` allows overriding all re-encoding options
106
+ * `faspex5`: package delete (#107)
107
+ * `faspex5`: package recv for inboxes and regular users (#108)
108
+ * `faspex5`: smtp management
109
+ * `faspex5`: use public link for authorization of package download, using option `link`
110
+ * `faspex5`: list content of package, and allow partial download of package
111
+ * `faspex5`: list packages support multiple pages and items limitations (`max` and `pmax`)
112
+ * `aoc`: files operations with workspace-less user (#109)
113
+ * `node`: async with gen3 token (#110)
114
+ * `node`: display of preview of file in terminal for access keys
115
+ * Issues Fixed:
116
+ * `cos`: do not use refresh token when not supported
117
+ * **container**: SDK installed in other folder than `ascli` (#106)
118
+ * Breaking Changes:
119
+ * option `transfer_info` is now cumulative, setting several times merge values
120
+ * change(deprecation): Removed support of Ruby 2.4 and 2.5 : too old, no security update since a long time. If you need older ruby version use older gem version.
42
121
 
43
122
  * 4.12.0
44
123
 
45
- * new: docker: build image from official gem version, possibility to deploy beta as well
46
- * new: generic: `delete` operation supports option `value` for deletion parameters
47
- * new: aoc: command `aoc packages recv` accepts option `query` to specify a shared inbox
48
- * new: faspex: (v4) user delete accepts option `value` with value `{"destroy":true}` to delete users permanently
49
- * new: faspex: (v4) gateway to faspex 5 for package send
50
- * new: faspex5: possibility to change email templates
51
- * new: faspex5: shared folder list and browse
52
- * new: faspex5: emulate faspex 4 postprocessing, plugin: `faspex5` command: `postprocessing`
53
- * new: faspex5: send package from remote source
54
- * new: shares: option `type` for command `shares admin user`
55
- * new: shares: full support for shares admin operations
56
- * change(break): shares: command `shares admin user saml_import` replaced with `shares admin user import --type=saml`
57
- * change(break): shares: command `shares admin user ldap_import` replaced with `shares admin user add --type=ldap`
58
- * change(break): shares: command `app_authorizations` now has sub commands `show` and `modify`
59
- * change(break): shares: similar changes for `shares admin share user show`
60
- * change(break): option `ascp_opts` is removed, and replaced with `transfer_info` parameter `ascp_args`
124
+ * New Features:
125
+ * **container**: build image from official gem version, possibility to deploy beta as well
126
+ * **global**: `delete` operation supports option `value` for deletion parameters
127
+ * `aoc`: command `aoc packages recv` accepts option `query` to specify a shared inbox
128
+ * `faspex`: (v4) user delete accepts option `value` with value `{"destroy":true}` to delete users permanently
129
+ * `faspex`: (v4) gateway to faspex 5 for package send
130
+ * `faspex5`: possibility to change email templates
131
+ * `faspex5`: shared folder list and browse
132
+ * `faspex5`: emulate faspex 4 postprocessing, plugin: `faspex5` command: `postprocessing`
133
+ * `faspex5`: send package from remote source
134
+ * `shares`: option `type` for command `shares admin user`
135
+ * `shares`: full support for shares admin operations
136
+ * Breaking Changes:
137
+ * `shares`: command `shares admin user saml_import` replaced with `shares admin user import --type=saml`
138
+ * `shares`: command `shares admin user ldap_import` replaced with `shares admin user add --type=ldap`
139
+ * `shares`: command `app_authorizations` now has sub commands `show` and `modify`
140
+ * `shares`: similar changes for `shares admin share user show`
141
+ * option `ascp_opts` is removed, and replaced with `transfer_info` parameter `ascp_args`
61
142
 
62
143
  * 4.11.0
63
144
 
64
- * new: vault: secret finder, migration from config file
65
- * new: allow removal of transfer spec parameter by setting value to `null`
66
- * new: option `ascp_opts` allows to provide native `ascp` options on command line
67
- * new: command `sync` added to `node` (gen4) and `server` plugins, also available in `aoc`
68
- * fix: security: no shell interpolation
69
- * fix: when WSS and node agent: no localhost (certificate)
70
- * fix: #99 `aoc file download` for single shared folder
71
- * fix: due to change of API in faspex 5 for send package (paths is mandatory for any type of transfer now)
72
- * fix: Oauth web authentication was broken, fixed now
73
- * change(break): container image has entry point
74
- * change(break): `aoc admin res node` commands `v3` and `v4` replaced with `do` and command `v3` moved inside `do`
75
- * change(break): renamed options for `sync`
76
- * change: node gen4 operations are moved from aoc plugin to node plugin but made available where gen4 is used
77
- * change: if wss is enabled on server, use wss
78
- * lots of cleanup and refactoring
145
+ * New Features:
146
+ * **global**: `vault`: secret finder, migration from config file
147
+ * **global**: allow removal of transfer spec parameter by setting value to `null`
148
+ * **global**: option `ascp_opts` allows to provide native `ascp` options on command line
149
+ * `node`, `server`: command `sync` added to `node` (gen4) and `server` plugins, also available in `aoc`
150
+ * Issues Fixed:
151
+ * **global**: security: no shell interpolation
152
+ * **global**: agent `node`: when WSS is used: no localhost (certificate)
153
+ * `aoc`: #99 `file download` for single shared folder
154
+ * `faspex5`: change of API in faspex 5 for send package (paths is mandatory for any type of transfer now)
155
+ * **global**: Oauth web authentication was broken, fixed now
156
+ * Breaking Changes:
157
+ * **container**: image has entry point
158
+ * `aoc`: `admin res node` commands `v3` and `v4` replaced with `do` and command `v3` moved inside `do`
159
+ * renamed options for `sync`
160
+ * node gen4 operations are moved from aoc plugin to node plugin but made available where gen4 is used
161
+ * if wss is enabled on server, use wss
162
+ * lots of cleanup and refactoring
79
163
 
80
164
  * 4.10.0
81
165
 
82
- * new: httpgw transfer agent: support api v2, support transfer through http proxy, including proxy password
83
- * new: faspex5: get bearer token
84
- * updates: for docker container version
85
- * break: option `secrets` is renamed to `vault`
166
+ * New Features:
167
+ * httpgw transfer agent: support api v2, support transfer through http proxy, including proxy password
168
+ * `faspex5`: get bearer token
169
+ * Issues Fixed:
170
+ * **container**: container version
171
+ * Breaking Changes:
172
+ * `config`: option `secrets` is renamed to `vault`
86
173
 
87
174
  * 4.9.0
88
175
 
89
- * new: shares: import of SAML users and LDAP users
90
- * new: M1 apple silicon support SDK install (uses x86 ascp)
91
- * new: support bulk operation more globally (create/delete), not all ops , though
92
- * new: added missing transfer spec parameters, e.g. `src_base`, `password`
93
- * new: improved documentation on faspex and aoc package send
94
- * fix: `node do` command fixed
95
- * fix: improved secret hiding from logs
96
- * change(break): removed rarely commands nodeadmin, configuration, userdata, ctl from plugin `server`
97
- as well as option `cmd_prefix`
98
- * change: `ascli` runs as user `cliuser` instead of `root` in container
99
- * change: default access right for config folder is now user only, including private keys
176
+ * New Features:
177
+ * `shares`: import of SAML users and LDAP users
178
+ * M1 apple silicon support SDK install (uses x86 ascp)
179
+ * support bulk operation more globally (create/delete), not all ops , though
180
+ * added missing transfer spec parameters, e.g. `src_base`, `password`
181
+ * improved documentation on faspex and aoc package send
182
+ * Issues Fixed:
183
+ * `node do` command fixed
184
+ * improved secret hiding from logs
185
+ * Breaking Changes:
186
+ * removed rarely commands `nodeadmin`, `configuration`, `userdata`, `ctl` from plugin `server`
187
+ as well as option `cmd_prefix`
188
+ * `ascli` runs as user `cliuser` instead of `root` in container
189
+ * default access right for config folder is now user only, including private keys
100
190
 
101
191
  * 4.8.0
102
192
 
103
- * new: #76 add resource `group_membership` in `aoc`
104
- * new: add resource `metadata_profile` in `faspex5`
105
- * new: add command `user profile` in `faspex5`
106
- * new: add config wizard for `faspex5`
107
- * new: #75 gem is signed
108
- * change(break): removed dependency on gem `grpc` which is used only for the `trsdk` transfer agent. Users can install the gem manually if needed.
109
- * change(break): hash vault keys are string instead of symbol
110
- * change: cleanup with rubocop, all strings are immutable now by default, list constants are frozen
111
- * change: removed Hash.dig implementation because it is by default in Ruby >= 2.3
112
- * change: default is now to hide secrets on command output. Set option `show_secrets` to reveal secrets.
113
- * change: option `insecure` displays a warning
193
+ * New Features:
194
+ * #76 add resource `group_membership` in `aoc`
195
+ * add resource `metadata_profile` in `faspex5`
196
+ * add command `user profile` in `faspex5`
197
+ * add config wizard for `faspex5`
198
+ * #75 gem is signed
199
+ * Breaking Changes:
200
+ * removed dependency on gem `grpc` which is used only for the `trsdk` transfer agent. Users can install the gem manually if needed.
201
+ * hash vault keys are string instead of symbol
202
+ * cleanup with rubocop, all strings are immutable now by default, list constants are frozen
203
+ * removed Hash.dig implementation because it is by default in Ruby >= 2.3
204
+ * default is now to hide secrets on command output. Set option `show_secrets` to reveal secrets.
205
+ * option `insecure` displays a warning
114
206
 
115
207
  * 4.7.0
116
208
 
117
- * new: option to specify font used to generate image of text file in `preview`
118
- * new: #66 improvement for content protection (support standard transfer spec options for direct agent)
119
- * new: option `fpac` is now applicable to all ruby based HTTP connections, i.e. API calls
120
- * new: option `show_secrets` to reveal secrets in command output
121
- * new: added and updated commands for Faspex 5
122
- * new: option `cache_tokens`
123
- * new: Faspex4 dropbox packages can now be received by id
124
- * change(break): command `conf gem path` replaces `conf gem_path`
125
- * change(break): option `fpac` expects a value instead of URL
126
- * change(break): option `cipher` in transfer spec must have hyphen
127
- * change(break): renamed option `log_passwords` to `log_secrets`
128
- * change(break): removed plugin `shares2` as products is now EOL
129
- * fix: After AoC version update, wizard did not detect AoC properly
209
+ * New Features:
210
+ * option to specify font used to generate image of text file in `preview`
211
+ * #66 improvement for content protection (support standard transfer spec options for direct agent)
212
+ * option `fpac` is now applicable to all ruby based HTTP connections, i.e. API calls
213
+ * option `show_secrets` to reveal secrets in command output
214
+ * added and updated commands for Faspex 5
215
+ * option `cache_tokens`
216
+ * Faspex4 dropbox packages can now be received by id
217
+ * Issues Fixed:
218
+ * After AoC version update, wizard did not detect AoC properly
219
+ * Breaking Changes:
220
+ * command `conf gem path` replaces `conf gem_path`
221
+ * option `fpac` expects a value instead of URL
222
+ * option `cipher` in transfer spec must have hyphen
223
+ * renamed option `log_passwords` to `log_secrets`
224
+ * removed plugin `shares2` as products is now EOL
130
225
 
131
226
  * 4.6.0
132
227
 
133
- * new: command `conf plugin create`
134
- * new: global option `plugin_folder`
135
- * new: global option `transpose_single`
136
- * new: simplified metadata passing for shared inbox package creation in AoC
137
- * change(break): command `aoc packages shared_inboxes list` replaces `aoc user shared_inboxes`
138
- * change(break): command `aoc user profile` replaces `aoc user info`
139
- * change(break): command `aoc user workspaces list` replaces `aoc user workspaces`
140
- * change(break): command `aoc user workspaces current` replaces `aoc workspace`
141
- * change(break): command `conf plugin list` replaces `conf plugins`
142
- * change(break): command `conf connect` simplified
143
- * fix: #60 ascli executable was not installed by default in 4.5.0
144
- * fix: add password hiding case in logs
228
+ * New Features:
229
+ * command `conf plugin create`
230
+ * global option `plugin_folder`
231
+ * global option `transpose_single`
232
+ * simplified metadata passing for shared inbox package creation in AoC
233
+ * Issues Fixed:
234
+ * #60 ascli executable was not installed by default in 4.5.0
235
+ * add password hiding case in logs
236
+ * Breaking Changes:
237
+ * command `aoc packages shared_inboxes list` replaces `aoc user shared_inboxes`
238
+ * command `aoc user profile` replaces `aoc user info`
239
+ * command `aoc user workspaces list` replaces `aoc user workspaces`
240
+ * command `aoc user workspaces current` replaces `aoc workspace`
241
+ * command `conf plugin list` replaces `conf plugins`
242
+ * command `conf connect` simplified
145
243
 
146
244
  * 4.5.0
147
245
 
148
- * new: support transfer agent: [Transfer SDK](README.md#agt_trsdk)
149
- * new: support [http socket options](README.md#http_options)
150
- * new: logs hide passwords and secrets, option `log_passwords` to enable logging secrets
151
- * new: `config vault` supports encrypted passwords, also macos keychain
152
- * new: `config preset` command for consistency with id
153
- * new: identifier can be provided using either option `id` or directly after the command, e.g. `delete 123` is the same as `delete --id=123`
154
- * change: when using wss, use [ruby's CA certs](README.md#certificates)
155
- * change: unexpected parameter makes exit code not zero
156
- * change(break): options `id` and `name` cannot be specified at the same time anymore, use [positional identifier or name selection](README.md#res_select)
157
- * change(break): `aoc admin res node` does not take workspace main node as default node if no `id` specified.
158
- * change(break): : `orchestrator workflow status` requires id, and supports special id `ALL`
159
- * fix: various smaller fixes and renaming of some internal classes (transfer agents and few other)
246
+ * New Features:
247
+ * support transfer agent: [Transfer SDK](README.md#agt_trsdk)
248
+ * support [http socket options](README.md#http_options)
249
+ * logs hide passwords and secrets, option `log_passwords` to enable logging secrets
250
+ * `config vault` supports encrypted passwords, also macos keychain
251
+ * `config preset` command for consistency with id
252
+ * identifier can be provided using either option `id` or directly after the command, e.g. `delete 123` is the same as `delete --id=123`
253
+ * Issues Fixed:
254
+ * various smaller fixes and renaming of some internal classes (transfer agents and few other)
255
+ * Breaking Changes:
256
+ * when using wss, use [ruby's CA certs](README.md#certificates)
257
+ * unexpected parameter makes exit code not zero
258
+ * options `id` and `name` cannot be specified at the same time anymore, use [positional identifier or name selection](README.md#res_select)
259
+ * `aoc admin res node` does not take workspace main node as default node if no `id` specified.
260
+ * : `orchestrator workflow status` requires id, and supports special id `ALL`
160
261
 
161
262
  * 4.4.0
162
263
 
163
- * new: `aoc packages list` add possibility to add filter with option `query`
164
- * new: `aoc admin res xxx list` now get all items by default #50
165
- * new: `preset` option can specify name or hash value
166
- * new: `node` plugin accepts bearer token and access key as credential
167
- * new: `node` option `token_type` allows using basic token in addition to aspera type.
168
- * change: `server`: option `username` not mandatory anymore: xfer user is by default. If transfer spec token is provided, password or keys are optional, and bypass keys are used by default.
169
- * change(break): resource `apps_new` of `aoc` replaced with `application` (more clear)
264
+ * New Features:
265
+ * `aoc packages list` add possibility to add filter with option `query`
266
+ * `aoc admin res xxx list` now get all items by default #50
267
+ * `preset` option can specify name or hash value
268
+ * `node` plugin accepts bearer token and access key as credential
269
+ * `node` option `token_type` allows using basic token in addition to aspera type.
270
+ * Breaking Changes:
271
+ * `server`: option `username` not mandatory anymore: xfer user is by default. If transfer spec token is provided, password or keys are optional, and bypass keys are used by default.
272
+ * resource `apps_new` of `aoc` replaced with `application` (more clear)
170
273
 
171
274
  * 4.3.0
172
275
 
173
- * new: parameter `multi_incr_udp` for option `transfer_info`: control if UDP port is incremented when multi-session is used on [`direct`](README.md#agt_direct) transfer agent.
174
- * new: command `aoc files node_info` to get node information for a given folder in the Files application of AoC. Allows cross-org or cross-workspace transfers.
276
+ * New Features:
277
+ * parameter `multi_incr_udp` for option `transfer_info`: control if UDP port is incremented when multi-session is used on [`direct`](README.md#agt_direct) transfer agent.
278
+ * command `aoc files node_info` to get node information for a given folder in the Files application of AoC. Allows cross-org or cross-workspace transfers.
175
279
 
176
280
  * 4.2.2
177
281
 
178
- * new: `faspex package list` retrieves the whole list, not just first page
179
- * new: support web based auth to aoc and faspex 5 using HTTPS, new dependency on gem `webrick`
180
- * new: the error "Remote host is not who we expected" displays a special remediation message
181
- * new: `conf ascp spec` displays supported transfer spec
182
- * new: options `notif_to` and `notif_template` to send email notifications on transfer (and other events)
183
- * fix: space character in `faspe:` url are percent encoded if needed
184
- * fix: `preview scan`: if file_id is unknown, ignore and continue scan
185
- * change: for commands that potentially execute several transfers (`package recv --id=ALL`), if one transfer fails then ascli exits with code 1 (instead of zero=success)
186
- * change(break): option `notify` or `aoc` replaced with `notif_to` and `notif_template`
282
+ * New Features:
283
+ * `faspex package list` retrieves the whole list, not just first page
284
+ * support web based auth to aoc and faspex 5 using HTTPS, new dependency on gem `webrick`
285
+ * the error "Remote host is not who we expected" displays a special remediation message
286
+ * `conf ascp spec` displays supported transfer spec
287
+ * options `notif_to` and `notif_template` to send email notifications on transfer (and other events)
288
+ * Issues Fixed:
289
+ * space character in `faspe:` url are percent encoded if needed
290
+ * `preview scan`: if file_id is unknown, ignore and continue scan
291
+ * Breaking Changes:
292
+ * for commands that potentially execute several transfers (`package recv --id=ALL`), if one transfer fails then ascli exits with code 1 (instead of zero=success)
293
+ * option `notify` or `aoc` replaced with `notif_to` and `notif_template`
187
294
 
188
295
  * 4.2.1
189
296
 
190
- * new: command `faspex package recv` supports link of type: `faspe:`
191
- * new: command `faspex package recv` supports option `recipient` to specify dropbox with leading `*`
297
+ * New Features:
298
+ * command `faspex package recv` supports link of type: `faspe:`
299
+ * command `faspex package recv` supports option `recipient` to specify dropbox with leading `*`
192
300
 
193
301
  * 4.2.0
194
302
 
195
- * new: command `aoc remind` to receive organization membership by email
196
- * new: in `preview` option `value` to filter out on file name
197
- * new: `initdemo` to initialize for demo server
198
- * new: [`direct`](README.md#agt_direct) transfer agent options: `spawn_timeout_sec` and `spawn_delay_sec`
199
- * fix: on Windows `conf ascp use` expects ascp.exe
200
- * fix: (break) multi_session_threshold is Integer, not String
201
- * fix: `conf ascp install` renames sdk folder if it already exists (leftover shared lib may make fail)
202
- * fix: removed replace_illegal_chars from default aspera.conf causing "Error creating illegal char conversion table"
203
- * change(break): `aoc apiinfo` is removed, use `aoc servers` to provide the list of cloud systems
204
- * change(break): parameters for resume in `transfer-info` for [`direct`](README.md#agt_direct) are now in sub-key `"resume"`
303
+ * New Features:
304
+ * command `aoc remind` to receive organization membership by email
305
+ * in `preview` option `value` to filter out on file name
306
+ * `initdemo` to initialize for demo server
307
+ * [`direct`](README.md#agt_direct) transfer agent options: `spawn_timeout_sec` and `spawn_delay_sec`
308
+ * Issues Fixed:
309
+ * on Windows `conf ascp use` expects ascp.exe
310
+ * (break) multi_session_threshold is Integer, not String
311
+ * `conf ascp install` renames sdk folder if it already exists (leftover shared lib may make fail)
312
+ * removed replace_illegal_chars from default aspera.conf causing "Error creating illegal char conversion table"
313
+ * Breaking Changes:
314
+ * `aoc apiinfo` is removed, use `aoc servers` to provide the list of cloud systems
315
+ * parameters for resume in `transfer-info` for [`direct`](README.md#agt_direct) are now in sub-key `"resume"`
205
316
 
206
317
  * 4.1.0
207
318
 
208
- * fix: remove keys from transfer spec and command line when not needed
209
- * fix: default to create_dir:true so that sending single file to a folder does not rename file if folder does not exist
210
- * new: update documentation with regard to offline and docker installation
211
- * new: renamed command `nagios_check` to `health`
212
- * new: agent `http_gw` now supports upload
213
- * new: added option `sdk_url` to install SDK from local file for offline install
214
- * new: check new gem version periodically
215
- * new: the --fields= option, support -_field_name_ to remove a field from default fields
216
- * new: Oauth tokens are discarded automatically after 30 minutes (useful for COS delegated refresh tokens)
217
- * new: mimemagic is now optional, needs manual install for `preview`, compatible with version 0.4.x
218
- * new: AoC a password can be provided for a public link
219
- * new: `conf doc` take an optional parameter to go to a section
220
- * new: initial support for Faspex 5 Beta 1
319
+ * New Features:
320
+ * update documentation with regard to offline and docker installation
321
+ * renamed command `nagios_check` to `health`
322
+ * agent `http_gw` now supports upload
323
+ * added option `sdk_url` to install SDK from local file for offline install
324
+ * check new gem version periodically
325
+ * the --fields= option, support -_field_name_ to remove a field from default fields
326
+ * Oauth tokens are discarded automatically after 30 minutes (useful for COS delegated refresh tokens)
327
+ * `mimemagic` is now optional, needs manual install for `preview`, compatible with version 0.4.x
328
+ * AoC a password can be provided for a public link
329
+ * `conf doc` take an optional parameter to go to a section
330
+ * initial support for Faspex 5 Beta 1
331
+ * Issues Fixed:
332
+ * remove keys from transfer spec and command line when not needed
333
+ * default to create_dir:true so that sending single file to a folder does not rename file if folder does not exist
221
334
 
222
335
  * 4.0.0
223
336
 
224
- * now available as open source (github) with general cleanup
225
- * changed default tool name from `mlia` to `ascli`
226
- * changed `aspera` command to `aoc`
227
- * changed gem name from `asperalm` to `aspera-cli`
228
- * changed module name from `Asperalm` to `Aspera`
229
- * removed command `folder` in `preview`, merged to `scan`
230
- * persistency files go to sub folder instead of main folder
231
- * added possibility to install SDK: `config ascp install`
337
+ * New Features:
338
+ * now available as open source (github) with general cleanup
339
+ * added possibility to install SDK: `config ascp install`
340
+ * Breaking Changes:
341
+ * changed default tool name from `mlia` to `ascli`
342
+ * changed `aspera` command to `aoc`
343
+ * changed gem name from `asperalm` to `aspera-cli`
344
+ * changed module name from `Asperalm` to `Aspera`
345
+ * removed command `folder` in `preview`, merged to `scan`
346
+ * persistency files go to sub folder instead of main folder
232
347
 
233
348
  * 0.11.8
234
349
 
@@ -245,12 +360,12 @@
245
360
 
246
361
  * 0.11.6
247
362
 
248
- * orchestrator : added more choice in auth type
249
- * preview: cleanup in generator (removed and renamed parameters)
250
- * preview: better documentation
251
- * preview: animated thumbnails for video (option: `video_png_conv=animated`)
252
- * preview: new event trigger: `trevents` (`events` seems broken)
253
- * preview: unique tmp folder to avoid clash of multiple instances
363
+ * `orchestrator`: added more choice in auth type
364
+ * `preview`: cleanup in generator (removed and renamed parameters)
365
+ * `preview`: better documentation
366
+ * `preview`: animated thumbnails for video (option: `video_png_conv=animated`)
367
+ * `preview`: new event trigger: `trevents` (`events` seems broken)
368
+ * `preview`: unique tmp folder to avoid clash of multiple instances
254
369
  * repo: added template for secrets used for testing
255
370
 
256
371
  * 0.11.5