Commit Graph

13 Commits

Author SHA1 Message Date
MingxuanGame
b359be3637 feat(solo-score): support submit solo scores 2025-07-27 02:33:42 +00:00
MingxuanGame
900a17f815 feat(beatmap): implement get beatmap arrtibutes 2025-07-26 17:31:23 +00:00
MingxuanGame
46c19dddc1 chore(pre-commit): add pre-commit 2025-07-25 20:46:52 +08:00
MingxuanGame
f347b680b2 refactor(database): use asyncio 2025-07-25 20:43:50 +08:00
MingxuanGame
c43ca883a5 refactor(database): migrate to sqlmodel 2025-07-24 20:49:07 +08:00
MingxuanGame
1655bb9f53 feat: 基础 SignalR 服务器支持 2025-07-24 18:45:08 +08:00
jimmy-sketch
6647e5cd04 fix: 将 app/ 下的所有代码中与sql相关的所有隐式类型转换替换为显式类型转换 2025-07-24 12:30:24 +08:00
MingxuanGame
4a16a9598f fxxk merge 2025-07-23 18:56:53 +08:00
MingxuanGame
7b5a50493a use uv & make lint happy 2025-07-23 18:03:30 +08:00
jimmy-sketch
91f15d572d feat(database): 新增用户资料相关数据模型和处理逻辑
- 新增 LazerUserProfileSections、LazerUserBanners、LazerUserBadge、LazerUserMonthlyPlaycounts、LazerUserPreviousUsername 和 LazerUserReplaysWatched 数据模型- 更新 User 数据模型,添加与新模型的关联关系
- 修改 convert_db_user_to_api_user 函数,支持新数据模型的处理- 完善 MockProfile 类,添加新模型的默认值和辅助方法
2025-07-19 20:43:36 +08:00
jimmy-sketch
757166b665 feat: 优化用户资料构建过程
- 添加 LazerUserProfileSections 模型,用于自定义用户资料顺序
- 在 User 模型中添加 lazer_profile_order 关系
- 优化 utils.py 中的 build_user_profile 函数,使用数据库中的计数信息
-修复默认计数信息中的 recent_scores_count 和 socres_first_count 属性
2025-07-19 16:09:57 +08:00
jimmy-sketch
d8fcbf02cf feat: 添加从数据库中读取部分lazer资料的功能 2025-07-19 14:45:15 +08:00
咕谷酱
c0246440f3 上传源码 2025-07-19 12:08:10 +08:00