Commit Graph

766 Commits

Author SHA1 Message Date
7acc4a4708 Refactor realm migrations to be a touch more legible 2021-11-04 18:57:54 +09:00
777b2cbcc4 Add realm migration for new author storage 2021-11-04 18:57:54 +09:00
b9983add15 Rename User to APIUser and move to correct namespace 2021-11-04 18:21:31 +09:00
ca438a102d Fix beatmap paths including invalid slash/backslash characters 2021-11-03 16:46:05 +09:00
c51349de57 Merge pull request #15358 from peppy/online-id-potentially-zero
Add a note about `OnlineID` potentially being zero in non-autoincrement cases
2021-11-01 15:54:08 +09:00
19feae4a8e Merge branch 'master' into beatmap-refactor/download-tracker 2021-11-01 13:15:36 +09:00
b0c4fa662d Merge branch 'master' into long-online-id-score-info 2021-10-30 14:35:30 +02:00
aff216840f Add a note about OnlineID potentially being zero in non-autoincrement cases 2021-10-29 16:54:03 +09:00
3b095e1626 Merge branch 'master' into beatmap-refactor/download-tracker 2021-10-29 11:50:54 +09:00
34d4715220 Allow for long online IDs and implement in ScoreInfo 2021-10-29 11:48:36 +09:00
3838fe5c6a Fix typo in variable name 2021-10-29 11:39:15 +09:00
8d21f0b04b Add migration to reset conflicting scroll speed key bindings 2021-10-29 11:14:22 +09:00
add39fbd4f Merge branch 'master' into fix-skin-layout-editor-crash 2021-10-28 06:24:24 +09:00
617e6febb6 Refactor ModelDownloader to allow for different OnlineID matching 2021-10-27 21:00:46 +09:00
9015ac6ba8 Implement new version of download tracker 2021-10-27 21:00:46 +09:00
95837990f3 Apply some second-pass inspections that appeared after previous changes 2021-10-27 13:09:30 +09:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
370775af68 Fix some surrounding code formatting 2021-10-26 14:05:07 +09:00
26cf5370c3 Remove unused reader parameter 2021-10-24 23:48:46 +09:00
51c5d0aec7 Update to be in line with framework changes 2021-10-24 13:21:41 +02:00
4a425b5c3e Merge remote-tracking branch 'upstream/master' into use-ShowFileInNativeExplorer 2021-10-23 10:01:24 +02:00
eef9949a0a Remove unnecessary branching around EF logic 2021-10-22 14:48:20 +09:00
59b7210efa Revert disallowing imports with no files
While it is logical that we want this, from a testing perspective this is a bit of a nightmare to fix. Let's revisit at a later point in time.
2021-10-21 13:43:42 +09:00
9e6e41d7c0 Add migration to reset and repopulate existing skin hashes 2021-10-20 17:56:45 +09:00
439e90fce3 Disallow archive imports with no hashable files 2021-10-20 17:45:06 +09:00
789c715f13 Add skin.ini write support to allow for more correct hashing 2021-10-20 17:45:06 +09:00
08f3bc3f44 Merge pull request #15120 from peppy/realm-importer
Implement realm beatmap importer
2021-10-20 16:44:16 +09:00
da750a74fc Add xmldoc mention of valid OnlineID values 2021-10-20 15:24:27 +09:00
d3ab45084d Fix realm migration potentially failing from older releases 2021-10-19 14:19:58 +09:00
6904938dc1 Merge branch 'realm-indexed-online-id' into realm-importer 2021-10-18 16:14:37 +09:00
88a575462c Work around weird null inspection 2021-10-18 16:11:55 +09:00
2c5ba1d8e2 Change OnlineID to non-nullable to allow for indexing in Realm 2021-10-18 15:53:40 +09:00
3c4c9ab7a7 Move ICanAcceptFiles specification to IModelImporter<TModel> 2021-10-18 14:25:51 +09:00
25f172fae8 Update usages of OpenInNativeExplorer to use ShowFileInNativeExplorer
Also updates WrappedStorage to override ShowFileInNativeExplorer.
2021-10-17 12:56:29 +02:00
49969ac328 Add beatmap import and file store tests 2021-10-15 17:07:34 +09:00
d95a62fa56 Add models and stores for beatmap manager requirements 2021-10-15 16:58:41 +09:00
05150b34e5 Merge pull request #15117 from peppy/update-present-import-post-import
Update one missed instance of `PresentImport`
2021-10-15 16:57:47 +09:00
e9c3d09e0e Remove redundant specs 2021-10-15 16:27:16 +09:00
fdb734ac91 Also add spec directly to IModelImporter 2021-10-15 16:24:40 +09:00
818fac6ac8 Make realm a non-drawable component to better order disposal
Until now, the `RealmContextFactory` would be disposed as part of the
drawable hierarchy. This is too early, as it may be being used by higher
level components (like `ConfigManager`s, see #15115) that perform final
operations after the drawables have been disposed.

Seems to make sense moving this out of the drawable hierarchy and in
line with how we were doing things with EF.
2021-10-15 13:58:16 +09:00
93d7cdc509 Don't check whether the source realm was closed or not
Based on what we now know, this is not required, as long as there is
another realm context open on the same thread.
2021-10-13 15:50:06 +09:00
f5f0486e18 Merge branch 'master' into realm-live 2021-10-13 15:24:34 +09:00
df5a76ad9d Merge pull request #15041 from peppy/realm-file-store
Add realm `FileStore`
2021-10-13 13:54:56 +09:00
cf10239e70 Add a few nullabilities and DCC excludes 2021-10-13 12:51:46 +09:00
f69a56a26a Add test coverage of startup import sequence 2021-10-13 12:19:10 +09:00
e468bfb31c Merge branch 'master' into realm-file-store 2021-10-12 23:11:02 +09:00
7bb401b974 Merge pull request #15040 from peppy/realm-test-game-host
Update realm tests to run inside a `GameHost` to allow running on update thread
2021-10-12 21:16:06 +09:00
b01d82b3fd Add RealmLive implementation 2021-10-11 15:36:41 +09:00
6ca415da9f Add basic realm models
Only the file related ones are really required outside of tests, but
seems like as good an opportunity as ever to get the rest of the models
into the game project.
2021-10-11 15:25:04 +09:00
f43badabf4 Add back update thread verification in RealmContextFactory 2021-10-11 15:20:12 +09:00