Commit Graph

2619 Commits

Author SHA1 Message Date
a4de0f93fa Move manager Update methods to be explicit to where they are still used by legacy code
Also fixes skin hash repopulation being completely broken.
2022-01-12 17:49:11 +09:00
51d6db1bca Add equatable support to IUser and RealmUser
Not sure this will stick, but let's add it for now to make testing
detach support work nicely.
2022-01-12 17:49:11 +09:00
157dfdaa82 Fix protected beatmap sets getting deleted 2022-01-12 17:49:11 +09:00
72656ae01e Fix beatmap restore/undelete flows 2022-01-12 17:49:11 +09:00
46206f70d6 Fix beatmap mass deletion flow 2022-01-12 17:49:11 +09:00
d5239d550a Add refetch for non-managed hide/restore attempts 2022-01-12 17:49:11 +09:00
46e92c3b60 Clean up BeatmapManager query methods 2022-01-12 17:49:11 +09:00
9beabad6a4 Remove hide/restore event flow 2022-01-12 17:49:11 +09:00
c06b5951fd Fix multiple remaining warnings 2022-01-12 17:49:11 +09:00
7509a9ff8f Update BeatmapModelManager.Save to work for editor scenarios 2022-01-12 17:49:11 +09:00
8c3dc4333d Fix incorrect realm access after new beatmap import 2022-01-12 17:49:11 +09:00
2ce80cc030 Add back caching in WorkingBeatmapCache 2022-01-12 17:49:11 +09:00
286994a808 Fix BeatmapDifficulty cloning regression 2022-01-12 17:49:11 +09:00
f451560203 Update null allowances across beatmaps and scores 2022-01-12 17:49:11 +09:00
6033a825ed Ensure BeatmapInfo Difficulty and Metadata is non-null 2022-01-12 17:49:11 +09:00
a0f8debafe Add note about BeatmapMetadata.Author being weird 2022-01-12 17:49:10 +09:00
83ccbc1d13 Mention safety failures of Beatmap/Score constructors 2022-01-12 17:00:17 +09:00
c831e9107a Fix BeatmapInfo.Clone potentially not cloning if already detached 2022-01-12 17:00:17 +09:00
e5af673b01 Fix incorrect BeatmapInfo.ToString implementation 2022-01-12 17:00:17 +09:00
e74a5022c9 Fix multiple tests via null checks and changing ToLive to Detach
flow
2022-01-12 17:00:17 +09:00
76670a8faa Fix BeatmapDifficultyCache not working with detached beatmaps 2022-01-12 17:00:17 +09:00
aaefd72c69 Handle ignored mappings locally in Detach configuration 2022-01-12 17:00:17 +09:00
8461eaab46 BeatmapSetInfo detach support 2022-01-12 17:00:16 +09:00
3811bd8520 Fix some null inspections 2022-01-12 17:00:16 +09:00
33060990b7 Temporarily disable WorkingBeatmapCache and fix multiple invalid data flows 2022-01-12 17:00:16 +09:00
0793b0f0ab Fix Max lookup methods not checking for zero beatmap count 2022-01-12 17:00:16 +09:00
dcd69e852e Add back settable RulesetID for now 2022-01-12 17:00:16 +09:00
2a980cc474 Fix BeatmapInfo file lookup not handling the case where no files exist
Quite common for test scenes.
2022-01-12 17:00:16 +09:00
99e46cd26b Fix missing BeatmapMetadata.ToString
This is relied on by a few usages.
2022-01-12 17:00:16 +09:00
fe8a5e867d Remove updated/removed flow method mapping 2022-01-12 17:00:16 +09:00
1f9318265e Update ToLive usages in line with recent changes 2022-01-12 17:00:16 +09:00
db05727ec4 Remove unused includeProtected parameter 2022-01-12 17:00:16 +09:00
b91f309879 Inline query methods from BeatmapModelManager to BeatmapManager where possible 2022-01-12 17:00:16 +09:00
1d536fd0bc Start introducing ILive 2022-01-12 17:00:16 +09:00
8696f82627 Fix intro screen
Fix things
2022-01-12 17:00:16 +09:00
c4a9211179 Apply NRT to BeatmapManager and move Hide/Restore methods across 2022-01-12 17:00:16 +09:00
8d943b5709 Fix many shortcomings and compatibility issues with EF classes post-rename 2022-01-12 17:00:16 +09:00
d7fe3584cd Don't persist Countdown to realm for now
It's another enum which is a pain to handle, and not actually being
consumed anywhere.
2022-01-12 17:00:16 +09:00
00e3af3366 Update model manager and many related classes to get things compiling again 2022-01-12 17:00:00 +09:00
a5df01ff47 Add score importer 2022-01-12 16:57:27 +09:00
8c0db79ec1 Remove BeatmapStore and update surrounding code 2022-01-12 16:57:27 +09:00
b8cd3cdbbc Various updates to ruleset and primary key usages to move closer to realm support 2022-01-12 16:57:13 +09:00
b77bb2f12b Switch BeatmapModelManager to use RealmArchiveModelManager base class 2022-01-12 16:39:36 +09:00
116f35c52a Remove EF FileStore 2022-01-12 16:39:36 +09:00
89d6ffa7f3 Use RealmContextFactory instead of EF 2022-01-12 16:39:36 +09:00
df088f96f4 Fix incorrect Metadata-related null checks 2022-01-12 16:39:36 +09:00
6a671b0a52 Remove unnecessary assigns of BeatmapSetInfo.Metadata 2022-01-12 16:39:36 +09:00
fda529de26 Update usages of APIUser to RealmUser 2022-01-12 16:39:36 +09:00
213d89b479 Update null fallback cases involving OnlineID 2022-01-12 16:39:36 +09:00
c3df58e01c Add required properties to make realm models backwards compatible 2022-01-12 16:39:36 +09:00