Commit graph

286 commits

Author SHA1 Message Date
Haishan
a62e2c93bc Fix language switch 2021-06-05 22:02:01 +08:00
Haishan
1eacaf4df7 Import @fontsource CSS in JS 2021-06-05 21:43:41 +08:00
Haishan
8c2af7a813 Reconnect logs web socket on log level change 2021-06-05 21:43:41 +08:00
Haishan
297fb101e7 Use a simpler app level loading animation 2021-06-05 21:43:41 +08:00
Haishan
a18efa9723 Update config page style 2021-06-05 16:40:07 +08:00
Haishan
fcab7cad4f Minor log style tweak 2021-05-31 22:03:53 +08:00
Kevin
d4015f6423
Add level query to log websocket url fix #589 (#590) 2021-05-31 18:58:56 +08:00
Haishan
13dcb7d653 Minor light theme style tweak 2021-05-30 18:29:57 +08:00
Haishan
cac64c0d2a Use vite 2021-05-30 17:11:57 +08:00
Haishan
ec4586ef3c feat: add FAB action button to update all proxy providers 2021-02-28 18:04:18 +08:00
Haishan
27a6604340 feat: change rules page FAB function from refresh to update providers 2021-02-28 18:04:18 +08:00
Haishan
7ceca5be11 build: upgrade deps 2021-02-28 18:04:18 +08:00
CzBiX
c52a88acaf Refine title style
Only show backend host when there are multiple backends.
2021-02-23 20:23:46 +08:00
Haishan
bf24ab6ff3 feat: add apple-touch-icon* 2021-01-04 22:29:42 +08:00
Haishan
5f6261790c build: upgrade deps 2021-01-04 21:44:12 +08:00
shunf4
877291334e fix: encode URI for node name in case it contains special chars 2020-12-30 16:39:08 +08:00
hronro
ef17054d99 feat: support customize baseURL 2020-12-20 09:49:43 +08:00
Haishan
b0b0edab16 build: upgrade deps 2020-12-06 21:09:18 +08:00
Haishan
d2b01d80fb chore: minor input and select style tweak 2020-12-06 20:19:51 +08:00
Haishan
8a50ef4ef2 feat: initial Chinese UI language support 2020-12-06 20:19:51 +08:00
Haishan
a8c6cd23ce fix: fix weird scroll behavior on config page 2020-12-03 00:17:10 +08:00
Haishan
4ef00cff37 chore: remove open graph stuff from html template 2020-12-01 22:46:45 +08:00
CzBiX
1de8d931aa
Reorder logger level 2020-11-24 13:11:23 +08:00
Haishan
9ca6f4ff2b chore: minor a11y improvement 2020-11-22 12:13:05 +08:00
Haishan
0f5f7859ce chore: add backdrop-filter to proxies header 2020-11-21 23:51:34 +08:00
Haishan
10f6e708e5 chore: improve a11y of traffic chart style selection 2020-11-21 23:31:14 +08:00
Haishan
71646e2881 chore: add tooltips to sidebar icon buttons 2020-11-21 22:49:47 +08:00
Haishan
3bbca8017b chore: remove husky and lint-staged 2020-11-13 23:03:41 +08:00
Haishan
ca5df762c9 build: upgrade deps 2020-11-13 22:12:27 +08:00
Haishan
c179977524 refactor: display proxy type Shadowsocks as SS
also make proxy type text smaller

for https://github.com/haishanh/yacd/issues/539
2020-11-09 21:04:42 +08:00
Haishan
a1053b9250 feat: precache assets with service worker
for https://github.com/haishanh/yacd/issues/536
2020-11-06 23:10:13 +08:00
Haishan
ff1a39d04e chore: run ts-migrate 2020-11-01 17:42:52 +08:00
Haishan
e62c916548 feat: display current backend host in title
for https://github.com/haishanh/yacd/issues/531
2020-10-31 20:10:23 +08:00
Haishan
cbb6b9c9bb refactor: change backend baseURL default port to 9090
see https://github.com/haishanh/yacd/issues/537
2020-10-31 20:10:23 +08:00
Haishan
621d31f18f build: upgrade deps 2020-10-31 20:10:22 +08:00
Haishan
55b13e25df chore: better error message for API url without http protocol prefix 2020-10-12 20:42:41 +08:00
Haishan
9b52b33180 build: upgrade to webpack 5 2020-10-12 20:42:41 +08:00
Haishan
2ad0217ee4 build: upgrade deps 2020-10-12 20:42:41 +08:00
Haishan
15bc0f69a8 feat: multi backends management 2020-09-13 17:16:14 +08:00
Haishan
702169941e refactor: use api base url instead of hostname and port 2020-09-08 23:15:04 +08:00
Haishan
7f99275b77 build: adjust chunk splitting 2020-08-11 20:28:44 +08:00
felix
05d01485ab fix: cannot change mixed port 2020-08-09 01:43:39 +08:00
Haishan
29027c897a refactor(conns): desc sort first for columns with numeric value 2020-08-06 22:40:34 +08:00
Haishan
2c9ee574dd refactor: improve a11y 2020-08-06 22:40:26 +08:00
Haishan
941224c13b build: fix build 2020-08-01 21:05:45 +08:00
Haishan
4ae2c5c2f3 feat: a simple about page 2020-08-01 20:41:55 +08:00
Haishan
437733f4af chore: remove logo 2020-08-01 20:40:45 +08:00
Haishan
b6360d520a chore: increase css specificity of extended modal classes 2020-08-01 20:40:45 +08:00
Joker_
19dfbf7f2b
URI-encode secret before appending to websocket URL 2020-07-12 23:39:03 +08:00
Haishan
32bed273c8 feat: support rule provider 2020-07-04 17:58:56 +08:00
Haishan
9055ea8f7e feat: support mixed-port 2020-06-30 22:49:15 +08:00
Haishan
b93c0267c8 fix: fix can not type in Chinese in proxy text filter input 2020-06-22 22:35:59 +08:00
Haishan
c600c7840a fix: fix color display for unavailable proxy item 2020-06-20 22:33:50 +08:00
Haishan
632c6a3735 feat: add a simple filter for proxy names 2020-06-20 22:28:43 +08:00
Haishan
40479ada88 fix: fix broken hideUnavailableProxies setting 2020-06-18 21:03:29 +08:00
Haishan
f1d0714f19 refactor: make proxy group lowest latency item when sorting by latency 2020-06-18 20:50:59 +08:00
Haishan
eb28e99f2b fix(config): fix mode switching 2020-06-18 20:45:43 +08:00
Haishan
48acdbb5be
Merge pull request #499 from zhzy0077/patch-1 2020-06-18 20:39:33 +08:00
Haishan
629062d945 refactor(proxies): make the content header and settings button sticky 2020-06-17 00:36:38 +08:00
Haishan
320cc4bff7 chore: use flex for proxy items layout 2020-06-16 23:41:22 +08:00
Haishan
cee7dff478 feat: toggle to close old connections automatically when switching proxy 2020-06-16 23:41:17 +08:00
Haishan
babe27f9d2 feat: use special color for non-proxy summary view dot item 2020-06-16 22:22:01 +08:00
Zhiyuan Zheng
c0adc3a792
Fix: fix the case mistake in config logic.
**Issue:**
When changing the mode, Clash server will return an error `{"message":"Body invalid"}`.

**Changes:**
According to the https://github.com/Dreamacro/clash/blob/master/tunnel/mode.go. Make first-letter uppercase to make the mode-changing work. Tested locally.
2020-06-16 13:26:49 +08:00
Haishan
c848d8414e fix: default to big latency for items with unavailable statistics when sorting
for https://github.com/haishanh/yacd/issues/496
2020-06-16 00:03:16 +08:00
Haishan
0bf2d72d05 refactor: use grid for proxy list layout 2020-06-15 23:17:50 +08:00
Haishan
00b96ae397 chore: switch to Open Sans and reduce emitted font files 2020-06-08 22:39:27 +08:00
Haishan
361effbd98 changed: switch primary font family from Merriweather Sans to Inter
also starting to self hosting font files
2020-06-07 18:42:25 +08:00
Haishan
e864feb401 fix: mode not display correctly due to clash API change
for https://github.com/haishanh/yacd/issues/491
2020-06-07 18:41:12 +08:00
Haishan
201f6904c2 added: modal prompt to close previous connections when switch proxy 2020-06-07 17:09:23 +08:00
Haishan
bf17be6a65 added: test latency button for each proxy group 2020-06-04 00:05:57 +08:00
Haishan
238e1e7df3 changed: reduce connections table visual width
for #488
2020-06-03 00:04:09 +08:00
eddium
a4fb1ccd65 feat(conns): add filter 2020-05-31 12:26:01 +08:00
Haishan
38eb417688 add: add loading status to test latency button 2020-05-25 23:38:48 +08:00
Haishan
e0e31efdd5 fix: add background color to html select element
see also https://github.com/haishanh/yacd/issues/483
2020-05-17 21:56:53 +08:00
Haishan
32f18e191a chore: tweak external controller setup modal style 2020-05-14 23:32:20 +08:00
Haishan
faf4cba37c chore: lib classnames -> clsx 2020-05-14 22:50:48 +08:00
Haishan
aceb1b4a36 add: button to pause connection refresh 2020-05-14 22:44:21 +08:00
Haishan
456d2a6b54 Changed: use color icons in sidebar (experimental) 2020-05-01 00:08:11 +08:00
Haishan
94e2b1e398 feat: allow change proxies sorting in group 2020-04-26 17:59:02 +08:00
Haishan
7cdbba5bf4 chore: use google fonts hosting 2020-04-26 17:58:58 +08:00
Haishan
2ef14e63c0 build: upgrade deps 2020-04-26 17:58:54 +08:00
Haishan
8e48c01e7a feat: remembers group collapse state
for https://github.com/haishanh/yacd/issues/480
2020-03-21 13:33:43 +08:00
Haishan
0b20e145ca feat: support set theme with querystring 2020-03-14 15:57:16 +08:00
Haishan
3444f61688 fix: fix broken allow-lan switch 2020-03-14 15:45:20 +08:00
Haishan
6fa117714c chore: cleanup unused legacy redux based global state code 2020-03-14 15:01:03 +08:00
Haishan
4f0e75f029 ci: use checkout v2 in actions 2020-03-05 09:53:41 +08:00
Haishan
b870121fb3 fix: allow request latency for non-original clash proxy types
for #474
2020-03-01 19:27:47 +08:00
Haishan
03a249c032 chore: a11y and animation for the theme toggle 2020-03-01 18:57:51 +08:00
Haishan
21653c4156 chore: use react-switch for better a11y 2020-03-01 17:34:05 +08:00
Haishan
2ff62bb0b9 feat(conns): show download upload speed 2020-03-01 14:48:15 +08:00
Chao Shen
63975ed0ff
Support setting hostname with querystring 2020-02-29 16:28:40 +08:00
Haishan
e85116bf71 refactor(Proxies): UI revamp 2020-02-10 23:04:57 +08:00
hitsmaxft
bd82b8c5e3 dropdown button & global switch 2020-02-10 17:28:04 +08:00
hitsmaxft
c206c33697 移动按钮位置 2020-02-10 17:28:04 +08:00
hitsmaxft
57f45cd6e0 remove code 2020-02-10 17:28:04 +08:00
hitsmaxft
7785066dd1 fix test 2020-02-10 17:28:04 +08:00
hitsmaxft
b126e2c27a add filter for remove unstable proxies 2020-02-10 17:28:04 +08:00
Haishan
5e3cffcdef chore: add title to proxy dot in collapsed provider to increase a11y 2020-02-10 17:20:15 +08:00
Haishan
804517c510 fix: use destination ip as host if host is an empty string 2020-02-06 16:46:52 +08:00
Haishan
7a5cd76e1e build: ugprade deps 2020-02-06 16:25:07 +08:00