Commit Graph

276 Commits

Author SHA1 Message Date
MingxuanGame
3f5b242c6f fix(beatmap): make max_combo nullable 2025-08-13 15:39:24 +00:00
MingxuanGame
e180dcfbd6 fix(signalr): add exception handler (sentry-14,26,32,36) 2025-08-13 15:31:40 +00:00
MingxuanGame
858a7e8640 playlist_best_scores: remove foreign key to allow to remove items 2025-08-13 15:18:26 +00:00
MingxuanGame
2e44951533 fix(spectator): fix replay cannot play in stable & cannot spectate others when they are in gameplay 2025-08-13 15:16:06 +00:00
MingxuanGame
7817b7c59a feat(oauth): support client credentials grant 2025-08-13 14:12:29 +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
e95bbe9052 fix(log): only show color for uvicorn log (sentry-5,8,10,13) 2025-08-13 08:46:34 +00:00
MingxuanGame
50b8d9a914 fix(database): extend pools (sentry-11) 2025-08-13 08:43:37 +00:00
MingxuanGame
79368e7e84 fix(private-api): catch exception when opening image 2025-08-13 08:34:17 +00:00
MingxuanGame
f19aaa6233 fix(multiplayer): failed to add items 2025-08-13 08:19:39 +00:00
MingxuanGame
6526d3911a fix(app): fix exception handler 2025-08-13 08:15:40 +00:00
MingxuanGame
cf3b9d155d fix(multiplayer): fix Room is not ready for gameplay when gameplay started (sentry-4) 2025-08-13 08:05:18 +00:00
MingxuanGame
1458a96a8c fix(private-api): fix wrong event url 2025-08-13 07:57:35 +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
3de9f55109 fix(event): change hard-coded URL to variable 2025-08-13 06:28:38 +00:00
chenjintang-shrimp
a528078874 feat(event): add event record for username changing 2025-08-13 06:21:56 +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
e7d5bcaf4b feat(server): add sentry to track error 2025-08-12 17:00:01 +00:00
MingxuanGame
0ab3c1c492 fix(metadata): safe-remove user from room subscribers 2025-08-12 16:26:47 +00:00
MingxuanGame
39e7309d01 docs(api): more exactly 2025-08-12 16:17:50 +00:00
MingxuanGame
f274ba15b9 fix(event): failed to find name User 2025-08-12 16:06:27 +00:00
MingxuanGame
b5afbed36c refactor(private-api): use OAuth to authorize 2025-08-12 16:04:19 +00:00
MingxuanGame
186656d72f fix(playlist,score): do not return failed score for playlist 2025-08-12 15:53:18 +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
99a43f34ab feat(user): add API Endpoint GET /users/{user}/recent_activity
- 在用户路由中增加 /users/{user}/recent_activity 端点
- 实现获取用户近期活动的功能,返回 EventResp 列表
- 添加分页参数 limit 和 offset,目前仅实现 limit
- 优化用户不存在时的错误处理
2025-08-12 14:48:23 +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
ff414d4939 fix(multiplayer): remove current item when failing to start gameplay to avoid error of removing item 2025-08-12 13:37:13 +00:00
MingxuanGame
52df05648c feat(user): support global rank & country rank 2025-08-12 13:36:15 +00:00
MingxuanGame
147509a93c docs(private-api): add docs for private-api 2025-08-12 10:21:26 +00:00
MingxuanGame
b09960af4c feat(private-api): support OAuth client operations 2025-08-12 09:52:40 +00:00
MingxuanGame
83106c8282 fix(redirect): add missing /oauth/authorize 2025-08-12 09:23:29 +00:00
MingxuanGame
20e76aceb1 fix(app): fix CORS configuration 2025-08-12 09:04:05 +00:00
MingxuanGame
e70c197d65 feat(app): add frontend url configuration 2025-08-12 09:01:10 +00:00
MingxuanGame
0dd0d8f7ba fix(user): disable OAuth check for user endpoints 2025-08-12 09:00:32 +00:00
MingxuanGame
c36e9dd7bb chore(workspace): revert workspace file changes 2025-08-12 08:40:50 +00:00
MingxuanGame
2fa6d6dd7e docs(api): add api docs 2025-08-12 08:40:27 +00:00
chenjintang-shrimp
50c25ab0c7 feat(private-api): support change username 2025-08-12 06:11:06 +00:00
MingxuanGame
e9e8fdb4df feat(api): add ppy-compatible error response 2025-08-12 06:05:04 +00:00
MingxuanGame
6474a3d11e feat(server): add extra CORS origins url configuration 2025-08-12 05:33:24 +00:00
jimmy-sketch
e0a386934e Merge branch 'main' of https://github.com/GooGuTeam/osu_lazer_api 2025-08-12 05:29:04 +00:00
jimmy-sketch
3b18778884 chore: 将测试用证书路径添加到gitignore 2025-08-12 05:28:49 +00:00
MingxuanGame
e66dd08691 docs(readme): update readme 2025-08-12 05:25:11 +00:00
MingxuanGame
a488257acd feat(storage): expose a path to access local storage 2025-08-12 05:23:16 +00:00