276 Commits

Author SHA1 Message Date
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
kunish
b3c924e33b
fix: logMaxRows value 2023-09-14 18:33:27 +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
1a37a106f8
feat(connections): shorten the tab names 2023-09-13 23:36:24 +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
b34ceb334d
feat(connections): set CONNECTIONS_TABLE_MAX_CLOSED_ROWS to 200 2023-09-10 19:16:06 +08:00
kunish
669492f22c
feat(logs): use Index instead of For 2023-09-10 19:03:26 +08:00
kunish
07f461f110
feat(connections): use Index instead of key 2023-09-10 18:47:01 +08:00
kunish
9a144e882d
feat(connections): fuzzy filter 2023-09-10 17:55:53 +08:00
kunish
e7eb3dd331
feat(connections): keyed connection rows and cells 2023-09-10 17:43:23 +08:00
kunish
4f8c4b2d15
feat(connections): close filtered connections 2023-09-10 17:29:38 +08:00
kunish
f4788bb463
feat: minor improvements 2023-09-10 16:42:00 +08:00
kunish
392f20932d
refactor: remove unused classnames 2023-09-10 15:33:46 +08:00
Zephyruso
1c61df8b8b fix(proxies): format proxy type 2023-09-10 11:20:40 +08:00
kunish
b000f919fc
feat(logs): fixes #194 2023-09-10 01:10:56 +08:00
kunish
e935aedfcf
feat(setup): prefix endpoint url with current url protocol if missing 2023-09-10 00:58:21 +08:00
kunish
730ab8641b
refactor: update index.css 2023-09-09 18:45:43 +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
kunish
320998a7e9
refactor: typos 2023-09-08 23:44:51 +08:00
kunish
0c3c908d4f
refactor: remove useless classnames 2023-09-08 23:16:27 +08:00
kunish
965ec502ac
feat(logs): add i18n translation support
Signed-off-by: kunish <kunish.butt@gmail.com>
2023-09-08 21:22:34 +08:00
Zephyruso
f2ef7790dd refactor: use ws request conns 2023-09-08 18:42:15 +08:00
kunish
6957cb4ddf
feat(connections): make connections table sorting state persisted 2023-09-08 18:37:03 +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
d0c7c1569d fix(connections): table close conn 2023-09-08 11:41:47 +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
59a7273665 fix(button): btn disable 2023-09-08 10:18:48 +08:00
kunish
4da1720e55
feat: add a gradient color to logo text 2023-09-07 20:09:42 +08:00
kunish
82452688c9
feat(proxy): add more adapter types to be processed by formatProxyType 2023-09-07 19:47:10 +08:00
kunish
c0b04892c8
fix(proxy): fixes #174 2023-09-07 19:42:17 +08:00
kunish
8242706290
fix(setup): fixes #175 2023-09-07 19:36:36 +08:00
kunish
64659b26f1
feat(connections): update connections page top area 2023-09-07 15:09:01 +08:00
Zephyruso
e31c1eb9e0 feat: new logo color 2023-09-07 14:44:02 +08:00