Commit Graph

558 Commits

Author SHA1 Message Date
Jianhui Zhao 1193295869 chore: improve variable name
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-09-25 16:25:41 +08:00
dependabot[bot] 5b10a09757 build(deps): bump shell-quote from 1.7.2 to 1.7.3 in /ui (#114)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-31 16:30:54 +08:00
dependabot[bot] 805490b60e build(deps): bump terser from 4.8.0 to 4.8.1 in /ui (#113)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-31 16:04:02 +08:00
dependabot[bot] f367140763 build(deps): bump eventsource from 1.1.0 to 1.1.1 in /ui (#109)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-31 16:03:51 +08:00
Jianhui Zhao 6cd409379b fix: ui: fix copy text from term
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-07-31 16:02:17 +08:00
Jianhui Zhao 25e9fad0b4 feat: support WebSocket in http proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-07-31 15:23:11 +08:00
Jianhui Zhao 06695ba338 feat: support https proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-07-31 15:22:28 +08:00
Jianhui Zhao 8bfd8459e9 ci: last push latest tag for docker
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-28 11:34:37 +08:00
Jianhui Zhao be2391c0e0 chore: bump version 4.0.2
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-27 23:48:45 +08:00
Jianhui Zhao 8a1f13e3d0 ci: Automatic push docker image
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-27 23:48:01 +08:00
Jianhui Zhao d4b8ad7ea5 fix: panic: send on closed channel
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-12 21:45:44 +08:00
Jianhui Zhao 65a5155e21 chore: remove Dockerfile
Due to it hasn't been maintained in a long time

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-12 09:37:49 +08:00
Jianhui Zhao ed859122e0 feat: support specify path and query for web proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-09 16:51:32 +08:00
Jianhui Zhao f8efeafa58 chore: ui: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-09 15:36:43 +08:00
Jianhui Zhao 522ab5e2bb feat: ui: add example for web proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-09 15:16:25 +08:00
Jianhui Zhao a797ffbc4d chore: add a script to build ui
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-09 14:53:56 +08:00
Jianhui Zhao a6b77fd8b6 chore: update README
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-04 17:26:29 +08:00
Jianhui Zhao 226d891593 chore: update README
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-03 17:13:24 +08:00
Jianhui Zhao ef07447397 chore: bump version 4.0.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-03 00:40:13 +08:00
Jianhui Zhao 5122e4c4fa ci: add arm64
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-03 00:40:03 +08:00
Jianhui Zhao 53d7676f6f chore: update README
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-03 00:26:34 +08:00
Jianhui Zhao 978d87ebc1 feat: support build statically
Use `modernc.org/sqlite` implemented in pure go,
so we can building with `CGO_ENABLED=0`.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-03 00:26:34 +08:00
dependabot[bot] 63c9984648 build(deps): bump async from 2.6.3 to 2.6.4 in /ui (#106)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 19:46:42 +08:00
dependabot[bot] 39490afb8d build(deps): bump minimist from 1.2.5 to 1.2.6 in /ui (#104)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:14:16 +08:00
dependabot[bot] ac76421fad build(deps): bump url-parse from 1.5.3 to 1.5.10 in /ui (#103)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:14:06 +08:00
dependabot[bot] e547ea99de build(deps): bump follow-redirects from 1.14.4 to 1.14.8 in /ui (#101)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.8)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:13:56 +08:00
Jianhui Zhao 87ac722304 fix: panic: send on closed channel
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-04-12 17:25:37 +08:00
Jianhui Zhao 03b976a9d1 chore: fix code style
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-04-12 17:24:17 +08:00
docooler 4a55679095 perf: force use tls 1.1 #99 2021-12-22 17:12:01 +08:00
linG 18ecdb50ef code fs, _ := fs.Sub(staticFs, ui/dist) file directory not exist (#98)
* update `html` to `ui`

* add `node` version

* fixed `fs, _ := fs.Sub(staticFs, ui/dist)` used file directory not exist at build time
2021-12-17 14:22:51 +08:00
linG 21d3f4748f update html to ui and add node version (#97)
* update `html` to `ui`

* add `node` version
2021-12-16 12:22:11 +08:00
Jianhui Zhao 80c8a0868d fix: ui: A abnormity caused by click 'OK' when no file selected.
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-12-15 09:05:21 +00:00
Jianhui Zhao 56d8e3365e feat: ui: clear last selected file on upload file
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-12-15 08:50:35 +00:00
Jianhui Zhao 43ed146e44 fix: deadlock caused by sending keepalive frame
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-12-15 08:23:08 +00:00
Jianhui Zhao 0e7632d113 perf: verify message length for msgTypeRegister
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-10-12 06:12:55 +00:00
Jianhui Zhao 79f88f5671 chore: remove redundant code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-10-12 04:14:21 +00:00
Jianhui Zhao 21a1a7081b feat: it's configurable whether log caller
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-27 23:43:04 +08:00
Jianhui Zhao cc5e8b7896 fix: panic: send on closed channel
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 11:58:41 +00:00
Jianhui Zhao 45486898f8 chore: bump version 4.0.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 09:36:49 +00:00
Jianhui Zhao de28788e42 fix: panic: send on closed channel
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 05:47:30 +00:00
Jianhui Zhao 289f4a1979 perf: ui: rewrite with view-design and fix some bug
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-22 03:27:20 +00:00
Jianhui Zhao 342bd9d37e chore: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-20 00:00:09 +08:00
Jianhui Zhao 33ed98e253 perf: improve http proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-19 23:40:09 +08:00
Jianhui Zhao 9141dd3ab3 perf: Write file data to local while transferring
Before, the download was started after all file data were sent from the device to the browser.
Now, the download starts when the file data begins to transfer.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-19 03:27:32 +08:00
Jianhui Zhao 6f4b25159c perf: Use flow control
For more details please refer to: https://xtermjs.org/docs/guides/flowcontrol/

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-17 01:39:37 +08:00
Jianhui Zhao e26337f3ea chore: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-16 11:53:15 +00:00
Jianhui Zhao a690e3a54a feat: upload/download file support per tty
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-16 10:44:47 +00:00
Jianhui Zhao d00831af35 perf: improve code
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-16 16:56:09 +08:00
Jianhui Zhao 80885c6165 docs: update
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 14:28:49 +00:00
Jianhui Zhao a58a798090 chore: database source default to "sqlite3://rttys.db"
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-09-15 14:24:47 +00:00