47 Commits

Author SHA1 Message Date
Jordan Dominion 3c46164515 ThrowsExactly conversion except harder 2025-08-01 19:37:43 -04:00
Jordan Dominion c5fff694d7 Make the host watchdog use nullable references 2023-11-23 16:49:59 -05:00
Jordan Dominion 1d0371f84a Make TestServerService more analyzer friendly 2023-10-29 16:23:52 -04:00
Jordan Dominion 8b59884bf9 Final ValueTask conversion 2023-10-07 17:41:19 -04:00
Jordan Dominion fdbb87805c Fix failing service test 2023-07-25 07:44:37 -04:00
Jordan Dominion 77cdc19877 Add TestCommon.props for test projects 2023-07-03 22:43:48 -04:00
Jordan Dominion 58cf3d7739 Fix failing test 2023-07-02 04:15:40 -04:00
Jordan Dominion d0d9e7b2ba Switch from .vdproj to .wixprojs
Wix is just better, it drives the fucking Visual Studio installer for gods' sakes. Thankfully, v4 is a whole lot better than v3 in that it's native dotnet tooling.

- Added ability to set base path for loading configuration files.
- Added Service command descriptions for help text.
- New `.exe` installer also installs dotnet dependencies.
- New `.msi` properly invokes configure, sets up and controls service, sends detach stop signal on upgrades, and uses ProgramData for configs with appropriate permissions.
- Remove .deb symlinks in favor of explicitly setting config directory.
- Adjust CI pipeline with new installer changes.
- Appropriately bump TGS migrator version.
2023-07-02 04:08:14 -04:00
Jordan Dominion 61644065c0 Remove net472 Dependency
- Replace service message boxes with P/Invoke.
- Replace service installer with `sc.exe` invocations.
- Add automatic UAC elevation to service.
- Remove unneeded GlobalSuppressions.cs.
- Upgrade Host.Watchdog/Host.Service/Host.Common/Host.Service.Tests to net6.0(-windows).
- Update docs.
2023-06-28 19:15:39 -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
Dominion c5d9122f20 Nuget Package updates
- Contains workaround for breaking change in Microsoft.Data.SqlClient
2023-06-13 19:40:28 -04:00
Dominion 9410795046 Nuget updates + project file cleanups 2023-05-20 16:25:40 -04:00
Dominion a719809c50 GitHub CI speedup attempt
- Switch off verbose console logger, should still run on errors.
- Add GitHubActionsTestLogger, use in CI.
- Pre-build integration tests to get better time metrics.
2023-04-16 23:47:37 -04:00
Dominion f04d1973e7 Fix Sevice logging 2023-03-25 15:48:44 -04:00
Dominion de39cd2a80 Update Nuget Packages. Fix Test projects. Etc... 2023-03-25 15:16:43 -04:00
Jordan Brown b15bcd9fa0 More project standardization 2022-09-19 10:09:53 -04:00
Jordan Brown 28829fafbd Round of package updates 2022-09-16 11:03:04 -04:00
Jordan Brown a18b095d7f Package updates 2021-08-10 19:57:53 -04:00
Jordan Brown b9586c7fee The great stylecop update
Beware those that read into this commit. Here there be style conformance...

Closes #1252
2021-05-09 19:27:09 -04:00
Jordan Brown 6c09d4f9e7 Dependency updates 2021-03-25 12:23:40 -04:00
Jordan Brown 01d4a05c0d Mass Package Upgrade
- Bump all packages as high as possible
  - ASP .NET Core packages to 3.1.10
- Add a warning about the annoying LoggerFactory issue in host watchdog project
- Add missing exception constructors to client
- Switch to using the correct .NET analyzers
2020-12-16 18:46:40 -05:00
Jordan Brown e4255b0a7e Fix test suite 2020-07-18 10:29:36 -04:00
Jordan Brown 1e5f2fc2b6 Switch to GitHub actions for building 2020-07-15 13:22:15 -04:00
Jordan Brown 57a98d3b8f General package update 2020-07-05 12:11:51 -04:00
Jordan Brown b84fa01cd0 Package updates 2020-06-16 20:57:16 -04:00
Jordan Brown d5096f4386 Remove failing asserts (why? IDK) [TGSDeploy] 2020-05-12 15:46:13 -04:00
Cyberboss 26128af015 Further 3.1 fixes 2020-04-19 12:09:09 -04:00
Cyberboss 82e283141e Port remaining C# to .NET Core 3.1
- Add IDatabaseCollection for abstracting DbSet.
2020-04-18 22:56:35 -04:00
Jordan Brown ab55d1f75d Post package upgrade fixes 2019-12-30 20:58:29 -05:00
Jordan Brown 48f4a0716f Update all nuget packages 2019-12-30 17:27:35 -05:00
Jordan Brown e49598a9ce Build system fixes and cleanups 2019-12-30 12:11:09 -05:00
Jordan Brown 8114669a39 Make the project vscode friendly 2018-12-05 11:22:38 -05:00
Jordan Brown c93f2887b2 Merge upstream 2018-11-29 10:21:20 -05:00
Jordan Brown 6ce1b5f026 Fix service test 2018-11-28 17:34:13 -05:00
Jordan Brown c246ea9e62 This fukken service test 2018-11-28 14:33:59 -05:00
Jordan Brown 51da02dd61 Work on adding stylecop with custom anaylsis ruleset. 2018-11-27 17:32:58 -05:00
Jordan Brown bc61c98283 Improve that spurious service test a bit 2018-11-27 16:33:31 -05:00
Cyberboss 2314d3e15c Move the watchdog verify 2018-10-23 15:15:19 -04:00
Jordan Brown 2cfa49c5f4 Fix failing test 2018-10-04 00:38:31 -04:00
Cyberboss f0c9227a2c Add wizard support to service 2018-10-03 15:54:20 -04:00
Cyberboss 86674e60a5 Fix service tests 2018-09-27 15:58:51 -04:00
Cyberboss 08494d83d9 Migrate service project to PackageReferences 2018-09-14 10:30:28 -04:00
Cyberboss 6420e4b923 Formatted all .cs files 2018-08-22 10:12:47 -04:00
Cyberboss 4f59d9717c Fix up the dynamic loading stuff 2018-07-25 10:34:46 -04:00
Cyberboss 1af9644d73 More user stuff, other fixes 2018-07-20 16:43:48 -04:00
Cyberboss f9799ca51b Progress 2018-04-10 11:07:30 -04:00
Cyberboss 13e1676980 Add service tests 2018-04-06 16:54:41 -04:00