Webssh2 Versions Save

Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2

webssh2-v0.4.7-pre-4

1 year ago

0.4.7-pre-4 (2022-08-03)

Miscellaneous Chores

webssh2-v0.4.7-pre-3

1 year ago

0.4.7-pre-3 (2022-08-03)

Miscellaneous Chores

webssh2-v0.4.7-pre-2

1 year ago

0.4.7-pre-2 (2022-08-02)

⚠ BREAKING CHANGES

  • validate referer to /reauth is valid
  • bump xterm to 4.18.0
  • consistent logging messages see #286
  • config system changes #284 (#285)

Features

Bug Fixes

  • Fix the parameter passing problem of setDefaultCredentials to make it perform data initialization normally (#288) (40cbb35)
  • invalid css in style.css (ffab534)

package

0.4.6

2 years ago

Fixes

  • update read-config-ng to 3.0.5, fixes #277

v0.4.6

2 years ago

Fixes

  • update read-config-ng to 3.0.5, fixes #277

0.4.5

2 years ago

Fixes

  • Update socket.io to 4.2.0
  • Update read-config-ng to 3.0.4

0.4.4

2 years ago

Fixes

Changes

  • update README.md for additional Docker methods thanks @Utopiah

0.4.3

2 years ago

0.4.2

2 years ago

changes

  • update dependencies
    • socket.io to 4.1.1
    • read-config-ng to 3.0.2
    • debug to 4.3.1

0.4.0

2 years ago

BREAKING

  • Disabled ssh.serverlog.client option, this disables the POC which allowed for logging of the data sent between the client/server to the console.log.
  • Dropping support for node versions under 14

Changes

  • Removed HTML menu code from ./app/server/socket.js, the menu is now fully laid out in the ./app/client/src/index.html and the option elements are hidden by default. Not sure why it wasn't done this way from the start, but there it is.
  • Updated socket.io to v4.1.1
  • Client javascript ./app/client/src/js/index.ts is now built on TypeScript (npm run build will generate javascript for client and place into app/client/public/webssh2.bundle.js as before)
  • Build environment changes
    • removed unused xterm-addon-search, xterm-addon-weblinks, standard, postcss-discard-comments
    • added prettier 2.3.0, typescript modules, socket.io-client 4.1.1, airbnb linting tools

Added

  • Lookup ip address for hostname in URL, fixes #199 thanks to @zwiy
  • Ability to override Authorization: Basic header and replace with credentials specified in config.json fixes #243. New config.json option user.overridebasic

CONTRIBUTING

In this release, we're trying our best to conform to the Airbnb Javascript Style Guide. I'm hoping this will make contributions easier and keep the code readable. I love shortcuts more than anyone but I've found when making changes to code I've not looked at in a while, it can take me a few momements to deconstruct what was being done due to readbility issues. While I don't agree with every decision in the style guide (semi-colons, yuk), it is a good base to keep the code consistent.

If you've not used it before, I recommend installing the vscode extensions for that and Prettier and getting familiar. The autocorrections are great (especially if you hate dealing with semi-colons...)

As of 0.4.0-testing-0, the client code is written in TypeScript. It's not that much different from JavaScript, and the introduction strong typing will ultimately help to produce better code. Eventually we want to move the whole project to TypeScript but that make take a bit more time. Take a moment to look at ./app/client/src/js/index.ts to see what TypeScript looks like.