1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 18:02:56 +08:00
Commit Graph

71853 Commits

Author SHA1 Message Date
Bartłomiej Dach
a556049c1b
Merge pull request #32004 from smoogipoo/fix-multi-spectate-beatmap-attributes
Fix wrong beatmap attributes in multiplayer spectate
2025-02-21 10:28:05 +01:00
Dan Balasescu
49c192b173
Fix wrong beatmap attributes in multiplayer spectate 2025-02-21 16:19:05 +09:00
Dean Herbert
1350256599
Merge pull request #31968 from frenzibyte/fix-scaling-issues
Fix osu!taiko and osu!catch being oversized on mobile platforms
2025-02-21 02:42:50 +09:00
Salman Alshamrani
b1112623dc
Fix taiko touch controls sizing logic 2025-02-21 01:21:13 +09:00
Salman Alshamrani
7bd5b745e9
Scale taiko down to remain playable 2025-02-21 01:21:13 +09:00
Salman Alshamrani
440a776bd7
Scale catch down to remain playable on mobile 2025-02-21 01:21:10 +09:00
Dean Herbert
95b64bd96b
Merge pull request #31965 from bdach/update-framework
Update framework
2025-02-21 00:02:57 +09:00
Dean Herbert
5d73af10e9
Merge pull request #31967 from peppy/fix-results-applause-sound-overload
Fix results screen applause playing too loud during multiplayer spectating
2025-02-21 00:00:34 +09:00
Dean Herbert
97c69cf1a7
Merge pull request #31969 from bdach/flag-display-adjustment
Adjust handling of team flags with non-matching aspect ratio to match web
2025-02-20 23:55:53 +09:00
Dean Herbert
a75ec75a8f
Fix using 2025-02-20 23:48:21 +09:00
Bartłomiej Dach
7dc5ad2f0e
Adjust handling of team flags with non-matching aspect ratio to match web 2025-02-20 15:44:30 +01:00
Dean Herbert
4f4d2b3b3f
Fix results screen applause playing too loud during multiplayer spectating 2025-02-20 23:42:32 +09:00
Salman Alshamrani
b4d270045b Publicise base draw size property 2025-02-20 09:29:18 -05:00
Dean Herbert
1e3d5d7d81
Remove left-over debug code 2025-02-20 23:05:47 +09:00
Bartłomiej Dach
d8bba16809
Update framework
Pulls in fix for https://github.com/ppy/osu/issues/31956.
2025-02-20 14:38:54 +01:00
Dean Herbert
4c934dae51
Merge pull request #31774 from frenzibyte/carousel-v2-implement-designs
Implement designs for beatmap carousel v2
2025-02-20 17:56:40 +09:00
Dean Herbert
df5fe07995
Merge pull request #31941 from bdach/fix-multi-spectator-freestyle
Fix multiplayer spectator not working with freestyle
2025-02-20 16:25:09 +09:00
Dean Herbert
81b4f0d8ca
Add comments regarding jank 2025-02-20 15:49:40 +09:00
Dean Herbert
1c53d93a8f
Add disposal and pre-check before reloading audio track 2025-02-20 15:32:47 +09:00
Dean Herbert
e15d5a155e
Merge pull request #31945 from peppy/update-framework
Update framework
2025-02-20 15:22:13 +09:00
Dean Herbert
4da3752f95
Update flag test resources in line with web rename 2025-02-20 14:42:26 +09:00
Dean Herbert
e91706f418
Update framework 2025-02-20 14:26:33 +09:00
Salman Alshamrani
092d80cf1b Fix PanelBeatmapStandalone not handling selection state 2025-02-19 10:20:04 -05:00
Bartłomiej Dach
a274b9a1fd
Fix test 2025-02-19 15:24:58 +01:00
Bartłomiej Dach
f9d91431fd
Fix multiplayer spectator not working with freestyle
It's no longer possible to just assume that using the ambient
`WorkingBeatmap` is gonna work.

Bit dodgy but seems to work and also I'd hope that `WorkingBeatmapCache`
makes this not overly taxing. If there are concerns this can probably be
an async load or something.
2025-02-19 15:15:21 +01:00
Dean Herbert
a971013d19
Merge pull request #31940 from bdach/notify-discussion-replies
Send "notify on discussion replies" setting value in beatmap creation request
2025-02-19 23:13:12 +09:00
Bartłomiej Dach
aa9e1ac8b4
Specify endpoint for production instance of beatmap submission service 2025-02-19 12:46:04 +01:00
Bartłomiej Dach
687c9d6e17
Send "notify on discussion replies" setting value in beatmap creation request 2025-02-19 12:45:37 +01:00
Dean Herbert
7566da8663
Add sleep to reduce spinning when waiting on two factor auth 2025-02-18 23:52:55 +09:00
Dean Herbert
b905a92b20
Merge pull request #31925 from bdach/wtfffffffffff
Fix several issues with API login flow which manifest on second factor authentication
2025-02-18 23:52:42 +09:00
Dean Herbert
66f7f92469
Merge pull request #31928 from bdach/perform-on-selection-is-weird
Fix nudging objects in catch editor not changing their hyperdash state
2025-02-18 21:17:10 +09:00
Dean Herbert
bbcc6b4cae
Merge pull request #31926 from bdach/accidentally-a-return
Fix beatmap export failure not aborting submission process
2025-02-18 20:17:20 +09:00
Bartłomiej Dach
e6174f195c
Ensure EditorBeatmap.PerformOnSelection() marks objects in selection as updated
Closes https://github.com/ppy/osu/issues/28791.

The reason why nudging was not changing hyperdash state in catch was
that `EditorBeatmap.Update()` was not being called on the objects that
were being modified, therefore postprocessing was not performed,
therefore hyperdash state was not being recomputed.

Looking at the usage sites of `EditorBeatmap.PerformOnSelection()`,
about two-thirds of callers called `Update()` themselves on the objects
they mutated, and the rest didn't. I'd say that's the failure of the
abstraction and it should be `PerformOnSelection()`'s responsibility to
call `Update()` there. Yes in some of the cases here this will cause
extraneous calls that weren't done before, but the method is already
heavily disclaimed as 'expensive', so I'd say usability should come
first.
2025-02-18 12:06:42 +01:00
Bartłomiej Dach
b3aba537b5
Add missing early return
As spotted in testing with production. Would cause submission to proceed
even if the export did, with an empty archive.
2025-02-18 11:35:29 +01:00
Bartłomiej Dach
98ff4e054a
Merge pull request #31924 from peppy/fix-kiai-fountains-rapid-fire
Fix kiai fountains sometimes not displaying when they should
2025-02-18 11:27:02 +01:00
Bartłomiej Dach
735b1da072
Merge pull request #31922 from peppy/hold-hud-no-block
Stop "hold for HUD" key binding from blocking other key presses
2025-02-18 11:16:52 +01:00
Bartłomiej Dach
930e02300f
Do not allow flushed requests to transition API into Failing state
Flushes are assumed to have already come from a definitive state change
(read: disconnection). Allowing the exceptions that come from failing
the flushed requests to trigger the `Failing` code paths makes
completely incorrect behaviour possible.
2025-02-18 10:20:38 +01:00
Bartłomiej Dach
d6552f00be
Do not attempt to automatically reconnect if there is no login to use
Because it'll fail anyway - there is either no username or no password.
The reason why this is important is that the block was also setting API
state to `Connecting`.
2025-02-18 10:14:00 +01:00
Bartłomiej Dach
8299dfc6f2
Add local guard before scheduled placeholder user set
When API is in `RequiresSecondFactorAuth` state, `attemptConnect()` is
called over and over in a loop, with no sleeping, which means that the
scheduler accumulates hundreds of thousands of these delegates. Sure you
could add a sleep in there maybe, but it seems pretty wasteful to have
the `localUser.IsDefault` guard *inside* the schedule anyway, so this is
what I opted for.
2025-02-18 10:10:51 +01:00
Dean Herbert
7e1984452f
Tidy up remaining common code 2025-02-18 16:52:19 +09:00
Dean Herbert
644fb29843
Fix input handling not matching latest master logic 2025-02-18 16:52:18 +09:00
Dean Herbert
5de9584171
Move PanelXOffset to init property rather than ctor
Feels better to me.
2025-02-18 16:52:18 +09:00
Dean Herbert
88ec204d26
User inheritance to avoid Piece structural nightmare 2025-02-18 16:52:18 +09:00
Dean Herbert
40cae4f0a5
Merge branch 'master' into carousel-v2-implement-designs 2025-02-18 15:49:34 +09:00
Dan Balasescu
cef1d02f3d
Merge pull request #31923 from peppy/fix-editor-slider-selection
Fix selected sliders sometimes not being clickable in editor
2025-02-18 14:31:44 +09:00
Dean Herbert
f5bdbb91d6
Merge pull request #31232 from Plextora/sudden-death-feat
Add "Fail when missing on a slider end" option in Sudden Death mod
2025-02-18 14:25:46 +09:00
Dean Herbert
8e25c94452
Fix kiai fountains sometimes not displaying when they should
The previous logic was very wrong, as the check would only occur on each
beat. But that's not how kiai sections work – they can be placed at any
timestamp, even if that doesn't align with a beat.

In addition, the rate limiting has been removed because it didn't exist
on stable and causes some fountains to be missed. Overlap scenarios are
already handled internally by the `StarFountain` class.

Closes https://github.com/ppy/osu/issues/31855.
2025-02-18 14:12:16 +09:00
Dean Herbert
77e40140e5
Fix selected sliders sometimes not being clickable in editor
Closes https://github.com/ppy/osu/issues/31918.
Regressed with
1648f2efa3
for obvious reasons.
2025-02-18 13:41:30 +09:00
Dean Herbert
2d8e35be32
Add test coverage 2025-02-18 13:08:33 +09:00
Dean Herbert
20dbe096e0
Refactor slightly 2025-02-18 13:04:38 +09:00