Commit Graph

54246 Commits

Author SHA1 Message Date
4c24d8ed58 Improve string consistency 2022-08-19 03:17:05 +10:00
e870ac6456 Fix code quality for CI 2022-08-16 15:51:54 +10:00
797a8da996 Replace osu-web strings with new strings and merge to single file 2022-08-16 01:14:16 +10:00
2499b7f0cd Add localisation support for beatmap editor setup 2022-08-11 03:53:20 +10:00
76fea25668 Merge pull request #19646 from its5Q/settings-localisation
Add missing localisation for settings enums
2022-08-10 18:51:52 +09:00
6e9031b03e Update framework 2022-08-10 17:49:39 +09:00
8f5bd437f6 Rename enum member to be more like the other 2022-08-10 18:41:53 +10:00
231c331690 Rename keys to match enum members
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
2022-08-10 18:31:57 +10:00
c151cb4443 Merge pull request #19677 from peppy/fix-mobile-import-crash
Fix crash when attempting to import on mobile platforms
2022-08-10 16:11:38 +09:00
ef10d074e8 Update framework 2022-08-10 16:07:47 +09:00
ddffa9b1bd Fix crash when attempting to import on mobile platforms
Regressed with NRT application to this file. It's probably the first
time we've actually hit this due to an optional DI that is actually not
available outside of tests.
2022-08-10 15:32:43 +09:00
87133b9cc5 Merge pull request #19669 from peppy/abort-load-player-more
Handle cancellation at more points during `Player` initialisation
2022-08-10 13:53:27 +09:00
888c4c8e08 Merge pull request #19662 from peppy/startup-correct-username
Use a placeholder user with the correct username during login process
2022-08-10 13:09:37 +09:00
a83f7202ec Merge pull request #19670 from peppy/update-framework
Update framework
2022-08-09 20:28:24 +03:00
ad410fc88b Update resources 2022-08-10 01:50:23 +09:00
e8fef6e05c Update framework 2022-08-10 01:36:39 +09:00
abca3d1b2a Prefix common strings for context 2022-08-10 00:35:19 +10:00
a5081826b7 Handle cancellation at more points during Player initialisation
As discussed in discord, this will help avoid null references during
cancellation which can otherwise be quite confusing to debug.
2022-08-09 23:25:19 +09:00
d59f4720f1 Merge pull request #19664 from peppy/test-assertions
Update multiple tests to use new assert output for easier to understand failures
2022-08-09 23:15:16 +09:00
1392395ea0 Merge pull request #19668 from smoogipoo/fix-ended-room-status
Fix host room status showing ended after playing
2022-08-09 23:02:38 +09:00
4107049b08 Fix host room status showing ended after playing 2022-08-09 21:43:10 +09:00
41af03dec5 Merge pull request #19597 from frenzibyte/hotfix-multi-spectator-results-screen
Fix multi-spectator potentially getting stuck for passed players (hotfix)
2022-08-09 21:11:10 +09:00
2de9e5f40f Fix test failure 2022-08-09 20:23:45 +09:00
1270ee9624 Update multiple tests to use new assert output for easier to understand failures 2022-08-09 19:19:54 +09:00
efc4a129d9 Merge pull request #19658 from peppy/user-button-better-display
Display connecting / failing states on toolbar user display
2022-08-09 17:59:28 +09:00
4a312d5658 Use a placeholder user with the correct username during connecting process
This allows for various components (like gameplay) to obtain a correct
username even if the API is not yet in a connected state. The most
common case is during startup, where a connection may not have been
established yet, but the user's username was restored from their config
file.

By making the change, local scores will now have the correct username
(although avatar etc. will be missing, which I think it fine) even if
the API is not yet connected. Previously, they would show up as "Guest".
2022-08-09 17:13:09 +09:00
f9d0cc3c4e Change APIAccess.IsLoggedIn to also return true when connecting
All usages of this are made with the intention of showing data when an
api is going to eventually become available. In the case of a login
failure, components are also able to display a correct state.

With this change, it makes online components display in a more correct
state during startup or initial logging in phase.
2022-08-09 17:11:44 +09:00
beb3d41f0c Fix unsafe usage of APIAccess.LocalUser in BeatmapListingOverlay 2022-08-09 17:11:44 +09:00
d80db2aee7 Merge pull request #19639 from peppy/fix-fps-damping
Fix incorrect FPS damping implementation
2022-08-09 17:03:55 +09:00
47ca812faf Merge pull request #19656 from smoogipoo/fix-gameplay-test-rerun
Fix gameplay tests crashing when run multiple times
2022-08-09 16:01:39 +09:00
32852e5b21 Fix potentially thread-unsafe LocalUser usage 2022-08-09 16:01:04 +09:00
5d8bd1de28 Share localised strings with expanded display message 2022-08-09 15:57:16 +09:00
3f8cedff3a Add tooltips showing current connecting status 2022-08-09 15:51:27 +09:00
4da9482a3e Add ability for loading layer to not block input 2022-08-09 15:51:11 +09:00
c35b4ef914 Display connecting / failing states on toolbar user display 2022-08-09 15:51:10 +09:00
aa9ced7f04 Add test coverage of ToolbarUserButton 2022-08-09 15:51:10 +09:00
c7313ac371 Allow LoadingLayer's spinning circle to scale smaller than before 2022-08-09 15:34:11 +09:00
2f0e80e726 Merge pull request #19642 from peppy/barline-less-present
Adjust visuals of osu!mania barlines to be less present
2022-08-09 15:10:01 +09:00
00bdd52cff Move to TestPlayer and add null check 2022-08-09 15:05:40 +09:00
e79052c8a0 Merge pull request #19651 from bdach/mod-select/mod-preset-buggy-sounds
Fix spurious sample playbacks from already-removed mod preset panels
2022-08-09 15:00:47 +09:00
6c671434ec Fix gameplay tests crashing when run multiple times 2022-08-09 14:41:36 +09:00
a52fa8eb8b Rename const 2022-08-09 13:20:20 +09:00
fbd645f06e Merge pull request #19638 from peppy/fix-collection-import-notification
Fix collection import not showing progress notification
2022-08-08 21:37:53 +02:00
f74fb3491e Use alternative implementation of preset panel cleanup 2022-08-08 21:08:54 +02:00
e77f47e489 Merge branch 'master' into fix-collection-import-notification 2022-08-08 21:05:48 +02:00
a0a6e1faee Fix spurious sample playbacks from already-removed panels 2022-08-08 20:30:55 +02:00
eba070a0f8 Add weak test coverage of broken audio playback after soft-delete 2022-08-08 20:30:37 +02:00
3b79cb6fce Merge pull request #19640 from peppy/mod-preset-column-task-logic 2022-08-09 03:14:28 +09:00
f21a51aa24 Simplify mirror copy of task logic in ModColumn 2022-08-08 19:20:50 +02:00
00333fb0d2 Change ?? false test to == true for legibility 2022-08-08 19:19:13 +02:00