yinjianm
4f84034814
• 你这个现象我已经定位并修了,核心原因是节点匹配和设备映射都有歧义。
...
已修改:
- 节点识别优先用 id,只有找不到才回退 code,避免子节点被匹配成父节点
ServerService.php (/E:/code/php/Xboard-new/app/Services/ServerService.php#L101)
- 在线设备解析补全 node_key/node_id,并按真实节点键归类
UserOnlineService.php (/E:/code/php/Xboard-new/app/Services/UserOnlineService.php#L43)
- 用户端流量日志设备映射改为按 node_key 精确匹配
StatController.php (/E:/code/php/Xboard-new/app/Http/Controllers/V1/User/StatController.php#L43)
- 管理端同样改为按 node_key 映射
StatController.php (/E:/code/php/Xboard-new/app/Http/Controllers/V2/Admin/StatController.php#L270)
说明:
- 这次不涉及数据库结构变更,不需要 migrate。
- 对管理后台现有统计接口兼容,不会破坏原有 u/d/record_at/server_rate 显示。
- 旧的历史日志如果之前已经按父节点入库,不会自动改名;新流量会按修复后的逻辑记录。
2026-02-26 05:13:19 +08:00
yinjianm
1e291f8408
fix stat_user unique key with record_type and deduplicate before index
2026-02-26 04:39:42 +08:00
yinjianm
87e547d2f1
修复1
2026-02-26 04:21:30 +08:00
yinjianm
529953d98d
处理jc流量显示的问题
2026-02-26 04:06:28 +08:00
yinjianm
2d14e22322
翻译文档
2026-02-22 04:13:42 +08:00
yinjianm
267aeec5ba
修改文档
2026-02-22 03:58:02 +08:00
yinjianm
809860b8db
修改仓库地址
2026-02-22 03:57:06 +08:00
yinjianm
5370b21ef9
chore: support local docker build deployment
2026-02-22 03:23:33 +08:00
yinjianm
17a7c63aec
修改邮件部分
2026-02-22 03:22:14 +08:00
yinjianm
7a3e245887
添加开发文档
2026-02-22 02:52:32 +08:00
xboard
601955e60d
fix: read plugin enabled from DB for consistency
2026-01-02 18:30:21 +08:00
xboard
6f7181db2f
fix(admin): guard unknown order status
2025-12-18 00:57:59 +08:00
xboard
95e8e7bca7
feat: add v2node support
2025-11-22 20:33:38 +08:00
xboard
8d0e33ba23
fix: preserve theme config when upgrading theme
2025-11-07 19:25:40 +08:00
xboard
213aff3993
feat(admin): add Custom ID/Original ID display with copy actions
2025-10-20 21:46:26 +08:00
xboard
e3c746d314
feat(plugin): auto-decode JSON config values by type in PluginManager
2025-10-20 18:56:44 +08:00
xboard
7377460ba0
fix(telegram): correct traffic usage description in notification
2025-10-08 10:26:26 +08:00
xboard
0798b371b6
feat(telegram plugin): improve Telegram notification formatting
2025-09-27 16:53:17 +08:00
xboard
f83bdfc9ad
fix: avoid getCurrentCommit on cache hit
2025-09-26 19:04:17 +08:00
xboard
c5ac76823d
allow free plans
2025-09-24 22:19:04 +08:00
xboard
ccd65f26d4
fix(jobs): resolve PostgreSQL issue in StatServerJob and StatUserJob
2025-09-23 18:57:44 +08:00
xboard
bf1234a9c2
fix(plugin): remove stale plugin records when files missing; adjust logging
2025-09-23 14:59:22 +08:00
xboard
92c448e2e1
fix: remove smogate
2025-09-22 22:52:11 +08:00
xboard
2808f40737
Remove Smogate plugin
2025-09-22 18:47:25 +08: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
58a374bde9
fix
2025-09-16 18:44:44 +08:00
xboard
843c5af4c2
refactor(online-status): consolidate updates and add cleanup command
2025-09-15 20:32:22 +08:00
xboard
cd8a8ecf58
feat(middleware): Add transaction state guard for Octane
2025-09-15 16:15:39 +08:00
xboard
2ac126dd42
refactor(Jobs): Optimize traffic statistics jobs with upsert
2025-09-15 09:56:36 +08:00
xboard
1fd4f923ad
fix(server): Correct node_info retrieval method
2025-09-15 09:21:20 +08:00
xboard
f289f68898
fix: resolve vmess http-opts headers null issue in subscription generation
2025-09-12 10:45:31 +08:00
xboard
b14477098d
fix(epay): allow custom payment types via string input
...
- Replace select dropdown with string input for `type`
2025-09-05 16:16:30 +08:00
xboard
3238a83d4e
feat(shadowrocket): support VLESS transports httpupgrade/xhttp/kcp
...
- Add parsing for httpupgrade, xhttp, and kcp in Shadowrocket VLESS builder
- Ensure correct obfs/path/host/mode mapping for Shadowrocket compatibility
2025-09-05 15:22:46 +08:00
xboard
fe94d7ebc6
fix: remove dependency on job_batches table for batch email sending
2025-09-02 23:54:21 +08:00
xboard
181075ad19
fix: prevent null pointer exception in knowledge fetch
2025-09-01 21:15:40 +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
abf541df72
fix: improve date calculation for month-end reset schedules
2025-08-31 20:30:02 +08:00
Xboard
cf10e108ef
Merge pull request #658 from xcxnig/patch-2
...
fix(order): correct renewal handling for onetime plan
2025-08-30 03:15:06 +08:00
Miku
a8e2452dcc
fix(order): correct renewal handling for onetime plan
...
fixes onetime plan renewal logic
2025-08-29 23:24:48 +08:00
xboard
5f74093660
fix: correct getAvailableUsers call to use (Server)
2025-08-29 20:50:55 +08:00
xboard
8e0384c833
feat: optimize server.user.get hook definition
2025-08-29 19:21:49 +08:00
Xboard
02c9bca336
Rename docker-compose.yml to compose.yaml
2025-08-29 01:55:34 +08:00
xboard
60f1fea356
fix(subscribe): fix vmess+tcp+http subscription in general and singbox
2025-08-24 18:39:00 +08:00
xboard
84d5a4f005
fix(subscribe): fix vmess+tcp+http subscription in Clash and Clash Meta
2025-08-24 18:07:36 +08:00
xboard
9bdd7b8a58
fix(payment): add AlipayF2F libraty file
2025-08-24 17:04:16 +08:00
xboard
23135c6f39
fix: handle disable exec funtion in install script
2025-08-23 19:32:32 +08:00
xboard
724dd54822
fix: support resources/views directory for plugin views
2025-08-23 15:26:09 +08:00
xboard
bdbbec3d97
feat(admin): add user details dialog and fix editor resize bug
2025-08-23 15:12:30 +08:00