jimmy-sketch
|
3b697785fc
|
fix(api): 使/beatmaps/{beatmap}/score能够正常工作
|
2025-07-26 08:47:05 +08:00 |
|
jimmy-sketch
|
6001e59999
|
fix(database): 将reulest_id字段的类型改为GameMode以与app/models/scores.py中的无用定义匹配
|
2025-07-26 08:46:01 +08:00 |
|
jimmy-sketch
|
002c89edff
|
chore: 在部署docker时安装uvicorn
|
2025-07-25 23:25:38 +08:00 |
|
jimmy-sketch
|
16f7982491
|
feat(api): 实现/beatmap//beatmaps/{beatmap}/scores端点
|
2025-07-25 23:20:07 +08:00 |
|
jimmy-sketch
|
952cd5b03f
|
fix: 为score模型添加mods字段
|
2025-07-25 22:23:14 +08:00 |
|
陈晋瑭
|
4b803a4d99
|
Merge pull request #5 from GooGuTeam/score-database-model
Score database model and /beatmap/score API endpoint
|
2025-07-25 22:01:47 +08:00 |
|
MingxuanGame
|
2260d9265e
|
fix(score): move db only fields to DB model
|
2025-07-25 21:38:51 +08:00 |
|
MingxuanGame
|
92f8a3a416
|
fix(score): rewrite DB model & API model
|
2025-07-25 21:28:43 +08:00 |
|
陈晋瑭
|
75e7350649
|
Merge branch 'main' into score-database-model
|
2025-07-25 21:21:01 +08: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 |
|
陈晋瑭
|
674b79cc91
|
Merge branch 'main' into score-database-model
|
2025-07-25 20:04:13 +08:00 |
|
jimmy-sketch
|
9a19027cc1
|
feat(models): 为scores类添加mp相关的两个字段
|
2025-07-25 20:02:21 +08:00 |
|
MingxuanGame
|
2e1489c6d4
|
feat(beatmap): implement GET /beatmaps
|
2025-07-25 17:21:16 +08:00 |
|
MingxuanGame
|
376d98ad5a
|
feat(beatmap,beatmapset): get beatmap & beatmapset information by id
|
2025-07-25 17:01:01 +08:00 |
|
jimmy-sketch
|
94d53b2a20
|
feat(models): 添加 Score 类型定义
- 在 score.py 中定义了 Score 类,用于表示游戏分数信息
|
2025-07-25 14:18:02 +08:00 |
|
jimmy-sketch
|
86e815b4e2
|
feat(database): 新增 Score 数据库模型并更新 User 关系
- 创建 Score 类作为成绩数据库模型,对应 osu! API 中的 Score 对象
- 在 User 模型中添加与 Score 的关系- 优化了数据库表结构,增加了索引和字段约束
|
2025-07-25 12:34:56 +08:00 |
|
jimmy-sketch
|
3ef6397428
|
build(deps): 更新项目依赖并升级 Python SDK
- 将uv.lock与requirements.txt同步
|
2025-07-25 12:34:44 +08:00 |
|
MingxuanGame
|
f8abc7067f
|
refactor(database): re-structure
|
2025-07-24 21:01:00 +08:00 |
|
MingxuanGame
|
43404a7d51
|
Merge branch 'main' of https://github.com/GooGuTeam/osu_lazer_api
|
2025-07-24 20:50:00 +08:00 |
|
MingxuanGame
|
c43ca883a5
|
refactor(database): migrate to sqlmodel
|
2025-07-24 20:49:07 +08:00 |
|
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 |
|