jimmy-sketch
|
7b6f92593e
|
Reapply "Merge branch 'main' of https://github.com/GooGuTeam/osu_lazer_api"
This reverts commit 68701dbb1d.
|
2025-07-24 20:23:26 +08:00 |
|
jimmy-sketch
|
68701dbb1d
|
Revert "Merge branch 'main' of https://github.com/GooGuTeam/osu_lazer_api"
This reverts commit 3e1af0a1e1, reversing
changes made to 19ac477a8c.
|
2025-07-24 20:22:38 +08:00 |
|
jimmy-sketch
|
3e1af0a1e1
|
Merge branch 'main' of https://github.com/GooGuTeam/osu_lazer_api
|
2025-07-24 20:11:01 +08:00 |
|
MingxuanGame
|
1655bb9f53
|
feat: 基础 SignalR 服务器支持
|
2025-07-24 18:45:08 +08:00 |
|
jimmy-sketch
|
19ac477a8c
|
fix: 修复访问授权问题
|
2025-07-24 13:41:01 +08:00 |
|
jimmy-sketch
|
6ed5a2d347
|
feat: 为 UserAchievement 类添加数据库模型转换方法
- 在 UserAchievement 类中添加 to_db_model 方法,用于将用户成就信息转换为数据库模型
- 该方法接受 user_id 参数,结合 achievement_id 和 achieved_at 字段,创建并返回一个 LazerUserAchievement 实例
- 此更新为用户成就数据的持久化存储提供了便利
|
2025-07-24 12:30:53 +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 |
|
陈晋瑭
|
1d738bc0af
|
Merge pull request #1 from GooGuTeam/add-lazer-information
feat: 完善获取用户信息接口返回的数据
|
2025-07-23 18:29:12 +08:00 |
|
MingxuanGame
|
52a8bd2c76
|
re-structure code
|
2025-07-23 18:25:04 +08:00 |
|
MingxuanGame
|
7b5a50493a
|
use uv & make lint happy
|
2025-07-23 18:03:30 +08:00 |
|
jimmy-sketch
|
451ef2f1d2
|
fix: 重构用户相关数据库模型和关系
- 更新了 User 类中的多个关系属性,修正了部分属性的拼写错误和关联关系
- 修改了 LazerUserProfileSections 类的关联关系
- 修正了 LazerUserBanners 类的结构和关联关系
- 更新了 create_sample_data.py 中的统计类引用
- 在 config.py 中更新了数据库连接 URL
|
2025-07-19 21:33:11 +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 |
|
咕谷酱
|
0595b7f530
|
Initial commit
|
2025-07-19 00:26:15 +08:00 |
|