Commit Graph

476 Commits

Author SHA1 Message Date
xboard
af747c61cc refactor(singbox): use data_get for array access 2025-08-23 11:19:37 +08:00
xboard
a907ef523c docs: add plugin development document 2025-08-23 00:25:09 +08:00
xboard
8f3cdf0dde 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
53ca5d062c fix(tickets): prevent ApiException logging in ticket creation API 2025-08-21 19:13:14 +08:00
xboard
a666557781 fix(auth): handle null redirect in quick login url 2025-08-21 18:57:19 +08:00
Xboard
7386ac26f5 Merge pull request #595 from swcoffee/master
fix: missing field 'version' when distributing tuic protocol in stash
2025-08-21 18:10:04 +08:00
Xboard
d4cd3d4bb6 Merge pull request #638 from zytakeshi/fix/singbox-sni-domain-issue
fix: correct SNI domain configuration paths in SingBox protocol
2025-08-21 18:07:53 +08:00
xboard
1808e994ae fix: fix return type in transferToGB method 2025-08-20 04:13:52 +08:00
zytakeshi
4828a00602 Update SingBox.php
fix Vmess
2025-08-16 03:21:17 +09:00
Takeshi Matsumoto
c38fd1b7b7 fix: correct VMess TCP transport configuration in SingBox protocol
- Only add HTTP transport when network_settings.header.type is not 'none'
- Use pure TCP (null transport) when header type is 'none' or unset
- Align with General protocol implementation and VMess specification

This prevents unnecessary HTTP transport layer when using pure TCP.
2025-08-16 03:08:56 +09:00
Takeshi Matsumoto
f86dd89cdd fix: correct SNI domain configuration paths in SingBox protocol
- Fix Trojan protocol to use 'server_name' instead of 'tls_settings.server_name'
- Fix Hysteria protocol to use 'tls.server_name' instead of 'tls_settings.server_name'
- Align with Server model configuration and General protocol implementation
- Resolves missing SNI domains in sing-box configuration generation

This fixes the inconsistency where SNI domains were missing for certain
protocols while working correctly in General protocol handler.
2025-08-16 02:44:17 +09:00
xboard
877a508f01 fix: fix Alipay face-to-face payment form display issues 2025-08-08 03:17:05 +08:00
xboard
930e2052a4 fix: fix user expiration date display and update issues
- Fix 1970 year display for unlimited validity users
- Resolve SQL error in user update endpoint
- Closes #625
2025-08-08 03:04:44 +08:00
xboard
f82a19f591 fix: resolve Telegram ticket notification issue 2025-08-08 02:53:44 +08:00
Xboard
9f9db03cc3 Merge pull request #612 from xcxnig/patch-1
fix(stash): fix Flow network and SNI issues
2025-08-08 02:44:58 +08:00
Miku
ca05b65638 fix(stash): fix Flow network and SNI issues 2025-08-02 02:07:29 +08:00
xboard
1405cb0b99 fix: change user default_at to 0 2025-07-27 08:11:42 +08:00
xboard
c4dc9669f3 fix: correct errors in database migration file 2025-07-27 08:00:49 +08:00
xboard
78e7be8766 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
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
swcoffee
738b433041 fix: missing field 'version' when distributing tuic protocol in stash
stash下发tuic协议时缺少version字段,会导致订阅无法使用
2025-07-26 13:46:54 +08:00
xboard
02d853d46a update composer.yaml 2025-07-23 16:47:48 +08:00
xboard
97f84286d8 fix: announcement sorting issue 2025-07-22 04:28:39 +08:00
xboard
7adfd160cc fix: make subscribe url cofig changes take effect immediately under octane 2025-07-22 03:25:13 +08:00
xboard
cd5f444b24 fix(theme): qx import issue and long title display 2025-07-22 02:01:46 +08:00
xboard
920b5b12ec fix: sub link types not working 2025-07-22 01:33:59 +08:00
xboard
06cbe0e478 fix: correct return_url generation for payment in frontend-backend separated deployment 2025-07-21 23:54:00 +08:00
xboard
6649924d10 fix: align user action buttons, add json/yaml support for plugin config, improve formatTrafficSize, show processed commission
- Aligned user action buttons in dropdown for consistent UI.
- Added JSON and YAML support in plugin config form with Monaco Editor and resizable height.
- Improved formatTrafficSize to handle large numbers and prevent undefined units.
- Order detail now shows commission info when commission_status is 1 or 2.
2025-07-21 23:52:07 +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
768e14bdb9 fix: gift card redemption limits validation 2025-07-21 09:28:00 +08:00
xboard
61773a13b4 fix: resolve issue where dynamic rate cannot be disabled 2025-07-21 08:29:14 +08:00
xboard
90360cfeb5 fix: resolve theme refresh issue after updates 2025-07-21 08:27:41 +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
063a10f6bb refactor: rename hook form traffic.before_process to traffic.process.before 2025-07-18 23:39:19 +08:00
xboard
508caebdcd refactor: refactor subscription delivery logic, change payment return_url to origin_url concatenation
- Unify protocol filter configuration to client.type.field (dot-path, three-segment) format, support strict whitelist mode
- Refactor AbstractProtocol and all protocol classes for more flexible and maintainable subscription delivery
- Change payment callback logic: use origin_url concatenation instead of return_url for more accurate redirects
2025-07-18 15:42:58 +08:00
xboard
e2d7b6a5e0 feat(hook): add order.create.after, order.open.before, order.open.after, and protocol.servers.filtered hooks 2025-07-17 12:34:31 +08:00
xboard
10ff5d7b27 feat: consider remaining traffic in surplus calculation when resetting traffic on plan change 2025-07-17 12:13:03 +08:00
xboard
4a7eef8ad6 refactor: optimize surplus value calculation for plan deduction 2025-07-17 11:32:34 +08:00
xboard
c4834255c0 style(theme): announcement carousel content and set full-width background 2025-07-16 11:03:07 +08:00
xboard
6fdb083809 feat(plugin hook): add client.subscribe.unavailable hook 2025-07-16 00:08:30 +08:00
xboard
ac08199580 fix: fix Redis RDB snapshot permission error 2025-07-15 23:09:38 +08:00
xboard
ba2f305f33 fix: theme switch service 2025-07-15 20:50:04 +08:00
Xboard
acf05c6107 Merge pull request #558 from Hei-XiaoHu/update-memory-limit
Increase Horizon memory_limit to prevent container memory exhaustion
2025-07-15 03:23:55 +08:00
xboard
d30e9cb30b chore: code style and type declaration improvements 2025-07-15 02:55:58 +08:00
xboard
b55a56d6a7 feat: improve traffic reset precision and admin features
- Increase traffic reset granularity to seconds
- Add next reset time display in admin pane
2025-07-15 02:18:33 +08:00
xboard
706ba5a7a9 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
f6cf6706c7 fix(admin): handle null rate_time_ranges when editing server nodes to prevent 500 error 2025-07-14 10:19:08 +08:00
xboard
0311a93252 fix(i18n): correct traffic unit display for gift card template rewards 2025-07-14 00:39:54 +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
a01b94f131 fix(register): handle invalid invite code gracefully
Fix an issue where entering a non-existent invite code during registration would result in an unclear HTTP code 0 error. Now, the system properly validates the invite code and returns a clear error response if the code does not exist.
2025-07-13 21:19:33 +08:00