69 Commits

Author SHA1 Message Date
世界 e34b57c3b0 boxdd: Add insecure mode 2026-07-16 00:38:31 +08:00
世界 22650b3020 Fix group status updates broken by API service
The URL test history update hook and the Clash mode update hook were
single-slot: the API service's attached service overwrote the hook set
by the daemon, so clients stopped receiving group updates. Replace both
with multicast hook lists.

Also share a single URL test history storage via context: Clash API
looked it up under a key nobody registered and fell back to its own
empty storage, so dashboards showed no delay once an API service was
configured. Selector changes now notify through the shared storage,
covering selections made from any API surface.
2026-07-09 11:20:05 +08:00
世界 a485967957 Add sing-box API service 2026-07-09 11:20:03 +08:00
世界 b0c4f12f09 Fix reset network 2026-07-09 11:19:17 +08:00
世界 b313d0cd10 Improve oom-killer 2026-07-09 11:19:14 +08:00
世界 5e7fd7ad78 Fix lint errors 2026-05-13 23:39:27 +08:00
世界 e21a72fcd1 Fix websocket connection and goroutine leaks in Clash API
Co-authored-by: traitman <112139837+traitman@users.noreply.github.com>
2026-03-09 20:06:34 +08:00
traitman 1beb4cb002 clash-api: Fix websocket connection not closed after config reload via SIGHUP
Co-authored-by: TraitMan <traitman@maildog.top>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-03-01 12:30:43 +08:00
世界 5bc0dfa9dd platform: Refactoring libbox to use gRPC-based protocol 2026-01-17 05:47:32 +08:00
世界 6c377f16e7 clash-api: Add more meta api 2025-07-08 13:12:34 +08:00
世界 17576e9f66 Add certificate store 2025-07-08 13:12:14 +08:00
世界 3016338e34 refactor: DNS 2025-07-08 13:12:14 +08:00
世界 97ce666e43 Fix http.FileServer short write 2025-02-23 08:35:30 +08:00
世界 4d41f03bd5 clash-api: Fix missing endpoints 2025-01-13 15:14:30 +08:00
世界 9afe75586a refactor: Extract services form router 2025-01-13 15:14:29 +08:00
世界 19fb214226 refactor: Modular inbound/outbound manager 2025-01-13 15:14:29 +08:00
世界 9f69f41f68 Update http file server usage 2024-12-15 13:56:25 +08:00
世界 1e787cb607 Fix initial traffic value 2024-12-03 21:43:56 +08:00
世界 5a661cde67 clashapi: Remove traffic loop 2024-11-28 12:57:56 +08:00
世界 06533b7a3b clash-api: Add PNA support 2024-10-13 13:07:02 +08:00
世界 bda93d516b platform: Fix clash server reload on android 2024-10-13 13:06:57 +08:00
世界 b1d75812c5 platform: Prepare connections list 2024-10-13 13:06:55 +08:00
世界 ceda5cc95d clash-api: Fix bad redirect 2024-09-08 10:07:07 +08:00
世界 38d28e0763 Migrate contentjson and badjson to library &
Add omitempty in format
2024-01-03 12:21:37 +08:00
世界 bf4e556f67 Migrate to independent cache file 2024-01-03 12:21:36 +08:00
世界 4d23773a25 Migrate to gobwas/ws 2023-11-28 11:21:43 +08:00
世界 03663a5093 Fix cachefile permission 2023-11-24 20:58:48 +08:00
世界 b9310154a7 clash-api: Move default mode to first 2023-09-07 21:34:35 +08:00
世界 43f72a6419 Add store_mode and platform Clash mode selector 2023-08-25 20:21:14 +08:00
世界 9f94b21687 platform: Add group expand status 2023-08-20 13:31:55 +08:00
世界 1363e16312 platform: Enable Clash API support by default 2023-08-20 13:31:29 +08:00
世界 6e6998dab7 Improve platform status 2023-07-16 14:08:45 +08:00
世界 9c8565cf21 platform: Add group interface 2023-07-02 18:46:41 +08:00
世界 3741394269 Add cache_id option for Clash cache file 2023-06-07 21:03:06 +08:00
世界 daee0db7bb clash-api: Reset outbounds in DELETE /connections 2023-06-07 20:45:39 +08:00
世界 98c2c439aa Add filemanager api 2023-06-07 20:45:25 +08:00
世界 542612129d clash-api: Add Clash.Meta APIs 2023-06-07 20:33:41 +08:00
世界 750f87bb0a clash api: download clash-dashboard if external-ui directory is empty 2023-06-07 20:33:06 +08:00
世界 9bca5a517f Add fakeip support 2023-06-07 20:31:26 +08:00
世界 e5f3bb6344 Add command to connect an address 2023-03-18 20:27:38 +08:00
世界 a2d43b3746 Fix open cache file 2023-03-05 14:57:50 +08:00
世界 222196b182 Add libbox wrapper 2023-02-20 11:07:49 +08:00
世界 41ec2e7944 Add support for clash DNS query API 2023-02-08 14:13:33 +08:00
世界 7c910165ef Cleanup code 2022-11-24 12:37:29 +08:00
世界 29d08e63b5 Fix clash tracker 2022-10-01 11:29:46 +08:00
世界 1b44faed17 Add v2ray stats api 2022-09-29 08:49:34 +08:00
世界 7f9c870bba Add direct io option for clash api 2022-09-26 15:31:02 +08:00
世界 a5402ffb69 Add back urltest outbound 2022-09-15 15:22:08 +08:00
世界 2373281c41 Fix clash store-selected 2022-09-13 17:34:37 +08:00
世界 e8f4c2d36f Redirect clash hello to external ui 2022-09-13 17:29:57 +08:00