Commit Graph

47 Commits

Author SHA1 Message Date
Soren L. Hansen e9bc3f0131 Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/js/follow-redirects-1.15.6' 2024-03-25 11:32:33 -07:00
Soren L. Hansen f719846bf3 Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/js/webpack-dev-middleware-5.3.4' 2024-03-25 11:32:17 -07:00
Soren L. Hansen adfc112d1a Merge branch 'upgrade-xterm' of https://github.com/josegonzalez/gotty 2024-03-25 11:30:46 -07:00
Jose Diaz-Gonzalez ba9326e417 feat: add support for specifying custom querystring arguments
This allows folks to implement token-based authentication for websocket access.

Closes #82
2024-03-25 10:55:26 -07:00
dependabot[bot] e9887233c0
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /js
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 11:27:03 +00:00
dependabot[bot] 09c61da056
Bump follow-redirects from 1.15.5 to 1.15.6 in /js
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-17 00:13:12 +00:00
Jose Diaz-Gonzalez 721607826e feat: upgrade xterm the latest 5.3.0 release
There are some breaking api changes as documented here: https://github.com/xtermjs/xterm.js/releases/tag/5.0.0
2024-02-15 02:29:48 -05:00
Soren L. Hansen 4b7715e6b3 npm update 2024-02-11 18:04:48 -08:00
dependabot[bot] 3557ea60a6
Bump postcss from 8.4.16 to 8.4.31 in /js
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.16...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 03:47:51 +00:00
dependabot[bot] 2204b28af9 Bump semver from 7.3.7 to 7.5.3 in /js
Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-25 13:28:17 -07:00
dependabot[bot] b63b83b3ae Bump json5 from 2.2.1 to 2.2.3 in /js
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-25 13:19:23 -07:00
dependabot[bot] 338566985b Bump webpack from 5.74.0 to 5.76.0 in /js
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-25 13:18:35 -07:00
Søren L. Hansen 63c17b7d51 Prevent warning from tsc about overwriting input 2022-11-28 15:03:43 -08:00
Søren L. Hansen e0ee2822cd Ensure prod builds don't use inline source maps
The bundle grew by a factor of 4, so let's only do that while
we're developing.
2022-11-28 15:03:43 -08:00
Søren L. Hansen 41f09daf42 Improve JS workflow
Now we can launch Chrome from vscode and also set breakpoints and have
them be respected.

Work still to be done:

The "Launch Chrome" task should compile the typescript stuff.

It takes too long to rebuild the typescript stuff. It is bothersome
during development. If we can work around that with webpack, that's
great. If generating the gotty bundle is what makes it all time
consuming, we should skip the bundle generation for development and
change the index.html to point to a not-bundled version.

Partially fixes #3
2022-11-28 15:03:43 -08:00
dependabot[bot] 31530f8a43 Bump loader-utils from 2.0.3 to 2.0.4 in /js
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 12:58:38 -08:00
dependabot[bot] e51731714f
Bump loader-utils from 2.0.2 to 2.0.3 in /js
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 05:12:24 +00:00
Søren L. Hansen 94e587399d Refresh dependencies, drop node-sass
`npm audit` revealed some vulnerabilities:

```

scss-tokenizer  <=0.4.2
Severity: high
Regular expression denial of service in scss-tokenizer - https://github.com/advisories/GHSA-7mwh-4pqv-wmr8
fix available via `npm audit fix --force`
Will install node-sass@4.5.3, which is a breaking change
node_modules/scss-tokenizer
  sass-graph  >=2.2.0
  Depends on vulnerable versions of scss-tokenizer
  node_modules/sass-graph
    node-sass  >=4.6.0
    Depends on vulnerable versions of sass-graph
    node_modules/node-sass

3 high severity vulnerabilities

```

We don't need node-sass, and sass-loader is just as happy using
another sass implementation. The preferred one is dart-sass which
is simply called sass in npm.

In the process, I also did an `npm update` just for good measure.
2022-08-27 02:11:30 -07:00
dependabot[bot] 3ae13e0381
Bump terser from 5.12.1 to 5.14.2 in /js
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 02:54:00 +00:00
Søren L. Hansen bfed9b4320 Release 1.4.0 2022-05-30 14:30:45 -07:00
Søren L. Hansen b63ea16697 Do not include ALL of bootstrap 2022-04-25 22:40:27 +00:00
Søren L. Hansen 7f05f2fe17 Use bootstrap components for up- and downloads 2022-04-25 20:11:43 +00:00
Søren L. Hansen dd3603c341 Make client request base64 encoding
This makes gotty-client still work.
2022-03-31 10:49:47 -07:00
Søren L. Hansen 782991c356 feat(zmodem): Allow file uploads/downloads
Using zmodem (rz and sz commands from lrzsz) you can now send and receive
files.
2022-03-29 14:49:09 -07:00
Søren L. Hansen 163fd0537c Remove hterm 2022-03-28 15:48:20 -07:00
Søren L. Hansen 26fc4127a9 Update js dependencies 2022-03-28 15:22:58 -07:00
Søren L. Hansen a9fbc070ac Add generated data to git 2022-03-28 15:22:58 -07:00
Søren L. Hansen f157dbe9d3 Apply font size and family in xterm
Mostly fixes #21
2021-07-04 13:39:40 -07:00
Søren L. Hansen 81afdc770e Update xterm.js and other js libs
See https://github.com/xtermjs/xterm.js/releases/tag/4.12.0 for release
notes for xterm.js.

Fixes #18
2021-06-02 16:15:40 -07:00
dependabot[bot] 8deba623b6
Bump browserslist from 4.16.4 to 4.16.6 in /js
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.4 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 02:36:50 +00:00
Søren L. Hansen 0dfc5aed76 Add WebGL and links addons for xterm.js 2021-04-22 12:44:06 -07:00
Søren L. Hansen 65b49b18b3 Update xterm.js 2.7.0 => 4.11.0 2021-04-22 10:31:52 -07:00
Soren L. Hansen d9fe29e9c7 Update typescript, webpack, and asset building 2021-04-16 06:49:17 -07:00
Søren L. Hansen 0d6766f621 Split input into buffer sized chunks
Input chunks from the client exceeding the buffer size would get
truncated. Now we communicate the size of the buffer to the webtty and
it will split the input into buffer sized chunks.

Fixes #1.
2021-04-12 19:39:32 -07:00
Søren L. Hansen 4b2f84448c Update assets 2021-04-09 19:18:16 -07:00
Korenevskiy Denis b4728f6aa4 set deactivated terminal handlers to empty functions instead of null
this allows to avoid console spamming with 'not a function' messages
after the connection to server was closed.
2017-11-24 18:16:56 +03:00
Iwasaki Yudai b2c2db0764 Move responsibility to decode output encoding to terminal implementation 2017-08-26 16:55:07 +09:00
Iwasaki Yudai a6ae1210da Move decoder into setup 2017-08-24 13:22:16 +09:00
Iwasaki Yudai ba1aa690ed Use libapps utf8 decoder 2017-08-23 15:32:12 +09:00
Iwasaki Yudai 7355d67a64 Add license-loader
Since xterm and hterm do not have proper comments for their license,
add license-loader to keep their license information in the minimized
bundle file.
2017-08-23 10:58:18 +09:00
Iwasaki Yudai 46a8b006f0 Fix typing of hterm 2017-08-23 10:56:34 +09:00
Iwasaki Yudai 024ab8f28e Minify bundled js code 2017-08-22 16:58:15 +09:00
Iwasaki Yudai 2b4eb55d28 Add typing for libapps 2017-08-22 16:16:28 +09:00
Iwasaki Yudai a8bb23f570 Rename bundle.js to gotty-bundle.js 2017-08-22 16:03:19 +09:00
Iwasaki Yudai 27b6436196 Rename TermXterm and TermHterm to Xterm and Hterm 2017-08-22 15:59:24 +09:00
Iwasaki Yudai 70aaf33082 Bundle hterm 2017-08-22 15:58:50 +09:00
Iwasaki Yudai 8803721f3d Add xterm itegration
* Move to TypeScript from legacy JavaScript
* Add support of xterm.js
* Hterm is still available for backward compatibility
2017-08-21 16:38:28 +09:00