Commit Graph

139 Commits

Author SHA1 Message Date
MingxuanGame
1104ff6c54 feat(score): don't include in best performance for 0pp 2025-08-21 11:43:36 +00:00
MingxuanGame
49aa5edc96 fix(statistics): fix rank_history use country rank 2025-08-21 09:07:45 +00:00
MingxuanGame
068697355f feat(achievement): support obtain achievements 2025-08-21 08:50:16 +00:00
MingxuanGame
9fb0d0c198 feat(notification): support notification 2025-08-21 07:22:44 +00:00
MingxuanGame
ef1b699547 feat(daily-challenge): show statistics in profile 2025-08-20 04:24:00 +00:00
MingxuanGame
ce756c354b fix(statistics): run recalculate independently 2025-08-19 13:45:12 +00:00
MingxuanGame
d139abb807 fix(user): complete default_group & is_deleted 2025-08-19 11:44:46 +00:00
MingxuanGame
b5b14f5466 fix(score): cannot fetch leaderboard with mods 2025-08-18 12:49:06 +00:00
MingxuanGame
b2de0417d1 fix(user): incorrect count of best performances 2025-08-18 12:15:33 +00:00
MingxuanGame
505d790640 feat(user): add ISO 3166-1 code 2025-08-18 12:14:46 +00:00
MingxuanGame
4aff8cab2d fix(playlist): ItemAttemptsCount.completed includes failed scores 2025-08-18 12:06:55 +00:00
MingxuanGame
1aa0d42e79 fix(score): duplicated score when processing leaderboard scores 2025-08-18 11:08:20 +00:00
MingxuanGame
7510b4fae1 fix(score): return user score & remove duplicated scores 2025-08-18 09:49:02 +00:00
咕谷酱
72c3778424 fix Value cannot be null. 2025-08-18 17:44:49 +08:00
咕谷酱
7f512cec6e Optimization of score calculation 2025-08-18 17:16:44 +08:00
咕谷酱
e5f0cd1fd6 Merge branch 'main' of https://github.com/GooGuTeam/g0v0-server 2025-08-18 17:15:43 +08:00
MingxuanGame
219f19d623 feat(beatmap,score): support failtime & more exact playtime 2025-08-18 08:48:13 +00:00
咕谷酱
71c961cafd add search redis 2025-08-18 16:20:29 +08:00
MingxuanGame
0e35a19167 fix(beatmap): do not add to database when existed 2025-08-17 17:18:05 +00:00
MingxuanGame
86bea5d4b5 chore(lint): make ruff happy 2025-08-17 16:59:05 +00:00
咕谷酱
6e496a1123 add ip log 2025-08-18 00:23:57 +08:00
MingxuanGame
11b8f799a0 feat(score): support recalculate statistics 2025-08-17 05:48:36 +00:00
MingxuanGame
f1c0e089b4 fix(score): a score with higher total score doesn't replace the old score 2025-08-17 03:32:24 +00:00
MingxuanGame
4eace3f84e feat(chat): complete sliences 2025-08-16 15:21:11 +00:00
MingxuanGame
3de73f2420 feat(chat): support mp/playlist chat 2025-08-16 08:42:40 +00:00
MingxuanGame
368bdfe588 feat(chat): support pm 2025-08-16 07:48:19 +00:00
MingxuanGame
f992e4cc71 feat(chat): support public channel chat 2025-08-16 05:29:16 +00:00
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