Commit Graph

255 Commits

Author SHA1 Message Date
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
MingxuanGame
449bda0a84 feat(private-api): support upload avatar 2025-08-12 04:54:21 +00:00
MingxuanGame
ac54603acb feat(score): store replay to storage service 2025-08-12 03:58:30 +00:00
MingxuanGame
cf3a6bbd21 feat(storage): support cloud storage 2025-08-12 03:58:06 +00:00
咕谷酱
79b41010d5 Update __init__.py 2025-08-12 01:18:52 +08:00
咕谷酱
abb53e8488 add cors 2025-08-12 00:58:30 +08:00
MingxuanGame
8acd4578e2 feat(private): initialize private API 2025-08-11 14:41:07 +00:00
MingxuanGame
d8c607137a refactor(router): restructure 2025-08-11 14:38:45 +00:00
MingxuanGame
867b99cca5 fix(database): fix cross-session user (current_user doesn't belong to get_db) 2025-08-11 14:01:37 +00:00
MingxuanGame
bc5ae3083a feat(signalr): kick device on a login on another device 2025-08-11 13:23:04 +00:00
MingxuanGame
1c233ed31c chore(deps): remove unused dependencies authlib 2025-08-11 12:37:46 +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
2f54ac262c feat(misc): support seasonal backgrounds 2025-08-11 09:13:42 +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
a087b0de2e fix(lounge): fix KeyError for ended realtime room 2025-08-10 15:13:33 +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