Commit Graph

37870 Commits

Author SHA1 Message Date
4d04e0dee7 Disallow entering the playlists/multiplayer screens if API is failing 2020-12-29 16:25:51 +09:00
03b78d1c4b Handle SocketExceptions and HttpRequestExceptions more silently
These can occur when a network connection is completely unavailable (ie.
host resolution failures are occurring). Currently these would appear as
important errors which spammed the notification overlay every retry
forever, while no network connection is available.

I also took this opportunity to remove a lot of `bool` passing which was
no longer in use (previously the fail count / retry process was
different to what we have today).
2020-12-29 16:22:11 +09:00
db52255bbe Adjust tracker usages to match new API 2020-12-29 08:20:43 +01:00
f59ba799d3 Adjust operation tracker implementation 2020-12-29 07:54:27 +01:00
9ff2140232 Move ready-up logic to match sub-screen 2020-12-29 07:52:15 +01:00
903dca875e Make localUser a client property 2020-12-29 07:46:22 +01:00
f68e4fc88f Merge branch 'master' into disable-repeat-multi-actions 2020-12-29 07:42:20 +01:00
2cb84c5111 Fix error message being shown to user on multiplayer disconnection when not in room 2020-12-29 15:19:52 +09:00
45c578b857 Remove selection polling from multiplayer
Looks like this was just copy-paste without any thought into whether it
should exist. It really shouldn't exist.

This is a thing for the playlists system because the *whole system*
there relies on polling the web API to get updated information. In the
case of mutliplayer, we hand off all communications to the realtime
server at the point of joining the rooms.

The argument that this was there to do faster polling on the selection
isn't valid since the polling times were the same for both cases.

Closes #11348.
2020-12-29 15:10:09 +09:00
d155f2c0e9 Merge pull request #11351 from bdach/client-playing-users
Change PlayingUsers population logic to match expectations
2020-12-29 15:04:33 +09:00
f31a0e455a Minor xmldoc rewording 2020-12-29 14:29:40 +09:00
e3a41f6118 Rename variable to make more sense
It needs to be explicitly stated that the users in this list are related
to the *joined* room. Especially since it's sharing its variable name
with `SpectatorStreamingClient` where it has the opposite meaning (is a
list of *globally* playing players).
2020-12-29 14:27:35 +09:00
6aeb7ece66 Tidy up update state code, naming, xmldoc 2020-12-29 14:25:08 +09:00
48019a82b0 Merge pull request #11356 from TheOmyNomy/fix-cursor-trail-blending
Change cursor trail blending mode based on cursor trail type to match stable behaviour
2020-12-29 11:38:31 +09:00
355ecc4499 Change cursor trail blending mode to match stable 2020-12-29 12:37:57 +11:00
540dec2e7c Allow null tracker in lounge screen for tests 2020-12-28 22:54:52 +01:00
6dc0f6af50 Disable setting apply button for duration of operation 2020-12-28 22:48:03 +01:00
af66e45311 Disable create room button after triggering join 2020-12-28 22:48:03 +01:00
47ab7c9fd6 Disable ready button after host click 2020-12-28 22:48:03 +01:00
9e6994166c Add helper to track ongoing operations in UI 2020-12-28 22:48:03 +01:00
770a5a85df Merge Intent.ActionSend into one IntentFilter
Co-authored-by: Lucas A. <game4allyt@gmail.com>
2020-12-28 20:57:08 +01:00
f7407347f7 Add test coverage of PlayingUsers tracking 2020-12-28 20:07:05 +01:00
a014d0ec18 Use PlayingUsers when constructing player directly 2020-12-28 19:27:56 +01:00
1d311a6680 Change PlayingUsers population logic to match expectations 2020-12-28 19:27:56 +01:00
d2301068b6 Fix changelog header staying dimmed after build show 2020-12-28 16:35:33 +01:00
d971aa5295 Remove file intents and add Send intent
Removed IntentFilters with DataScheme = "file"
Added Intent.ActionSend with application/octet-stream and application/zip
2020-12-28 15:54:21 +01:00
b352c1503f Fix IntentFilter capturing all file types
Removed string arrays and split the IntentFilter into multiple. Also added DataHost and DataMimeType
2020-12-28 15:13:33 +01:00
9155671557 Merge pull request #11341 from peppy/fix-leaderboard-user-handling
Fix incorrect null handling in GameplayLeaderboard
2020-12-28 22:44:55 +09:00
2e88036f39 Merge pull request #11342 from bdach/fix-beatmap-not-reverting
Fix user changes in multi song select not reverting on exit without confirmation
2020-12-28 21:56:07 +09:00
a376a23ed7 Merge branch 'master' into fix-leaderboard-user-handling 2020-12-28 13:43:53 +01:00
a9822800fc Add more null hinting in GameplayLeaderboard 2020-12-28 13:00:05 +01:00
92d74a9343 Fix potential nullref in test scene 2020-12-28 20:48:14 +09:00
1ea42d1e4d Merge pull request #11338 from peppy/fix-user-lookup-failure-crashes
Allow null users to still be displayed in the participant list
2020-12-28 20:44:36 +09:00
f16b516e58 Revert user changes if no selection was made 2020-12-28 12:35:17 +01:00
fb21b7c016 Add failing test cases 2020-12-28 12:35:16 +01:00
6254907ef9 Move multiplayer leaderboard test to correct namespace 2020-12-28 20:31:08 +09:00
8f0413472c Add test coverage of null users in scoreboard 2020-12-28 20:30:08 +09:00
447a55ce11 Fix incorrect null handling in GameplayLeaderboard 2020-12-28 20:16:53 +09:00
20ae84a466 Merge branch 'master' into fix-user-lookup-failure-crashes 2020-12-28 12:15:06 +01:00
545dcac4ec Add null hinting on UserLookupCache query method 2020-12-28 20:13:24 +09:00
5ca9a6a980 Add xmldoc on UserLookupCache's lookup method 2020-12-28 20:05:48 +09:00
cf29d0c5ef Merge pull request #11339 from peppy/update-fastlane 2020-12-28 11:06:55 +01:00
d5b02e6f27 Merge branch 'master' into update-fastlane 2020-12-28 10:32:43 +01:00
e33dd04282 Merge pull request #11340 from peppy/update-framework
Update framework
2020-12-28 10:09:23 +01:00
2e3537e966 Update framework 2020-12-28 16:52:54 +09:00
bdbc210f6d Update fastlane and dependencies 2020-12-28 16:51:45 +09:00
046a76cb1d Allow null users to still be displayed in the participant list
The fix here is correcting the access of `user.Country`. The deicision
to have null users display is because this is the best we can do (if
osu-web could not resolve the user). We still want the users in the
lobby to be aware of this user's presence, rather than hiding them from
view.

osu-stable does a similar thing, showing these users as `[Loading]`. I
decided to go with blank names instead because having *any* text there
causes confusion. We can iterate on this in future design updates.
2020-12-28 15:03:44 +09:00
4d61c143db Fix lookup cache throwing a null reference if no matches were successful 2020-12-28 15:03:44 +09:00
69fab7de77 Merge pull request #11307 from bdach/fix-account-creation-overlay-after-logout
Fix account creation overlay not showing up the first time after a log-out
2020-12-28 11:52:48 +09:00
092b22708a Merge pull request #11314 from bdach/changelog-refactor
Refactor changelog code after migrating away from production web instance
2020-12-28 11:39:48 +09:00