Commit Graph

400 Commits

Author SHA1 Message Date
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
nb5p
a82fe71f01
style(header): adjust rounded (#103)
Co-authored-by: nb5p <nb5p@users.noreply.github.com>
2023-09-02 20:44:40 +08:00
Zephyruso
06845963c6 refactor: a little better update proxies 2023-09-02 20:37:08 +08:00
Zephyruso
467d0bcce2 fix: update proxies 2023-09-02 20:32:27 +08:00
Zephyruso
0bbc661e93 feat: auto switch theme 2023-09-02 19:06:02 +08:00
Zephyruso
86fd0d7d9d fix: rules page && dns query for mobile 2023-09-02 18:04:57 +08:00
kunish
ad46745329
fix: update proxy provider api may throw 2023-09-02 17:55:35 +08:00
Zephyruso
350fd56bc9 feat: reset visible 2023-09-02 17:49:40 +08:00
Zephyruso
65346ca743 feat: rules provider pages 2023-09-02 17:42:13 +08:00
Zephyruso
68ef377f4b fix: better update provider all 2023-09-02 17:01:59 +08:00
Zephyruso
419d3e33f3 feat: separate provider page 2023-09-02 16:58:22 +08:00
Zephyruso
875792432a feat: collapse proxies and provider 2023-09-02 16:02:32 +08:00
kunish
b79f10f528
feat: auto close all connections before switch proxy 2023-09-02 15:55:47 +08:00
Zephyruso
fa612a12d3 feat: try defalut host and secret && adapt openclash 2023-09-02 15:43:42 +08:00
Zephyruso
e92ce75225 feat: config for delay test 2023-09-02 15:08:35 +08:00
Zephyruso
c260db13df fix: init scroll from 30 && revert delay map 2023-09-02 15:00:13 +08:00
Zephyruso
135111914d fix: show option 2023-09-02 14:28:01 +08:00
Zephyruso
3257791dec feat: preview by auto 2023-09-02 14:25:22 +08:00
Zephyruso
b0bac89488 fix: tool tip for mobile 2023-09-02 14:09:44 +08:00
kunish
2464896a46
fix: dns query component layout 2023-09-02 14:02:37 +08:00
kunish
9e3055ba85
refactor(config): split config page components 2023-09-02 13:57:58 +08:00
Zephyruso
33fa191cfe feat: i18n for conn table 2023-09-02 13:50:24 +08:00
kunish
9d3706f390
feat(connections): reset the ordering of columns 2023-09-02 13:19:54 +08:00
Zephyruso
f9bf8711e1 chore: remove console 2023-09-02 12:34:58 +08:00
Zephyruso
9ed05401a8 fix: bar and delay reactive 2023-09-02 12:34:23 +08:00
Zephyruso
268fcf94cc refactor: proxy preview 2023-09-02 12:05:31 +08:00
Zephyruso
4d29e7c16e feat: preview by bar 2023-09-02 11:52:51 +08:00
kunish
a1dee05825
feat: choose halloween as default theme 2023-09-02 11:10:24 +08:00
Zephyruso
4aa7c24ba4 fix: bytesize in subs info 2023-09-02 10:44:13 +08:00
kunish
9a9b1b4abe
feat: adjust table border radius 2023-09-02 02:54:47 +08:00
kunish
2619b4fd2f
fix: header tooltip on menu items instead of inner links 2023-09-02 02:39:02 +08:00
kunish
c8a41bd29f
fix: some themes is overriding global font-family 2023-09-02 02:22:30 +08:00
stitch.rs
d4aa983b6e
avoid safari preview error
Signed-off-by: stitch.rs <117334465+stitchrs@users.noreply.github.com>
2023-09-01 12:57:41 -05:00
kunish
07ee55d8d9
feat(i18n): setup page i18n support 2023-09-02 00:32:27 +08:00
kunish
b3172da302
feat(i18n): add more i18n resources 2023-09-02 00:16:19 +08:00
Zephyruso
508e19a247 fix: default lang 2023-09-02 00:09:41 +08:00
kunish
56200111bd
feat(i18n): add toggle i18n button 2023-09-01 23:57:58 +08:00
kunish
3c7f01aefc
feat(i18n): add i18n support for navs 2023-09-01 23:25:37 +08:00
kunish
7eee024cdc
feat(logs): render logs in table 2023-09-01 22:07:11 +08:00
Zephyruso
18073407a6 feat: render in two line 2023-09-01 21:08:55 +08:00
Zephyruso
25cbdad8bc fix: card click 2023-09-01 18:37:19 +08:00
Zephyruso
258422353f feat: infinite scroll for proxy card 2023-09-01 18:31:44 +08:00
Zephyruso
b26e03373f fix: collapse render 2023-09-01 18:14:48 +08:00
kunish
f5866dcd9d
feat(stats): flexible size stat on large screen 2023-09-01 16:55:58 +08:00
kunish
a2894b03e8
chore: add basic i18n support 2023-09-01 16:30:23 +08:00
kunish
bbfd5142a3
fix(connections): destination and host 2023-09-01 15:49:47 +08:00
kunish
3b774b9423
fix: cannot import module from connection 2023-09-01 15:25:02 +08:00
Zephyruso
13ff26c9d3 fix: import path 2023-09-01 15:21:53 +08:00
Zephyruso
09a8ede969 fix: delay dot class import 2023-09-01 15:10:57 +08:00
Zephyruso
e9c6666606 feat: speed test dot for proxy 2023-09-01 14:47:08 +08:00
kunish
b42bba784a
feat: add a dns query form 2023-09-01 14:06:21 +08:00
kunish
24bfaddfc8
feat: show subscription usage in a progress bar 2023-09-01 13:45:30 +08:00
kunish
f5d65eb018
fix: process not shown 2023-09-01 13:39:26 +08:00
Zephyruso
45da766ed0 feat: subs info 2023-09-01 12:40:40 +08:00
kunish
a00c28e601
feat: fira sans font 2023-09-01 12:28:06 +08:00
Zephyruso
75e7c64007 fix: default listen port 2023-09-01 12:16:37 +08:00
Zephyruso
2549bfe89c fix: set proxy both from proxies and provider 2023-09-01 12:10:34 +08:00
Zephyruso
fb7f07d962 chore: better filter 2023-09-01 11:49:59 +08:00
Zephyruso
a05c54854a feat: infinite scroll for rules 2023-09-01 11:44:11 +08:00
Zephyruso
42d9e7bc9f fix: proxy from proxies 2023-09-01 11:17:15 +08:00
Zephyruso
4af482a603 chore: set global to last proxies 2023-09-01 10:45:38 +08:00
Zephyruso
80d5138423 fix: card info color theme 2023-09-01 10:29:12 +08:00
Zephyruso
4e5c8bfe8d fix: card color theme 2023-09-01 10:02:47 +08:00
Zephyruso
414bdd5b97 Revert "chore: refactor listen to input change"
This reverts commit adfa4324ef.
2023-09-01 09:47:22 +08:00
kunish
e4a89fc89e
feat: add twemoji font 2023-09-01 09:34:30 +08:00
Zephyruso
c2cb607a45 fix: border color 2023-09-01 00:37:18 +08:00
Zephyruso
e3c5c55f0b chore: drag cursor 2023-09-01 00:19:14 +08:00
Zephyruso
4c4011a617 feat: sortable column 2023-09-01 00:12:33 +08:00
Zephyruso
fc929d3600 chore: btn style 2023-08-31 22:55:26 +08:00
Zephyruso
cb9970c29e feat: columns hide 2023-08-31 22:49:34 +08:00
Zephyruso
adfa4324ef chore: refactor listen to input change 2023-08-31 20:02:07 +08:00
kunish
eee81e6258
fix(connections): update the look of close button 2023-08-31 15:54:46 +08:00
PuerNya
935908e0c1
feat: update secret when changed (#48)
Co-authored-by: kunish <17328586+kunish@users.noreply.github.com>
2023-08-31 13:43:21 +08:00
Zephyruso
f12ed63977 chore: typo and icon 2023-08-31 13:04:38 +08:00
Zephyruso
03dda3ccad feat: health check for provider 2023-08-31 12:02:23 +08:00
Zephyruso
b4fc1b4c98 feat: dayjs 2023-08-31 11:50:36 +08:00
Zephyruso
e0f5c46a2e feat: config port && hide id in table by default 2023-08-31 11:15:03 +08:00
Zephyruso
c0fee9d929 feat: update provider && rule pages style 2023-08-31 10:50:43 +08:00
kunish
7ce001caa1
feat: hide drawer on menu click 2023-08-31 02:21:50 +08:00
kunish
9919cca00e
feat: hide scrollbar, update overlay menu 2023-08-31 02:06:26 +08:00
kunish
7a32ec4fe3
feat: update header 2023-08-31 01:30:08 +08:00
kunish
b60c85566c
feat: update proxy layout 2023-08-31 00:46:00 +08:00
kunish
83b0de831a
feat: update proxy layout 2023-08-31 00:28:33 +08:00
Zephyruso
4a03662bbd fix: card protocol text style 2023-08-30 23:58:01 +08:00
Zephyruso
44df379fd6 feat: render protocl and udp 2023-08-30 23:54:49 +08:00
kunish
6db7ceddac
feat: truncate proxy node name 2023-08-30 23:36:25 +08:00
Zephyruso
51f712157f
feat: proxy page style (#47) 2023-08-30 23:02:55 +08:00
kunish
fa167100c7
refactor: shorten checkEndpoint further 2023-08-30 18:03:05 +08:00
kunish
1cffb4b305
refactor: shorten checkEndpoint 2023-08-30 18:01:48 +08:00
kunish
e96628845b
feat: prevent duplicate endpoints from being stored (#45)
* feat: prevent duplicate endpoints from being stored

Bonus: this commit also prevents unusable endpoint from being selected

* fix: catch checkEndpoint errors

* fix: navigation issue
2023-08-30 17:50:28 +08:00
kunish
43edb25c10
feat(connections): reverse chains 2023-08-30 17:48:28 +08:00
PuerNya
a114b35c1a
feat: redirect illegal path to overview (#41) 2023-08-30 16:05:13 +08:00
PuerNya
b178161dbd
feat: route to override immediately after checking (#39) 2023-08-30 15:49:53 +08:00
Zephyruso
b64cfa3f9a fix: proxies title height 2023-08-30 15:27:07 +08:00
Zephyruso
a57741baf6
feat: speed test (#38) 2023-08-30 11:01:19 +08:00
PuerNya
4eeb3458cc
fix: support sing-box (#36) 2023-08-30 10:55:12 +08:00
kunish
12e8c9a50b
chore: remove solid-devtools 2023-08-30 10:41:48 +08:00
kunish
fc0fbf9dae
feat(footer): drop footer 2023-08-30 00:23:42 +08:00
kunish
2d9daa96cc
feat(header): responsive layout 2023-08-30 00:22:49 +08:00
kunish
4e5f8d2b3d
feat(connections): fallback host column to destinationIP 2023-08-29 23:16:24 +08:00
kunish
49bf6c7e2d
feat: show downlaod and upload speed in per-second form 2023-08-29 23:08:02 +08:00
kunish
6a1c1abcbc
feat: calculate download speed and upload speed 2023-08-29 23:03:10 +08:00
kunish
7336948ad3
feat: update connection columns 2023-08-29 21:40:02 +08:00
Zephyruso
6b0802023d
feat: proxy selectable (#19) 2023-08-29 20:20:01 +08:00
Zephyruso
35f80426ce
fix: charts data slice (#17)
* fix: charts data slice

* feat: shrink the chart data array size down once a while

---------

Co-authored-by: kunish <kunish.butt@gmail.com>
2023-08-29 17:45:07 +08:00
kunish
36cc05fca3
chore: minimize main bundle size by splitting vendors 2023-08-29 14:45:00 +08:00
Zephyruso
341cdd0113
feat: proxy point && delay (#15) 2023-08-29 12:28:52 +08:00
kunish
9b56558f84
feat: small size table 2023-08-29 00:03:32 +08:00
kunish
e4bfb3f2a8
feat: add footer 2023-08-28 23:23:19 +08:00
Zephyruso
2889de205f
fix: theme icon height (#13) 2023-08-28 22:53:29 +08:00
kunish
9686967798
chore: add prettier-plugin-organize-imports 2023-08-28 22:36:38 +08:00
kunish
07c82e87d8
feat: update header layout 2023-08-28 22:30:34 +08:00
Zephyruso
457b49827d
feat: rules page (#10) 2023-08-28 22:13:48 +08:00
kunish
45c9740d3b
feat(connections): add sorting and close connection support 2023-08-28 02:32:59 +08:00
kunish
841161a0da
feat: show vertical stats on small screen devices 2023-08-28 01:20:09 +08:00
kunish
54e5e1fc24
feat: update proxies page layout 2023-08-28 00:51:10 +08:00
kunish
c27316967b
feat: add bg color and text color for stats 2023-08-28 00:28:06 +08:00
kunish
b660847efe
fix: setup failed when secret is required 2023-08-27 23:30:13 +08:00
kunish
35a02e4174
fix: layout issue on mobile platform 2023-08-27 23:23:30 +08:00
kunish
a92f18fd19
build: customize base url via PUBLIC_PATH environment variable 2023-08-27 17:00:43 +08:00
kunish
b9ab6a9244
feat: use hash router instead of browser (#1) 2023-08-27 16:41:09 +08:00
kunish
b8c6c2fa7a
chore: initial commit 2023-08-27 15:34:12 +08:00