1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-11 06:37:19 +08:00

3370 Commits

Author SHA1 Message Date
Dan Balasescu
6e38776130
Fix initial multiplayer room items not having freestyle 2025-03-06 18:55:40 +09:00
Bartłomiej Dach
0ac3a80406
Fix "use these mods" option showing if it can't do anything
Closes https://github.com/ppy/osu/issues/32230.
2025-03-05 09:40:11 +01:00
Bartłomiej Dach
d9a1dcf9b9
Fix "use these mods" option applying to system mods
Closes https://github.com/ppy/osu/issues/32229.
2025-03-05 09:25:56 +01:00
Bartłomiej Dach
28be0e31c2
Merge pull request #32214 from smoogipoo/fix-multi-user-kick-threading
Fix thread safety when kicking multiplayer users
2025-03-04 09:24:08 +01:00
Dean Herbert
4a16b4bd98
Fix typo in xmldoc 2025-03-04 16:15:40 +09:00
Dan Balasescu
77d5b1d5dd
Fix multiplayer not joining correct chat channel 2025-03-04 14:45:23 +09:00
Dan Balasescu
4a00662092
Fix thread safety when kicking multiplayer users 2025-03-04 14:02:45 +09:00
Dean Herbert
58a671decb
Merge pull request #31637 from smoogipoo/room-management-lio
Create, join, and part multiplayer rooms only via the multiplayer server
2025-03-04 13:13:55 +09:00
Dan Balasescu
3024a98658
Fix unable to join multiplayer rooms with many users 2025-03-04 12:34:11 +09:00
Bartłomiej Dach
c4e37a1566
Merge pull request #32109 from smoogipoo/results-beatmap-lookup
Fix multiplayer results screen displaying same beatmap for all users
2025-02-28 12:36:28 +01:00
Dan Balasescu
a09ef5d96d
Fix API room host not being populated 2025-02-28 15:52:02 +09:00
Dan Balasescu
47ca5c90a5
Refactor post-join setup to not pass delegates around 2025-02-27 14:50:35 +09:00
Dan Balasescu
a33aff9bbd
Merge branch 'master' into room-management-lio 2025-02-27 14:14:19 +09:00
Dean Herbert
c45a403fe2
Mostly revert sizes 2025-02-26 18:00:18 +09:00
Dean Herbert
e8b7ec0f95
Adjust leaderboard score design slightly
This design is about to get replaced, so I'm just making some minor
adjustments since a lot of people complained about the font size in the
last update.

Of note, I'm only changing the font size which is one pt size lower than
we'd usually use. Also overlapping the mod icons to create a bit more
space (since there's already cases where they don't fit).

Closes https://github.com/ppy/osu/issues/32055 as far as I'm concerned.
I can read everything fine at 0.8x UI scale.
2025-02-26 17:01:51 +09:00
Dan Balasescu
dfae11101f
Populate playlists results screen with online beatmaps 2025-02-25 22:37:12 +09:00
Bartłomiej Dach
d8cb3b68d3
Add "Team" channel type
The lack of this bricks chat completely due to newtonsoft
deserialisation errors:

	2025-02-24 08:32:58 [verbose]: Processing response from https://dev.ppy.sh/api/v2/chat/updates failed with Newtonsoft.Json.JsonSerializationException: Error converting value "TEAM" to type 'osu.Game.Online.Chat.ChannelType'. Path 'presence[39].type', line 1, position 13765.
	2025-02-24 08:32:58 [verbose]: ---> System.ArgumentException: Requested value 'TEAM' was not found.
	2025-02-24 08:32:58 [verbose]: at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
	2025-02-24 08:32:58 [verbose]: at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
2025-02-24 09:35:51 +01:00
Dan Balasescu
f868f03e1b
Fix host change sounds playing when exiting multiplayer rooms 2025-02-21 16:38:55 +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
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
b86eeabef0
Fix one more misalignment on leaderboard scores 2025-02-14 19:16:03 +09:00
Dean Herbert
4184dd2718
Give more breathing room in leaderboard scores 2025-02-14 17:39:22 +09:00
Dean Herbert
303961d101
Add drawable implementations of team logo 2025-02-14 17:39:21 +09:00
Dean Herbert
88188e8fcb
Add API models for teams 2025-02-14 17:39:20 +09:00
Dan Balasescu
38cd4fa56a
Merge branch 'master' into room-management-lio 2025-02-11 21:19:32 +09:00
Bartłomiej Dach
de0aabbfc5
Add staging submission service URL to development endpoint config 2025-02-07 15:34:52 +01:00
Dean Herbert
ce88ecfb3c
Adjust timeouts to be much higher for upload requests
It seems that right now these timeouts do not check for actual data
movement, which is to say if a user with a very slow connection is
uploading and it takes more than `Timeout`, their upload will fail.

For now let's set these values high enough that most users will not be
affected.
2025-02-07 18:39:01 +09:00
Dean Herbert
6335228fb0
Merge branch 'master' into bss/the-actual-submission 2025-02-07 17:44:48 +09:00
Dean Herbert
41c8f64806
Simplify naming of endpoints 2025-02-07 17:33:32 +09:00
Bartłomiej Dach
e1a146d487
Remove unnecessary suppressions 2025-02-06 08:38:28 +01:00
Bartłomiej Dach
5e74d82fc1
Suppress inspections for now 2025-02-06 08:32:08 +01:00
Bartłomiej Dach
5bcd79956b
Merge branch 'master' into bss/api-setup 2025-02-06 08:30:01 +01:00
Bartłomiej Dach
8940ee5d9c
Add API request & response structures for beatmap submission 2025-02-05 14:00:50 +01:00
Bartłomiej Dach
aaffd72032
Add beatmap submission service URL to endpoint configuration 2025-02-05 13:49:25 +01:00
Bartłomiej Dach
7d299bb2ad
Expose EndpointConfiguration directly in IAPIAccess 2025-02-05 13:31:37 +01:00
Dean Herbert
b7aa71c975
Adjust xmldoc slightly to convey the disposal pattern 2025-02-05 18:24:07 +09:00
Dean Herbert
0d7bbd63fc
Merge branch 'master' into user-panel-status 2025-02-04 22:56:19 +09:00
Dean Herbert
a93dabd33f
Merge branch 'master' into multiplayer-free-style 2025-02-04 21:48:39 +09:00
Dan Balasescu
61419ec9c8
Refactor user presence watching to be tokenised 2025-02-04 17:54:03 +09:00
Dean Herbert
444e0970d6
Standardise naming to use "Freestyle" not "FreeStyle" 2025-02-03 19:01:59 +09:00
Dean Herbert
f24716563c
Merge branch 'master' into user-panel-status 2025-02-03 18:31:28 +09:00
Dean Herbert
facc9a4dc3
Fix reference hashsets getting emptied before used 2025-01-29 19:15:28 +09:00
Dean Herbert
bf40f071eb
Code quality pass 2025-01-29 17:43:49 +09:00
Dan Balasescu
ca979d3542
Adjust xmldocs 2025-01-27 18:32:12 +09:00
Dan Balasescu
ab4162e2aa
Various refactorings and cleanups 2025-01-25 19:32:59 +09:00
Jamie Taylor
79df094f17
Add unique samples for friend online/offline notifications 2025-01-24 23:20:04 +09:00