Commit Graph

89 Commits

Author SHA1 Message Date
kunish
4cc5eeb01f
refactor: hoist the websocket connection of connections to global App level 2023-09-19 20:24:13 +08:00
kunish
3e4078d99e
chore: websocket connection string queries type definition 2023-09-17 15:41:37 +08:00
kunish
dc0b286a88
fix(proxy): selectProxyInGroup 2023-09-17 14:55:03 +08:00
kunish
e04ec712ea
perf: batch signals 2023-09-17 03:09:56 +08:00
kunish
2be357e73c
feat(config): update page layout 2023-09-16 23:55:48 +08:00
kunish
e538f9d057
feat(connections): tag client source ip with name, closes #181 2023-09-16 23:31:40 +08:00
kunish
3fbed0d694
fix(log): log level value not selected 2023-09-16 15:38:42 +08:00
kunish
6ffd1a8605
feat(config): reload config file, flush fake-ip data 2023-09-16 02:50:21 +08:00
kunish
353b5ebff3
feat: drop ForTwoColumns renderer 2023-09-16 01:00:30 +08:00
kunish
6743ebde8f
feat(rules): renderInTwoColumns 2023-09-16 00:17:41 +08:00
kunish
9e556d959e
feat(proxy): hideUnAvailableProxies, closes #200 2023-09-15 23:56:21 +08:00
kunish
d77626058a
feat: settings per-page 2023-09-15 23:43:55 +08:00
kunish
c607a31070
chore(connections): fix connections type definition 2023-09-15 13:37:11 +08:00
sdttttt
b66dd8902d
[Feature] 添加日志保留行数调节选项 (#217)
* feat: Add LogLevel option.

* style: update debug log color.

* fix: code lint, constant extract, i18

* chore: Add prettierignore

* refactor: Remove LogType.

* fix(type err.): type err

* Update src/signals/request.ts

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

* refactor: var name change.

* Update package.json

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

* feat: Add log max rows option.

* style(format): format

* fix: import err.

* chore: reset.

* Update package.json

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

* Update src/pages/Config.tsx

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

* Update src/pages/Config.tsx

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

---------

Signed-off-by: sdttttt <Kaltsit@111.com>
Signed-off-by: sdttttt <sdttttt@163.com>
Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
2023-09-14 18:31:52 +08:00
kunish
ef36decc3c
refactor: auto switch theme 2023-09-14 17:12:55 +08:00
kunish
51f99b94ef
style: set endOfLine as lf instead of crlf 2023-09-14 16:53:33 +08:00
sdttttt
0026008178
[Feature] 添加日志等级设置 (#215)
* feat: Add LogLevel option.

* style: update debug log color.

* fix: code lint, constant extract, i18

* chore: Add prettierignore

* refactor: Remove LogType.

* fix(type err.): type err

* Update src/signals/request.ts

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

* refactor: var name change.

* Update package.json

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: sdttttt <Kaltsit@111.com>

---------

Signed-off-by: sdttttt <Kaltsit@111.com>
Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
2023-09-14 16:49:39 +08:00
kunish
8483d313c5
refactor: set api authorization headers 2023-09-13 15:26:58 +08:00
kunish
71fd8ab22e
refactor: add api module 2023-09-12 21:33:16 +08:00
kunish
34ea1f1c56
feat(config): select tunnel mode 2023-09-12 20:50:52 +08:00
nb5p
9f227c9c2c
fix(overview): error when reading length (#188)
* fix(overview): error when reading length

* fix(connections): update WsMsg type definition

---------

Signed-off-by: nb5p <2098464+nb5p@users.noreply.github.com>
Co-authored-by: nb5p <nb5p@users.noreply.github.com>
2023-09-12 18:11:47 +08:00
kunish
07f461f110
feat(connections): use Index instead of key 2023-09-10 18:47:01 +08:00
nb5p
a9aa8e540e
feat(rules): tab style for rules page #163 (#187)
Co-authored-by: nb5p <nb5p@users.noreply.github.com>
Co-authored-by: kunish <kunish.butt@gmail.com>
2023-09-09 17:16:18 +08:00
kunish
daf168208e
feat(connections): show connection detail on click of a button 2023-09-09 03:49:29 +08:00
Zephyruso
f2ef7790dd refactor: use ws request conns 2023-09-08 18:42:15 +08:00
Zephyruso
4b498fa022 refactor: use const instead of func 2023-09-08 17:09:32 +08:00
Zephyruso
04ccde246e refactor(proxies): untrack msg 2023-09-08 15:45:15 +08:00
Zephyruso
bed4be6742 refactor(proxies): remove allconnections reactive for better performance 2023-09-08 15:35:06 +08:00
Zephyruso
a7213df135 refactor(proxies): use connection msg instead of active connections for better performance 2023-09-08 15:22:07 +08:00
Zephyruso
a8cb75f29d fix(proxies): disconnect after proxy is changed 2023-09-08 15:09:19 +08:00
Zephyruso
f3423abe92 fix(connections): close conns 2023-09-08 13:53:08 +08:00
Zephyruso
5263710d30 fix(connections): limit number of conns 2023-09-08 13:43:47 +08:00
Zephyruso
700302fd78 refactor: connections and types 2023-09-08 13:39:51 +08:00
kunish
9fb91e764b
chore: fix typos 2023-09-08 11:55:22 +08:00
Zephyruso
b04b20f8f0 fix(connections): ws error when switch end point 2023-09-08 11:35:53 +08:00
Zephyruso
15d20cde4a feat(proxies): auto close connections when proxy selected 2023-09-08 11:22:16 +08:00
Zephyruso
44739f6962 fix(rules): request token error 2023-09-07 12:54:47 +08:00
kunish
93114b22a2
feat(proxy): merge proxies and proxyProviders into one page 2023-09-06 20:06:47 +08:00
Zephyruso
714158742d refactor(proxies): use ws request 2023-09-06 19:33:07 +08:00
Zephyruso
a13060a056 fix(request): ws request url 2023-09-06 18:56:57 +08:00
Zephyruso
7e2fe6acb0 feat(rules): config for render rules in two columns 2023-09-06 16:08:25 +08:00
kunish
2d61f45372
feat(connections): split source info into sourceIP and sourcePort 2023-09-06 11:55:12 +08:00
Zephyruso
5f1e77320d fix(config): speedtest timeout config 2023-09-06 11:17:00 +08:00
Zephyruso
5f0fb23f15 fix(proxies): speedtest params error 2023-09-06 10:41:30 +08:00
kunish
5f4f9a8ae8
fix: tableSizeClassName not been generated by tailwindcss 2023-09-06 10:37:25 +08:00
kunish
3a2560f152
fix(logs): table size 2023-09-06 03:08:28 +08:00
kunish
e09aac2f4b
fix(proxy): updateAllProvider, some of the proxy provider update may throw 2023-09-05 22:38:42 +08:00
kunish
d01d148cff
feat(config): add setting, requestTimeoutDuration 2023-09-05 22:32:47 +08:00
kunish
90ecb86603
feat: make some changes in response to community suggestions
- allow to change the size of the tables (xs, sm, md, lg)
- move switch endpoint button to config page
- move proxy group preview options into select component
2023-09-05 20:55:39 +08:00
Zephyruso
c4a7163786 refactor: use a map for update state 2023-09-05 15:38:42 +08:00