Commit graph

12 commits

Author SHA1 Message Date
Bill Church
395904d5a2 fix reauth option, move files into /app, update dockerfile, update packages
- `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
- **BREAKING** moved app files to /app, this may be a breaking change
- Updated dockerfile for new app path
- Updated app dependancies
  - xterm v3.8.0
    - https://github.com/xtermjs/xterm.js/releases/tag/3.8.0
  - basic-auth v2.0.1
    - https://github.com/jshttp/basic-auth/releases/tag/v2.0.1
  - express v4.16.4
    - https://github.com/expressjs/express/releases/tag/4.16.4
  - validator v10.9.0
    - https://github.com/chriso/validator.js/releases/tag/10.9.0
- Updated dev dependancies
  - snazzy v8.0.0
  - standard v12.0.1
  - uglifyjs-webpack-plugin v2.0.1
  - ajv v6.5.5
  - copy-webpack-plugin v4.6.0
  - css-loader v1.0.1
  - nodemon v1.18.6
  - postcss-discard-comments v4.0.1
  - snyk v1.108.2
  - url-loader v1.1.2
  - webpack v4.25.1
  - webpack-cli v3.1.2
2018-11-11 10:07:37 -05:00
Valentin Valchev
a18efd20ad Fixes #112 - Re-auth doesn't work if incorrect auth was provided initially.
https://github.com/billchurch/WebSSH2/issues/112

This commit send 'reauth' command to the client, when err.level === 'client-authentication'.

The client itself binds the 'reauthSession' function to that command, so it will automatically request authentication, every time the authentication fails.

The client bundle (webpack) is also rebuild with the made changes.
2018-10-11 11:18:01 +03:00
Bill Church
9bbc116120 reauth feature
fixes #75 and potentially #51 thanks to both @vbeskrovny and @vvalchev
2018-07-30 09:54:36 -04:00
billchurch
d99693b37c ESC]0; is now removed from log files when using the browser-side logging feature. fixes #49 2018-02-17 11:19:22 -05:00
billchurch
3138a7c9db Upgrade xterm.js to 3.1.0, add bellStyle options
- 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
2018-02-17 10:02:22 -05:00
billchurch
3a700eedf1 browser title now changes with xterm escape sequences. see
http://tldp.org/HOWTO/Xterm-Title-3.html
2018-02-17 09:21:43 -05:00
billchurch
de19843aad Revert "Revert "more housekeeping""
This reverts commit 8ef6698a33.
2018-02-17 01:07:14 -05:00
billchurch
7b5224d7d1 Revert "Revert "housekeeping""
This reverts commit 67b15e1c2f.
2018-02-17 01:06:37 -05:00
billchurch
67b15e1c2f Revert "housekeeping"
This reverts commit bc19432dfa.
2018-02-17 01:05:52 -05:00
billchurch
8ef6698a33 Revert "more housekeeping"
This reverts commit 7d21b78ba1.
2018-02-17 01:04:18 -05:00
billchurch
7d21b78ba1 more housekeeping 2018-02-17 00:32:03 -05:00
billchurch
bc19432dfa housekeeping
Move bulk of server .js file files to /server, all client related files
live in /client (including /public), webpack scripts now live in
/scripts, cleanup of paths in /client/src/js/index.js and webpack.js.
2018-02-16 23:48:00 -05:00
Renamed from src/js/index.js (Browse further)