Commit Graph

112 Commits

Author SHA1 Message Date
MingxuanGame
814d9c4618 refactor(detector): more readable 2025-08-15 08:52:01 +00:00
chenjintang-shrimp
7c7c68c163 feat(detector): 新增封禁谱面表并检查可疑谱面
- 在数据库中添加了封禁谱面表(banned_beatmaps)
- 实现了检查可疑谱面的功能,将不符合规范的谱面添加到封禁列表
- 更新了相关的模型和迁移文件
2025-08-15 08:05:02 +00:00
MingxuanGame
d87839f86e fix(ranking): fix missing user causing client crash 2025-08-15 06:34:35 +00:00
MingxuanGame
1251ba31a2 feat(score): support rx for taiko & catch 2025-08-15 05:59:21 +00:00
MingxuanGame
da71d7ce46 feat(ranking): add global leaderboard 2025-08-14 14:35:52 +00:00
MingxuanGame
155905f652 fix(event): trigger rank when submitting score 2025-08-14 14:11:52 +00:00
MingxuanGame
2912e68c7b fix(event): fix incorrect call settings.frontend_url 2025-08-14 13:36:29 +00:00
MingxuanGame
46a1d049fe refactor(score): replace MODE_TO_INT INT_TO_MODE with int(mode) GameMode.from_int 2025-08-14 13:04:59 +00:00
MingxuanGame
a8906b8194 feat(v1-api): support api v1 2025-08-14 09:11:53 +00:00
MingxuanGame
48b075d99d feat(config): add ENABLE_ALL_BEATMAP_PP 2025-08-14 07:01:41 +00:00
MingxuanGame
ebbc0b8252 feat(score): allow to recalculate all score pp 2025-08-14 06:50:17 +00:00
chenjintang-shrimp
c0ccdfa65b feat(event): 添加排名丢失事件
- 在用户得分进入前50名或前1%时,检查是否有其他用户的排名被取代
- 如果有用户排名被取代,创建排名丢失事件
2025-08-13 17:36:19 +00:00
chenjintang-shrimp
3f31785428 feat(database): 添加全球排名事件触发逻辑
- 在 ScoreResp 类中添加逻辑,判断玩家是否进入全球前 50 或前 1% 排名
2025-08-13 17:17:39 +00:00
MingxuanGame
3f5b242c6f fix(beatmap): make max_combo nullable 2025-08-13 15:39:24 +00:00
MingxuanGame
858a7e8640 playlist_best_scores: remove foreign key to allow to remove items 2025-08-13 15:18:26 +00:00
MingxuanGame
7a6a548a65 fix(statistics): fix levels 2025-08-13 10:37:51 +00:00
MingxuanGame
46746f5b71 fix(score): don't show pp in profile 2025-08-13 09:04:06 +00:00
MingxuanGame
4b5aefb946 feat(beatmapset): support search beatmapset 2025-08-13 07:55:48 +00:00
chenjintang-shrimp
50375c7b12 feat(event): 添加百次播放事件记录功能
- 在 beatmap_playcounts 模块中增加了事件记录功能
- 当用户播放次数达到百的倍数时,创建并记录 Event 对象
- 事件类型为 EventType.BEATMAP_PLAYCOUNT
2025-08-13 06:48:54 +00:00
chenjintang-shrimp
1dde8a40da feat(database): 将 Event.event_payload 字段从 str 改为 dict/json
- 在 events.py 中,将 event_payload 字段的类型从 str 改为 dict,并使用 JSON 类型存储
- 添加新的迁移文件,将数据库中的 event_payload 列从 VARCHAR 类型改为 JSON 类型
- 更新 EventResp 类,移除 _payload 属性,直接使用 event_payload 字段
2025-08-13 06:21:22 +00:00
MingxuanGame
29eb85bc4a fix(user): fill with empty data in graph data to show correct graph 2025-08-13 04:18:00 +00:00
MingxuanGame
69e9927ea0 fix(score): fix incomplete statistics in leaderboard & wrong statistics in replay 2025-08-13 04:01:19 +00:00
MingxuanGame
f274ba15b9 fix(event): failed to find name User 2025-08-12 16:06:27 +00:00
MingxuanGame
f683f5c911 fix(user): change column to adapt to lazer_users.id, add migration 2025-08-12 15:14:11 +00:00
MingxuanGame
71c27b38f5 fix(score): change processed to True to show pp in profile 2025-08-12 15:05:19 +00:00
chenjintang-shrimp
541986f75e Merge branch 'main' of https://github.com/GooGuTeam/osu_lazer_api 2025-08-12 14:38:26 +00:00
chenjintang-shrimp
284290451e feat(database): 在用户模型中添加事件关系
- 在 User 类中添加了 events 字段,用于存储用户相关的事件
- 通过 Relationship 建立了用户和事件之间的关系
- 引入了 Event 模型以支持事件相关操作
2025-08-12 14:37:41 +00:00
chenjintang-shrimp
c706b08240 feat(database,events): 在用户模型中添加事件关系
- 在 User 类中添加了 events 字段,用于存储用户相关的事件
- 通过 Relationship 建立了用户和事件之间的关系
- 引入了 Event 模型以支持事件相关操作
2025-08-12 14:37:22 +00:00
MingxuanGame
52df05648c feat(user): support global rank & country rank 2025-08-12 13:36:15 +00:00
MingxuanGame
b09960af4c feat(private-api): support OAuth client operations 2025-08-12 09:52:40 +00:00
MingxuanGame
6e71141146 feat(developer): support custom OAuth 2.0 client 2025-08-11 12:33:31 +00:00
MingxuanGame
ee9381d1f0 fix(user): wrong order for best & recent scores 2025-08-11 09:55:15 +00:00
MingxuanGame
b9babb8f24 feat(score): support download replay 2025-08-11 08:19:05 +00:00
MingxuanGame
680c7525b8 feat(user): support view recent & best scores 2025-08-11 07:32:41 +00:00
MingxuanGame
bc782cda01 fix(beatmap): missing greetlet in batch beatmap request 2025-08-10 17:00:29 +00:00
MingxuanGame
a4e095c9ea fix(statistics): add length of beatmap to PT instead of ended_at - started_at 2025-08-10 15:42:58 +00:00
MingxuanGame
32e2ac5704 feat(score): support pin score 2025-08-10 15:36:39 +00:00
MingxuanGame
fac16bde86 fix(beatmapset): avoid duplicated beatmapset 2025-08-10 13:49:30 +00:00
MingxuanGame
1891496832 fix(beatmap,playlist): missing greetlet 2025-08-10 13:31:08 +00:00
MingxuanGame
b12782abe0 fix(beatmapset): legacy_thread_url is nullable 2025-08-10 13:15:56 +00:00
MingxuanGame
02051289e9 fix(statistics): extra pp from other modes 2025-08-10 11:35:41 +00:00
MingxuanGame
efc784d903 feat(score): support osu-rx & osu-ap & all beatmap leaderboard like osu.ppy.sb 2025-08-10 07:03:49 +00:00
MingxuanGame
36b59ac853 fix(database): fix pydantic warnings 2025-08-10 04:30:06 +00:00
MingxuanGame
bee0befc26 chore(merge): merge pull request #8 from feat/multiplayer-api
feat: 增加mp房间相关接口
2025-08-10 00:00:47 +08:00
MingxuanGame
5fe3f36055 feat(daily-challenge): complete daily-challenge 2025-08-09 14:34:46 +00:00
MingxuanGame
832a6fc95d feat(daily-challenge): simple implement 2025-08-09 11:18:29 +00:00
MingxuanGame
e236c06f0f feat(multiplayer,playlist): complete the filter for /rooms 2025-08-09 06:28:37 +00:00
MingxuanGame
99f2b3db2a fix(playlist): duplicated item in list 2025-08-09 05:59:26 +00:00
MingxuanGame
319599cacc feat(multiplayer,playlist): show host & renect participants 2025-08-09 05:49:01 +00:00
MingxuanGame
d7002374b6 fix(playlist): fix user attempts 2025-08-09 04:53:20 +00:00