Commit Graph

53 Commits

Author SHA1 Message Date
MingxuanGame
bc2961de10 feat(playlist): support leaderboard
**UNTESTED**
2025-08-07 14:52:02 +00:00
chenjintang-shrimp
ff25e58696 fix(room): solve 500 in API POST /rooms 2025-08-07 07:37:24 +00:00
chenjintang-shrimp
47d02e4e9c feat(room): add POST /room API 2025-08-07 06:28:07 +00:00
MingxuanGame
87bb74d1ca feat(multiplayer): support leaderboard 2025-08-06 10:51:37 +00:00
MingxuanGame
2b4d366e3e fix(score): remove foreign key to fix missing index error 2025-08-05 17:21:53 +00:00
MingxuanGame
2600fa499f feat(multiplayer): support play
WIP
2025-08-03 12:53:22 +00:00
MingxuanGame
41631b839f fix(user): last_visit is nullable 2025-08-02 15:02:12 +00:00
MingxuanGame
86e2313c50 feat(multiplayer): support add/edit/remove playlist item 2025-08-02 01:56:54 +00:00
MingxuanGame
884a3f1cc2 fix(leaderboard): missing filter condition for user score 2025-08-02 01:56:00 +00:00
MingxuanGame
a25cb852d9 feat(multiplay): support CreateRoom hub method 2025-08-01 11:08:59 +00:00
MingxuanGame
eb3f1823b1 chore(merge): merge branch 'main' into feat/multiplayer-api 2025-08-01 05:24:12 +00:00
MingxuanGame
74e4b1cb53 fix(relationship): fix unique relationship 2025-08-01 04:27:44 +00:00
MingxuanGame
d938998239 feat(beatmapset): support post favoutite to beatmapset 2025-08-01 04:22:17 +00:00
MingxuanGame
86a6fd1b69 feat(user): support online & last_visit 2025-08-01 02:49:49 +00:00
MingxuanGame
c5fc6afc18 feat(redis): use asyncio 2025-07-31 14:38:10 +00:00
MingxuanGame
1635641654 feat(score): support leaderboard for country/friends/team/selected mods 2025-07-31 14:11:42 +00:00
MingxuanGame
be401e8885 refactor(database): 优化数据库关联对象的载入 (#10) 2025-07-31 20:11:22 +08:00
chenjintang-shrimp
0ca05b7a33 Merge branch 'main' into feat/multiplayer-api 2025-07-31 07:38:53 +00:00
MingxuanGame
a15c3cef04 feat(user): add monthly playcounts 2025-07-31 02:13:18 +00:00
MingxuanGame
9ce99398ab refactor(user): refactor user database
**Breaking Change**

用户表变为 lazer_users

建议删除与用户关联的表进行迁移
2025-07-30 16:17:09 +00:00
MingxuanGame
3900babe3d feat(solo): return overall ranking 2025-07-30 10:05:28 +00:00
MingxuanGame
d0be317f6d chore(merge): merge branch 'main' into feat/multiplayer-api 2025-07-30 06:34:29 +00:00
jimmy-sketch
804700d502 feat(room): 添加创建房间功能并优化房间获取接口
- 在 room 路由中添加 POST 请求处理,用于创建新房间
- 实现 MultiplayerRoom 和 MultiplayerRoomSettings 的 from_apiRoom 方法
- 优化 get_all_rooms 接口,增加对 status 参数的处理
- 调整 RoomIndex 表结构,将 id 字段类型改为 int
2025-07-29 14:57:30 +00:00
MingxuanGame
a53c63a33a feat(score): add best_id in response 2025-07-29 07:58:15 +00:00
MingxuanGame
70399a2e50 feat(score): update statistics & return user in score 2025-07-29 07:36:33 +00:00
jimmy-sketch
6d736528e3 refactor(multiplayer): 重构房间模型并添加新功能
- 重构 Room 模型,增加多个新字段和方法
- 新增 PlaylistItem 和 MultiplayerRoom 类
- 优化 MultiPlayerListItem 类,添加 from_mpListItem 方法
- 调整 Beatmap 类,将 id 字段标记为非可选
2025-07-29 07:05:44 +00:00
MingxuanGame
223fa99692 feat(score): support calculate pp 2025-07-29 02:56:21 +00:00
MingxuanGame
0cba7e9dd2 fix(relationship): add target in response 2025-07-28 15:19:56 +00:00
MingxuanGame
e1ce364ac9 feat(user): support search user 2025-07-28 14:18:43 +00:00
MingxuanGame
9b889bc602 feat(database): use alembic 2025-07-28 13:09:55 +00:00
MingxuanGame
2cd84f6175 fix(beatmap): fail to read beatmapset when using from_resp 2025-07-28 10:39:49 +00:00
MingxuanGame
e369944d87 chore(merge): merge pull request #7 from GooGuTeam/feat/solo-play
feat: 单人游戏
2025-07-28 16:53:20 +08:00
jimmy-sketch
11e4d055ba feat(database,multiplayer): 将mp房间的id存入sql数据库中持久化 2025-07-27 12:18:43 +00:00
MingxuanGame
19895789ac feat(beatmap): support lookup api 2025-07-27 09:01:33 +00:00
MingxuanGame
a8b05f1574 fix(leaderboard): fix failed & duplicated scores in leaderboard 2025-07-27 05:10:33 +00:00
MingxuanGame
ec241ac200 fix(solo-score): fix submit solo-score & Bigint 2025-07-27 04:11:41 +00:00
MingxuanGame
b359be3637 feat(solo-score): support submit solo scores 2025-07-27 02:33:42 +00:00
MingxuanGame
900a17f815 feat(beatmap): implement get beatmap arrtibutes 2025-07-26 17:31:23 +00:00
MingxuanGame
ef977d1c2d feat(relationship): implement relationship(friends, blocks) api (close #6) 2025-07-26 15:31:09 +00:00
MingxuanGame
8d6b5a882d feat(fetcher): add data fetcher for beatmap & beatmapset 2025-07-26 17:01:46 +08:00
MingxuanGame
585cb9d98a fix(database): fix score database 2025-07-26 12:05:54 +08:00
jimmy-sketch
7ea4570c17 feat(api): 添加测试,小修小补
- **未经测试**
2025-07-26 10:28:48 +08:00
jimmy-sketch
6001e59999 fix(database): 将reulest_id字段的类型改为GameMode以与app/models/scores.py中的无用定义匹配 2025-07-26 08:46:01 +08:00
jimmy-sketch
952cd5b03f fix: 为score模型添加mods字段 2025-07-25 22:23:14 +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