Commit Graph

832 Commits

Author SHA1 Message Date
Dean Herbert e0fdcaf523
Merge pull request #30848 from Joehuu/dicord-fix-beatmap-button-visibility
Fix discord "view beatmap" button being shown when editing and hide identifiable information is set
2024-11-28 13:29:09 +09:00
Salman Alshamrani 24c0799680 Move beatmap ID lookup to `UesrActivity` 2024-11-27 16:54:51 -05:00
Joseph Madamba 62837c7e53
Fix discord "view beatmap" button being shown when editing and hide identifiable information is set 2024-11-22 17:35:33 -08:00
Salman Alshamrani 74daf85e48 Replace bindable with an event 2024-11-18 06:47:22 -05:00
Salman Alshamrani 4a628287e2 Decouple game-wide ruleset bindable and refactor `LocalUserStatisticsProvider`
This also throws away the logic of updating
`API.LocalUser.Value.Statistics`. Components should rely on
`LocalUserStatisticsProvider` instead for proper behaviour and ability
to update on statistics updates.
2024-11-17 18:13:37 -05:00
Salman Alshamrani 6c8a900dcc Merge branch 'master' into user-statistics-provider 2024-11-17 15:34:56 -05:00
Dan Balasescu c578c46a07
Update Velopack to 0.0.915 2024-11-16 02:03:48 +09:00
Bartłomiej Dach 8076113907
Revert velopack
Because even if you somehow bypass the breakage that bricks your install
by installing the missing libssl-1.0 or whatever
(https://github.com/ppy/osu/issues/30648#issuecomment-2478856055),
there's another brick upstream
(https://github.com/ppy/osu/issues/30648#issuecomment-2478926177,
https://github.com/velopack/velopack/issues/355).

Can we even downgrade like this? No idea. How does one test this? No
idea. At this point I am like a headless chicken, screaming into the
void trying to restore any semblance of order into my crumbling
universe.

If this is tried and linux is still broken with the libssl garbage, then
the `osulazer-2024.1115.1-linux-x64-*.nupkg` assets should be pulled
from the release, which should be enough to stop the game from
auto-updating. Maybe the appimage itself can stay up and people can
upgrade manually if they so desire. Or maybe not. Who knows.
2024-11-15 15:32:03 +01:00
Dean Herbert 0760451f3f
Merge branch 'master' into user-statistics-provider 2024-11-13 15:21:55 +09:00
Dean Herbert ee4d58544d
Update framework (and other common packages) 2024-11-11 21:58:13 +09:00
Dan Balasescu 8d7b19d6cf
Fix incorrectly translated NVAPI ABI 2024-11-09 15:11:47 +09:00
Bartłomiej Dach d8fc7b1803
Add extended logging to NVAPI operations
To help diagnose https://github.com/ppy/osu/issues/30546.
2024-11-08 10:29:13 +01:00
Salman Alshamrani 663b769c71 Update `DiscordRichPresence` to use new statistics provider component 2024-10-25 03:30:43 -04:00
Bartłomiej Dach a7fcfd5f0d
Fix discord RPC complaining yet again if given a single space character as activity state / details
Closes https://github.com/ppy/osu/issues/30178.

Really, discord?
2024-10-10 13:59:18 +02:00
Dean Herbert 68ebf64b2d
Fix dependabot line endings 2024-10-09 12:36:44 +09:00
dependabot[bot] 6a754222e4
Bump System.IO.Packaging from 8.0.0 to 8.0.1 in /osu.Desktop
Bumps [System.IO.Packaging](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.IO.Packaging
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 01:30:23 +00:00
Dan Balasescu c3f2c82b10
Remove unused parameter 2024-10-07 19:48:57 +09:00
Dan Balasescu 7cc6fe3819
Return true while in gameplay
A `false` value marks the user as being on the latest release, and
notifies them as such when clicking the button in settings. In reality,
we don't know whether this is the case yet - we're just deferring the
check.

Somewhat minor change because the chance of a user manually going into
settings and clicking the button is very small.
2024-10-07 19:35:09 +09:00
Dean Herbert 38ee824b12
Add second call of `runOutsideGameplay` on update progress notification
At this point the update is already started in the background but I
guess we can still block the notification from interrupting the user.
2024-10-07 17:07:25 +09:00
Dean Herbert 1f45b2134f
Remove unnecessary `runOutsideOfGameplay` call 2024-10-07 17:04:52 +09:00
Dean Herbert 8773c34fdd
Rename enum to non-plural now that it won't conflict 2024-10-01 19:55:46 +09:00
Dean Herbert 4b1c2c09ee
Avoid updates and update notifications appearing in more gameplay cases 2024-10-01 17:53:59 +09:00
Dean Herbert ad3007eaad
Adjust `ILocalUserPlayInfo` to expose whether gameplay is in a paused/break state 2024-10-01 17:53:46 +09:00
Dean Herbert 9e9bfc3721
Update velopack with zstd changes
Closes https://github.com/ppy/osu/issues/29810.
2024-09-27 12:48:50 +09:00
Dean Herbert df0966abb2
Update velopack and switch to using async version of `WaitExitThenApplyUpdates` 2024-09-26 01:12:19 +09:00
Dean Herbert 18ab4ee929
Merge pull request #29812 from smallketchup82/add-beatmap-icon
Add beatmap icon to windows beatmap files
2024-09-14 10:14:30 +09:00
Dean Herbert eb102479f4
Use beatmap icon for `.osr` and `.osk` for now 2024-09-14 02:47:19 +09:00
Dean Herbert 1204136af8
Update icon file with new design 2024-09-14 02:46:19 +09:00
Dan Balasescu fd887b24fa
Merge pull request #29805 from smallketchup82/complete-disable-velopack
Completely disable Velopack when using an external updater
2024-09-11 16:27:24 +09:00
Dean Herbert 02f8f226f8
Merge pull request #29787 from peppy/fix-restart-notifications
Fix restart notifications appearing every 30 minutes in some cases
2024-09-11 02:59:59 +09:00
smallketchup82 f716cb4a7c
Change to using osu!(lazer) 2024-09-09 16:11:28 -04:00
smallketchup82 4ada0bf787
Differentiate lazer in menus 2024-09-09 12:49:36 -04:00
Dean Herbert 63b6f36a29
Add missing `.` 2024-09-09 18:09:28 +09:00
smallketchup82 d451415d5c
Move environment variable logic to static bool in OsuGameDesktop 2024-09-09 03:28:50 -04:00
smallketchup82 4ff72c5331
Add beatmap icon to windows beatmap files 2024-09-09 03:04:16 -04:00
smallketchup82 bf3597f711
Merge branch 'master' into complete-disable-velopack 2024-09-08 21:33:50 -04:00
Dean Herbert 19e4cc84d5
Also schedule a re-check on download failure 2024-09-09 01:58:09 +09:00
Dean Herbert 10e84d72e5
Fix restart notifications appearing every 30 minutes
If a user was to manually check for updates via the button, the recheck
would have been fired. This is a recent regression.

I kinda want to reorganise this code (the button press for check for
udpates shouldn't even get close to the recheck code IMO) but for now
this seems like one we should quickly fix.

Addresses https://github.com/ppy/osu/discussions/29774.
2024-09-08 23:13:17 +09:00
smallketchup82 4cf057db8f
Completely disable velopack when using external update manager 2024-09-08 01:17:18 -04:00
Dean Herbert 9b189fd244
Fix windows check weirdness 2024-09-07 13:58:17 +09:00
smallketchup82 575da0992f
Fix file associations not updating & uninstalling 2024-09-06 16:16:40 -04:00
Dean Herbert abd74ab41c
Add note about being able to apply a newer update during runtime 2024-09-04 19:41:40 +09:00
Dean Herbert e564e8c048
Add todo about fixing stutter on update application 2024-09-04 16:08:18 +09:00
Dean Herbert b61023385a
Don't log probable network failures to sentry 2024-09-03 19:16:15 +09:00
Dean Herbert 08224b416e
Simplify update process by caching pending update info and early-handling edge case 2024-09-03 19:11:34 +09:00
Dean Herbert cd9b82253e
Pass through correct update to apply when calling `WaitExitThenApplyUpdates` 2024-09-02 17:20:33 +09:00
Dean Herbert 68e6fa286e
Make comment about velopack's init a bit more loud 2024-09-02 16:46:29 +09:00
Dean Herbert f8a6a6a8ae
Request restart asynchronously to avoid blocking update thread 2024-09-02 16:43:46 +09:00
smallketchup82 42e1168b35
Remove github token variable & pass null for the github token 2024-09-02 01:23:05 -04:00
Dean Herbert b990af6ada
Use full name 2024-09-02 13:08:14 +09:00