Commit Graph

312 Commits

Author SHA1 Message Date
xboard
287302729f fix: fix brutal-opts configure for clashMeta 2026-03-17 12:26:10 +08:00
xboard
2e4bfe08df 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
d6986a4493 fix: correct node_sync queue assignment in horizon 2026-03-16 02:28:28 +08:00
xboard
2bc4c98be6 feat(ClashMeta): enhance Shadowsocks plugin support 2026-03-15 11:36:43 +08:00
xboard
3e8284cf70 refactor: rename ws-server command and update configuration 2026-03-15 10:57:21 +08:00
xboard
dbcf90927b fix(ws): enabel unix socket support for redis connection 2026-03-15 10:47:31 +08:00
xboard
ff30088f8a fix: missing ws-server core and update routine 2026-03-15 10:20:42 +08:00
xboard
d92c32fab5 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
90a5065162 refactor: rewrite restoreProtectedPlugins to use file copy instead of git
- Dockerfile: backup plugins/ to /opt/default-plugins/ at build time
- Replace exec/git-based restore with pure PHP File::copyDirectory()
- Only restore plugins defined in Plugin::PROTECTED_PLUGINS
- Delete target directory before copy to prevent stale files
- Remove function_exists('exec') guard (no longer needed)
2026-03-11 08:30:12 +08:00
xboard
662e1343d2 feat: add configurable ticket_must_wait_reply setting 2026-03-11 07:31:09 +08:00
xboard
627281f9e6 perf: fix getTrafficRank slow query with index and batch loading 2026-03-11 07:01:19 +08:00
xboard
76edd15186 refactor: replace database logging with file logging and admin audit log 2026-03-11 06:50:07 +08:00
xboard
2b2a51e73b refactor: move subscribe templates to dedicated database table 2026-03-11 05:47:29 +08:00
xboard
ac8283a7bf feat(config): support custom telegram webhook url 2026-03-11 02:50:33 +08:00
xboard
e355f2b61a fix(register): handle invalid invite code as API error (#792) 2026-03-11 02:09:25 +08:00
xboard
b20d12d510 feat(surge): add SS2022, SOCKS5, HTTP support 2026-03-09 07:32:51 +08:00
xboard
48fd340b0b fix: apply device_limit from plan when assigning via gift card (#630) 2026-03-09 06:51:10 +08:00
xboard
6f860c784a fix: return dynamic rate instead of base rate in user server list (#709) 2026-03-09 06:47:30 +08:00
xboard
cadfefbbdd fix: always set uTLS fingerprint for TLS connections in General protocol (#673) 2026-03-09 06:45:28 +08:00
xboard
7ecd549042 fix: validate random_int parameters in Helper::randomPort to prevent min > max error 2026-03-09 06:32:10 +08:00
xboard
6db54d904b fix(stash): correct TCP/HTTP network type handling in node generation 2026-03-09 05:39:51 +08:00
Xboard
928e051415 Merge pull request #681 from superabbite1/master
Update General.php v2rayN新增tuic协议订阅,vless+ws+tls协议新增fingerprint指纹参数
2026-03-09 05:04:50 +08:00
Xboard
215502070b Merge pull request #703 from kuizw9/master
Fix General.php for support AnyTLS and Shadowrocket.php for support Socks Node Name Display
2026-03-09 05:02:07 +08:00
Xboard
4c1019959b Merge pull request #655 from JxQg/jxq_dev
Feat: Support VLESS node output for Loon protocol, improve buildVless method template
2026-03-09 04:59:20 +08:00
Xboard
8d5ead43ac Merge pull request #734 from kelly5454/master
fix: Type error when redeeming gift card
2026-03-09 04:56:14 +08:00
xboard
8d25dd643a feat: add AnyTLS protocol support for Surge 2026-03-09 02:37:32 +08:00
xboard
4b7e3e7300 fix: read plugin enabled from DB for consistency 2026-01-02 18:30:21 +08:00
kuizw9
26bc181608 Merge branch 'cedar2025:master' into master 2025-11-23 14:55:14 +08:00
xboard
7801a0fb19 feat: add v2node support 2025-11-22 20:33:38 +08:00
xboard
af431d178e fix: preserve theme config when upgrading theme 2025-11-07 19:25:40 +08:00
kelly5454
e26677813c fix: exchange gift card type error 2025-10-30 21:08:39 +08:00
xboard
fc685ae9b5 feat(plugin): auto-decode JSON config values by type in PluginManager 2025-10-20 18:56:44 +08:00
KuizW9
23c3ebcf4b Update General.php
Add AnyTLS to General Client
2025-10-05 22:34:36 +08:00
KuizW9
2c38d30a94 Merge branch 'cedar2025:master' into master 2025-09-27 08:52:25 +08:00
xboard
245ddc56e7 fix: avoid getCurrentCommit on cache hit 2025-09-26 19:04:17 +08:00
xboard
9ef40d4918 allow free plans 2025-09-24 22:19:04 +08:00
KuizW9
160db350da Update Shadowrocket.php 2025-09-24 19:14:34 +08:00
xboard
17b671c87e fix(jobs): resolve PostgreSQL issue in StatServerJob and StatUserJob 2025-09-23 18:57:44 +08:00
xboard
8176afb073 fix(plugin): remove stale plugin records when files missing; adjust logging 2025-09-23 14:59:22 +08:00
xboard
c9fbd24c58 fix: remove smogate 2025-09-22 22:52:11 +08:00
xboard
221784367e feat(knowledge): add KnowledgeResource with plugin hooks
- Add KnowledgeResource with user.knowledge.resource hook
- Unify processKnowledgeContent for both single and list items
- Remove isListItem parameter for cleaner architecture
2025-09-20 13:36:10 +08:00
xboard
34a9ed0fce feat(plugin): add user.subscribe.response hook 2025-09-17 00:02:59 +08:00
xboard
471ec94ae3 fix 2025-09-16 18:44:44 +08:00
xboard
895f940849 refactor(online-status): consolidate updates and add cleanup command 2025-09-15 20:32:22 +08:00
xboard
ebea3e8b8c feat(middleware): Add transaction state guard for Octane 2025-09-15 16:15:39 +08:00
xboard
cf99d4372e refactor(Jobs): Optimize traffic statistics jobs with upsert 2025-09-15 09:56:36 +08:00
xboard
28f11e30af fix(server): Correct node_info retrieval method 2025-09-15 09:21:20 +08:00
xboard
190f81c12c fix: resolve vmess http-opts headers null issue in subscription generation 2025-09-12 10:45:31 +08:00
superabbite1
5521746509 Update Shadowrocket.php
新增Vless+ws+tls协议 Fingerprint指纹参数
2025-09-09 16:43:42 +08:00
superabbite1
4fa311dc87 Update ClashMeta.php
新增vless+ws+tls协议Fingerprint指纹参数
2025-09-09 16:42:11 +08:00