Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.0 Release #246

Merged
merged 41 commits into from
May 19, 2021
Merged

0.4.0 Release #246

merged 41 commits into from
May 19, 2021

Conversation

billchurch
Copy link
Owner

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

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.

@billchurch billchurch merged commit 6bc9ffe into master May 19, 2021
@billchurch billchurch deleted the 0.4.0-dev branch May 19, 2021 14:23
hktalent pushed a commit to hktalent/webssh2 that referenced this pull request Jun 3, 2022
* feat: upgrade to socket.io 4.1.1 billchurch#242

* chore: lint ./app/client/src/js/index.js billchurch#242

* chore: eslint disable global Blob warning billchurch#242

* chore: lint ./app/index.js billchurch#242

* chore: lint ./app/server/app.js billchurch#242

* chore: setup eslint and airbnb rules disable standard billchurch#242

* Delete package-lock-old.json

* chore: lint ./app/index.js billchurch#242

* feat: implement alpine docker image from billchurch#213

* chore: lint ./app/server/app.js still TODO for stop function billchurch#242

* chore: lint ./app/server/util.js billchurch#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 billchurch#242

* chore: lint ./app/server/socket.js billchurch#242

* chore: bump version in ./app/package.json billchurch#242

* docs: update docs for 0.4.0 billchurch#242

* chore: update package-lock.json

* chore: install Prettier code linter billchurch#242

* chore: linting for Prettier billchurch#242

* chore: lint ./app/client/src/js/index.js billchurch#242

* chore: client linting billchurch#242

* Update package-lock.json

* chore: repackage wbssh2 bundle for testing billchurch#242

* chore: convert ./app/client/src/js/index.js to typescript billchurch#242

* chore: remove html rendering from node

* Update tsconfig.json

* Update tsconfig.json

* Delete index.js

* Update ChangeLog.md

* chore: config for development container billchurch#242

* Update BUILDING.md

* feat: pull in billchurch#234 staged for 0.4.0 billchurch#242

* docs: update changelog

* update package.json

* chore: split config from app/server/app.js billchurch#242

* chore: version bump

* chore: consistency

* feat: overridebasic fixes billchurch#243 included for billchurch#242

* chore: remove serverlog code

* docs: update changelog
hktalent pushed a commit to hktalent/webssh2 that referenced this pull request Jun 3, 2022
* feat: upgrade to socket.io 4.1.1 billchurch#242

* chore: lint ./app/client/src/js/index.js billchurch#242

* chore: eslint disable global Blob warning billchurch#242

* chore: lint ./app/index.js billchurch#242

* chore: lint ./app/server/app.js billchurch#242

* chore: setup eslint and airbnb rules disable standard billchurch#242

* Delete package-lock-old.json

* chore: lint ./app/index.js billchurch#242

* feat: implement alpine docker image from billchurch#213

* chore: lint ./app/server/app.js still TODO for stop function billchurch#242

* chore: lint ./app/server/util.js billchurch#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 billchurch#242

* chore: lint ./app/server/socket.js billchurch#242

* chore: bump version in ./app/package.json billchurch#242

* docs: update docs for 0.4.0 billchurch#242

* chore: update package-lock.json

* chore: install Prettier code linter billchurch#242

* chore: linting for Prettier billchurch#242

* chore: lint ./app/client/src/js/index.js billchurch#242

* chore: client linting billchurch#242

* Update package-lock.json

* chore: repackage wbssh2 bundle for testing billchurch#242

* chore: convert ./app/client/src/js/index.js to typescript billchurch#242

* chore: remove html rendering from node

* Update tsconfig.json

* Update tsconfig.json

* Delete index.js

* Update ChangeLog.md

* chore: config for development container billchurch#242

* Update BUILDING.md

* feat: pull in billchurch#234 staged for 0.4.0 billchurch#242

* docs: update changelog

* update package.json

* chore: split config from app/server/app.js billchurch#242

* chore: version bump

* chore: consistency

* feat: overridebasic fixes billchurch#243 included for billchurch#242

* chore: remove serverlog code

* docs: update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

user.name/user.password superseeded by basicAuth Use hostname instead of IP in URL
1 participant