Bill Church
05e69507ac
BREAKING CHANGE: remove internet explorer compat
2022-07-08 15:30:53 -04:00
Bill Church
5b8f88cfef
feat: credentials over http post for #290
2022-07-07 11:21:49 -04:00
zhangchao
40cbb35616
fix: Fix the parameter passing problem of setDefaultCredentials to make it perform data initialization normally ( #288 )
...
Co-authored-by: wooc <wooc@hwj-robots.com>
2022-07-05 11:24:39 -04:00
Bill Church
e75392b879
refactor: light refactoring
2022-05-20 15:12:01 -04:00
Bill Church
e0742db22f
refactor: clean up shutdown and move sockets
2022-05-19 16:17:56 -04:00
Bill Church
3f22c8b8e0
refactor: move some functions out of app.js
2022-05-19 12:10:41 -04:00
Bill Church
9dfa8031c0
refactor: cleanup basic auth code
2022-05-19 10:13:26 -04:00
Bill Church
9c99b0940e
feat!: config system changes #284 ( #285 )
2022-05-17 15:24:32 -04:00
Bill Church
522278fa4e
refactor: app.js
2022-05-11 10:44:07 -04:00
Bill Church
6bc9ffe2ed
0.4.0 Release ( #246 )
...
* feat: upgrade to socket.io 4.1.1 #242
* chore: lint ./app/client/src/js/index.js #242
* chore: eslint disable global Blob warning #242
* chore: lint ./app/index.js #242
* chore: lint ./app/server/app.js #242
* chore: setup eslint and airbnb rules disable standard #242
* Delete package-lock-old.json
* chore: lint ./app/index.js #242
* feat: implement alpine docker image from #213
* chore: lint ./app/server/app.js still TODO for stop function #242
* chore: lint ./app/server/util.js #242
* chore: lint ./app/server/app.js reorg socket and safe shutdown
* chore: grammar / spelling
* chore: fix some misplaced next returns in some Express routes #242
* chore: lint ./app/server/socket.js #242
* chore: bump version in ./app/package.json #242
* docs: update docs for 0.4.0 #242
* chore: update package-lock.json
* chore: install Prettier code linter #242
* chore: linting for Prettier #242
* chore: lint ./app/client/src/js/index.js #242
* chore: client linting #242
* Update package-lock.json
* chore: repackage wbssh2 bundle for testing #242
* chore: convert ./app/client/src/js/index.js to typescript #242
* chore: remove html rendering from node
* Update tsconfig.json
* Update tsconfig.json
* Delete index.js
* Update ChangeLog.md
* chore: config for development container #242
* Update BUILDING.md
* feat: pull in #234 staged for 0.4.0 #242
* docs: update changelog
* update package.json
* chore: split config from app/server/app.js #242
* chore: version bump
* chore: consistency
* feat: overridebasic fixes #243 included for #242
* chore: remove serverlog code
* docs: update changelog
2021-05-19 10:22:29 -04:00
Bill Church
26803d60f9
chore: linting
2021-05-11 15:34:01 -04:00
Bill Church
b324f338ad
feat: CORS support
...
Support setting origins for socket.io, fixes #240
2021-05-11 14:55:38 -04:00
Bill Church
7b7e8e7533
fix: obey host ssh.host in config fixes #190
2020-09-17 07:55:52 -04:00
Bill Church
675b4f5a3a
feat: add SIGTERM to safe shutdown feature
2020-03-19 10:30:06 -04:00
Edgar Onghena
61672c3f1e
Add shutdown middleware to prevent requests
2020-03-18 19:35:52 +01:00
Edgar Onghena
61f19ae3ce
Make "safeShutdownDuration" configurable
...
Defaults to 300s = 5min
2020-03-18 19:25:48 +01:00
Edgar Onghena
eb7d91ffbc
Add safe shudown
...
- SIGINT is intercepted and force-quits the 2nd time
- Live countdown on Web UI
- Countdown ignored if all clients disconnect
- Clean exit function
2020-03-18 19:01:53 +01:00
Bill Church
58c3601af0
Module updates ( #185 )
...
* chore: removed compression option code, standardjs
* chore: update packages
* chore: update favicon.ico location
* chore: standardjs run
* chore: update changelog
2020-03-14 13:18:20 -04:00
Bill Church
2db504467c
chore: pull changes from master
2020-03-14 11:10:29 -04:00
Bill Church
152ac1e898
chore: update to read-config-ng
2020-03-14 09:48:02 -04:00
Bill Church
dd33a8b6b0
chore: move root path for all resources under /ssh
2020-03-14 09:06:10 -04:00
Bill Church
342df8eb9c
feat(auth): ssh private key auth implemented via config.json ( #161 )
...
If config.json is present and user.privatekey has an ssh-rsa private key defined as well as a user.name, the SSH server will staticlly authenticate to whatever host is specified on the URL with those credentials.
The ssh-rsa private key must have is line returns replaced with the litaral \n
Example: "-----BEGIN RSA PRIVATE KEY-----\nblahblahblah\n"
2019-11-15 17:22:53 -05:00
Bill Church
65d6ec6845
feat(config): specify local source address and port for client connections fixes #152 ( #158 )
2019-11-15 15:55:54 -05:00
Bill Church
212df80fb6
User pass ( #156 )
...
* 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
2019-11-15 12:58:50 -05:00
Bill Church
9355ad7b5c
Updated packages: ( #153 )
...
Updated packages:
"colors": "~1.4.0",
"compression": "~1.7.4",
"debug": "^4.1.1",
"express": "~4.17.1",
"express-session": "~1.17.0",
"socket.io": "2.2.0",
"ssh2": "~0.8.6",
"terser-webpack-plugin": "^2.2.1",
"validator": "~12.0.0",
"xterm-addon-fit": "^0.3.0",
"xterm-addon-search": "^0.3.0",
"xterm-addon-web-links": "^0.2.1"
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.5",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"file-loader": "^4.2.0",
"postcss-discard-comments": "^4.0.2",
"standard": "^14.3.1",
"style-loader": "^1.0.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2",
"xterm": "^4.2.0"
2019-11-15 10:50:40 -05:00
Bill Church
7cdcbec5f1
add missing fs
...
that was embarassing... fixes #135
2019-06-13 13:43:46 -04:00
Bill Church
95eb700a21
0.2.8 ready for pr ( #133 )
...
* make config.json optional
* update package for 14.1
* push.sh - reset permissions after module load
* build script updates
* update build scripts
2019-05-25 22:54:32 -04:00
Bill Church
8ee76ffe44
update dev dependencies
...
- Update developer dependencies
- Font-Awesome deprecated packages update
- https://github.com/FortAwesome/Font-Awesome/blob/master/UPGRADING.md#50x-to-510
- silence bogus eslint error
2018-11-11 11:20:39 -05:00
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