Commit Graph

411 Commits

Author SHA1 Message Date
kunish
88bfcf8d73
fix(proxy): proxy node card layout issue, closes #429 2023-10-29 19:21:19 +08:00
kunish
59d7b04d5c
feat(config): tun mode stack: Mixed, closes #431 2023-10-29 19:16:13 +08:00
ak
4d5543c64b
feat: add support for IPv6 check (#403)
* feat: add support for IPv6 check

* Update src/i18n/en.ts

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: ak <140048181+arkxfly@users.noreply.github.com>

* Update src/i18n/zh.ts

Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
Signed-off-by: ak <140048181+arkxfly@users.noreply.github.com>

---------

Signed-off-by: ak <140048181+arkxfly@users.noreply.github.com>
Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
2023-10-22 13:00:09 +08:00
kunish
a648f1e413
feat(proxy): do not truncate the proxy node name when not enough width, closes #351 2023-10-20 00:00:23 +08:00
kunish
522be608a7
fix(config): the bottom edge of the page gets cutoff, closes #385 2023-10-19 23:54:57 +08:00
kunish
dc8fddb08a
feat(connection): drag handle, closes #320 2023-10-19 23:42:33 +08:00
kunish
398f05d8a5
fix(config): backend version is likely to be undefined when invoking isUpdateAvailableAPI 2023-10-16 20:33:41 +08:00
yaotthaha
79335831cb
chore: identify sing-box (#373)
* chore: identify sing-box

* feat(config): hide form elements when endpoint version is sing-box

---------

Co-authored-by: kunish <kunish.butt@gmail.com>
2023-10-16 07:26:16 -05:00
kunish
ce4622b954
fix(setup): setup with url search string not working properly 2023-10-09 20:14:28 +08:00
kunish
7ecc51c43c
fix(setup): use location info from router instead of browser 2023-10-09 01:40:24 +08:00
kunish
82c2772afe
feat(config): toast error message when dns query failed for some reason, closes #321 2023-10-04 18:16:37 +08:00
kunish
59e0b076bf
feat(config): display currently selected endpoint url 2023-10-02 19:09:39 +08:00
kunish
4b93751d4c
refactor(config): use tailwindcss negative value instead of inline literal value 2023-09-29 22:33:33 +08:00
kunish
1f22147cd1
fix(rule): rule pages filter logic is not stable, fixes #313 2023-09-28 16:53:53 +08:00
kunish
389af52c74
feat(proxy): remove collapse component overflow-visible class 2023-09-27 17:02:13 +08:00
kunish
40f07b8efe
feat(proxy): compact proxy node card 2023-09-27 16:49:37 +08:00
kunish
f53a1a4cb3
feat(rule): fuzzy filter 2023-09-26 23:41:01 +08:00
kunish
db16200b1c
feat(rule): filter rules and rule providers by search input 2023-09-26 23:06:50 +08:00
kunish
7145cec62f
feat(rule): implement virtual scroll on rules and rule providers, fixes #285 2023-09-26 22:22:24 +08:00
PuerNya
173e2e228b
chores for proxy latency check (#290)
* chore: update compatibility

* chore: fix proxy related type declarations

* chore: update latency test timeout
2023-09-26 01:28:24 +08:00
kunish
ce3065e22e
chore(config): fix type definition of selected theme value 2023-09-25 23:00:25 +08:00
kunish
4b7f4c899f
fix(proxy): proxy preview dots layout issue 2023-09-25 22:39:36 +08:00
kunish
a86c4ba90d
chore(proxy): preview dots, gap instead of margin 2023-09-25 11:45:42 +08:00
kunish
db24ad20bb
fix(proxy): proxy provider health check not working, closes #282 2023-09-25 11:12:20 +08:00
kunish
0052ce4325
feat(proxy): single proxy node latency testing state indicator 2023-09-24 18:05:52 +08:00
kunish
8f8a54af0a
refactor(proxy): move states into useProxies, rename properties 2023-09-24 17:56:52 +08:00
kunish
9255658e54
feat(proxy): single proxy node latency test 2023-09-24 17:10:01 +08:00
kunish
81fe550912
fix(proxy): fetch proxies after latency test 2023-09-24 15:29:26 +08:00
kunish
be0bc55317
feat(theme): update default theme 2023-09-23 20:47:29 +08:00
kunish
53ee2f31b3
feat(modal): adjust padding of the modal header and footer 2023-09-23 20:43:57 +08:00
kunish
2ee48c8ac9
feat(proxy): shorten the autoCloseConns i18n text 2023-09-23 20:31:00 +08:00
Alpha
eca9a160cc
feat(modals): add modal component (#268)
* feat: add modal component

* feat: add modal component

* fix: proxies page arrow button problem

* fix: button radius problem

* feat: add modal component

* feat: add modal component

---------

Signed-off-by: Alpha <61853980+AlphaGHX@users.noreply.github.com>
2023-09-23 20:24:43 +08:00
kunish
04c8d2524b
fix(rules): reload button style issue 2023-09-23 14:30:36 +08:00
kunish
857d0c5387
feat(config): new version update available indicator 2023-09-23 03:57:08 +08:00
kunish
063cb31f15
feat: overscroll-y-none 2023-09-23 02:18:57 +08:00
kunish
64f2d7139a
feat(config): render versions in two grid columns 2023-09-23 02:16:17 +08:00
kunish
07d3e7fdce
feat(config): i18n support for port numbers 2023-09-23 02:13:17 +08:00
kunish
21d479a1df
feat(i18n): new language switcher in config page 2023-09-23 02:06:57 +08:00
kunish
81bab5d0ab
refactor(i18n): add i18n context provider 2023-09-23 01:46:42 +08:00
kunish
e4a324625f
refactor(i18n): add i18n context provider 2023-09-23 01:38:36 +08:00
kunish
ba21999ed1
fix: time from now date string not following locale changes 2023-09-23 00:34:09 +08:00
kunish
08776a5bee
fix(connection): cannot filter by undefined 2023-09-22 23:13:09 +08:00
kunish
ca1e3ce82c
fix(connection): limit the max width of client source ip select, closes #270 2023-09-22 22:38:20 +08:00
kunish
512accd425
feat(config): support tun related configurations 2023-09-22 22:03:22 +08:00
kunish
0efced7e13
chore(i18n): bump i18n from v1 to v2 2023-09-22 17:14:35 +08:00
kunish
7f8d71ccc5
fix(modals): close icon button style issue 2023-09-22 16:07:51 +08:00
kunish
5ef8410da5
feat(button): icon button 2023-09-22 16:05:36 +08:00
kunish
9cc99ebb8e
feat(config): move switch language button into header 2023-09-22 15:07:13 +08:00
kunish
dd0452dcd3
feat(config): update config page buttons layout, closes #263 2023-09-22 14:25:55 +08:00
kunish
8df4d7a7e9
feat(connection): filter client sourceIP with tag name support, closes #264 2023-09-22 13:46:00 +08:00
kunish
d7e8c2f4a4
feat(LogoText): update logo navigation links 2023-09-22 01:18:21 +08:00
kunish
ffa244760f
feat(connection): filter connections with sourceIP, closes #246 2023-09-22 00:56:55 +08:00
kunish
2b16de18b0
feat(connection): add sniffHost support, #246 2023-09-22 00:12:52 +08:00
kunish
8502a6e489
feat(proxy): regression on render proxies in two columns 2023-09-21 23:58:06 +08:00
kunish
f4e82e0e27
feat(config): three columns on small screen device, five on larger 2023-09-21 22:57:53 +08:00
kunish
2a0b21bcc7
feat(proxy): fetch proxies after latency test 2023-09-21 22:48:11 +08:00
kunish
e0766fc2c8
perf(overview): shrink the data size every minute, closes #234 2023-09-19 20:27:48 +08:00
kunish
4cc5eeb01f
refactor: hoist the websocket connection of connections to global App level 2023-09-19 20:24:13 +08:00
Alpha
737f1b0189
feat: add a close button to the modal (#239)
* feat: add a close button to the modal

* fix: replace modal close icon
2023-09-19 00:35:58 +08:00
PuerNya
b9e9a955f2
feat: show provider expire message with i18n (#237) 2023-09-18 13:45:15 +08:00
kunish
ed947f62a2
fix(proxy): wrap subscription info usage percentage with toFinite 2023-09-17 21:18:46 +08:00
kunish
e7ba6c7c34
fix: subscriptionInfo may not be valid 2023-09-17 19:44:47 +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
3a23e99c26
feat(pwa): add pwa shortcut icon, closes #201 2023-09-17 13:10:53 +08:00
kunish
30764873a8
fix(logs): inconsistent padding 2023-09-17 12:40:24 +08:00
kunish
477fb2233a
fix(logs): inconsistent gap between search input and table 2023-09-17 12:38:53 +08:00
kunish
67345cf1e3
feat(logs): fuzzy filter, sorting 2023-09-17 12:37:10 +08:00
kunish
5277c7bbc9
feat(proxy): show more proxy nodes on larger screen 2023-09-17 12:19:06 +08:00
kunish
b7a0407e42
feat(connection): update tag badges layout 2023-09-17 03:20:52 +08:00
kunish
0015468077
perf: batch signals 2023-09-17 03:15:14 +08:00
kunish
e04ec712ea
perf: batch signals 2023-09-17 03:09:56 +08:00
kunish
95200a56b8
feat(config): update page layout 2023-09-17 00:05:15 +08:00
kunish
2be357e73c
feat(config): update page layout 2023-09-16 23:55:48 +08:00
kunish
d059ea85b3
feat(config): update page layout, limit the max width of the container 2023-09-16 23:46:22 +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
be6edd914a
fix(proxy): dont hideUnAvailableProxies in proxy providers 2023-09-16 14:28:42 +08:00
kunish
6ffd1a8605
feat(config): reload config file, flush fake-ip data 2023-09-16 02:50:21 +08:00
kunish
6d242a4457
fix: proxy providers grid layout 2023-09-16 01:28:58 +08:00
kunish
353b5ebff3
feat: drop ForTwoColumns renderer 2023-09-16 01:00:30 +08:00
kunish
6c5662a7a9
fix(proxy): tabs won't be shown in proxies page when proxy provider list is empty 2023-09-16 00:30:44 +08:00
kunish
ebc95fe585
fix: failed to resolve import solid-infinite-scroll 2023-09-16 00:24:45 +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
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