Commit Graph

770 Commits

Author SHA1 Message Date
Fu Jianrong
64cb5a494b feat: Add functionality to disable new sign up in config file (#164) 2024-11-22 13:03:41 +08:00
Fu Jianrong
b7a8f0b831 Separate SSL Configurations for Device and User (#163)
* feat: Separate SSL configurations for device and web UI

* config: Add configuration template
 for web UI SSL

* fix: parse bool

* fix: fix compatibility with old configuration files

* config: update template
2024-11-22 09:14:20 +08:00
Jianhui Zhao
c1b5be5b89 feat: bump version 4.1.2
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
v4.1.2
2024-11-21 12:15:34 +08:00
Jianhui Zhao
5eb0cc7e1b fix: fix websocket proxy #153
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2024-11-21 12:12:38 +08:00
Jianhui Zhao
a78da1182e fix: Fix the issue of device unregistered message print twice
```
Device 'x' unregistered
Device 'x' unregistered
```

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2024-04-26 22:40:20 +08:00
akgnah
d74d9d241f add local-auth to conf file (#141)
Signed-off-by: hangka <1024@setq.me>
2023-08-07 23:25:15 +08:00
Jianhui Zhao
173c9db7da feat: bump version 4.1.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
v4.1.1
2023-05-29 21:54:45 +08:00
Jianhui Zhao
11be8de2ec fix(ui): fix css style of terminal
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-05-29 21:51:17 +08:00
Jianhui Zhao
1ea2a1464e fix(ui): fix css style for Home page
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-05-29 21:32:59 +08:00
Jianhui Zhao
06e0b501f9 docs(ui): update
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-05-29 19:25:58 +08:00
Jianhui Zhao
d55eac354b chore: bump version 4.1.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
v4.1.0
2022-09-25 21:43:48 +08:00
Jianhui Zhao
58c29ec208 feat: https proxy compatible old rtty
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-09-25 17:08:13 +08:00
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>
v4.0.2
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>
v4.0.1
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