update build environment (#157)

* Accept default username/password overrides from config. Clarified supplying custom config. (#146)

* feat(auth): username and password may now be sourced from config.json fixes #104

* style:remove test changelog

* build:remove uglify from build process and reaplce with terser

* style:format changelog
This commit is contained in:
Bill Church 2019-11-15 13:01:51 -05:00 committed by GitHub
parent 212df80fb6
commit ca20321625
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 88 deletions

View file

@ -1,5 +1,5 @@
# Change Log
## [0.2.9] 2019-06-13
### 0.2.9 [2019-06-13]
### Changes
- Missing require('fs') in `server/app.js` See issue [#135](../../issues/135)
- Patched read-config to mitigate vulnerability in js-yaml
@ -8,7 +8,7 @@
- sending my patch upstream to read-config, webssh2 package.json points to patched version in my repository https://github.com/billchurch/nodejs-read-config
- See https://github.com/nodeca/js-yaml/issues/475 for more detail
## [0.2.8] 2019-05-25
### 0.2.8 [2019-05-25]
### Changes
- Fixes issue if no password is entered, browser must be closed and restart to attempt to re-auth. See issue [#118](../../issues/118). Thanks @smilesm2 for the idea.
- fixes broken `npm run (build|builddev)`
@ -19,7 +19,7 @@
### Fixes
- ILX workspace may not always import properly due to symbolic links (specifically ./node_modules/.bin). This is removed from the ILX package
## [0.2.7] 2018-11-11
### 0.2.7 [2018-11-11]
### Changes
- `config.reauth` was not respected if initial auth presented was incorrect, regardless of `reauth` setting in `config.json` reauth would always be attempted. fixes [#117](../../issues/117)
- **BREAKING** moved app files to /app, this may be a breaking change
@ -47,14 +47,14 @@
- webpack v4.25.1
- webpack-cli v3.1.2
## [0.2.6] 2018-11-09
### 0.2.6 [2018-11-09]
### Changes
- Reauth didn't work if intial auth presented was incorrect, (see issue #112) fixed thanks @vvalchev
- Update node version supported to >=6 (PR #115) thanks @perlun
- Update packages
- developer dependencies
## [0.2.5] 2018-09-11
### 0.2.5 [2018-09-11]
### Added
- Reauth function thanks to @vbeskrovny and @vvalchev (9bbc116)
- Controlled by `config.json` option `options.allowreauth` true presents reauth dialog and false hides dialog
@ -64,7 +64,7 @@
- previously this configuration option did nothing, this now enables the Credentials button site-wide regardless of the `allowreplay` header value
- Updated debug module to v4
## [0.2.4] 2018-07-18
### 0.2.4 [2018-07-18]
### Added
- Browser title window now changes with xterm escape sequences (see http://tldp.org/HOWTO/Xterm-Title-3.html)
- Added bellStyle options
@ -78,12 +78,12 @@
### Fixed
- ESC]0; is now removed from log files when using the browser-side logging feature
## [0.2.3] unreleased
### 0.2.3 unreleased
### Fixed
- ESC]0; is now removed from log files when using the browser-side logging feature
## [0.2.0] 2018-02-10
### 0.2.0 [2018-02-10]
Mostly client (browser) related changes in this release
### Added
@ -111,18 +111,17 @@ Mostly client (browser) related changes in this release
### Fixed
- Resolved loss of terminal foucs when interacting with option buttons (Logging, etc...)
# Change Log
## [0.1.4] 2018-01-30
### 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
### 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
### 0.1.2 [2017-07-31]
### Added
- ssh.readyTimeout option in config.json (time in ms, default 20000, 20sec)
### Changed
@ -146,7 +145,7 @@ Mostly client (browser) related changes in this release
- Running in strict mode ('use strict';)
## [0.1.1] 2017-06-03
### 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
@ -160,7 +159,7 @@ Mostly client (browser) related changes in this release
- color console decorations from `util/index.js`
- SanatizeHeaders function from `util/index.js`
## [0.1.0] 2017-05-27
### 0.1.0 [2017-05-27]
### Added
- This ChangeLog.md file
- Support for UTF-8 characters (thanks @bara666)
@ -199,14 +198,14 @@ and events in the application (not including the ssh2 module debug)
### Removed
- Express Static References directly to module source directories due to concatenating and minifying js/css
## [0.0.5] - 2017-03-23
### 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
### 0.0.4 - [2017-03-23]
### Added
- Set default terminal to xterm-color
- Mouse event support
@ -216,13 +215,13 @@ and events in the application (not including the ssh2 module debug)
- Update to Xterm.js 2.4.0
- Minor code formatting cleanup
## [0.0.3] - 2017-02-16
### 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
### 0.0.2 - [2017-02-01]
### Changed
- Moving terminal emulation to xterm.js
- updating module version dependencies
@ -230,6 +229,6 @@ and events in the application (not including the ssh2 module debug)
### Fixed
- Fixed issue with banners not being displayed properly from UNIX hosts when only lf is used
## [0.0.1] - 2016-06-28
### 0.0.1 - [2016-06-28]
### Added
- Initial proof of concept and release. For historical purposes only.

View file

@ -1,55 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### 0.2.10-0 (2019-11-15)
### 0.2.9 (2019-06-13)
### 0.2.8 (2019-05-26)
### 0.2.7 (2018-11-11)
### 0.2.6 (2018-11-07)
### 0.2.5 (2018-09-11)
### 0.2.4 (2018-07-18)
### Bug Fixes
* **package:** update ssh2 to version 0.6.1 ([bf15b3e](https://github.com/billchurch/WebSSH2/commit/bf15b3e11d3d0659a3fafdeec616aa6bce719cb7)), closes [#55](https://github.com/billchurch/WebSSH2/issues/55)
* **package:** update validator to version 10.1.0 ([1a15fa5](https://github.com/billchurch/WebSSH2/commit/1a15fa57bbea3b137f0c9ce122542d387119ec4a)), closes [#62](https://github.com/billchurch/WebSSH2/issues/62)
## 0.2.0 (2018-02-10)
### 0.1.4 (2018-01-30)
### Bug Fixes
* package.json to reduce vulnerabilities ([196d769](https://github.com/billchurch/WebSSH2/commit/196d76922e676945fe74019a4cdfbc73fe286dce))
### 0.1.3 (2017-09-28)
### 0.1.2 (2017-08-21)
### Bug Fixes
* package.json to reduce vulnerabilities ([e65a964](https://github.com/billchurch/WebSSH2/commit/e65a964621b48c76fb45053afcc9dc442e7b2fff))
### 0.1.1 (2017-06-03)
## 0.1.0 (2017-05-27)
### 0.0.5 (2017-03-23)
### 0.0.4 (2017-03-23)
### 0.0.3 (2017-02-16)
### 0.0.2 (2017-02-01)
### 0.0.1 (2016-07-28)

View file

@ -1,6 +1,5 @@
const TerserPlugin = require('terser-webpack-plugin');
const merge = require('webpack-merge')
// const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
const common = require('./webpack.common.js')
module.exports = merge(common, {
@ -15,15 +14,3 @@ module.exports = merge(common, {
})],
}
})
/* new UglifyJSPlugin({
uglifyOptions: {
ie8: false,
dead_code: true,
output: {
comments: false,
beautify: false
}
}
}) */