37 Commits

Author SHA1 Message Date
Jordan Dominion 8b59884bf9 Final ValueTask conversion 2023-10-07 17:41:19 -04:00
Jordan Dominion 77cdc19877 Add TestCommon.props for test projects 2023-07-03 22:43:48 -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 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 de39cd2a80 Update Nuget Packages. Fix Test projects. Etc... 2023-03-25 15:16:43 -04:00
Jordan Brown 65ec6a0e98 Remove ConfigureAwait(false) in top level projects 2022-09-19 10:19:08 -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 6960525688 Update to .net-6.0. Fix errors and warnings
- Address various IDE messages
- Additional logging
- Do not access DB in Watchdog's actual Dispose
- Fix issue with legacy behaviour in PGSQL
- Remove obsolete dotnet workaround
- Update to v3 actions checkout/upload-artifact/download-artifact
2022-09-13 18:41:18 -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
Cyberboss 26128af015 Further 3.1 fixes 2020-04-19 12:09:09 -04:00
Jordan Brown d9a744e063 Upgrade all frameworks except Tgstation.Server.Host
- All executables/tests to .NET Core 3.1
- All libs to .NET standard 2.1
- Exclude Tgstation.Server.Host and dependencies
- Exclude Watchdog library due to .NET framework incompatibility
2020-04-18 16:30:45 -04:00
Jordan Brown 64cb53114c Migrate frameworks to .NET Core 2.2 2020-03-28 12:53:48 -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 8114669a39 Make the project vscode friendly 2018-12-05 11:22:38 -05:00
Jordan Brown 51da02dd61 Work on adding stylecop with custom anaylsis ruleset. 2018-11-27 17:32:58 -05:00
Jordan Brown 4f0d8162cf Update packages to stable 2018-11-02 11:17:25 -04:00
Cyberboss f0c9227a2c Add wizard support to service 2018-10-03 15:54:20 -04:00
Cyberboss 5f5cd5cea4 Bump project files properly to net core 2.1 2018-09-17 14:25:18 -04:00
Cyberboss 651aadb98b Update most nuget packages 2018-09-14 10:25:43 -04:00
Cyberboss 1af9644d73 More user stuff, other fixes 2018-07-20 16:43:48 -04:00
Cyberboss 9415ef722a Make things reference the watchdog instead of the host directly 2018-04-05 12:46:57 -04:00
Jordan Brown e7548f0205 Write the service runner, remove the tests because the ServiceBase pattern can't achieve 100% code coverage 2018-04-04 20:43:13 -04:00
Jordan Brown 15dc6bb2de Implement some server and console stuff 2018-04-04 20:29:48 -04:00
Cyberboss 4e1900fb37 Adds skeleton projects and dependencies 2018-03-28 15:34:02 -04:00
Cyberboss 6a94907392 Add skeleton project 2018-03-28 12:20:59 -04:00