Commit Graph

57820 Commits

Author SHA1 Message Date
e8a0f8996c Remove unused osu!catch ArgonJudgementPiece 2022-12-24 03:35:27 +08:00
727ac00f6d Combine base class for JudgementPiece 2022-12-24 03:32:13 +08:00
f434d4d60f Merge pull request #21772 from peppy/upgrade-guide-help
Fix wiki overlay showing error message when load is cancelled
2022-12-23 17:56:29 +01:00
94d78a47a4 Merge branch 'master' into upgrade-guide-help 2022-12-23 17:22:04 +01:00
3c08c2b9b6 Merge pull request #21675 from Joehuu/fix-breadcrumb-tab-item-click-area
Fix breadcrumb tab item click area not extending to background height
2022-12-23 17:09:48 +01:00
9a2cc04361 Fix wrong path being used in fail handler 2022-12-23 16:44:03 +01:00
3dfbb47b01 Add test coverage for wrong error message 2022-12-23 16:43:59 +01:00
137a32ade6 Remove unused using directive 2022-12-23 16:39:35 +01:00
67aea34e7e Merge branch 'master' into fix-breadcrumb-tab-item-click-area 2022-12-23 16:36:58 +01:00
4a69cb4aae Add test coverage of wiki cancellation not causing error 2022-12-23 21:22:47 +08:00
a677c8be06 Change path on error 2022-12-23 21:17:42 +08:00
5eccafe190 Fix wiki overlay showing error message when load is cancelled 2022-12-23 16:45:40 +08:00
b1232a7ee7 Merge pull request #21766 from frenzibyte/fix-waveform-zoom-reload
Fix track changes not updating initial timeline zoom correctly
2022-12-23 00:28:22 +01:00
676d4a0d6d Merge branch 'master' into fix-waveform-zoom-reload 2022-12-22 23:48:50 +01:00
d31b649ed7 Merge pull request #21763 from turbedi/argumentnullexception_throwhelper
Use new ArgumentNullException.ThrowIfNull throw-helper API
2022-12-22 23:02:34 +01:00
0cb9b79834 Fix ZoomableScrollContainer potentially not updating content width on setup 2022-12-23 00:56:38 +03:00
a665013626 Add failing test case 2022-12-23 00:56:38 +03:00
08d2fbeb8e Use new ArgumentNullException.ThrowIfNull throw-helper API 2022-12-22 21:27:59 +01:00
27afeb9e30 Add test coverage of merging ignored score updates 2022-12-22 19:59:41 +01:00
fa2d50fe31 Limit tracking unhandled scores to just the last one 2022-12-22 19:59:39 +01:00
48dc2332fd Refactor test to be easier to work with 2022-12-22 19:59:35 +01:00
722cf48614 Add test coverage for statistics watcher 2022-12-22 19:59:10 +01:00
ac872fac9e Implement solo statistics watcher 2022-12-22 19:59:07 +01:00
867a1963be Merge pull request #21760 from Flutterish/disable-custom-target-log-notifications
Don't post notifications from custom log targets
2022-12-22 20:46:15 +03:00
8be6350c01 Remove no longer necessary assert 2022-12-22 20:07:53 +03:00
5df440e20e dont use is..or syntax 2022-12-22 17:27:55 +01:00
422fdd8ae5 dont post notifications from custom log targets 2022-12-22 16:56:27 +01:00
15a162a943 Merge pull request #21737 from bdach/restore-default-button-hit-area
Fix restore default button having a minuscule hit area
2022-12-22 14:08:46 +03:00
28fc2f34b5 Merge branch 'master' into restore-default-button-hit-area 2022-12-22 13:32:57 +03:00
f5b3988dd2 Add data structure for delivering statistics updates 2022-12-22 08:01:59 +01:00
11321f1a41 Merge pull request #21738 from bdach/spectator-user-score-processed
Add score processed callback to spectator client
2022-12-22 13:55:43 +08:00
198567aa95 Merge pull request #21753 from bdach/submission-early-exit-ordering-guarantees
Ensure score submission completion before notifying spectator server when exiting play early
2022-12-22 14:48:43 +09:00
36b6163475 Merge pull request #21751 from bdach/fix-mania-hold-note-crash
Fix crashes on quick-retrying when holding note in mania
2022-12-22 14:25:43 +09:00
6948035a3c Ensure score submission attempt completion before notifying spectator server when exiting play early
When a `SubmittingPlayer` gameplay session ends with the successful
completion of a beatmap, `PrepareScoreForResultsAsync()` ensures that
the score submission request is sent to and responded to by osu-web
before calling `ISpectatorClient.EndPlaying()`.

While previously this was mostly an implementation detail, this becomes
important when considering that more and more server-side flows (replay
upload, notifying about score processing completion) hook into
`EndPlaying()`, and assume that by the point that message arrives at
osu-spectator-server, the score has already been submitted and has been
assigned a score ID that corresponds to the score submission token.

As it turns out, in the early-exit path (when the user exits the play
midway through, retries, or just fails), the same ordering guarantees
were not provided. The score's submission ran concurrently to the
spectator client `EndPlaying()` call, therefore creating a network
race. osu-server-spectator components that implciitly relied on the
ordering provided by the happy path, could therefore fail to unmap the
score submission token to a score ID.

Note that as written, the osu-server-spectator replay upload flow is
not really affected by this, as it self-corrects by essentially polling
the database and trying to unmap the score submission token to a score
ID for up to 30 seconds. However, this change would have the benefit of
reducing the polls required in such cases to just one DB retrieval.
2022-12-21 22:23:26 +01:00
0a49c8c5d6 Add missing unsubscriptions in multiple mania components 2022-12-21 20:22:40 +01:00
b09c00d71b Merge pull request #21746 from peppy/fix-language-update
Closes https://github.com/ppy/osu/issues/21744
2022-12-21 11:06:52 -08:00
3ec31a5f51 Fix language selector in first run dialog not updating after changing language in settings 2022-12-21 19:30:21 +01:00
19f66c806e Fix language dropdown in settings not updating after changing language in first run dialog
Closes #21744.
2022-12-21 16:31:55 +08:00
b03291330f Add score processed callback to spectator client 2022-12-20 21:23:50 +01:00
cebd5f6dc2 Fix restore default button having a minuscule hit area
Another casualty of edc78205d5. This
particular button was actually *relying* on receiving positional events
from its entire bounding box rather than `Content`, in order for the
button to be htitable more easily, which broke as other buttons were
fixed to behave more in line with expectations.

Upon closer inspection this is another case of a weird carried-over
construction. The button doesn't really need to inherit `OsuButton` or
do any of the arcane stuff that it was doing, so it's now a plain
`OsuClickableContainer` with less `Content` hackery.
2022-12-20 20:47:58 +01:00
d81a724dd7 Merge pull request #21735 from nekodex/argon-pro-skin
Add argon "pro" skin
2022-12-20 20:25:22 +01:00
378486cbe0 Merge branch 'master' into argon-pro-skin 2022-12-20 19:34:56 +01:00
006ed6dae4 Merge pull request #21730 from peppy/ui-scale-only-show-one-screen
Only show song select for now at ui scale adjust first run screen
2022-12-20 19:12:01 +01:00
bf074adb13 Remove unused using directive 2022-12-20 18:24:26 +01:00
8ead606065 Merge branch 'master' into ui-scale-only-show-one-screen 2022-12-20 18:23:37 +01:00
a0e9004655 Merge pull request #21731 from peppy/fix-stuck-file-select-overlay
Fix file select popup getting stuck when switching first run screens while selecting
2022-12-20 18:17:28 +01:00
2c402d4740 Update resources 2022-12-21 01:24:41 +09:00
f7c854f1b0 Change asset folder 2022-12-20 21:18:51 +09:00
2f0c772dcb Add argon pro skin 2022-12-20 21:18:51 +09:00
439b8ac56a Fix file select popup getting stuck when switching first run screens while selecting
Closes #21663
Supersedes #21724
2022-12-20 17:59:23 +09:00