Commit Graph

58 Commits

Author SHA1 Message Date
Xboard
0ea23b24c9 Merge pull request #755 from socksprox/feat/server-id-stat-user
feat: Track user traffic per node (server_id)
2026-03-30 13:55:11 +08:00
Xboard
df4e143cf5 Merge pull request #689 from socksprox/fix-user-generation-multiple-prefix
Fix user generation with email_prefix to support multiple users
2026-03-30 13:32:46 +08:00
xboard
1e7fa93f99 feat: node traffic limit & batch operations
- Traffic monitoring with transfer_enable limit
- Batch delete nodes
- Reset traffic (single/batch)
2026-03-30 02:50:56 +08:00
xboard
7af0764031 feat: implement email case-insensitive queries (fix #318) 2026-03-28 07:09:21 +08:00
xboard
b9276470eb fix: resolve device sync issues and refactor WebSocket server 2026-03-26 03:33:01 +08:00
xboard
b487d6c561 refactor: restructure device limit system 2026-03-25 17:50:16 +08:00
Xboard
75d3b254be Merge pull request #789 from socksprox/feat/or-filter-logic
feat: Add OR logic support to user fetch API filters
2026-03-21 07:49:03 +08:00
xboard
8137a11008 feat: Add admin bulk-mail placeholder variables and template rendering 2026-03-19 05:02:16 +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
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
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
socksprox
fbc85f298b Make querying users better with "or" statements 2026-01-28 01:27:21 +01:00
socksprox
acee3a2241 do not return strings, but int 2025-11-29 17:05:07 +01:00
socksprox
c592543394 again: update api combining times 2025-11-29 17:05:07 +01:00
socksprox
5ce07d7091 Revert "Combine data with node_id in api output, so its all still "one day", and fits vanilla xboard behaviour"
This reverts commit de39230cbe111bbf793f11bcf5046ef717c67f87.

The api change caused issues
2025-11-29 17:05:07 +01:00
socksprox
47f235dffa Combine data with node_id in api output, so its all still "one day", and fits vanilla xboard behaviour 2025-11-29 14:07:10 +01:00
socksprox
3e0deed576 Make that user batch generation works again 2025-09-15 15:43:43 +02:00
xboard
50defe9d73 fix: remove dependency on job_batches table for batch email sending 2025-09-02 23:54:21 +08:00
xboard
2412b266b7 fix: optimize batch email performance and fix gift card issues
- Add chunking and batching for admin email sending
- Fix gift card pagination and add per_page limits
- Update frontend prompts and complete language packs
2025-08-23 00:11:45 +08:00
xboard
06cffa32b4 feat: add plugin migrations and fix plan management bugs
- Plugin database migration support
- Fix empty prices error in plan management
- Plugin update functionality
- Custom shadowsocks encryption algorithms
2025-07-27 00:19:14 +08:00
xboard
5b8cf681f9 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
170923bad5 chore: code style and type declaration improvements 2025-07-15 02:55:58 +08:00
xboard
6ac0cc7ce5 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
c80dd82558 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
aebd746060 feat: plugin controller config system with guest_comm_config hook integration
- Add HasPluginConfig trait and PluginController base class
- Integrate guest_comm_config hook in CommController for plugin frontend config injection
- Add user creation functionality to UserService and fix null value handling
- Enhance AbstractPlugin.getConfig() with key parameter support
- Multiple service layer optimizations and architecture improvements
2025-06-29 01:42:48 +08:00
xboard
669eef6569 eat: add reCAPTCHA v3 and Cloudflare Turnstile verification support
- Implement reCAPTCHA v3 with score-based validation
- Add Cloudflare Turnstile as captcha alternative
- Create reusable CaptchaService for unified validation
- Support switching between recaptcha, recaptcha-v3, and turnstile
- Maintain backward compatibility with existing configurations
2025-06-28 18:01:59 +08:00
xboard
bd118bb526 fix: admin export subscription link issue 2025-06-24 22:55:34 +08:00
xboard
c7ea9f6809 feat(admin): enhance i18n support
Fix system monitor button i18n syntax, complete coupon form i18n
2025-06-23 11:55:17 +08:00
xboard
449c30d64e 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
8f07e03b6e 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
dd098c2c78 fix: getSystemStatus api 2025-06-21 16:01:51 +08:00
xboard
ad6e51c6ed feat: enhance plan user statistics with active user count display 2025-06-21 13:20:57 +08:00
xboard
06d0f80960 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
64e68d7d65 feat: Add node load submission and display functionality
- Implemented node load status submission in UniProxyController with dynamic cache expiration based on server push interval.
- Added log filtering capability in the admin panel for better log management and analysis.
2025-05-24 12:31:18 +08:00
xboard
af420ea83a 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
4811b38eb3 fix: add missing i18n fields in admin and fix Surge template issue 2025-05-16 23:18:30 +08:00
xboard
75c6d854b4 feat(admin): optimize subscription template configuration and add Surfboard subscription template
- Improved the code structure for subscription template configuration.
- Added a new feature in the admin panel to configure Surfboard subscription templates.
2025-05-16 05:13:49 +08:00
xboard
7b45351f99 fix(admin): Fix order assignment issue in admin panel 2025-05-08 22:14:56 +08:00
xboard
4845ff0739 fix: resolve PHPStan static analysis warnings 2025-05-07 19:48:19 +08:00
xboard
ea424ad0a8 Revert "fix: resolve PHPStan static analysis warnings"
This reverts commit b885e644a8.
2025-04-14 21:23:08 +08:00
xboard
b885e644a8 fix: resolve PHPStan static analysis warnings 2025-04-14 02:12:42 +08:00
xboard
2da7cfcfd7 fix: Correct email dispatching in user management 2025-02-23 00:27:22 +08:00
xboard
e52895d2aa feat: Add TUIC protocol support and fix user filtering/export issues 2025-02-23 00:13:04 +08:00
xboard
58a9303e5f feat(admin): Add subscription template configuration and fix minor issues 2025-02-16 18:05:03 +08:00
xboard
bd9c2a32d7 chore(plugin): Refactor plugin architecture and improve code quality 2025-02-09 22:38:09 +08:00
xboard
2d799c0218 feat: add one-click update feature to admin panel 2025-02-09 13:43:09 +08:00