Commit graph

55 commits

Author SHA1 Message Date
gVisor bot
a918cd66d8 chore: hello mihomo 2023-11-03 21:58:21 +08:00
gVisor bot
c675e82fbf chore: migrate from gorilla/websocket to gobwas/ws 2023-10-06 17:44:36 +08:00
gVisor bot
49610fcb1b fix: hy2/tuic inbound cert isn't path
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-10-01 12:04:34 +08:00
gVisor bot
0932a9c83f feat: support clash premium's structured log stream (#735)
* feat: support clash premium's structured log stream

New version of Clash for Windows uses `ws://external-controller/logs?token=&level=info&format=structured` to get real time log. When Clash Premium Core reveices `format=structured`, it returns a different form of JSON log entry. Supporting this feature will allow better Clash for Windows integration

Signed-off-by: Misty <gyc990326@gmail.com>
2023-09-29 08:50:50 +08:00
gVisor bot
c79c2f48f9 feat: update external-ui 2023-09-18 19:21:30 +08:00
gVisor bot
f398b6fda9 feat: download/upgrade XD to external-ui 2023-09-16 11:44:15 +08:00
gVisor bot
18b21afee6 fix: go1.19 compile 2023-06-06 10:47:50 +08:00
gVisor bot
ea5a231145 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
gVisor bot
99df383103 fix: chat.js not begin with zero 2023-04-08 01:39:48 +08:00
gVisor bot
868497ac6b feat: core support memory chat 2023-04-08 00:55:25 +08:00
gVisor bot
404323dee4 feat: add upgrade api
example: curl -X POST -H "Authorization: Bearer 123456" http://ip:port/upgrade
2023-03-23 20:48:20 +08:00
gVisor bot
7811bb31a8 chore: add /restart to restful api 2023-03-14 22:19:12 +08:00
gVisor bot
315d8df892 chore: add pprof api, when log-level is debug 2023-02-23 23:30:53 +08:00
gVisor bot
a4a9886077 Feature: add dns query json api 2023-01-28 00:55:24 +08:00
gVisor bot
9c9ff4dc5e chore: change C.PacketAdapter from a struct to an interface 2022-12-04 14:37:52 +08:00
gVisor bot
f459018eae refactor: adjust config 2022-12-03 14:14:15 +08:00
gVisor bot
ad73c505bb feat: add tls port for RESTful api and external controller 2022-12-03 12:25:10 +08:00
gVisor bot
24cfa48eef chore: better tfo inbound code 2022-11-16 10:43:16 +08:00
gVisor bot
722e8a6c27 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
gVisor bot
e96e586a37 Migration: go1.19 2022-08-07 21:45:50 +08:00
gVisor bot
b0f7b9e4e0 feat: proxies group URLTest api 2022-05-30 22:07:09 +08:00
gVisor bot
c3e7173187 chore: remove Script mode residual code. 2022-05-14 13:00:33 +08:00
gVisor bot
c9740c2708 Fix: make log api unblocked 2022-04-26 22:36:10 +08:00
gVisor bot
ad67a1c34c Chore: use generics as possible 2022-04-25 13:18:30 +08:00
gVisor bot
a52743bd28 [SKIP CI]
Merge remote-tracking branch 'Pro-Plus/with-tun' into Alpha

# Conflicts:
#	README.md
#	hub/route/server.go
2022-03-23 13:23:34 +08:00
gVisor bot
c38ae18a59 Feature: flush fakeip pool 2022-03-23 01:05:43 +08:00
gVisor bot
50ab57c72e Merge remote-tracking branch 'clash/dev' into Alpha
# Conflicts:
#	.github/workflows/docker.yml
#	adapter/outboundgroup/fallback.go
#	adapter/outboundgroup/loadbalance.go
#	adapter/outboundgroup/relay.go
#	adapter/outboundgroup/selector.go
#	adapter/outboundgroup/urltest.go
#	config/config.go
#	go.mod
#	go.sum
#	main.go
#	test/go.mod
#	test/go.sum
2022-03-17 01:41:51 +08:00
gVisor bot
907c68c9cb Migration: go 1.18 2022-03-16 12:10:13 +08:00
gVisor bot
7a9458b858 [Fixed] compatible cfw 2022-01-05 19:28:54 +08:00
gVisor bot
4208d48a9d Merge remote-tracking branch 'clash/dev' into Meta
# Conflicts:
#	.github/workflows/docker.yml
#	dns/server.go
#	go.mod
#	go.sum
#	hub/executor/executor.go
#	test/go.mod
#	test/go.sum
2022-01-04 17:31:07 +08:00
gVisor bot
4d8017574c Chore: builtin right mime of .js (#1808) 2021-12-08 13:38:25 +08:00
gVisor bot
97e89ed33b style 2021-12-03 21:54:45 +08:00
gVisor bot
88a91ae1b8 test 2021-12-03 20:38:40 +08:00
gVisor bot
590565f5c1 Feature:Supported Rule-Set 2021-12-02 22:56:17 +08:00
gVisor bot
6b418d4369 Chore: logging real listen port (#1492) 2021-07-19 14:07:51 +08:00
gVisor bot
457d381ea2 Chore: update dependencies (#1331) 2021-04-03 14:59:03 +08:00
gVisor bot
be5a2a9adf Refactor: make inbound request contextual 2021-01-23 14:58:09 +08:00
gVisor bot
22f32c3789 Fix: ticker leak 2020-07-13 00:25:54 +08:00
gVisor bot
024bb62c67 Fix: external-ui should relative with clash HomeDir 2020-06-18 21:33:57 +08:00
gVisor bot
d97ee63d0e Fix: API auth bypass 2020-04-24 23:49:35 +08:00
gVisor bot
d714783fea Change: make ping under authentication 2020-02-21 18:00:19 +08:00
gVisor bot
3f6766fc9d Feature: add basic api for proxy provider 2019-12-11 17:31:15 +08:00
gVisor bot
93f13c627c Feature: add experimental connections API 2019-10-27 21:44:07 +08:00
gVisor bot
b1edb7b5e1 Feature: websocket api support browser 2019-09-30 14:13:29 +08:00
gVisor bot
e35c01cc52 Fix(API): cors middleware hoisting because it doesn't work with r.Group 2019-09-21 21:28:02 +08:00
gVisor bot
376516c7af Feature: add version api 2019-09-13 17:44:30 +08:00
gVisor bot
3ecf35dcdb Fix(API): use right status code 2019-09-08 22:33:52 +08:00
gVisor bot
19494fe383 Feature(API): logs and traffic support websocket 2019-07-12 15:44:12 +08:00
gVisor bot
f20f06af28 Fix: authentication with stream api 2018-12-29 14:11:54 +08:00
gVisor bot
3017aee776 Fix: allow access to external-ui without authentication (#75) 2018-12-21 17:48:29 +08:00