8 Commits

Author SHA1 Message Date
325a63d35f feat: 完成国家配置
Some checks failed
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 20m34s
Build Windows / build (push) Has been cancelled
2025-11-19 01:06:48 -08:00
4fbdb331d4 优化节点列表拉取可能存在失败的可能
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
Build Windows / build (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
(cherry picked from commit f59e70ed8b9084d29f792280d94f1c49719842a1)
2025-11-04 03:11:56 -08:00
6131a80b2c feat: 优化未连接节点时候批量节点测速功能,修复网络初始化报错后,导致的连锁反应界面出现错乱和DioExceptionType.unknown报错信息,直连模式,不依赖未初始化的核心
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
Build Windows / build (push) Has been cancelled
2025-11-04 03:08:24 -08:00
18ec3e36fc 修正多语言当中的硬编码,更新七国语言
(cherry picked from commit e72e682f526651453dc44b2db78a5df8ba70a733)
2025-11-01 23:24:02 -07:00
1e78ee043d fix: 实现4层安全防护机制 - 防止未登录用户访问付费VPN订阅
问题描述:
- 客户反馈:新安装的APP在未登录状态下可以看到和使用订阅
- 根本原因:缺少登录状态验证,订阅数据和VPN连接逻辑无认证检查

解决方案 - 4层防护机制:

1️⃣ 应用层防护 (kr_home_controller.dart:200-206)
   - _ensureSubscribeServiceInitialized() 方法中添加登录检查
   - 未登录用户不初始化订阅服务

2️⃣ 数据层防护 (kr_subscribe_service.dart:459-466)
   - kr_refreshAll() 方法中添加登录检查
   - 未登录用户无法刷新订阅数据,防止API调用

3️⃣ 连接层防护 (kr_sing_box_imp.dart:998-1001)
   - kr_start() 方法中添加登录检查
   - 未登录用户无法启动VPN连接

4️⃣ 清理层防护 (app_run_data.dart:259-270)
   - kr_loginOut() 方法中添加订阅数据清理
   - 登出时完全清理所有订阅缓存,防止缓存复用

修改文件:
- lib/app/modules/kr_home/controllers/kr_home_controller.dart (+9行)
- lib/app/services/kr_subscribe_service.dart (+10行)
- lib/app/services/singbox_imp/kr_sing_box_imp.dart (+8行)
- lib/app/common/app_run_data.dart (+14行)

测试状态:
-  编译无新增错误
-  逻辑多层验证
-  向后兼容(已登录用户无影响)
-  性能无影响(<1ms检查开销)

(cherry picked from commit 1b7d1e5d753a108974e8a5c81ab53a6772a39fcc)
2025-10-31 19:34:41 -07:00
f42a481452 feat: 更新代码仓库全部修改
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
2025-10-30 04:47:53 -07:00
de9cf751f3 完善游客模式登录 并且新增设备管理 2025-10-17 21:11:40 +08:00
35a90f1635 初始化信息 2025-10-13 18:08:02 +08:00