Commit Graph

52 Commits

Author SHA1 Message Date
老J
0a9f5be727
Merge 9813acaff3 into 113b502abb 2024-02-11 19:50:12 -08:00
180909
546ac8d62b Remove ioutil import 2024-02-11 17:35:53 -08:00
llaoj
24549dca01 1. Adjusted the log format
2. optimized code
2022-12-11 18:00:15 +08:00
llaoj
a7d7ea6629 1. introduct operation log feature in README.md
2. add args(json) in operation logs
2022-11-13 11:14:11 +08:00
llach
d92d17c15d task: change exmaple to use Cookie 2022-09-15 16:46:39 +00:00
llach
e8f5de568d task: pass headers 2022-09-15 16:15:54 +00:00
llach
936288058d Merge branch 'master' of https://github.com/sorenisanerd/gotty into process-http-headers 2022-09-15 15:26:18 +00:00
Søren L. Hansen
d0e3ffbb17 Add missing import "strings" 2022-08-27 00:42:49 -07:00
xgdgsc
7706bf250f
add slash 2022-08-22 12:59:12 +08:00
Søren L. Hansen
1eed97f0f8 Make sure we read the full message 2022-03-31 10:42:51 -07:00
Søren L. Hansen
163fd0537c Remove hterm 2022-03-28 15:48:20 -07:00
Steve Biedermann
4109b117fe add quiet flag to disable logging 2021-11-09 17:23:04 +01:00
George Grozdev
77ac0b8e58 Allow processing of HTTP headers at WS creation 2021-10-14 09:48:46 +01:00
Søren L. Hansen
f66f0d0443 Use Go's built-in embed mechanism
Fixes #7
2021-06-04 09:01:20 -07:00
Søren L. Hansen
5c8eb10598 Disable arg passing by default
This is how it's been documented since forever.

Fixes #17
2021-06-01 10:11:42 -07:00
Søren L. Hansen
faeb610961 Refresh artwork 2021-04-25 02:31:38 -07: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
ce0eeb8457 Switch back to xterm as the default
I somehow got the impression that xterm was the legacy one, but
according to the git history, hterm is the legacy and now we're
caught up with xterm, so let's stick with that.
2021-04-22 10:31:52 -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
1edcacf955 Merge 'apatil2/master' 2021-04-19 02:53:24 -07:00
Soren L. Hansen
3dd0f9245c Release v1.1.0
Calling the release v2 made it very awkward to install. Oh, well.
2021-04-19 00:23:31 -07:00
Soren L. Hansen
117747708b Release v2.1.0 2021-04-18 08:27:24 -07:00
Soren L. Hansen
d503d912f3 Use hterm by default 2021-04-18 07:09:37 -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
e988349add Merge branch 'pr/sehaas/294' 2021-04-10 23:22:43 -07:00
Søren L. Hansen
4e017f1618 Take over GoTTY maintainership
@yudai built this amazing piece of software, but it now needs a new,
active maintainer. I'm taking a stab at it.
2021-04-10 21:46:31 -07:00
Søren L. Hansen
6353624986 Merge branch 'update-toolchain' 2021-04-10 21:17:50 -07:00
Søren L. Hansen
4b2f84448c Update assets 2021-04-09 19:18:16 -07:00
Sebastian Haas
b685b8040a Add Progressive Web App support
provide manifest.json to enable PWA compatibilities
2020-10-01 22:32:47 +02:00
Mikhail f. Shiryaev
fd0ccc1f0b
Fix printing ipv6 with brackets 2019-12-30 13:55:36 +01:00
Iwasaki Yudai
6ab3093956 Pickup random port when port option is 0
With upgrading go to go1.9 to use http.Server.ServeTLS()
2017-08-26 17:23:04 +09:00
Iwasaki Yudai
b2c2db0764 Move responsibility to decode output encoding to terminal implementation 2017-08-26 16:55:07 +09:00
Iwasaki Yudai
807bcc25a4 Refine API of webtty package 2017-08-24 14:40:28 +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
4d682aa01d Add "apple symbols' to xterm font list
Since Chrome on Mac OS doesn't show characters like U+1696,
we need to add a font that has those characters as a fallback target.
2017-08-23 11:11:04 +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
48c91151ad Enable gzip compression 2017-08-22 17:31:27 +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
70aaf33082 Bundle hterm 2017-08-22 15:58:50 +09:00
Iwasaki Yudai
8f95182392 Show command in log 2017-08-22 12:11:11 +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
Iwasaki Yudai
d6c98866b9 Output proper log when upgrade fails 2017-08-21 15:36:23 +09:00
Iwasaki Yudai
6765efbd61 Add new option to allow cross origin requests to WS endpoint 2017-08-13 15:09:22 +09:00
Iwasaki Yudai
84ec13ca19 Do not show ws log 2017-08-13 14:00:51 +09:00
Iwasaki Yudai
af41111458 Show alternative URLs when address is 0.0.0.0 2017-08-13 13:53:48 +09:00
Iwasaki Yudai
2a2a034788 Fix possible race condition on timeout 2017-08-13 13:40:00 +09:00