Open
Conversation
- Implemented a new scheduling form in the frontend to create and manage scheduled registration tasks. - Added backend utilities for parsing and validating schedule configurations. - Created a scheduler service to poll and execute due registration tasks. - Enhanced the UI with a schedule jobs table to display existing scheduled tasks and their statuses. - Introduced functions to handle scheduling logic, including interval and timepoint triggers. - Integrated the scheduling feature with existing registration workflows.
- add standalone new-api service model, CRUD, routes, and frontend settings UI - implement official new-api login and Codex channel creation flow for upload actions - remove new-api reliance on Sub2API compatibility paths and wire registration auto-upload
- add unit and integration tests for new-api service management and upload behavior - verify registration config mapping and frontend new-api entry visibility - install pytest and httpx to support local API and frontend presence tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: 支持周期任务调度与 new-api 服务上传
变更摘要
本次改动主要完成两项能力:
主要内容
一、周期任务调度
二、new-api 服务上传
POST /api/user/loginNew-Api-UserPOST /api/channel/三、兼容与清理
uploadToNewApi is not defined问题验证情况
已完成以下验证:
测试命令
注意
项目启动时会通过 migrate_tables() 自动检查并补充缺失列,因此: