Commit Graph

723 Commits

Author SHA1 Message Date
85ebc8e06c Fix potentially overwriting user ID from failed request 2021-02-17 07:50:14 +03:00
705e926749 Fix attempting to populate users with invalid IDs 2021-02-17 07:50:14 +03:00
3b4e02e5c7 Fix user population not immediate on bracket loading 2021-02-17 07:50:14 +03:00
7d057ab6ce Fix two threading issues 2021-02-12 22:38:55 +09:00
725db56837 Add loading spinner while tournament bracket is loading / retrieving data 2021-02-12 16:55:34 +09:00
81ab82fafe Tidy up nesting 2021-01-26 19:16:38 +09:00
64a3c712aa Rename class and add xmldoc 2021-01-26 19:15:19 +09:00
a5f3418e56 Avoid tooltip display 2021-01-26 19:11:19 +09:00
b036f0165a move value set to constructor and make private readonly 2021-01-25 15:47:31 +01:00
331a7d0590 Merge branch 'master' into osu-mod-icon-fallbacks 2021-01-25 15:00:48 +01:00
a741d91aed use null propragtor for Ruleset.Value and rulset instead of null checks 2021-01-25 14:57:35 +01:00
6a85f5ca8b Add null checks to prevent nullrefexception in automated test 2021-01-25 14:21:53 +01:00
ca08a19c40 Rename mod to modIcon 2021-01-25 13:28:46 +01:00
74310da7cf Change parameter to be singular mod instead of plural 2021-01-25 13:24:43 +01:00
f89eb7d75d Split and rename TournamentModDisplay component 2021-01-25 13:22:37 +01:00
c6d46129ad Remove unneccessary ruleset parameter 2021-01-24 23:33:02 +01:00
d38db6eace Change ModSprite to use ruleset's mods directly. 2021-01-24 23:29:05 +01:00
eaa1519710 Implement native osu!lazer mod icons for tournament 2021-01-24 18:41:45 +01:00
a8fa09103c Update match start text prefix in real time 2021-01-23 17:16:13 +01:00
c30b700b3a "started" for past matches
fixes grammar error at 'coming up next' section in schedule screen which displays schedule like "starting an hour ago" for past matches
2021-01-24 00:26:52 +09:00
f65042cf44 Add missing licence headers 2021-01-11 15:47:27 +09:00
c9466426b7 Change field to local variable 2021-01-11 14:45:01 +09:00
7a7c583ded Move setup screen classes out of single file and into their own namespace 2021-01-11 14:44:07 +09:00
bd627534b7 Use disabled state instead of hiding button 2021-01-11 14:38:51 +09:00
ba3a7a0501 Clean up code 2021-01-11 14:38:42 +09:00
49057e8cbc Cache TournamentStorage explicitly for better safety 2021-01-11 14:38:42 +09:00
f466791b69 Move assignments to the TournamentSwitcher component
This also adds conditional checks for displaying the "Close osu!" button
2021-01-10 17:34:20 +01:00
959696c296 Merge branch 'master' into tourney-switching-ui 2021-01-10 17:34:03 +01:00
82725b59c0 Use PointConverter 2021-01-09 00:56:54 +09:00
9182f5dafb Switch to using an anonymous type for serialisation
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2021-01-09 00:38:38 +09:00
a6766e64de Add custom handling of Point serialization to fix startup crashes of tournament client
SixLabors moved their data types around in a recent update (see
https://github.com/ppy/osu-framework/pull/4025) and it was deemed that
we should prefer `System.Drawing` primitives where possible.

This was applied to the tournament client via
https://github.com/ppy/osu/pull/11072 without correct consideration
given to the fact that we serialize these types.

`System.Drawing.Point` serializes into a comma separated string, which
seems to be less correct than what we had, so I've switched back to the
old format for the time being. We can reasses this in the future; the
main goal here is to restore usability to the tournament client.

Closes #11443.
2021-01-08 17:08:10 +09:00
8e428353ee Revise TournamentSwitcher to include a close button 2020-12-26 15:44:59 +01:00
6002014f95 Change underlyingstorage to alltournaments for clarity 2020-12-07 22:07:54 +01:00
f980f41324 Address review 2020-12-07 21:38:15 +01:00
191f863a49 Remove unncessary words from the description 2020-12-07 13:14:59 +01:00
eda6e1fbdd Add tournament switching in the UI 2020-12-07 13:11:13 +01:00
78c43641d1 Update imagesharp namespaces (and consume System.Drawing types instead) 2020-12-03 17:43:09 +09:00
c9429632f4 Resolve new NRE inspections 2020-12-01 22:39:10 +01:00
b236c75ac8 Bump Microsoft.Win32.Registry from 4.7.0 to 5.0.0
Bumps [Microsoft.Win32.Registry](https://github.com/dotnet/runtime) from 4.7.0 to 5.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 17:32:24 +00:00
86ef73c587 Merge pull request #10830 from Joehuu/consistent-tournament-strings
Make tournament strings more consistent
2020-11-16 16:20:49 +09:00
610ed99ae3 Add null checks to unguarded resolved-as-null fields 2020-11-14 14:52:58 +01:00
706d7890b4 Make tournaments strings more consistent 2020-11-13 13:25:45 -08:00
1e1569eb53 Use int instead of long for user_id fields for now 2020-11-06 12:59:46 +09:00
ac13a1d217 Adjust a couple of flag scales to match previous display size 2020-10-26 14:27:55 +09:00
c24a29d1ac Update flag scale of drawablematchteam 2020-10-23 14:23:08 +02:00
ae9e60560b Fixed gameplay flags being bigger and changed values to make more sense 2020-10-23 14:11:29 +02:00
afa86f959f Changed scales of Seeding and Win screen to match the original
These were measured by pixel-to-pixel comparing master vs this branch in ShareX at the same resolution.
2020-10-19 23:38:06 +02:00
1c073a9ea5 Merge branch 'master' into flag-fit 2020-10-19 22:27:48 +02:00
daceb0c049 Fix texture store not being initialised correctly
Without this change flags/mods would not work as expected. The video
store was being added as the texture store incorrectly.
2020-10-19 15:48:34 +09:00
3f41003d35 Move video store out of TournamentStorage
There was no reason it should be nested inside.
2020-10-19 15:48:15 +09:00