Commit Graph

688 Commits

Author SHA1 Message Date
851e33fd15 Hook up StableImportManager. 2021-05-17 12:55:57 +02:00
5d5b1e1f0e Add StableImportManager 2021-05-17 12:55:56 +02:00
1742ee89e0 Fix incorrect xmldoc for DeleteFile 2021-05-11 18:39:14 +09:00
05e3a73a7d Fix import cancellation not correctly being forwarded to import notification 2021-04-28 16:09:50 +09:00
6560dc2d1f Fix exported replays being wrapped in zip packages 2021-04-26 20:46:44 +09:00
b9ee63ff89 Remove public keywords from interface implementations 2021-04-24 02:13:31 +09:00
ecde6137e0 Add missing active usage counter increment 2021-03-31 15:16:01 +09:00
37bf79e8a4 Remove unused automapper setup for the time being 2021-03-31 15:10:05 +09:00
f8cea5cae3 Merge branch 'master' into realm-migration-operation-blocking 2021-03-26 17:07:31 +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
03592fa696 Merge branch 'master' into realm-migration-operation-blocking 2021-03-19 21:33:26 +09:00
1e519f0d31 Fix seemingly innocent logic change causing breakage in score imports 2021-03-15 14:20:59 +09:00
fce21f23d6 Add comments marking workarounds required for EFcore 5 2021-03-15 13:29:26 +09:00
2904f479c6 Share file lookup workaround in ArchiveModelManager with workaround extensions class 2021-03-15 13:26:14 +09:00
79d3379f55 Reformat application of configuration 2021-03-15 13:20:22 +09:00
8a35533889 Add fall-through case to catch a potential requery for unsupported model type 2021-03-15 13:11:58 +09:00
2bdffd1004 Move skin requery logic into extension methods 2021-03-15 13:11:58 +09:00
900da7b891 Rename and refactor extenion methods to be easier to read 2021-03-15 13:11:58 +09:00
28ef64b62a Explicitly specify SingleQuery behavior 2021-03-14 21:43:27 +03:00
0a1e325fc7 Extract requerying of navigational properties from DbContext 2021-03-14 19:34:53 +03:00
5a4b0174b1 Ignore MultipleCollectionIncludeWarning 2021-03-11 22:40:35 +03:00
47b80d2474 Workaround InvalidOperation exceptions 2021-03-11 20:51:54 +03:00
f1302d1600 Update Microsoft.EntityFrameworkCore 2021-03-11 19:23:56 +03:00
b1cd01ceb8 Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
fa95929121 Remove easy to remove finalizers 2021-03-02 16:07:09 +09:00
7e6bd0e995 Fix "failed to import" message showing when importing from a stable install with no beatmaps 2021-02-26 17:30:59 +09:00
0196ee882a Redirect batch imports to a separate task scheduler to avoid contention with interactive actions 2021-02-17 19:41:18 +09:00
c1db33e075 Improve some xmldoc on ArchiveModelManager for methods which are not going to trigger user interactive flow 2021-02-17 19:40:56 +09:00
a080a9bdbc Merge pull request #11603 from Game4all/handle-stable-imports-custom-songs-folder
Handle beatmap import from a stable installation with a custom Songs directory
2021-02-12 21:42:36 +09:00
5f23bd7259 Revert most of the changes to ArchiveModeManager by using better code 2021-02-12 12:48:32 +09:00
383c40b992 Address remaining reviews suggestions. 2021-01-26 20:35:42 +01:00
043385f919 Rename const and fix unintended tabbing. 2021-01-26 18:45:04 +01:00
9f9206726a Fix typos. 2021-01-26 18:11:54 +01:00
51d4da565c Fix ArchiveModelManagers lookup paths. 2021-01-24 22:25:49 +01:00
d71ac83428 Use StableStorage in ArchiveModelManager. 2021-01-24 19:46:10 +01:00
d69a4914e0 Add method to block all realm access during migration operation 2021-01-22 17:28:47 +09:00
47a9d2b1c2 Add missing licence header 2021-01-21 20:53:16 +09:00
34a7ce912e Correctly close context before attempting migration 2021-01-21 19:02:09 +09:00
f6c2009509 Remove unused using 2021-01-19 20:10:10 +09:00
68f2e7f61a Use realm support for Guid 2021-01-19 18:22:36 +09:00
f1a785f407 Merge branch 'master' into realm-key-binding-store 2021-01-19 18:22:34 +09:00
dc91cebce9 Merge branch 'master' into multiplayer-beatmap-tracker 2021-01-18 19:15:45 +03:00
1d7be6a604 Merge branch 'master' into android-multiple-import-support-suppot 2021-01-16 23:13:11 +01:00
96feaa027d Make ArchiveModelManager import method overridable (for testing purposes) 2021-01-17 00:01:11 +03:00
7296a6dd84 Merge branch 'master' into realm-key-binding-store 2021-01-16 16:48:54 +01:00
ddc63662ba Dispose realm in RealmWriteUsage cleanup 2021-01-16 16:39:04 +01:00
86f66727de Update KeyBinding usages in line with interface changes 2021-01-15 14:57:01 +09:00
3e366b1f15 Ensure the main realm context is closed when the factory is disposed 2021-01-15 14:26:06 +09:00
df08d964a5 Mark the types which have been migrated in OsuDbContext 2021-01-14 16:31:18 +09:00
8a08d3f4ef Fix transactions not actually being committed 2021-01-14 16:13:10 +09:00