61 Commits

Author SHA1 Message Date
xboard
7fbd1bb92d feat: implement email case-insensitive queries (fix #318) 2026-03-28 07:09:21 +08:00
xboard
74b5ef0b27 fix: resolve device sync issues and refactor WebSocket server 2026-03-26 03:33:01 +08:00
xboard
420521d90a refactor: restructure device limit system 2026-03-25 17:50:16 +08:00
xboard
73a37a07dd feat: ws notify nodes when user traffic is exhausted 2026-03-25 01:44:55 +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
199c146672 refactor: rename ws-server command and update configuration 2026-03-15 10:57:21 +08:00
xboard
98a4964c7c fix(ws): enabel unix socket support for redis connection 2026-03-15 10:47:31 +08:00
xboard
ccdbe9d607 fix: missing ws-server core and update routine 2026-03-15 10:20:42 +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
0c6ec87ce5 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
ec20847f31 refactor: replace database logging with file logging and admin audit log 2026-03-11 06:50:07 +08:00
xboard
843c5af4c2 refactor(online-status): consolidate updates and add cleanup command 2025-09-15 20:32:22 +08:00
xboard
50562db4ef feat: add force traffic reset to update script 2025-08-31 20:50:34 +08:00
xboard
29a87ba93e feat: add force option to reset traffic command 2025-08-31 20:38:09 +08:00
xboard
23135c6f39 fix: handle disable exec funtion in install script 2025-08-23 19:32:32 +08:00
xboard
58868268dd feat: enhance plugin management
- Add command support for plugin management
- Optimize plugin management page layout
- Add email copy functionality for users
- Convert payment methods and Telegram Bot to plugin system
2025-07-26 18:49:58 +08:00
xboard
c9bab8fb02 feat: add multiple hooks, pligun schedule support ,add hook:list artisan command 2025-07-21 13:29:17 +08:00
xboard
90360cfeb5 fix: resolve theme refresh issue after updates 2025-07-21 08:27:41 +08:00
xboard
bcfda44730 fix: resolve traffic reset time generation and refactor reset logic
- Add fix-null mode to ResetTraffic command
- Refactor reset logic for better separation of concerns
- Update migration to reuse fix functionality
2025-07-19 14:22:01 +08:00
xboard
d30e9cb30b chore: code style and type declaration improvements 2025-07-15 02:55:58 +08:00
xboard
706ba5a7a9 feat: support theme update and various improvements
- Add support for updating themes if a newer version is uploaded
- Hide config button for plugins without configuration items
- Auto refresh theme cache after panel update
- Fix issue where user used traffic cannot be set as a decimal
- Fix subscription issue for shadowrocket in v2board theme
2025-07-15 01:26:14 +08:00
xboard
a838a43ae5 feat: multiple improvements and bug fixes
- Add gift card redemption feature
- Resolve custom range selection issue in overview
- Allow log page size to be modified
- Add subscription path change notification
- Improve dynamic node rate feature
- Support markdown documentation display for plugins
- Reduce power reset service logging
- Fix backend version number not updating after update
2025-07-14 00:33:04 +08:00
xboard
349c1710fe feat: add PostgreSQL support and refactor database configuration in install command 2025-07-01 03:09:53 +08:00
xboard
44d92ac1c6 fix: resolve known issues and improve code standards
- Fix known bugs in user, plan, and server modules
- Standardize code formatting and structure
- Optimize database queries and model relationships
- Improve request validation and error handling
- Update admin controllers for better consistency
2025-06-22 17:38:17 +08:00
xboard
4fe2f35183 feat: enhance plan validation, traffic system and email verification
- feat: add plan price validation
- feat: make traffic packages stackable
- feat: add commission and invite info to admin order details
- feat: apply email whitelist to verification code API
- fix: subscription link copy compatibility for non-HTTPS
- fix: resolve route editing 500 error in certain cases
- refactor: restructure traffic reset logic
2025-06-22 01:18:38 +08:00
xboard
272dbd2107 feat: optimize settings management and admin functionality
- Add system log cleanup functionality with batch processing
- Optimize v2_settings table performance by unifying value storage
- Add comprehensive client support list for one-click subscription
- Fix QR code subscription links for specific node types
- Fix route addition issues in admin management panel
- Enhance admin system controller with log management APIs
2025-06-21 12:11:27 +08:00
xboard
7c86193215 fix: add missing files from previous commit 2025-05-24 20:19:54 +08:00
xboard
4e84cbd953 refactor: optimize mail reminder system - fix memory overflow, improve performance 20-30x, streamline code 2025-05-24 20:08:21 +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
xboard
8098cf3ee2 feat(admin): Add subscription template configuration and fix minor issues 2025-02-16 18:05:03 +08:00
xboard
0f43fff242 feat: new xboard 2025-01-21 14:57:54 +08:00
greatbody
0fb61ce30e Support configure environment variable to skip interactive configuration, which is require when we want to setup by script. 2024-09-06 10:02:45 +08:00
xboard
7246eb6ebc fix: 修复初始化安装时清理缓存报错的问题
修改aapanel 安装文档增加inotify 扩展说明
修改webman.php 自动检测是否安装inotify扩展,如果安装则自动拉取热重载监控
2024-05-29 00:56:00 +08:00
xboard
2b0bf6cbb7 perf: 优化安装体验 2024-05-24 13:06:25 +08:00
xboard
1cfd077ae7 log: 修改日志导出结果路径提示为绝对路径 2024-05-20 10:22:31 +08:00
xboard
be9ed269fa perf: 优化流量消费相关代码性能,解决流量纪录与已用流量有概率不一致的问题 2024-04-27 17:06:57 +08:00
xboard
39b4218349 fix: 修复安装Command 2024-04-10 19:09:16 +08:00
xboard
4c6c7182e2 refactor: 重构规范部分代码、邮件队列增加失败重试、去除多个支付方式、更新依赖 2024-04-10 00:51:03 +08:00
ventle233
3611ed6c88 将重置流量只重置已使用流量修改为重置已使用流量的同时重置当总流量为当前订阅所设置的流量 2024-01-13 02:10:15 +08:00
xboard
ca1758dc48 feat: 增加Command (php artisan log:export)导出日志命令 2024-01-01 04:52:49 +08:00
xboard
41643a729a perf: 优化初始化安装流程,增加mysql和Redis配置校验 2023-12-18 17:42:59 +08:00
xboard
b8009142ed perf: 优化数据库备份Command逻辑 2023-12-13 09:28:01 +08:00
xboard
26593eda27 fix: 修复安装Command不清除缓存的问题 2023-12-10 11:51:56 +08:00
xboard
b3b04cfc54 perf: 优化初始化安装流程 2023-12-08 08:53:19 +08:00
xboard
1fcb6fa911 fix: 规范数据库事物的使用,解决在swoole环境下可能会出现事物一直不被提交的问题 2023-12-06 19:00:26 +08:00
xboard
aa0fe64afe 在 Docker 环境中读取 INSTALL 环境变量判断是否已经安装 2023-12-04 20:30:38 +08:00
xboard
bf3930d29f fix: 修复tg机器人无法回复工单的问题 2023-12-03 09:43:38 +08:00
xboard
e086456777 chore: 修改Docker环境安装过程中默认的数据库地址为127.0.0.1 2023-11-24 17:03:48 +08:00