Commit graph

17 commits

Author SHA1 Message Date
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
fcfbf24d45 update codeclimate
getting "hit" for workspace/ duplication (needed for F5 specific stuff) made exception. also getting "hit" for upstream TODO/HACK in xterm.js, excluding compiled files.
2018-08-07 06:59:37 -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
Bill Church
21f2c4ef9f
Update app.js
changed URL to `reauth` from `logout` as it's not quite performing a `logout` function.
2018-07-30 08:17:39 -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
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
cd8b829675 updating logging
added ip:port logging, updated verbiage for configuration file log
2018-02-17 01:23:59 -05:00
billchurch
6fc1a7912b unused file 2018-02-17 01:20:40 -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