Commit Graph

413 Commits

Author SHA1 Message Date
e62999fb16 Merge branch 'master' of https://github.com/ppy/osu into remove-the-nullable-disable-in-the-ruleset
# Conflicts:
#	osu.Game.Rulesets.Catch/CatchRuleset.cs
#	osu.Game.Rulesets.Osu/OsuRuleset.cs
#	osu.Game.Rulesets.Taiko/TaikoRuleset.cs
#	osu.Game/Rulesets/Ruleset.cs
2022-09-10 10:40:12 +08:00
08d0c08750 Fix async exception by using difficulty calculator directly 2022-09-09 13:57:01 +09:00
731d3f3b63 Add MaximumStatistics upgrade for databased scores 2022-09-09 09:56:08 +09:00
7c0e99c5a8 Decode Geki/Katu from legacy taiko scores into LargeBonus 2022-09-07 00:12:34 +09:00
928bce8fcd Fix crash when attempting to watch a replay when the storage file doesn't exist 2022-08-30 18:18:46 +09:00
07b502f69a Simplify OrderByTotalScore implementation 2022-08-29 17:58:57 +09:00
d75543ad68 Simplify GetMaximumAchievableCombo further 2022-08-29 15:36:10 +09:00
423f6f90f2 Remove async calls from ScoreManager 2022-08-29 15:34:08 +09:00
c0b13c7e1f Refactor ScoreProcessor ComputeScore() methods 2022-08-29 13:51:10 +09:00
17029f0b92 Ensure clones don't reference to MaximumStatistics 2022-08-25 13:58:58 +09:00
cc648a90bc Actually save maximum statistics 2022-08-24 17:28:41 +09:00
f70af779a4 Add maximum statistics to ScoreInfo/SoloScoreInfo 2022-08-24 17:28:41 +09:00
45e9eda9e7 Localise hit result name 2022-08-14 14:57:02 -04:00
1e356f6137 Revert localisation for GetDisplayNameForHitResult
Came across an issue where `LeaderboardScoreTooltip` attempts to capitalize all letters for the `displayName`.

Unsure if I should completely ignore it and localise it anyway.
2022-08-10 16:03:59 -04:00
8cb2e11766 Change most ruleset-accessible string types to Localisable strings 2022-08-10 15:51:11 -04:00
c35da62224 Add flow for bypassing local cache lookups when refreshing beatmap metadata 2022-07-28 16:33:51 +09:00
8370ca9765 Add ImportAsUpdate method to IModelImporter to avoid otehr changes 2022-07-26 15:49:04 +09:00
678acabf7e Merge branch 'master' into log-diffcalc-failure 2022-07-25 11:16:31 +03:00
91d1c9686c Separate unprocessed PP placeholder to own class 2022-07-25 09:07:51 +03:00
3d97b74813 Log beatmap difficulty retrieval failures during score calculation 2022-07-25 13:03:47 +09:00
6357223341 Fix incorrect DI fetch and apply nullability to ModelDownloader 2022-07-19 20:06:34 +09:00
51f91fe62e Update naming 2022-07-18 16:17:20 +09:00
d0fe4fe15a Fix user population logic not including country 2022-07-16 06:39:05 +03:00
4e7156cee8 Store user country on databased scores 2022-07-16 06:39:05 +03:00
c8c79d2185 Standardise HasReplay implementation (and remove from persisting to realm) 2022-07-15 16:14:21 +09:00
6122d2a525 Add "F" ScoreRank to handle old scores which have this specified
Not sure on the future of this, but given it is used in the
save-failed-reply pull request (#18785) I think it's fine to add back
for now.

Without this, JSON parsing of older scores in server-side storage will
fail on missing enum type.
2022-07-15 15:58:54 +09:00
4f009419b8 Simplify population logic and match code style 2022-07-11 21:51:09 +03:00
10d6027c89 Assign missing UserID to RealmUser 2022-07-11 02:36:51 -04:00
857377e145 Move CreateConvertibleReplayFrame() into legacy ruleset interface because technically only legacy ruleset use it to convert the legacy frame.
But seems some of the customized ruleset use it for save the replay frame.
2022-07-10 10:15:27 +08:00
8c2f4b48fc Use debug.assert for better readable. 2022-07-03 19:27:56 +08:00
0a1543c6e8 Use AsNonNull() instead. 2022-07-02 19:48:32 +08:00
c6d0f0f81b pretend that the beatmap property will not be null.
Not really throw exception will be the better way?
2022-07-02 13:20:46 +08:00
577a87bcad Merge branch 'master' into importer-post-import-rename 2022-06-20 13:37:16 +02:00
dbae4c6f5a PostImport -> PresentImport 2022-06-20 18:36:29 +09:00
ebcee21f6f Remove necessity to provide BeatmapDifficultyCache as a function to ScoreManager 2022-06-20 17:52:42 +09:00
92f1a2958c Rename Import(TModel) to ImportModel to differentiate from other import methods 2022-06-20 15:18:07 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
e66ccfd980 Add back missing notification flow 2022-06-16 19:48:18 +09:00
ce3d3a967c Reimplement missing methods 2022-06-16 19:05:25 +09:00
72c5b9009d Remove local realm fields in manager classes 2022-06-16 18:56:53 +09:00
f3984d98e6 Remove RealmArchiveModelManager from hierarchy 2022-06-16 18:53:13 +09:00
4d9e3d1982 Rename Score/Skin ModelManager classes to Importer for now 2022-06-16 18:11:50 +09:00
f23ddfe6cc Move remaining realm classes out of Stores namespace 2022-06-15 21:56:00 +09:00
88d5e074a8 Rename lowPriority to batchImport 2022-06-15 00:46:00 +09:00
2f8290831a Skip quick import clause when importing a single item
Closes https://github.com/ppy/osu/issues/18600.
2022-06-15 00:26:34 +09:00
9f599a5ab4 Remove unused lowPriority flag from one Import method 2022-06-14 19:52:30 +09:00
ca0765a932 Tidy up various delegation implementations 2022-06-14 19:46:59 +09:00
773ba97117 Add xmldoc to ScoringValues 2022-06-02 16:39:51 +09:00
a638392e81 Rename member 2022-06-02 16:35:50 +09:00
af0f934e1a Move raw ScoreProcessor values into ScoringValues struct 2022-05-31 19:39:38 +09:00