Commit Graph

48 Commits

Author SHA1 Message Date
Xboard
f0af3b6832 Revert "feat: Track user traffic per node (server_id)" 2026-03-30 18:17:27 +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
a8aee3e992 feat: revoke other sessions when changing password (fix #414) 2026-03-28 08:31:24 +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
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
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
ff120ac53f fix: prevent null pointer exception in knowledge fetch 2025-09-01 21:15:40 +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
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
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
170923bad5 chore: code style and type declaration improvements 2025-07-15 02:55:58 +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
03a55bdd77 feat: add tags to plans, refactor order service, adn fix ticket lock 2025-07-01 11:14:18 +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
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
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
9ed588bd93 feat: add user deletion functionality and fix known issues 2025-01-25 16:57:17 +08:00
xboard
e9d41441cc fix(coupon): correct knows issues 2025-01-23 16:14:18 +08:00
xboard
1733b23784 fix(coupon): correct knows issues 2025-01-23 14:48:12 +08:00
xboard
a9516400c6 feat: new xboard 2025-01-21 14:57:54 +08:00
xboard
b55e4a58f5 refactor: subscription URL retrieval logic 2024-11-09 06:35:37 +08:00
xboard
3cfc5fc6c2 fix: 修复流量明细显示所有记录的BUG 2024-10-07 09:55:19 +08:00
xboard
7faa7ccdf0 perf: 优化流量消费相关代码性能,解决流量纪录与已用流量有概率不一致的问题 2024-04-27 17:06:57 +08:00
xboard
18ec8ee813 refactor: 重构规范部分代码、邮件队列增加失败重试、去除多个支付方式、更新依赖 2024-04-10 00:51:03 +08:00
xboard
e6f6a1cb52 fix: 修复一些主题用户获取节点为空的问题,取消节点API未找到节点的日志记录 2024-01-15 04:25:25 +08:00
xboard
4973a390ef fix: 修复多处可能出现的事务安全问题 2023-12-14 13:07:57 +08:00
xboard
bfe979f953 fix: 修复创建工单中的事务安全 2023-12-13 03:00:43 +08:00
xboard
b4cfcad0cb refactor: 规范工单接口代码规范 2023-12-12 06:22:18 +08:00
xboard
1c68f4564a refactor: 规范部分API接口响应格式 2023-12-10 17:53:31 +08:00
xboard
b3533a2577 to: 工单增强消息调整 2023-12-08 15:51:29 +08:00
xboard
512b29ceec feat: 工单Bot增强 2023-12-08 15:43:17 +08:00
xboard
d32163d3fe fix: 修复邀请信息获取接口返回数据格式错误的问题 2023-12-07 09:52:23 +08:00
xboard
8f049f72f8 refactor: 规范状态码、抛出异常的使用 2023-12-07 04:01:32 +08:00
xboard
a3356f695c fix: 规范数据库事物的使用,解决在swoole环境下可能会出现事物一直不被提交的问题 2023-12-06 19:00:26 +08:00
xboard
779c3fa984 refactor: 规范Expection处理 2023-12-04 20:40:49 +08:00
xboard
59b458c593 fix: 修复知识库 access start 在webman中重新定义的问题 2023-11-22 21:33:19 +08:00
xboard
4ab8a9cb3c Initial commit 2023-11-17 14:44:01 +08:00