Commit Graph

29685 Commits

Author SHA1 Message Date
2ee08b5f4c Fix undelete on existing not committing transaction 2021-11-29 14:48:31 +09:00
93b5aec23e Fix realm migration failures when upgrading from old versions
* `RealmRulesetSetting` was added in 2021.916.0.
* `RealmKeyBinding` was added in 2021.703.0.

Attempting to upgrade from older releases than the above would cause
migrations up to schema versions 10 and 11 to fail.
2021-11-28 15:00:40 +01:00
51a7c60eec Merge pull request #15835 from bdach/off-thread-transforms-unbind
Fix instances of components adding off-thread transforms on unbind
2021-11-28 09:27:43 +09:00
db49d99cc0 Ensure correct disabled ruleset callback scheduling in ruleset selector 2021-11-27 15:28:23 +01:00
05f7ea6b6d Remove mentions of "panel" and "direct" from names of old download buttons 2021-11-27 15:08:03 +01:00
a043d1e427 Move old beatmap download button to more general namespace 2021-11-27 15:06:57 +01:00
251ab183a0 Move beatmap play button nearer its only remaining usage 2021-11-27 15:04:05 +01:00
7419682334 Move icon pill to beatmap card-specific namespace 2021-11-27 15:01:48 +01:00
6773877a40 Remove no-longer-used beatmap panels 2021-11-27 15:00:06 +01:00
f4b7db5a7b Ensure correct disabled beatmap callback scheduling in now playing overlay 2021-11-27 14:36:34 +01:00
0a75067ee5 Update framework 2021-11-27 12:13:39 +09:00
d570054b8c Merge pull request #15801 from smoogipoo/playlist-item-add-owner
Add owner avatar to multiplayer playlist items
2021-11-27 00:30:35 +09:00
2cc06a6ae1 Merge pull request #15820 from peppy/fix-track-owner-log
Fix incorrect logging of preview tracks without track owner
2021-11-27 00:25:54 +09:00
b8a47755fa Don't show loading tooltip for now
Should probably be replaced with a loading spinner in the future, don't
really like "loading" tooltips.
2021-11-26 22:54:11 +09:00
d5d1a4c0b5 Merge branch 'master' into playlist-item-add-owner 2021-11-26 22:43:08 +09:00
f16ef1ee69 Reapply schedule workaround for PreviewTrack 2021-11-26 22:34:05 +09:00
7f9cc4d5ff Fix incorrect logging of preview tracks without track owner 2021-11-26 21:37:43 +09:00
89b4e5cffb Rename mass deletion confirmation dialog 2021-11-26 18:18:45 +09:00
e1445dcb05 Only show owner in match subscreen 2021-11-26 17:40:45 +09:00
e9a19aacd7 Fix tests by requiring host 2021-11-26 17:23:50 +09:00
8be2defd09 Right-align avatar 2021-11-26 17:17:06 +09:00
8541db1e85 Merge branch 'master' into playlist-item-add-owner 2021-11-26 17:13:23 +09:00
c7f905f8da Merge pull request #15813 from peppy/beatmap-card/download-spinner
Show a spinner instead of the download button on the new card during beatmap download
2021-11-26 16:35:58 +09:00
5e53f51c99 Merge pull request #15812 from peppy/realm-live-unmanaged-fetch-fix
Avoid attempting to fetch a non-managed `RealmLive` instance from the realm backing
2021-11-26 15:37:58 +09:00
bf443a5a7a Switch unnecessary return to break instead 2021-11-26 15:36:16 +09:00
5de2f6211d Show a spinner instead of the download button on the new card during beatmap download 2021-11-26 15:32:33 +09:00
8e16ff7f72 Merge pull request #15807 from bdach/beatmap-card/integration
Replace existing usages of beatmap panel with new beatmap card
2021-11-26 15:31:55 +09:00
40d1b97af1 Avoid attempting to fetch a non-managed RealmLive instance from the realm backing
For compatibility reasons, we quite often convert completely unmanaged
instances to `ILive`s so they fit the required parameters of a property
or method call. This ensures such cases will not cause any issues when
trying to interact with the underlying data.

Originally I had this allowing write operations, but that seems a bit
unsafe (when performing a write one would assume that the underlying
data is being persisted, whereas in this case it is not). We can change
this if the requirements change in the future, but I think throwing is
the safest bet for now.
2021-11-26 15:06:14 +09:00
13612c0d02 Add equality support to ILive types 2021-11-26 14:56:16 +09:00
1d96542a2a Fix incorrect ConfigureAwait specification causing stalled test
This only occurs on upcoming changes I have (occurred when switching
existing skin import tests across to realm). Unsure why it was set to
`true`, seems like a weird oversight.
2021-11-26 12:47:43 +09:00
a188d6662f Use beatmap card in solo spectator screen 2021-11-25 22:31:02 +01:00
ec2265d5bb Use beatmap cards in spotlights layout 2021-11-25 22:30:47 +01:00
42b09fd1ec Use beatmap cards in user profile overlay 2021-11-25 22:30:47 +01:00
0f9ebe3d5d Use beatmap cards in beatmap listing overlay 2021-11-25 22:30:46 +01:00
84a36ab4a9 Add integration with beatmap set overlay 2021-11-25 22:30:46 +01:00
1f5d95666e Add owner avatar to multiplayer items 2021-11-25 23:15:29 +09:00
7a3c69544b Merge pull request #15799 from smoogipoo/fix-songselect-test-failures-2
Fix SongSelect-related test failures
2021-11-25 23:01:06 +09:00
7c91cd674e Update test classes to set owner ids 2021-11-25 22:17:18 +09:00
8a941fa422 Add owner id to PlaylistItem 2021-11-25 21:41:03 +09:00
09dd054283 Fix SongSelect-related test failures 2021-11-25 21:11:13 +09:00
f712aeee01 Merge pull request #15795 from peppy/realm-integration/separate-download-flow
Split out download logic from main manager classes
2021-11-25 20:59:23 +09:00
d7a960212f Merge pull request #15794 from peppy/realm-integration/stable-export-flow
Split out legacy model export logic into `LegacyModelExporter` classes
2021-11-25 20:20:18 +09:00
8baf00c023 Remove unused using 2021-11-25 19:36:06 +09:00
2b85738384 Merge pull request #15797 from peppy/remove-pointless-i-beatmap-model-manager
Remove pointless interface class for `IBeatmapModelManager`
2021-11-25 19:07:19 +09:00
d3a4890c31 Merge branch 'master' into realm-integration/stable-export-flow 2021-11-25 19:06:18 +09:00
e2ebcf7a26 Remove unnecessary manager parameter
Confused why I added this in the first place..
2021-11-25 18:36:03 +09:00
a6ee0eec0d Remove pointless interface class for IBeatmapModelManager
Was originally going to be used but serves no purpose any more.
2021-11-25 18:15:10 +09:00
eeccf836ec Remove unnecessary GameHost parameter 2021-11-25 17:42:41 +09:00
a2ab9f457d Move score download logic out of ScoreManager 2021-11-25 17:33:04 +09:00
716543b5b3 Move beatmap download logic out of BeatmapManager 2021-11-25 17:29:41 +09:00