Commit Graph

11 Commits

Author SHA1 Message Date
咕谷酱
fabc1e9e88 Refactor Playlist model and add timestamps migration
Simplifies the PlaylistBase id field to a non-optional int and updates database logic to use session.refresh for id assignment. Adds Alembic migration to include created_at and updated_at columns in room_playlists for timestamp tracking.
2025-08-26 13:18:11 +08:00
咕谷酱
97dcc86d4d Add endpoint to ensure beatmap presence and cache
Introduces a new /beatmaps/ensure API endpoint to verify and cache beatmap metadata and raw files. Updates Playlist model to use auto-incrementing primary key and improves playlist DB insertion logic. Minor formatting and import changes in room and lio modules.
2025-08-26 13:18:11 +08:00
咕谷酱
ea575de250 Add updated_at and created_at to Playlist model
Introduces created_at and updated_at fields to the Playlist model for tracking creation and modification times. Refactors room user removal logic to handle owner transfer and participant count updates more robustly. Updates room query logic for more accurate filtering by category and status. Adds migration stubs for updated_at column in room playlists.
2025-08-26 13:18:11 +08:00
MingxuanGame
598fcc8b38 refactor(project): make pyright & ruff happy 2025-08-22 08:21:52 +00:00
MingxuanGame
832a6fc95d feat(daily-challenge): simple implement 2025-08-09 11:18:29 +00:00
MingxuanGame
7a2c8c1fb4 feat(multiplayer): support multiplayer events 2025-08-07 16:18:54 +00:00
chenjintang-shrimp
ff25e58696 fix(room): solve 500 in API POST /rooms 2025-08-07 07:37:24 +00:00
MingxuanGame
87bb74d1ca feat(multiplayer): support leaderboard 2025-08-06 10:51:37 +00:00
MingxuanGame
2600fa499f feat(multiplayer): support play
WIP
2025-08-03 12:53:22 +00:00
MingxuanGame
86e2313c50 feat(multiplayer): support add/edit/remove playlist item 2025-08-02 01:56:54 +00:00
MingxuanGame
a25cb852d9 feat(multiplay): support CreateRoom hub method 2025-08-01 11:08:59 +00:00