Commit Graph

232 Commits

Author SHA1 Message Date
6d6de5b677 Remove redundant tuple naming 2021-10-10 16:50:55 +09:00
4475697a9c Add score id key 2021-10-10 15:47:39 +09:00
c49d0a5013 Rewrite query to be easier to understand 2021-10-10 15:43:24 +09:00
b82ed3f167 Fix potential blocking operation on OrderByTotalScoreAsync()
In reality this wouldn't be a long process, but the blocking is really
noticeable if you add a Task.Delay(1000) in GetTotalScoreAsync().
2021-10-08 14:23:54 +09:00
4bd1083388 Merge pull request #14903 from peppy/importer-returns-live
Add `ILive<T>` and use as return type of `Import` methods
2021-10-04 20:16:32 +09:00
853cf6feaa Rename last remaining BeatmapInfo Beatmap usage 2021-10-04 17:35:53 +09:00
63f0b0c932 Rename out of place interface name 2021-10-04 16:35:55 +09:00
a2e61883e3 Initial push to use ILive in import process 2021-09-30 22:55:25 +09:00
3e3b9bc963 Split out IModelDownloader and also split apart ScoreManager 2021-09-30 18:25:20 +09:00
5618c9933b Expose more pieces of ArchiveModelManager via interfaces 2021-09-30 16:44:39 +09:00
cf633973a9 Refactor exposed mod retrieval methods for better safety 2021-09-10 11:09:13 +09:00
2edb851008 Add ability to lookup mod from a type specification 2021-09-09 16:50:59 +09:00
3d8faea4b0 Simplify nesting of OrderByTotalScoreAsync 2021-09-07 18:52:25 +09:00
df7480e68c Fix bindable implementation being synchronous 2021-09-01 20:56:23 +09:00
ab538dc3dd Fix param not passed through 2021-09-01 20:30:26 +09:00
88fc53200e Refactor 2021-09-01 15:41:52 +09:00
fee94236de Fix update-thread pauses 2021-08-31 21:36:31 +09:00
cfcf3d7507 Use synchronous total score retrieval for bindable 2021-08-31 20:43:50 +09:00
d03950fb37 Move score calculation to ScoreManager 2021-08-30 19:33:09 +09:00
3409bc6b27 Update mapper usages with LocalisableDescription 2021-07-31 01:47:14 +03:00
ff3d38de6f Localise accuracy display. 2021-07-23 22:37:08 +02:00
e507faef29 Add deep cloning support to Score/ScoreInfo/Replay 2021-07-19 14:14:28 +09:00
fb5d25405e Replace calls to obsoleted GetOrDefault() extension 2021-07-18 21:52:16 +02:00
ec71deec51 Remove some mentions of "lazer"
I am aware there are more throughout the codebase but intentionally left
the remaining mentioned for one reason or another. The intention here is
to mainly change user-facing versioning to change the positioning of the
"lazer" term (to be where we would expect "cuttingedge" or "beta" to
be).
2021-07-04 12:41:27 +09:00
e4ca6a4266 Serialise and send ruleset ID as part of score submission 2021-06-29 01:55:09 +09:00
d1f852d102 Make Populate abstract to avoid unnecessary base call async complexity 2021-06-27 14:29:02 +09:00
37babbde6a Simplify score filter row 2021-06-16 19:09:11 +09:00
4ee7721c51 Extract first version out to constant 2021-06-08 18:38:47 +09:00
d31e3e8f1c Fix nullref 2021-06-08 18:23:03 +09:00
b287366c8b Remove forgotten classic mod addition 2021-06-08 18:09:57 +09:00
061e3d7f26 Move legacy ScoreInfo to be completely based on presence of classic mod 2021-06-08 18:00:09 +09:00
4d9fffc01b Update score encoder version to be higher than any existing stable version 2021-06-08 17:59:43 +09:00
e716162ac2 Fix formatting 2021-04-29 17:19:25 +08:00
4fe1497f63 Add comment & remove lastF 2021-04-28 20:39:06 +08:00
126056c436 Fix precision loss on exporting legacy replays 2021-04-28 19:27:18 +08:00
213ac88a8b Fix exported scores not being compatible with osu-stable 2021-04-26 20:52:20 +09:00
6560dc2d1f Fix exported replays being wrapped in zip packages 2021-04-26 20:46:44 +09:00
8a6267580a Fix nullref 2021-04-22 18:44:14 +09:00
1a715b2926 Append "classic" mod to legacy scores 2021-04-21 09:16:28 +03:00
e9a114a15c Rename property back 2021-04-12 20:50:18 +09:00
8413b0a5d3 Don't map api mods to DB 2021-04-12 20:49:44 +09:00
625484468e Fix DB serialisation 2021-04-12 20:49:37 +09:00
982d8fa8b1 Fix incorrect reference 2021-04-12 20:49:26 +09:00
d2d7f77430 Fix mods not being serialised correctly in ScoreInfo 2021-04-12 20:09:01 +09:00
630faa3b56 Add TODO marking incorrect EF core data type
As mentioned in the comment, we probably don't need to be storing this
in the database in the first place (as it should be able to be
calculated from the other statistics we have available to us). Something
to consider when we refactor the database backend.
2021-03-25 17:50:21 +09:00
a16c0641b2 Revert EF Core to version 2.2
This reverts commit f3faad74d5, reversing
changes made to 712e7bc7bf.

Several issues arose after migrating to 5.0, including, but possibly not
limited to, performance regressions in song select, as well as failures
when attempting to save beatmaps after metadata changes in the editor.
2021-03-21 11:05:15 +01:00
917717686a Expand explanatory comment 2021-03-18 19:26:29 +09:00
b68dc686ee Fix converted mania scores not accounting for GREATs 2021-03-18 19:19:53 +09:00
0a1e325fc7 Extract requerying of navigational properties from DbContext 2021-03-14 19:34:53 +03:00
a60ff80c04 Use expression body in ModsJson get accessor 2021-03-12 00:02:29 +03:00