Commit Graph

154 Commits

Author SHA1 Message Date
xboard
a0f6b324a4 fix: reset traffic stats when copying server nodes 2026-04-11 20:24:43 +08:00
Xboard
f0af3b6832 Revert "feat: Track user traffic per node (server_id)" 2026-03-30 18:17:27 +08:00
xboard
209e862374 feat: add Vless Encryption support 2026-03-30 17:03:37 +08:00
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
a8aee3e992 feat: revoke other sessions when changing password (fix #414) 2026-03-28 08:31:24 +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
8b776b1ea1 feat: Trojan Reality support and protocol distribution optimizations 2026-03-23 14:56:41 +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
63f5080006 fix(runtime): force app_url/force_https per-request via middlewar 2026-03-19 04:22:17 +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
xboard
7801a0fb19 feat: add v2node support 2025-11-22 20:33:38 +08:00
xboard
9ef40d4918 allow free plans 2025-09-24 22:19:04 +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
socksprox
3e0deed576 Make that user batch generation works again 2025-09-15 15:43:43 +02: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
28f11e30af fix(server): Correct node_info retrieval method 2025-09-15 09:21:20 +08:00
xboard
50defe9d73 fix: remove dependency on job_batches table for batch email sending 2025-09-02 23:54:21 +08:00
xboard
ff120ac53f fix: prevent null pointer exception in knowledge fetch 2025-09-01 21:15:40 +08:00
xboard
46fef609dd fix: correct getAvailableUsers call to use (Server) 2025-08-29 20:50:55 +08:00
xboard
4f7f3d7168 feat: optimize server.user.get hook definition 2025-08-29 19:21:49 +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
10e36bd11f fix(tickets): prevent ApiException logging in ticket creation API 2025-08-21 19:13:14 +08:00
xboard
43d5bb11cc fix: resolve Telegram ticket notification issue 2025-08-08 02:53:44 +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
44486adb46 fix: announcement sorting issue 2025-07-22 04:28:39 +08:00
xboard
89ed4a54d9 fix: sub link types not working 2025-07-22 01:33:59 +08:00
xboard
dcd1d64bbd feat: add multiple hooks, pligun schedule support ,add hook:list artisan command 2025-07-21 13:29:17 +08:00
xboard
9cc512eb8d 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
ac77a73098 refactor: optimize surplus value calculation for plan deduction 2025-07-17 11:32:34 +08:00
xboard
b2c02e0fab feat(plugin hook): add client.subscribe.unavailable hook 2025-07-16 00:08:30 +08:00
xboard
170923bad5 chore: code style and type declaration improvements 2025-07-15 02:55:58 +08:00