Commit graph

10 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
f125085600 update jsthints 2018-09-11 15:13:32 -04: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
Bill Church
29804c7bc8
Update socket.js
changing from `logout` to `reauth`
2018-07-30 08:18:26 -04:00
Valentin Valchev
771800b02a The provided patch, will add a /logout URL, which will re-request the authentication and then redirect you back to the referrer (e.g like http://localhost:2222/ssh/host/myhost.com).
It also adds a menu entry "Switch User" that opens /logout and forces re-authentication.
2018-07-23 13:02:50 +03:00
Bill Church
29478d11f6 rebuilt /client
- Updated dev dependancies
- rebuilt /client with new version of webpack
2018-05-10 10:56:40 -04: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
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 socket.js (Browse further)