Commit Graph

138 Commits

Author SHA1 Message Date
7ac63485ef Add setter for ScoreInfo.OnlineID 2021-12-10 16:11:48 +09:00
bf1418bafc Use OnlineID instead of legacy IDs for equality and lookups 2021-12-10 16:11:48 +09:00
8d9c37a825 Merge branch 'master' into primary-key-consistency 2021-12-08 21:34:38 +09:00
7488ccd5fe Update all models to implement IHasNamedFiles 2021-11-25 16:41:12 +09:00
99a139dc98 Initialise all file lists at construction time (and remove setter) 2021-11-24 13:56:21 +09:00
eecf6ad558 Add IsManaged helper method to EF classes to match realm implementation 2021-11-19 21:56:06 +09:00
eba3cfc96e Move ScoreInfo string representation to extension method 2021-11-09 13:23:57 +01:00
0ecf5f201c Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
e9ba1ea198 Mark IScoreInfo implementation with region 2021-10-30 15:08:45 +02:00
8053b2c320 Merge branch 'master' into score-refactor/isolated-serialisation 2021-10-30 15:07:34 +02:00
6e4f7af8d3 Mark IHasOnlineID implementation with region 2021-10-30 14:15:20 +02:00
54073d8a1e Isolate score submissions model and remove serialisation from ScoreInfo 2021-10-29 14:13:43 +09:00
1944c255a7 Implement score interfaces 2021-10-29 13:49:30 +09:00
49b5de64be Extract interface 2021-10-29 13:41:21 +09:00
34d4715220 Allow for long online IDs and implement in ScoreInfo 2021-10-29 11:48:36 +09:00
853cf6feaa Rename last remaining BeatmapInfo Beatmap usage 2021-10-04 17:35:53 +09: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
e4ca6a4266 Serialise and send ruleset ID as part of score submission 2021-06-29 01:55:09 +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
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
a60ff80c04 Use expression body in ModsJson get accessor 2021-03-12 00:02:29 +03:00
c6c616f244 Actualize tests 2021-03-11 21:02:40 +03:00
1e1569eb53 Use int instead of long for user_id fields for now 2020-11-06 12:59:46 +09:00
6ac70945f2 Show bonus judgements on expanded panel 2020-10-07 16:17:28 +09:00
d6d0bd90a3 Extract tuple into class 2020-10-07 15:34:03 +09:00
297168ecc4 Fix scores sometimes not being re-standardised correctly 2020-09-29 19:06:09 +09:00
a07597c369 Adjust displays to use new results/orderings 2020-09-25 20:22:59 +09:00
b361761d86 Add position display in contracted score panels 2020-07-31 22:02:25 +09:00
eab00ec9d9 Move hit events to the ScoreProcessor 2020-06-19 19:58:35 +09:00
20db5b33ab Rework score processor to provide more generic events 2020-06-18 22:11:03 +09:00
900da88498 Populate hit offsets from score processor 2020-06-15 22:44:55 +09:00
f3b5149648 Move some suggestions to warnings, resolve issues 2020-06-03 16:48:44 +09:00
59cf2037d0 Introduce SortedStatistics 2020-02-07 21:11:58 +01:00
a8ce50fadd Add FormatUtils.FormatAccuracy and usages 2020-02-04 11:17:23 +07:00
ddf9317bec Replace :P2 with :0.00% 2020-02-04 08:25:01 +07:00
257b4052e8 Add {ScoreInfo,UserStatistics}.Accuracy 2020-02-03 22:09:07 +07:00
b1533ae2a9 Fix score serialisation failing for unknown mod properties 2019-12-19 14:58:56 +09:00
aadbbb1af3 Fix replay download button not working 2019-12-03 13:33:42 +09:00