Commit Graph

14 Commits

Author SHA1 Message Date
PANDA-JSR 5595062278 feat: 新增局域网浏览器访问 2026-07-11 12:20:01 +08:00
PANDA-JSR 795bae1f03 revert: OAuth 回调回退为 secscore:// URI 方案
SECTL token 接口对 loopback/private IP 的 redirect_uri 返回 403
("Local or private network IP addresses are not allowed"),
HTTP/localhost/HTTPS loopback 均不可行,回退到 URI 方案。

- callbackUrl 改为 secscore://oauth/callback
- OAuthLogin 改回 deep link (ss:oauth-deep-link) 流程,移除
  本地 HTTP 回调服务器的启动/停止逻辑
- oauth_server.rs 保留(未被登录流程调用)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-05 21:16:18 +08:00
PANDA-JSR b46acd7581 chore: 为 SECTL Auth 登录链路添加耗时日志
定位点击登录到浏览器弹出之间约 1 分钟延迟的来源,在前端
(handleOAuthLogin / getAuthorizationUrl) 与 Rust (oauth_start_callback_server)
各步骤加 +Nms 相对耗时日志。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-05 18:44:59 +08:00
PANDA-JSR e40ba986b2 feat: SECTL Auth 回调改用本地 HTTP 服务 (端口 51267)
将 OAuth 回调从 secscore:// URI 协议改为本地 HTTP 回调服务,点击登录时
启动 127.0.0.1:51267 上的回调服务器,端口被占用时强杀占用进程后重试,
登录成功/失败/超时/关闭弹窗时关闭服务。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-05 18:31:11 +08:00
Yukino_fox fe8d381168 merge: resolve auth API endpoint conflicts
- 保留 token 刷新端点为 /api/oauth/refresh

- 修正云空间用量端点为 /api/cloud/storage/usage(与前端一致)

- 保留 Deep Link 回调 URL secscore://oauth
2026-07-05 10:55:50 +08:00
Yukino_fox 21c1183b1d chore: 完成项目多维度优化与功能迭代
本次提交包含多项改进:
1. 新增Vitest测试配置与相关测试用例
2. 完善Deep Link监听与OAuth回调支持
3. 修复并优化多个React组件的依赖与性能
4. 更新后端API域名与端点地址
5. 优化KV存储服务实现与类型定义
6. 调整用户信息展示与权限相关逻辑
7. 重构部分业务逻辑,使用useCallback优化性能
8. 更新依赖包与Cargo.lock依赖版本
2026-07-05 10:28:36 +08:00
NanGua-QWQ f7340af4fa FEAT: sectl.top->sectl.cn 2026-05-20 16:58:13 +08:00
Yukino_fox a2ec923788 feat(URL协议): 增强URL协议注册健壮性
- 新增check_url_protocol_status命令检测注册状态
- 新增unregister_url_protocol命令取消注册
- 改进register_url_protocol命令增加验证逻辑
- 前端增加状态检测、自动重试和操作日志功能
- 更新多语言翻译支持新功能
2026-05-04 12:11:18 +08:00
Yukino_fox 3e85c32c9c Revert "feat: 实现依赖注入系统、插件架构和窗口管理"
This reverts commit 18eada8ff3.
2026-05-02 14:08:44 +08:00
Yukino_fox 18eada8ff3 feat: 实现依赖注入系统、插件架构和窗口管理
- 引入ExamAware的DI系统并适配SecScore项目
- 添加服务注册表和窗口管理器
- 实现基于Koishi的Disposable设计的插件系统
- 集成Winston日志服务
- 分离设置窗口为独立页面
- 将非核心功能改为内置插件
- 更新README文件
- 添加相关hooks和工具函数
2026-04-26 19:39:56 +08:00
Yukino_fox 1cbca5a5c1 feat(kv-storage): 实现 KV 存储服务及管理界面
- 重构 KV 存储服务,遵循 SECTL-One-Stop SDK 规范
- 新增 KV 存储管理组件,支持增删改查操作
- 优化 setKV 接口,移除冗余参数
- 添加类型定义和列表查询选项
2026-04-19 20:55:50 +08:00
Yukino_fox bf9cb9af41 feat: 添加SECTL云服务集成功能
实现SECTL云服务的全面集成,包括:
1. 添加OAuth认证服务,支持PKCE流程
2. 实现云存储管理功能
3. 添加积分数据同步服务
4. 实现通知服务和KV存储服务
5. 添加多语言支持
6. 创建相关React组件和上下文
7. 更新依赖项添加crypto-js
8. 优化HTTP客户端重用
2026-04-10 21:47:24 +08:00
qwen.ai[bot] 83475ffda7 Update project structure and dependencies
Key features implemented:
- Updated .gitignore to include comprehensive ignore patterns for multiple languages and build artifacts
- Removed auto-score related components and routes from ContentArea, Sidebar, mobile navigation, and preload types
- Deleted AutoScoreManager, Rule builder, and associated service/engine files
- Updated Settings component to remove auto_score_enabled setting handling
- Cleaned up type definitions and navigation configurations to reflect feature removal

The changes streamline the project by removing the auto-scoring feature while maintaining core functionality and improving project organization through updated ignore rules.
2026-03-28 03:58:10 +00:00
Fox_block 192b48cab0 先提交上去 2026-03-16 20:49:46 +08:00