58 Commits

Author SHA1 Message Date
BrettonYe
dc3277e0d6 Improve batch processing and shop logic
- Use chunkById() with default chunk size for batch processing;
- Improve plan/package expiration and prepaid activation logic;
- Refactor user–node permission update logic
- Optimize OrderService state handling
- Minor fixes (null handling, query order, comments)
2026-01-30 20:04:19 +08:00
BrettonYe
5be5e48f5e Integrate Laravel Reverb for real-time node and payment events
This update adds Laravel Reverb as the broadcast driver, introduces event classes for node actions and payment status updates, and implements real-time node management (check, geo refresh, reload) with asynchronous jobs and broadcasting. The admin node UI is refactored to use modals and real-time updates via Echo, and frontend assets are updated to support Reverb. Composer and configuration files are updated for Reverb, and install scripts now handle Reverb setup. Payment status updates are now broadcast to the frontend for real-time feedback.
2026-01-30 20:04:18 +08:00
BrettonYe
26af8edb5d Add Unit Tests & Add Support for PingAgent
Add Unit Tests
- For  IP info
- For IP Connect detection
- For Currency Exchange

Add Support for PingAgent
- https://github.com/ProxyPanel/PingAgent
2026-01-30 20:04:18 +08:00
BrettonYe
ad3662cda0 🚀 Refactor Blade
- Optimize Blade JavaScript code.
- Refactored multiple admin controllers for improved validation, error handling, and query efficiency.
- Added ProxyConfig trait to centralize proxy configuration options.
- Updated NodeStatusDetection to use model relationships for heartbeat checks.
- Improved category, label, and country management logic and error logging.
- Added new Blade components for admin UI and updated language files and assets for better localization and frontend support.
- Bug fixed & introduced more bug :)
2026-01-30 20:04:17 +08:00
BrettonYe
f82912d0d1 Improve subscription error display in different clients 2024-10-24 21:13:50 +08:00
BrettonYe
73ac656935 Add Cloudflare's Turnstile Captcha Service to our Captcha options 2024-06-27 22:18:29 +08:00
BrettonYe
72c66e199c 🚀 Update Laravel Framework to 10 2024-06-27 22:18:23 +08:00
BrettonYe
d1a6338006 Clean Code 2024-06-27 22:18:21 +08:00
BrettonYe
5f18ec8af0 dump version 2024-06-27 22:18:05 +08:00
BrettonYe
1f294e8f27 Update translation 2024-06-27 22:17:58 +08:00
BrettonYe
a6636fd82d Fixed aff link bug 2024-06-27 22:17:53 +08:00
BrettonYe
1b004e1c57 优化/重构 支付相关代码
1. 优化支付文件框架为后续大改做准备;
2. 重构了支付宝面对面支付;
   - 本次重构解决了PHP版本>7.3 导致该支付无法使用的问题;
   - 自行开发的接入方式,简化&快捷化了代码;
3. 修正 Stripe 汇率API 查询的代码 & 部分报错代码;

TODO:
1. 汇率查询API 应该集中统一化(Paypal & Stripe 都需要汇率转换);
2. 简化支付对接成本(单文件自动对接);
2024-06-27 22:17:51 +08:00
兔姬桑
483708fda7 Add 全新的安装&更新程序 2022-11-16 00:24:30 +08:00
兔姬桑
c06b28d454 Bump Version to 2.7.0 2022-08-03 23:16:15 +08:00
兔姬桑
efa0579de7 新系统日志模块 2021-12-11 15:40:57 +08:00
兔姬桑
6467bacad5 Fix 企业微信卡片消息中文乱码的问题 2021-10-13 23:37:46 +08:00
兔姬桑
559c9651cf Add 人工支付通知 互动消息通知 2021-10-12 23:18:34 +08:00
兔姬桑
cb083e8780 Add 订单流水分析 2021-07-30 00:17:42 +08:00
兔姬桑
78de053306 add sortable user/order table 2021-07-19 23:27:08 +08:00
兔姬桑
46a50b944d Add Telegram as OAuth option 2021-07-09 11:12:14 +08:00
兔姬桑
bc17327338 Update composer 2021-06-26 16:08:41 +08:00
兔姬桑
7be0083168 Fix #170 2021-05-17 16:21:53 +08:00
兔姬桑
7a54b61579 Add #120 邀请链接用户信息字符模糊化 2021-03-17 20:05:16 -04:00
兔姬桑
58154ad98d 更新依赖 2021-02-02 20:20:34 -05:00
兔姬桑
bfd3b0c5c6 通知系统统合 Alpha 2021-01-18 02:24:41 -05:00
兔姬桑
c5043a0c65 强化自定义订阅 后端逻辑 Beta 2020-12-16 15:13:54 +08:00
兔姬桑
b44c745c8a Code improve 2020-11-16 16:44:45 +08:00
兔姬桑
af218f1c5a Modify how Jobs is being handle 2020-11-03 11:24:46 +08:00
兔姬桑
075ef23afd Fix 账号/订阅 异常信息未正确返回 2020-10-25 05:14:07 +08:00
Colette Contreras
f16c2fb114 Add Docker and Stripe (#73) 2020-10-23 00:38:37 +08:00
兔姬桑
c347f4b8de Simplify Captcha view 2020-10-14 08:14:37 +08:00
兔姬桑
d038accc82 added DDNS系统初版(已支持阿里云&Namesilo) 2020-10-12 03:07:43 +08:00
兔姬桑
9ee9bac0fd removed All [any] Routes & Auto-cleanning routes after sub-domian updated 2020-10-07 12:09:24 +08:00
兔姬桑
7fc5da2bbd fixed #27 & #30 2020-10-03 02:27:12 +08:00
兔姬桑
ce9618236f 2.5.a 管理路由全面改写 与 代码拆分
1. 全面改写项目-管理面板的路由;
2. 拆分过于Contoller;
3. 优化了按钮过多的图表的显示;
4. 初步应用 Laravel的 表单验证功能;
5. 初步应用 Laravel的 component 功能 拆分/模块化前端代码;
6. 优化部分系统的判断逻辑;
7. 针对2.4.0以前的面板,追加辅助矫正数据库的sql文件;
2020-10-01 12:34:19 +08:00
兔姬桑
e6da11dede IP地址查询整合与增强 2020-09-13 01:34:50 +08:00
兔姬桑
7254f19da7 add telescope 2020-09-07 10:33:47 +08:00
兔姬桑
a4f1f40ad4 Changed 系统参数将使用redis Cache储存,减少查表 2020-09-06 13:55:44 +08:00
兔姬桑
a66622ac93 Updated Framework to laravel 7 2020-09-04 12:57:54 +08:00
兔姬桑
aeb4af6f0f 2.4.0 phase 3: db.sql 转换至 Migration + 优化 2020-08-26 00:37:56 +08:00
兔姬桑
3a548fa1d6 2.4.0 phase 2: 完成对VNet管理缺失的补全 2020-08-21 13:24:04 +08:00
兔姬桑
66c3c53038 2.4.0 phase 1: 大量代码优化与改写
1. models 关系规范化;
2. 本地-在线 订单处理改写;
3. 优化用户界面节点的查表操作;
4. 半修复 VNet SSR版需要面板主动提交用户信息变动的问题;(节点等级,用户分组,Node信息修改 主动通知节点尚未添加);
5. 简化并提取出了 返利佣金相关处理逻辑;
2020-08-16 12:55:18 +08:00
兔姬桑
cbfc1a0bd0 实装MugglePay (麻瓜宝) 2020-08-05 03:51:29 +08:00
兔姬桑
ef213a7e64 GuzzleHttp 替换 Curl 2020-08-05 03:51:28 +08:00
兔姬桑
144450eb52 二维码组件添加+支付二维码修改;代码规范化 2020-08-05 03:51:22 +08:00
兔姬桑
265fced5e2 WebApi Bate & more
1. 完善 laravel5.8框架文件;
2. 按照VentPanel开发的WebApi Bate;
3. bug修复与优化
4. WebApi 授权相关界面;
2020-08-05 03:20:39 +08:00
兔姬桑
32e8638363 fix and add
1.  简化支付;
2. 修复余额充值显示错误;
3. 加入关闭订单功能;
4. 改PayJS支付方式为收银台模式cashier,而非扫码模式native
2020-08-05 03:20:37 +08:00
兔姬桑
80841248e5 添加 PayPal 支付方式 2020-08-05 03:20:32 +08:00
兔姬桑
e13fed8811 fix f2fpay 2020-08-05 03:20:32 +08:00
兔姬桑
759cbe58d3 BUG修复
1. 修复Coupon添加失败问题;
2. 修复众多支付渠道无法区别异步回调的问题;
3. 码支付 可以使用在生成环境中;
4.更新Logs
2020-08-05 03:20:32 +08:00