Commit Graph

202 Commits

Author SHA1 Message Date
Jordan Dominion 882b163e88 Update Octokit.GraphQL 2023-07-24 20:08:05 -04:00
Jordan Dominion 26123c4dfd Nuget package updates 2023-07-20 00:29:03 -04:00
Jordan Dominion f7cf1c2f1b Merge branch 'master' into ReleaseNotesFix 2023-07-14 22:47:37 -04:00
Jordan Dominion 967172e316 Fix ReleaseNotes posting comment when debugging 2023-07-14 16:15:25 -04:00
Jordan Dominion 904adbae9e Rename to Tgstation.Server.ReleaseNotes
Also .gitignore ALL `launchSettings.json`s
2023-07-04 01:12:54 -04:00
Jordan Dominion 7fae741915 Fix Debug build of migrator comms app 2023-07-03 23:17:43 -04:00
Jordan Dominion 9c6dbb4daf Fix calls to ServiceController.GetServices()
Every returned service must always be disposed.
2023-07-03 23:15:07 -04:00
Jordan Dominion b9af8c3200 Update Octokit version in ReleaseNotes 2023-07-03 22:53:55 -04:00
Jordan Dominion fa50b61b8f Activating more style analyzers 2023-07-03 22:36:26 -04:00
Jordan Dominion d5380c5cb9 Bunch of project cleanups and "tgstation-server" string deduping
- Move `Tgstation.Server.Host.Common.Constants` to `Tgstation.Server.Common`.
- Use `Tgstation.Server.Common.Constants.CanonicalPackageName` in strings everywhere where it makes sense.
- Add `SrcCommon.props` to dedupe more .csproj properties.
- Rename `TgsNugetNetVersion` to `TgsNugetNetFramework` and move to `Version.props`.
- Change Nugets packages' author to just `Jordan Dominion`.
- Fix name of wix extensions namespace.
- Update Octokit to `7.0.0`.
- Add missing documentation comment for `PackageReference`.
2023-07-03 22:07:05 -04:00
Jordan Dominion 2e6e2841e5 Add support for changing console title
- Move `VersionExtensions` to `Tgstation.Server.Common`.
- Fix Host watchdog API version specifying `Revision`.
2023-07-02 09:13:27 -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 9923611295 Verbegging 2023-06-26 23:20:32 -04:00
Jordan Dominion a60a51eb8b Fix issues with ReleaseNotes --link-winget 2023-06-26 23:17:35 -04:00
Jordan Dominion f4df9f2f27 ReleaseNotes updates for winget
- Validate the SHA of the PR template so it doesn't go out of date
- Add implementation of `--link-winget` action
- README.md update
2023-06-26 14:09:46 -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 e596110018 Clean up Tgstation.Server.Common
- Move classes to `Http` namespace.
- Give it a unique package version.
- Comment to make me not rage update Nuget libs to .NET 6.
2023-06-10 17:04:04 -04:00
Dominion 1e0c4183fe Bunch of async file stream changes
- `DelayedFileDownloader` changed into `RequestFileStreamProvider` which provides a direct network stream.
- `CachedResponseStream` now only caches the `HttpContent` as opposed to the `HttpResponseMessage`.
- `IFileDownloader` now synchronously returns `IFileStreamProvider`s.
- `FileDownloader` now returns `RequestFileStreamProviders`.
- Added `ISeekableFileStreamProvider`.
- BufferedFileStreamProvider now implements `ISeekableFileStreamProvider`.
2023-06-10 12:30:41 -04:00
Dominion 22c3f591fe Allow specifying HttpCompletionOption in IHttpClient 2023-06-10 11:18:21 -04:00
Dominion 6a54236969 Prefer DisposeAsync over Dispose where possible 2023-06-05 21:50:28 -04:00
Dominion af9b5f7eb3 Add IsSystemChannel flag to ChatChannels 2023-05-20 18:28:33 -04:00
Dominion 9410795046 Nuget updates + project file cleanups 2023-05-20 16:25:40 -04:00
tgstation-server c0cae219f9 Merge branch 'master' into dev 2023-05-20 16:23:26 +00:00
Dominion d86b4c8e33 Use the GitHubAccessToken when downloading the ServerUpdatePackage
Workaround for https://github.com/actions/runner-images/issues/7007
2023-05-17 20:10:29 -04:00
Dominion 76029412d6 Minor linting 2023-04-26 22:28:34 -04:00
Dominion 719e5d91cb Adjust ReleaseNotes to ensure the latest release is a TGS release
[APIDeploy][NugetDeploy][TGSDeploy]

Closes #1141
2023-04-25 22:06:21 -04:00
Dominion 4ecdf8afe1 Move duplicate concrete IAbstractHttpClientFactorys to Common.HttpClientFactory 2023-04-23 13:57:57 -04:00
Dominion 43e1fec1b0 Move a bunch of non-core classes to new Utils namespace
- Clean up VS messages, primarily in SessionController.cs
2023-04-23 13:42:16 -04:00
Dominion a1b5dbe6ac Abstract HttpClient and FileDownloader
- Set all requests to use assemblyInformationProvider UserAgent by default.
- Removed DefaultIOManager's dependency on IAssemblyInformationProvider.
- Fixed bad Dispose scope for requests under construction in SwarmService.
2023-04-21 03:15:39 -04:00
Dominion de39cd2a80 Update Nuget Packages. Fix Test projects. Etc... 2023-03-25 15:16:43 -04:00
Dominion 0c2b3e0f2c Disable delayed autostart 2023-03-25 13:14:45 -04:00
Dominion 80f88ddc0b Suppress deprecated field warnings 2023-01-21 14:10:22 -05:00
Dominion 64d30d1758 Update release thread on release
Closes #1328
2022-10-08 20:55:38 -04:00
Jordan Brown 1ffcac73a1 Install dotnet hosting bundle 2022-09-28 16:40:52 -04:00
Jordan Brown 511cc7ef8f Don't pause after elevating process 2022-09-27 22:06:35 -04:00
Jordan Brown 8821574293 Don't try to execute a .dll 2022-09-27 21:26:04 -04:00
Jordan Brown ba49f023f0 Remove my API key lmao 2022-09-27 21:05:35 -04:00
Jordan Brown 875ed029f2 Add TGS3 -> TGS5 migrator 2022-09-27 01:48:59 -04:00
Jordan Brown ef2c89fb1b More ReleaseNotes fixes 2022-09-20 12:07:28 -04:00
Jordan Brown 9967908847 Fix potential issues with ReleaseNotes for V5 2022-09-20 08:58:41 -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 c346c32102 Turns out this number can be a lie 2022-02-07 13:04:32 -05:00
Jordan Brown 5c31b26561 Remove more V4 references 2021-09-08 18:04:40 -04:00
Jordan Brown 8aff5e1a3f A couple of changes to ensure a smooth transition to V5
Closes #1295
2021-09-08 17:51:18 -04:00
Jordan Brown ab19227e88 Fix empty PR bodies erroring ReleaseNotes [TGSDeploy] 2021-08-29 18:21:01 -04:00
Jordan Brown d1b50204f9 Add description to patch and minor milestones 2021-08-16 11:52:06 -04:00
Jordan Brown a18b095d7f Package updates 2021-08-10 19:57:53 -04:00