Commit Graph

48 Commits

Author SHA1 Message Date
Xboard
c5a8c836c0 Revert "feat: Track user traffic per node (server_id)" 2026-03-30 18:17:27 +08:00
Xboard
0cd20d12dd 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
130f7c82a8 feat: revoke other sessions when changing password (fix #414) 2026-03-28 08:31:24 +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
8bb4682e98 feat: add configurable ticket_must_wait_reply setting 2026-03-11 07:31:09 +08:00
socksprox
c327fecb49 do not return strings, but int 2025-11-29 17:05:07 +01:00
socksprox
0446f88e9e again: update api combining times 2025-11-29 17:05:07 +01:00
socksprox
a01151130e 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
9ca8da045c 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
61a44483d4 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
8ae3de511b feat(plugin): add user.subscribe.response hook 2025-09-17 00:02:59 +08:00
xboard
181075ad19 fix: prevent null pointer exception in knowledge fetch 2025-09-01 21:15:40 +08:00
xboard
53ca5d062c fix(tickets): prevent ApiException logging in ticket creation API 2025-08-21 19:13:14 +08:00
xboard
f82a19f591 fix: resolve Telegram ticket notification issue 2025-08-08 02:53:44 +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
97f84286d8 fix: announcement sorting issue 2025-07-22 04:28:39 +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
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
4a7eef8ad6 refactor: optimize surplus value calculation for plan deduction 2025-07-17 11:32:34 +08:00
xboard
d30e9cb30b chore: code style and type declaration improvements 2025-07-15 02:55:58 +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
05afe870e7 feat: add tags to plans, refactor order service, adn fix ticket lock 2025-07-01 11:14:18 +08:00
xboard
6d85736eea 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
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
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
b2e7ed44f3 feat: add user deletion functionality and fix known issues 2025-01-25 16:57:17 +08:00
xboard
caade5c791 fix(coupon): correct knows issues 2025-01-23 16:14:18 +08:00
xboard
8f88e11403 fix(coupon): correct knows issues 2025-01-23 14:48:12 +08:00
xboard
0f43fff242 feat: new xboard 2025-01-21 14:57:54 +08:00
xboard
ab52e61ed1 refactor: subscription URL retrieval logic 2024-11-09 06:35:37 +08:00
xboard
af1f1e9fdf fix: 修复流量明细显示所有记录的BUG 2024-10-07 09:55:19 +08:00
xboard
be9ed269fa perf: 优化流量消费相关代码性能,解决流量纪录与已用流量有概率不一致的问题 2024-04-27 17:06:57 +08:00
xboard
4c6c7182e2 refactor: 重构规范部分代码、邮件队列增加失败重试、去除多个支付方式、更新依赖 2024-04-10 00:51:03 +08:00
xboard
68d7d64ea7 fix: 修复一些主题用户获取节点为空的问题,取消节点API未找到节点的日志记录 2024-01-15 04:25:25 +08:00
xboard
7bac88d593 fix: 修复多处可能出现的事务安全问题 2023-12-14 13:07:57 +08:00
xboard
f812e5f239 fix: 修复创建工单中的事务安全 2023-12-13 03:00:43 +08:00
xboard
1270a60ad8 refactor: 规范工单接口代码规范 2023-12-12 06:22:18 +08:00
xboard
e04d82961f refactor: 规范部分API接口响应格式 2023-12-10 17:53:31 +08:00
xboard
aa0af37e91 to: 工单增强消息调整 2023-12-08 15:51:29 +08:00
xboard
ca63cbf801 feat: 工单Bot增强 2023-12-08 15:43:17 +08:00
xboard
0db0ea3a6b fix: 修复邀请信息获取接口返回数据格式错误的问题 2023-12-07 09:52:23 +08:00
xboard
189b247ad8 refactor: 规范状态码、抛出异常的使用 2023-12-07 04:01:32 +08:00
xboard
1fcb6fa911 fix: 规范数据库事物的使用,解决在swoole环境下可能会出现事物一直不被提交的问题 2023-12-06 19:00:26 +08:00
xboard
0ab7dee52d refactor: 规范Expection处理 2023-12-04 20:40:49 +08:00
xboard
638dbef30a fix: 修复知识库 access start 在webman中重新定义的问题 2023-11-22 21:33:19 +08:00
xboard
65fe7682ff Initial commit 2023-11-17 14:44:01 +08:00