Commit Graph

19 Commits

Author SHA1 Message Date
Dean Herbert 3e5c9e8436 Fix cases of `Access` instead of `Realm` 2022-01-25 12:58:15 +09:00
Dean Herbert f30894840c Update terminology to realm "instance" rather than "context"
This matches the terminology used by realm themselves, which feels
better.
2022-01-24 20:38:38 +09:00
Dean Herbert 6eb2c28e41 Rename `RealmContextFactory` to `RealmAccess` 2022-01-24 20:38:07 +09:00
Dean Herbert a5d2047f05 Fix various cases of creating realm contexts from update thread when not necessary 2022-01-21 01:44:56 +09:00
Dean Herbert 70c107b434 Remove pointless override method in `RealmArchiveModelManager` 2022-01-13 16:27:12 +09:00
Dean Herbert 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
Dean Herbert 7dba3c3551 Fix most remaining test issues 2022-01-12 17:49:11 +09:00
Dean Herbert 80eee6d7b0 Make `RealmArchiveModelManager.Update` work using automapper 2022-01-12 17:49:11 +09:00
Dean Herbert 64a47ff850 Allow `RealmArchiveModelManager` file operations to be performed on detached instances 2022-01-12 17:49:11 +09:00
Dean Herbert d8e75a9de4 Reimplmeent `IsAvailableLocally` as an `abstract` method 2022-01-12 17:49:10 +09:00
Dean Herbert b619ff1264 Reattach detached items on delete/undelete 2022-01-12 17:00:17 +09:00
Dean Herbert fe8a5e867d Remove updated/removed flow method mapping 2022-01-12 17:00:16 +09:00
Dean Herbert 00e9f0d41e Replace `BeatmapDownloadTracker` event flow with realm subscriptions 2022-01-12 17:00:16 +09:00
Dean Herbert d70e292828 Remove old EF classes 2022-01-12 16:57:27 +09:00
Dean Herbert fe99d4e984 Standardise parameter naming across all file IO methods 2021-12-02 17:19:53 +09:00
Dean Herbert ae3038ead4 Overwrite existing files if `AddFile` is called with an existing filename 2021-12-02 17:18:06 +09:00
Dean Herbert ea66cd6c5e Add xmldoc and make realm ongoing transaction file op methods `protected` instead of `public` 2021-12-01 12:55:21 +09:00
Dean Herbert c629a7a36f Fix random selection and avoid using legacy events for handling skin import/deletion 2021-11-29 18:28:25 +09:00
Dean Herbert 29d074bdb8 Implement missing behaviours required for skin file operations via `RealmArchiveModelManager` 2021-11-29 18:28:25 +09:00