Commit Graph
9876 Commits
Author SHA1 Message Date
Jordan Dominion 8a4328bb4e Switch from .WithToken to .WaitAsync 2023-06-26 00:05:19 -04:00
Jordan Dominion 9301b504e2 Fix paths in Windows CI test 2023-06-26 00:05:19 -04:00
Jordan Dominion 2a3a72a1e7 Convert to BackgroundService where applicable
Also fix case of localhost SqlServer in SetupWizard
2023-06-26 00:04:55 -04:00
Jordan Dominion e0e9d9bce1 Fix SystemD log suppression 2023-06-25 22:59:05 -04:00
Jordan Dominion 337258d3dc Fix .deb installation command 2023-06-25 22:59:04 -04:00
Jordan Dominion b0c8917b62 Rename .vdproj CI build step 2023-06-25 21:53:31 -04:00
Jordan Dominion d869c60f7c Configure project in main solution breaks CodeQL
Removes it
2023-06-25 21:53:22 -04:00
Jordan Dominion 52fdaf3955 Add sane defaults to SetupWizard yes/no prompts 2023-06-25 21:32:10 -04:00
Jordan Dominion 3861d2db8d Disallow msi upgrades
See https://stackoverflow.com/a/14736573

Also set some additional .vdproj fields
2023-06-25 21:00:34 -04:00
Jordan Dominion 12e71119c5 Add missing restore to packaging script 2023-06-25 21:00:34 -04:00
Jordan Dominion 7940d301d3 Fix service closing pipe after sending command 2023-06-25 21:00:33 -04:00
Jordan Dominion 141a944bf0 Remove unnecessary .sln build dependency 2023-06-25 21:00:32 -04:00
Jordan Dominion 1da9370a44 Use SystemD journal if file logging is disabled 2023-06-25 21:00:32 -04:00
Jordan Dominion 3d17597ddc We should now be implicitly upgradable in winget 2023-06-25 21:00:31 -04:00
Jordan Dominion 5e80f0259f Fix the implementation of -r in service project 2023-06-25 21:00:31 -04:00
Jordan Dominion 13d9a92abb Run configure app as winforms to be non-intrusive 2023-06-25 21:00:30 -04:00
Jordan Dominion 96d65d1f20 Do not inject IGitHubService, require factory 2023-06-25 21:00:29 -04:00
Jordan Dominion 3be3d81a79 Remove the need for DesignTime config 2023-06-25 21:00:29 -04:00
Jordan Dominion f7a52c98ff Fix BYOND installer creating BYOND directory in Windows service installation 2023-06-25 21:00:28 -04:00
Jordan Dominion 7fcc1e8208 Fix .vdproj ProductCode and ProductVersion
Also change installation folder name to just `tgstation-server`
2023-06-25 21:00:27 -04:00
Jordan Dominion a6c85366ae Add Windows service commands 128, 129, and 130
- 128 triggers a server shutdown.
- 129 and 130 are identical to SIGUSR1 and SIGUSR2 respectively, triggering a graceful shutdown and detaching shutdown respectively.
- These are implemented via pipes and are preferred to using the update path going forward. Should eventually replace the param entirely at the next possibility.
- New service params to detach and restart any running server as opposed to stopping entirely.
- Defer all service control to Service executable from Configure app.
- Console runner returns non-zero on error.
- Fix setting ACL of appsettings.Production.yml.
2023-06-25 21:00:26 -04:00
Jordan Dominion de7d93d218 Fix cd backup in build_package.ps1 2023-06-25 21:00:25 -04:00
Jordan Dominion 375895a5cd A bunch of .vdproj fixups
I can't read the diff because of this fucking project format
2023-06-25 12:37:09 -04:00
Jordan Dominion 4f0d3876e3 Set ACL info in configure script 2023-06-25 12:34:33 -04:00
Jordan Dominion ebadd12cc4 Use windows targeted net6.0 for configure project 2023-06-25 12:34:16 -04:00
Jordan Dominion 2760060969 dotnet commands here do not speed up the build 2023-06-25 12:33:19 -04:00
Jordan Dominion 1a472a4cf1 Add configure shortcut to start menu 2023-06-25 12:33:18 -04:00
Jordan Dominion cde647bc63 Fix .msi shortcut icon 2023-06-25 12:33:17 -04:00
Jordan Dominion 5202a79d81 Rename manifest.xml to uac_elevation_manifest.xml 2023-06-25 12:09:44 -04:00
Jordan Dominion 54a524b037 Add missing manifest.xml to docker context 2023-06-25 12:09:43 -04:00
Jordan Dominion 84ccd19295 Test deb install and uninstall 2023-06-25 12:09:43 -04:00
Jordan Dominion 8956a43e03 Test uninstall .msi in CI 2023-06-25 10:40:46 -04:00
Jordan Dominion 2c2797134d Fix .msi packaging failing due to non-existent dir 2023-06-25 10:35:32 -04:00
Jordan Dominion 8e0b8ce4eb Fix .deb build 2023-06-25 10:31:03 -04:00
Jordan Dominion f1f9a2b62f Test .msi installation in CI 2023-06-25 10:03:13 -04:00
Jordan Dominion 8614b07a9e Start service if configured during installation 2023-06-25 10:02:13 -04:00
Jordan Dominion e5858d02f4 Enable (roughly) upgrading the installation 2023-06-24 11:02:10 -04:00
Jordan Dominion 15a996f785 Add .msi variables README.md 2023-06-24 09:48:37 -04:00
Jordan Dominion 6107853278 Remove vscode files until someone decides to maintain them 2023-06-24 09:40:06 -04:00
Jordan Dominion 108e04d485 Rename -NoService configs to -NoFramework
Better represents of what they are
2023-06-24 09:39:04 -04:00
Jordan Dominion b2414fa92d Installer should now be x86 compatible 2023-06-24 09:32:18 -04:00
Jordan Dominion 55a7d656a9 Remove useless install folder 2023-06-24 09:29:25 -04:00
Jordan Dominion bc87686f97 Remove installer prequisites
- It's just a useless prompt
2023-06-24 09:28:23 -04:00
Jordan Dominion 547edb165b Fix Service project build errors 2023-06-24 09:27:02 -04:00
Jordan Dominion 8ee8baf897 Standalone .sln for .Msi project
Fixes it breaking all the other CI builds
2023-06-24 09:25:34 -04:00
Jordan Dominion 036a079b51 Add missing checkout to build-msi and build-deb 2023-06-24 08:53:10 -04:00
Jordan Dominion 5f353b4e2b .msi + winget package initial support 2023-06-24 03:13:40 -04:00
Jordan DominionandGitHub e147256172 Merge pull request #1571 from tgstation/MoreDebGotchas
.Deb Finalization
2023-06-24 00:39:53 -04:00
Jordan Dominion 2102a83332 Guard against PInvoke exceptions calling sd_notify 2023-06-23 23:27:06 -04:00
Jordan Dominion 259eb8b2b3 Fix Live tests having no file logs 2023-06-23 23:11:15 -04:00