# Change Log ## [0.2.3] 2018-02-TBD ### Added - Browser title window now changes with xterm escape sequences (see http://tldp.org/HOWTO/Xterm-Title-3.html) - Added bellStyle options - `GET var`: **bellStyle** - _string_ - Style of terminal bell: ("sound"|"none"). **Default:** "sound". **Enforced Values:** "sound", "none" - `config.json`: **terminal.bellStyle** - _string_ - Style of terminal bell: (sound|none). **Default:** "sound". ### Changed - Updated xterm.js to 3.1.0 - https://github.com/xtermjs/xterm.js/releases/tag/3.1.0 ### Fixed - ESC]0; is now removed from log files when using the browser-side logging feature ## [0.2.0] 2018-02-10 Mostly client (browser) related changes in this release ### Added - Menu system - Fontawesome icons - Resizing browser window sends resize events to terminal container as well as SSH session (pty) - 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) - Logging of MRH session (unassigned if not present) - Express compression feature ### Changed - Updated xterm.js to 3.0.2 - See https://github.com/xtermjs/xterm.js/releases/tag/3.0.2 - See https://github.com/xtermjs/xterm.js/releases/tag/3.0.1 - See https://github.com/xtermjs/xterm.js/releases/tag/3.0.0 - Moved javascript events out of html into javascript - Changed asset packaging from grunt to Webpack to be inline with xterm.js direction - 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') ### Fixed - Resolved loss of terminal foucs when interacting with option buttons (Logging, etc...) # Change Log ## [0.1.4] 2018-01-30 ### Changed - Moved socket and util out of folders into .js in root. - added keepaliveInterval and keepaliveCountMax config options ## [0.1.3] 2017-09-28 ### Changed - Upgrade to debug@3.1 to eliminate ReDoS in %o formatter - Upgrade Express to 4.15.5 for ReDOS - Upgrade basic-auth to v2.0 ## [0.1.2] 2017-07-31 ### Added - ssh.readyTimeout option in config.json (time in ms, default 20000, 20sec) ### Changed - Updated xterm.js to 2.9.2 from 2.6.0 - See https://github.com/sourcelair/xterm.js/releases/tag/2.9.2 - See https://github.com/sourcelair/xterm.js/releases/tag/2.9.1 - See https://github.com/sourcelair/xterm.js/releases/tag/2.9.0 - See https://github.com/sourcelair/xterm.js/releases/tag/2.8.1 - See https://github.com/sourcelair/xterm.js/releases/tag/2.8.0 - See https://github.com/sourcelair/xterm.js/releases/tag/2.7.0 - Updated ssh2 to 0.5.5 to keep current, no fixes impacting WebSSH2 - ssh-streams to 0.1.19 from 0.1.16 - Updated validator.js to 8.0.0, no fixes impacting WebSSH2 - https://github.com/chriso/validator.js/releases/tag/8.0.0 - Updated Express to 4.15.4, no fixes impacting WebSSH2 - https://github.com/expressjs/express/releases/tag/4.15.4 - Updated Express-session to 1.15.5, no fixes impacting WebSSH2 - https://github.com/expressjs/session/releases/tag/v1.15.5 - Updated Debug to 3.0.0, no fixes impacting WebSSH2 - https://github.com/visionmedia/debug/releases/tag/3.0.0 - Running in strict mode ('use strict';) ## [0.1.1] 2017-06-03 ### Added - `serverlog.client` and `serverlog.server` options added to `config.json` to enable logging of client commands to server log (only client portion implemented at this time) - morgan express middleware for logging ### Changed - Updated socket.io to 1.7.4 - continued refactoring, breaking up `index.js` - revised error handling methods - revised session termination methods ### Fixed ### Removed - color console decorations from `util/index.js` - SanatizeHeaders function from `util/index.js` ## [0.1.0] 2017-05-27 ### Added - This ChangeLog.md file - Support for UTF-8 characters (thanks @bara666) - Snyk, Bithound, Travis CI - Cross platform improvements (path mappings) - Session fixup between Express and Socket.io - Session secret settings in `config.json` - env variable `DEBUG=ssh2` will put the `ssh2` module into debug mode - env variable `DEBUG=WebSSH2` will output additional debug messages for functions and events in the application (not including the ssh2 module debug) - using Grunt to pull js and css source files from other modules `npm run build` to rebuild these if changed or updated. - `useminified` option in `config.json` to enable using minified client side javascript (true) defaults to false (non-minified) - sshterm= query option to specify TERM environment variable for host, valid strings are alpha-numeric with a hypen (validated). Otherwise the default ssh.term variable from `config.json` will be used. - validation for host (v4,v6,fqdn,hostname), port (integer 2-65535), and header (sanitized) from URL input ### Changed - error handling in public/client.js - moved socket.io operations to their own file /socket/index.js, more changes like this to come (./socket/index.js) - all session based variables are now under the req.session.ssh property or socket.request.ssh (./index.js) - moved SSH algorithms to `config.json` and defined as a session variable (..session.ssh.algorithms) -- prep for future feature to define algorithms in header or some other method to enable separate ciphers per host - minified and combined all js files to a single js in `./public/webssh2.min.js` also included a sourcemap `./public/webssh2.min.js` which maps to `./public/webssh2.js` for easier troubleshooting. - combined all css files to a single css in `./public/webssh2.css` - minified all css files to a single css in `./public/webssh2.min.css` - copied all unmodified source css and js to /public/src/css and /public/src/js respectively (for troubleshooting/etc) - sourcemaps of all minified code (in /public/src and /public/src/js) - renamed `client.htm` to `client-full.htm` - created `client-min.htm` to serve minified javascript - if header.text is null in `config.json` and header is not defined as a get parameter the Header will not be displayed. Both of these must be null / undefined and not specified as get parameters. ### Fixed - Multiple errors may overwrite status bar which would cause confusion as to what originally caused the error. Example, ssh server disconnects which prompts a cascade of events (conn.on('end'), socket.on('disconnect'), conn.on('close')) and the original reason (conn.on('end')) would be lost and the user would erroneously receive a WEBSOCKET error as the last event to fire would be the websocket connection closing from the app. - ensure ssh session is closed when a browser disconnects from the websocket - if headerBackground is changed, status background is changed to the same color (typo, fixed) ### Removed - Express Static References directly to module source directories due to concatenating and minifying js/css ## [0.0.5] - 2017-03-23 ### Added - Added experimental support for logging (see Readme) ### Fixed - Terminal geometry now properly fills the browser screen and communicates this to the ssh session. Tested with IE 11 and recent versions of Chrome/Safari/Firefox. ## [0.0.4] - 2017-03-23 ### Added - Set default terminal to xterm-color - Mouse event support - New config option, config.ssh.term to set terminal ### Changed - Update to Xterm.js 2.4.0 - Minor code formatting cleanup ## [0.0.3] - 2017-02-16 ### Changed - Update xterm to latest (2.3.0) ### Fixed - Fixed misspelled config.ssh.port property ## [0.0.2] - 2017-02-01 ### Changed - Moving terminal emulation to xterm.js - updating module version dependencies ### Fixed - Fixed issue with banners not being displayed properly from UNIX hosts when only lf is used ## [0.0.1] - 2016-06-28 ### Added - Initial proof of concept and release. For historical purposes only.