Commit Graph

371 Commits

Author SHA1 Message Date
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
Zephyruso
62ff9c3f09 fix(conns): input width 2023-09-07 14:38:59 +08:00
Zephyruso
2ce3016275 feat: hidden scrollbar for mobile 2023-09-07 14:24:48 +08:00
Zephyruso
8cea622251 fix(connections): padding fix 2023-09-07 14:16:41 +08:00
Zephyruso
842ce9e00f fix: tab style for conns and proxies 2023-09-07 14:02:10 +08:00
Zephyruso
66c793550a feat(proxies): default proxies and remove all tab 2023-09-07 13:09:27 +08:00
Zephyruso
44739f6962 fix(rules): request token error 2023-09-07 12:54:47 +08:00
kunish
8d62c9f510
feat: update LogoText 2023-09-07 12:31:22 +08:00
Zephyruso
f56e82a9e1 refactor: undefined 2023-09-07 10:41:42 +08:00
Zephyruso
f72976154d fix: btn size for mobile 2023-09-07 10:34:54 +08:00
kunish
d5112f23da
fix: unselectable ProxyNodeCard also has cursor-pointer applied 2023-09-07 00:16:07 +08:00
kunish
c27b19259b
feat: customize scrollbar 2023-09-06 23:49:39 +08:00
kunish
1bb36a1bd6
feat(proxy): keep tab at the top 2023-09-06 22:47:02 +08:00
kunish
08ed61045f
feat: update the overall look of the app 2023-09-06 22:41:11 +08:00
Zephyruso
6c880628ec fix: btn disable && var name 2023-09-06 22:20:45 +08:00
nb5p
8398dff02d
fix(Connections): disable grouping for time&speed (#160) 2023-09-06 20:40:41 +08:00
Zephyruso
0d61b460cc fix(connections): table max row 200 2023-09-06 20:19:20 +08:00
Zephyruso
68522960fb refactor(connections): conns paused 2023-09-06 20:13:22 +08:00
kunish
ff7dab74b6
fix(proxy): add small gap between update button and tabs 2023-09-06 20:09:24 +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
kunish
2ebedcc1c9
fix(translation): latencyTestTimeoutDuration 2023-09-06 16:17:38 +08:00
Zephyruso
7e2fe6acb0 feat(rules): config for render rules in two columns 2023-09-06 16:08:25 +08:00
Zephyruso
af70669e7a fix(overview): chart font size 2023-09-06 13:13:58 +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
JeelsBoobz
cb2b59a656
Better icon play/pause connections (#150) 2023-09-06 09:50:43 +08:00
kunish
3a2560f152
fix(logs): table size 2023-09-06 03:08:28 +08:00
kunish
0aa9779524
feat(connections): shrink the element sizes down 2023-09-06 02:59:55 +08:00
kunish
6076619485
feat(connections): pausing support 2023-09-06 02:42:11 +08:00
kunish
f97f46720a
fix(connections): limit closed connection items count below 100 2023-09-06 02:17:42 +08:00
kunish
f0e32d93f6
feat(connections): add closed connections tab 2023-09-06 01:19:37 +08:00
kunish
b91332c53d
docs: add connections page preview 2023-09-06 00:38:12 +08:00
kunish
4c8b38f756
feat(connections): connections table now supports grouping 2023-09-06 00:15:22 +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
Zephyruso
1bca408ea1 refactor: rule provider card 2023-09-05 21:39:04 +08:00
Zephyruso
c6f3beec35 fix: icon vertical align 2023-09-05 21:31:41 +08:00
Zephyruso
d908776bf9 chore: p-0 for nav menu 2023-09-05 21:27:39 +08:00
kunish
cc78d4e2b1
feat: make some changes in response to community suggestions
- make the size of the menu items in header larger
- move switch language button to config page
2023-09-05 21:09:35 +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
6575e73439 feat: icon success color when updating 2023-09-05 20:25:49 +08:00
Zephyruso
e6facf1175 fix: rule provider word break 2023-09-05 19:48:28 +08:00
Zephyruso
e19e53d0f6 feat: a stable table 2023-09-05 17:02:43 +08:00
Zephyruso
0115daf014 feat: table style 2023-09-05 16:50:18 +08:00
Zephyruso
37738553f9 refactor: use window size 2023-09-05 16:25:10 +08:00
kunish
9b2e9162cd
chore: fix typo, updating 2023-09-05 16:19:45 +08:00
Zephyruso
2caf0c41dd fix: speedtest icon align 2023-09-05 16:13:11 +08:00
Zephyruso
41fb51e270 refactor: move utils to global helper 2023-09-05 16:03:01 +08:00
Zephyruso
c4a7163786 refactor: use a map for update state 2023-09-05 15:38:42 +08:00
kunish
13abde7a9d
fix: better toggle twemoji implementation 2023-09-05 12:18:32 +08:00
riolu.rs
092aa41972 chore(font): twemoji font don't display when cors 2023-09-05 11:40:00 +08:00
kunish
b68e0c62c0
fix: rollback to h-screen :) 2023-09-05 03:11:51 +08:00
kunish
6f366fe836
fix: use min-h-screen-safe instead of h-screen 2023-09-05 03:09:22 +08:00
kunish
a55ec6f7b1
feat: add padding-bottom safe-area 2023-09-05 02:58:52 +08:00
kunish
c53d9624ca
refactor: specialType 2023-09-05 02:46:27 +08:00
kunish
9840141bce
feat: add safe area paddings 2023-09-05 02:15:37 +08:00
riolu.rs
f0fbe09838 fix(proxies): group type does not show UDP 2023-09-05 01:53:10 +08:00
kunish
17d9ae4872
feat(connections): optimized search 2023-09-05 00:47:27 +08:00
kunish
5affd5b91e
feat(logs): sticky table thead 2023-09-05 00:20:19 +08:00
kunish
7f8f8a9881
feat(connections): sticky table thead 2023-09-05 00:06:24 +08:00
kunish
3728cd2e32
feat(overview): reduce padding of the chart container 2023-09-04 23:41:44 +08:00
kunish
c757850c1a
feat(overview): update the overall look of the overview page 2023-09-04 23:35:40 +08:00
kunish
347ebb6f84
fix(proxies): also display latency when PROXIES_PREVIEW_TYPE is DOTS 2023-09-04 20:29:08 +08:00
Zephyruso
2ff31d40b1 fix: rule size 2023-09-04 20:00:43 +08:00
Zephyruso
5bc540eeff feat: config for render proxies in same page 2023-09-04 19:12:27 +08:00
Zephyruso
98f6293290 feat: time column in conns 2023-09-04 18:48:39 +08:00
Zephyruso
16cb0debb9 chore: rename func and fix params type 2023-09-04 18:17:19 +08:00
Zephyruso
1729329c58 chore: btn animate with try catch 2023-09-04 18:02:36 +08:00
Zephyruso
a17be36d92 refactor: update proxies and btn click animate 2023-09-04 17:57:20 +08:00
kunish
5689034f94
fix(connections): close column header translation result not updating 2023-09-04 14:58:53 +08:00
Zephyruso
ed73e335d2 chore: comment 2023-09-04 13:55:37 +08:00
Zephyruso
d7f3649eba fix: auto login 2023-09-04 13:51:29 +08:00
Zephyruso
30fd13946b fix: setup onsubmit secret 2023-09-04 13:34:20 +08:00
Zephyruso
880a40f18e chore: setup route 2023-09-04 13:08:05 +08:00
Zephyruso
e357958d70 chore: buried an egg 2023-09-04 13:03:38 +08:00
kunish
be8b54a0f6
fix(overview): only enable flex-row layout on large screen 2023-09-04 01:12:29 +08:00
kunish
4b8175d718
feat(connections): move close connection button next to search input 2023-09-03 22:17:52 +08:00
kunish
98b5d62c02
fix(connections): disable sorting for close column 2023-09-03 22:00:01 +08:00
kunish
b4739d6dba
refactor: skipLibCheck 2023-09-03 20:31:13 +08:00
kunish
1765adacda
feat: display current version 2023-09-03 18:16:09 +08:00
kunish
bd83d113b1
feat(overview): add background color to charts container 2023-09-03 17:43:42 +08:00
kunish
58afb5fce2
feat(connections): copy to clipboard on right click 2023-09-03 17:32:08 +08:00
kunish
9ffd0cf362
refactor: minor adjustments 2023-09-03 16:32:40 +08:00
stitch.rs
84c70b0550
fix(font): adapt to apple fonts
Signed-off-by: stitch.rs <117334465+stitchrs@users.noreply.github.com>
2023-09-03 03:11:13 -05:00
kunish
f5e35ca5d6
chore: add eslint to enforce code quality 2023-09-03 15:30:56 +08:00
Zephyruso
197b0c7d4b fix: bar latency 2023-09-03 13:36:24 +08:00
kunish
dd5f0f14a0
fix(latency): invalid 0 latency scenario 2023-09-03 06:37:48 +08:00
kunish
b9eb92fc0b
feat(config): make config option titles more noticeable 2023-09-03 06:18:06 +08:00
kunish
b511b88cd1
fix(proxies): latency widget 2023-09-03 06:08:53 +08:00
kunish
18922eecb3
refactor: rename delay to latency 2023-09-03 05:40:50 +08:00
kunish
635b8ba966
feat(proxies): sortProxiesByOrderingType 2023-09-03 05:40:49 +08:00
kunish
1b09fa39af
feat: relax https latency test range 2023-09-03 03:56:04 +08:00
kunish
bbeb7c2e8d
refactor: rename src/index.tsx to src/main.tsx 2023-09-03 03:37:45 +08:00
kunish
7f1805172a
refactor: more refactoring 2023-09-03 03:36:12 +08:00
kunish
461488c19f
refactor: update project source code layout 2023-09-03 03:26:29 +08:00
kunish
fec64133fa
feat: add PROXIES_PREVIEW_TYPE - off 2023-09-03 02:41:13 +08:00
kunish
071a607124
refactor: replace buttons with custom button component 2023-09-03 02:31:19 +08:00
kunish
737378ac74
refactor: dns query button 2023-09-03 02:22:38 +08:00
kunish
8e5654332d
feat: add buttons - updateGEODatabases, restart, upgrade 2023-09-03 02:18:05 +08:00
nb5p
bc04b0edf4
style(overview): adjust TrafficWidget grid cols (#104)
Co-authored-by: nb5p <nb5p@users.noreply.github.com>
2023-09-03 00:37:15 +08:00
Zephyruso
a29e638c1e fix: btn animate 2023-09-02 22:33:41 +08:00
Zephyruso
5d43ea0b5f feat: config for render in two col 2023-09-02 21:00:20 +08:00