increment to v2.0
This commit is contained in:
parent
ff875f92db
commit
a55bebf9e4
4 changed files with 16 additions and 5 deletions
|
@ -1,14 +1,18 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
## [0.2.0] TBD
|
## [0.2.0] 2018-02-10
|
||||||
Mostly client (browser) related changes in this release
|
Mostly client (browser) related changes in this release
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Menu system
|
- Menu system
|
||||||
- Fontawesome icons
|
- Fontawesome icons
|
||||||
- Resizing browser window sends resize events to terminal container as well as SSH session (pty)
|
- Resizing browser window sends resize events to terminal container as well as SSH session (pty)
|
||||||
- Adding terminal options
|
- New terminal options (config.json as well as GET vars)
|
||||||
|
- terminal.cursorBlink - boolean - Cursor blinks (true), does not (false) Default: true.
|
||||||
|
- terminal.scrollback - integer - Lines in the scrollback buffer. Default: 10000.
|
||||||
|
- terminal.tabStopWidth - integer - Tab stops at n characters Default: 8.
|
||||||
- New serverside (nodejs) terminal configuration options (cursorBlink, scrollback, tabStopWidth)
|
- New serverside (nodejs) terminal configuration options (cursorBlink, scrollback, tabStopWidth)
|
||||||
- Logging of MRH session (unassigned if not present)
|
- Logging of MRH session (unassigned if not present)
|
||||||
|
- Express compression feature
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Updated xterm.js to 3.0.2
|
- Updated xterm.js to 3.0.2
|
||||||
|
@ -19,6 +23,7 @@ Mostly client (browser) related changes in this release
|
||||||
- Changed asset packaging from grunt to Webpack to be inline with xterm.js direction
|
- Changed asset packaging from grunt to Webpack to be inline with xterm.js direction
|
||||||
- Moved logging and credentials buttons to menu system
|
- Moved logging and credentials buttons to menu system
|
||||||
- Removed non-minified options (if you need to disable minification, modify webpack scripts and 'npm run build')
|
- Removed non-minified options (if you need to disable minification, modify webpack scripts and 'npm run build')
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Resolved loss of terminal foucs when interacting with option buttons (Logging, etc...)
|
- Resolved loss of terminal foucs when interacting with option buttons (Logging, etc...)
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,12 @@ docker run --name webssh2 -d -p 2222:2222 webssh2
|
||||||
|
|
||||||
* **readyTimeout=** - _integer_ - How long (in milliseconds) to wait for the SSH handshake to complete. **Default:** 20000. **Enforced Values:** Min: 1, Max: 300000
|
* **readyTimeout=** - _integer_ - How long (in milliseconds) to wait for the SSH handshake to complete. **Default:** 20000. **Enforced Values:** Min: 1, Max: 300000
|
||||||
|
|
||||||
|
* **cursorBlink** - _boolean_ - Cursor blinks (true), does not (false) **Default:** true.
|
||||||
|
|
||||||
|
* **scrollback** - _integer_ - Lines in the scrollback buffer. **Default:** 10000. **Enforced Values:** Min: 1, Max: 200000
|
||||||
|
|
||||||
|
* **tabStopWidth** - _integer_ - Tab stops at _n_ characters **Default:** 8. **Enforced Values:** Min: 1, Max: 100
|
||||||
|
|
||||||
## Headers
|
## Headers
|
||||||
|
|
||||||
* **allowreplay** - _boolean_ - Allow use of password replay feature, example `allowreplay: true`
|
* **allowreplay** - _boolean_ - Allow use of password replay feature, example `allowreplay: true`
|
||||||
|
|
4
app.js
4
app.js
|
@ -51,8 +51,8 @@ app.get('/ssh/host/:host?', function (req, res, next) {
|
||||||
req.query.sshterm) || config.ssh.term,
|
req.query.sshterm) || config.ssh.term,
|
||||||
terminal: {
|
terminal: {
|
||||||
cursorBlink: (validator.isBoolean(req.query.cursorBlink + '') ? myutil.parseBool(req.query.cursorBlink) : config.terminal.cursorBlink),
|
cursorBlink: (validator.isBoolean(req.query.cursorBlink + '') ? myutil.parseBool(req.query.cursorBlink) : config.terminal.cursorBlink),
|
||||||
scrollback: config.terminal.scrollback,
|
scrollback: (validator.isInt(req.query.scrollback + '', {min: 1, max: 200000}) && req.query.scrollback) ? req.query.scrollback : config.terminal.scrollback,
|
||||||
tabStopWidth: config.terminal.tabStopWidth
|
tabStopWidth: (validator.isInt(req.query.tabStopWidth + '', {min: 1, max: 100}) && req.query.tabStopWidth) ? req.query.tabStopWidth : config.terminal.tabStopWidth
|
||||||
},
|
},
|
||||||
allowreplay: (validator.isBoolean(req.headers.allowreplay + '') ? myutil.parseBool(req.headers.allowreplay) : false),
|
allowreplay: (validator.isBoolean(req.headers.allowreplay + '') ? myutil.parseBool(req.headers.allowreplay) : false),
|
||||||
mrhsession: ((validator.isAlphanumeric(req.headers.mrhsession + '') && req.headers.mrhsession) ? req.headers.mrhsession : 'none'),
|
mrhsession: ((validator.isAlphanumeric(req.headers.mrhsession + '') && req.headers.mrhsession) ? req.headers.mrhsession : 'none'),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "webssh2",
|
"name": "webssh2",
|
||||||
"version": "0.1.4",
|
"version": "0.2.0",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
".gitignore"
|
".gitignore"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue