Commit Graph

54 Commits

Author SHA1 Message Date
Dean Herbert 12a148d108
Use new initialisation structure for github sourced update manager 2023-11-09 12:26:41 +09:00
Dean Herbert 7cf50b1e18 Disallow game to check for updates while gameplay is active 2023-05-23 18:06:04 +09:00
Dan Balasescu 7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
Dean Herbert eca241e9a7 Move `UpdateProgressNotification` to base `UpdateManager` class 2022-09-12 14:52:11 +09:00
Dean Herbert d13e353a53 Fix double colour application in update progress notification
I'd like to restore it to yellow, but let's clean the slate first.
2022-09-02 03:03:35 +09:00
andy840119 8d175bc402 Remove the null check. 2022-08-02 23:14:08 +08:00
andy840119 78cc28d75f Remove nullable disable annotation and fix the api broken. 2022-08-02 22:29:54 +08:00
Dean Herbert 50e40756c4 Rename `GracefullyExit` to `AttemptExit` 2022-06-19 12:34:44 +09:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Salman Ahmed 94335c2938 Update further usages to cache/resolve via interface 2022-04-19 00:18:10 +03:00
Dean Herbert 043599081b Split out `INotificationOverlay` to allow for easier testing 2022-04-18 20:14:01 +09:00
Dean Herbert 6a4d731eb3 Update obsolete usages in line with `Clowd.Squirrel` changes 2022-03-02 17:43:51 +09:00
Dean Herbert 1dc1de3d1f Close a failed update notification immediately
Fixes visual issue pointed out at
https://github.com/ppy/osu/discussions/15653#discussioncomment-1679263.
2021-11-24 19:05:53 +09:00
Dean Herbert d600a73277 Disable cancelling of update via notification 2021-11-17 11:41:42 +09:00
Dean Herbert 47a593ad7d Force a re-check on any exception being thrown 2021-07-12 14:55:09 +09:00
Dean Herbert a9250a0d98 Limit update notifications to once per startup
This logic was intentionally designed to continue to prompt the user to
update if they haven't, but that seems pretty anti-user. The change will
stop the update prompts from showing more than once per game startup,
unless manually invoked by the user a second time.

Closes https://github.com/ppy/osu/issues/13821.
2021-07-09 18:23:30 +09:00
Dean Herbert f2d9d78455 Fix some incorrectly invoked `async` calls 2021-07-02 14:43:48 +09:00
Dean Herbert b1cd01ceb8 Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
Dean Herbert de47392e3d Display the "restart to update" notification on checking for update after dismissal 2020-10-06 13:19:57 +09:00
Dean Herbert 22b0105d62 Show a notification if checking for updates via button and there are none available 2020-10-06 13:00:02 +09:00
Dean Herbert 6beb28b685 Rename method to be less bad 2020-06-12 18:07:39 +09:00
Dean Herbert 95f57ca88c Remove duplicate calls to CheckForUpdatesAsync 2020-06-12 18:05:23 +09:00
Dean Herbert 6296cd62d0 Merge branch 'master' into update-button 2020-06-12 18:00:36 +09:00
Craftplacer 101604e741 Redesign classes and generally improve code 2020-06-08 00:39:33 +02:00
smoogipoo f3b5149648 Move some suggestions to warnings, resolve issues 2020-06-03 16:48:44 +09:00
Craftplacer ebd1df8c28 Change property name to CanCheckForUpdate 2020-05-08 02:50:58 +02:00
Craftplacer 3c24ca08d0 Check whether the build is deployed within the public check updates method 2020-05-08 02:48:27 +02:00
Craftplacer e6ad28a1cb Use property instead of type checking 2020-05-08 02:09:37 +02:00
Craftplacer 836efe3f7c Initial commit 2020-05-07 08:07:22 +02:00
alex 0e2ccac33b Add spaces to comments 2020-05-04 18:36:24 -07:00
Dean Herbert 42b6041763 Move post-update notification logic to UpdateManager base class 2019-09-24 18:37:05 +09:00
Dean Herbert e579bce18a Don't report delta patch failures to sentry 2019-07-29 18:14:06 +09:00
Dean Herbert b901aab19d Fix update notification not correctly restarting the game 2019-07-03 23:06:16 +09:00
Dean Herbert c9104e9176 Fix remaining issues 2019-06-28 21:26:31 +09:00
Dean Herbert 1289b7f5fe Commit missing piece of puzzle 2019-06-28 21:03:35 +09:00
Dean Herbert 1898a6750d Fix stutter during update process 2019-06-28 20:45:25 +09:00
Dean Herbert d557737143 Fix windows updater showing false failures 2019-06-28 20:37:53 +09:00
Dean Herbert 501eaa072e Use local logger 2019-05-15 14:12:59 +09:00
smoogipoo c01841d7d7 Use Logger for squirrel update logs 2019-05-15 11:28:22 +09:00
smoogipoo 1cfb7550ee Fix possible nullref 2019-05-07 13:42:55 +09:00
smoogipoo d7c09e7dbd Merge remote-tracking branch 'origin/master' into fix-new-inspections
# Conflicts:
#	osu.Game.Rulesets.Catch/Judgements/CatchDropletJudgement.cs
#	osu.Game.Rulesets.Catch/Judgements/CatchJudgement.cs
#	osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.cs
#	osu.Game.Rulesets.Osu/Replays/OsuAutoGenerator.cs
#	osu.Game.Rulesets.Osu/UI/Cursor/CursorTrail.cs
#	osu.Game.Tests/Visual/SongSelect/TestCaseBeatmapScoresContainer.cs
#	osu.Game/Graphics/OsuFont.cs
#	osu.Game/Online/API/Requests/Responses/APILegacyScoreInfo.cs
#	osu.Game/Overlays/Profile/Header/BadgeContainer.cs
#	osu.Game/Overlays/Profile/ProfileHeader.cs
#	osu.Game/Screens/Select/PlaySongSelect.cs
#	osu.Game/Skinning/LegacySkinDecoder.cs
2019-05-07 13:20:17 +09:00
Dean Herbert f1952c0816 Update font awesome usage 2019-04-02 19:55:24 +09:00
Dean Herbert c39c37a18d Apply more missed cases 2019-04-01 12:44:46 +09:00
Dean Herbert de80fc0eac Update icon usage to match framework changes 2019-03-27 19:29:27 +09:00
Dean Herbert 8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
Roman Kapustin 4b5fc85875 Use Find instead of FirstOrDefault 2019-01-05 19:35:33 +03:00
Dean Herbert 67a759122a Fix update code crashing when no internet connection is available 2018-12-06 14:59:17 +09:00
smoogipoo f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
Dan Balasescu 777b33b30e
Trim newline 2018-11-20 13:36:50 +09:00
Dean Herbert 375543c644 Add squirrel update log output
Also updates squirrel to latest version.
2018-11-20 13:29:24 +09:00