Commit Graph

15 Commits

Author SHA1 Message Date
Dean Herbert b0f40d9e45 Remove `user` from `SubmittableScore`
This wasn't being used by osu-web, and included far too much unnecessary
data. Of note, `pp` and `ruleset_id` are also not strictly required, but
there's no harm in sending them so I've left them be for now.
2022-03-08 18:38:24 +09:00
Dean Herbert beb3731c0b Standardise and combine base implementation of score submission requests
These share too much yet have very different constructor signatures and
property exposure. Just a clean-up pass as I begin to look at replay
submission.
2022-02-11 15:53:47 +09:00
Dean Herbert de076678fe Fix some remaining test failures 2022-01-12 17:00:16 +09:00
Dean Herbert aac2aa341c Update some more incorrect types for primary key access/set 2022-01-12 16:57:27 +09:00
Dean Herbert 2a4bee61dd Update many score-related classes to move closer to being able to persist to realm 2022-01-12 16:57:27 +09:00
Bartłomiej Dach 84765b99b3
Handle score submission request in submission test scene
Was previously not handled at all, therefore displaying request failures
in the test log output. While that was mostly a red herring and
shouldn't have caused any actual *test* failures, it is still better to
handle this explicitly in a realistic manner.
2022-01-06 12:57:26 +01:00
Dan Balasescu 7564658b5e Reduce to 30s 2021-12-14 06:40:45 +09:00
Dan Balasescu fd979a52fe Increase score submission request timeout to 60s 2021-12-13 07:15:21 +09:00
Dean Herbert bff02bedbf Rename `APIScoreInfo` to `APIScore` 2021-12-10 16:11:49 +09:00
Dean Herbert 0ecf5f201c Rename `User` to `APIUser` and move to correct namespace 2021-11-07 11:26:01 +09:00
Dean Herbert f68d6dbc8f Update score submission serialisation tests to use `SubmittableScore` 2021-10-29 14:32:31 +09:00
Dean Herbert 54073d8a1e Isolate score submissions model and remove serialisation from `ScoreInfo` 2021-10-29 14:13:43 +09:00
Dean Herbert 51fee79ef1 Fix scores not being accepted due to missing ruleset ID 2021-04-09 15:18:02 +09:00
Dean Herbert 24ae5b9169 Fix slightly incorrect solo score submission routes 2021-04-08 23:15:08 +09:00
Dean Herbert 5267fb74c4 Add submission requests 2021-03-23 18:18:49 +09:00