Commit Graph

26 Commits

Author SHA1 Message Date
Dlphine
5dd4cd4bc9 fix: replace raw array access with data_get() to prevent Undefined array key
- Migrate $protocol_settings['key'] to data_get($protocol_settings, 'key') across General, SingBox, Shadowrocket, Surfboard, QuantumultX
- Prevents PHP 8 Undefined array key fatal errors when optional protocol_settings fields are missing
- Same class of bug that caused #735
2026-03-27 13:51:28 +08:00
xboard
7dacb69275 feat: Trojan Reality support and protocol distribution optimizations 2026-03-23 14:56:41 +08:00
xboard
b55091a066 feat: Refactor uTLS & Multiplex Support, Node Status Push Optimization
- Server/ServerSave/Server.php: Unified utls and multiplex schema, validation, and defaults for vmess/vless/trojan/mieru protocols, enabling more flexible protocol configuration.
- Protocols (SingBox/ClashMeta/Shadowrocket/Stash/General): All protocol generators now support utls (client-fingerprint/fp) and multiplex options. Removed getRandFingerprint, replaced with getTlsFingerprint supporting random/custom fingerprints.
- Helper.php: Refactored TLS fingerprint utility to support object/string/random input.
- ServerService: Abstracted updateMetrics method to unify HTTP/WS node status caching logic.
- NodeWebSocketServer: Improved node connection, status push, and full sync logic; adjusted log levels; clarified push logic.
- ServerController: Reused ServerService for node metrics handling, reducing code duplication.
- Docs: Improved aapanel installation docs, added fix for empty admin dashboard.
2026-03-16 23:09:56 +08:00
xboard
010275b09e feat: introduce WebSocket sync for XBoard nodes
- Implement Workerman-based `xboard:ws-server` for real-time node synchronization.
- Support custom routes, outbounds, and certificate configurations via JSON.
- Optimize scheduled tasks with `lazyById` to minimize memory footprint.
- Enhance reactivity using Observers for `Plan`, `Server`, and `ServerRoute`.
- Expand protocol support for `httpupgrade`, `h2`, and `mieru`.
2026-03-15 09:49:11 +08:00
xboard
15a7ef4015 fix: always set uTLS fingerprint for TLS connections in General protocol (#673) 2026-03-09 06:45:28 +08:00
Xboard
a90c5c41ea Merge pull request #681 from superabbite1/master
Update General.php v2rayN新增tuic协议订阅,vless+ws+tls协议新增fingerprint指纹参数
2026-03-09 05:04:50 +08:00
KuizW9
2d8ed35096 Update General.php
Add AnyTLS to General Client
2025-10-05 22:34:36 +08:00
superabbite1
cb07146657 Update General.php
vless+ws+tls协议新增fingerprint指纹参数;v2rayN新增tuic协议订阅
2025-09-09 11:35:44 +08:00
xboard
60f1fea356 fix(subscribe): fix vmess+tcp+http subscription in general and singbox 2025-08-24 18:39:00 +08:00
xboard
508caebdcd refactor: refactor subscription delivery logic, change payment return_url to origin_url concatenation
- Unify protocol filter configuration to client.type.field (dot-path, three-segment) format, support strict whitelist mode
- Refactor AbstractProtocol and all protocol classes for more flexible and maintainable subscription delivery
- Change payment callback logic: use origin_url concatenation instead of return_url for more accurate redirects
2025-07-18 15:42:58 +08:00
xboard
97788e3c8f feat: Add client.subscribe.servers hook for plugin-based server extension
- Add HookManager::filter('client.subscribe.servers') hook in ClientController::subscribe()
- Allow plugins to inject custom servers into subscription responses
- Update protocol classes to support extended server configurations
- Enable dynamic server list modification before protocol processing
2025-07-11 21:19:23 +08:00
xboard
bf3a9112f2 fix: improve node filtering by client base_version, set subscription content-type, and add hop_interval support for hysteria2
- Refactor node filtering logic to correctly handle client base_version requirements.
- Set appropriate Content-Type header for subscription responses.
- Add support for hop_interval configuration in hysteria2 node delivery.
2025-05-24 13:45:32 +08:00
xboard
fc5a957ddd feat: add AnyTLS support and improve system functionality
- Add AnyTLS protocol support
- Add system logs viewing in admin panel
- Refactor client subscription delivery code
- Refactor hook mechanism
- Add plugin support for Shadowsocks protocol
- Add CSV export option for batch user creation
- Fix mobile admin login page width display issue
2025-05-22 17:58:22 +08:00
xboard
97e7ffccae fix: resolve PHPStan static analysis warnings 2025-05-07 19:48:19 +08:00
xboard
db235c10e8 Revert "fix: resolve PHPStan static analysis warnings"
This reverts commit 2d3e4b4a95.
2025-04-14 21:23:08 +08:00
xboard
2d3e4b4a95 fix: resolve PHPStan static analysis warnings 2025-04-14 02:12:42 +08:00
NekoCareLab
e10d10e4f1 Fixed: IPv6 is not properly processed 2025-03-16 14:23:58 +08:00
NekoCareLab
7630fce9a3 Fixed: Vless GRPC subscription 2025-03-01 19:29:21 +08:00
xboard
0f43fff242 feat: new xboard 2025-01-21 14:57:54 +08:00
xboard
e79465c90d feat: add support for hysteria2 in Passwall and SSRPLUS 2024-11-09 21:37:15 +08:00
xboard
fd52795f49 fix: 修复ss2022订阅下发密码错误的问题 2024-05-24 22:45:27 +08:00
xboard
9939f2c2e1 fix: 修复vless 使用Tls时sni不下发的问题 2024-01-17 17:54:33 +08:00
xboard
3a4efcc1f8 fix: 修复vless节点使用tls时订阅抱错的问题 2024-01-16 17:02:42 +08:00
xboard
9dcb9cee32 feat: 增加Vmess tcp http下发支持 2023-12-18 09:40:35 +08:00
xboard
b5ec7459a6 fix: 修复vless的 ws、grpc订阅问题 2023-11-17 16:34:16 +08:00
xboard
65fe7682ff Initial commit 2023-11-17 14:44:01 +08:00