Commit Graph
9876 Commits
Author SHA1 Message Date
Jordan Dominion 22bd831c8c Only create tgstation-server user + other permission fixes on first install. 2023-11-10 23:23:19 -05:00
Jordan Dominion 2413dc84f0 Fix .deb postinst conditional. 2023-11-10 23:21:06 -05:00
Jordan Dominion 9e1806a2b4 Move all API functionality to /api.
Move `BridgeController` route but BYOND forces us to support the legacy one as well.
Add a basic homepage if it's not obvious where to redirect the user.

Closes #1689
2023-11-10 23:18:20 -05:00
Jordan Dominion 06dda10ac2 Change the swagger documentation path to /doc/tgs_api.json
Change hosted site path to `/documentation`

Closes #1586
2023-11-10 10:35:44 -05:00
Jordan DominionandGitHub c5d623be77 Merge pull request #1692 from tgstation/1689-DebUser
Run systemd as the user `tgstation-server`
2023-11-10 08:58:25 -05:00
Jordan DominionandGitHub 6bf5c9e5c0 Merge branch 'V6' into 1689-DebUser 2023-11-09 21:20:22 -05:00
Jordan DominionandGitHub c5c36fcc6f Merge pull request #1699 from tgstation/1693-Shrimple
Stop using HTTP 426 (In the HTTP API at least)
2023-11-09 20:41:33 -05:00
Jordan DominionandGitHub c367d62b21 Merge branch 'V6' into 1693-Shrimple 2023-11-09 19:03:55 -05:00
tgstation-server e337ab9e7c Merge branch 'dev' into V6 2023-11-09 23:56:48 +00:00
Jordan DominionandGitHub 8919495315 Merge pull request #1702 from tgstation/Cyberboss-patch-1
Fix test errors caused by DB truncation
2023-11-09 18:50:28 -05:00
Jordan Dominion 469b16d815 Fix test errors caused by DB truncation 2023-11-09 09:09:38 -05:00
Jordan Dominion 3fce8620b4 Very naughty merge of 'V6' into OpenDream
Doing some very bad cleanups for a merge in here like renaming a few fields (like the old column names) + `ByondCommand` + Removing deprecated API fields.
2023-11-09 09:08:20 -05:00
Jordan DominionandGitHub 85e9dfbc1f Merge branch 'V6' into 1693-Shrimple 2023-11-07 19:37:03 -05:00
Jordan DominionandGitHub d50726569f Merge branch 'V6' into 1689-DebUser 2023-11-07 19:36:52 -05:00
tgstation-server c0a90da6a6 Merge branch 'dev' into V6 2023-11-08 00:24:46 +00:00
Jordan DominionandGitHub aba587ae80 Merge pull request #1700 from tgstation/TestSanity
Fix a cause of spurious CI failures
2023-11-07 19:17:40 -05:00
Jordan Dominion 2f9fb5df0c Suppress the NU5104 while we're in preview
Added to #1589
2023-11-07 08:52:01 -05:00
Jordan Dominion 1e1c5fddf8 Merge branch 'V6' into 1693-Shrimple 2023-11-07 08:44:30 -05:00
Jordan Dominion 4b49e072db Merge branch 'dev' into V6 2023-11-07 08:26:38 -05:00
Jordan DominionandGitHub 1e1086563d Merge branch 'master' into TestSanity 2023-11-07 08:23:42 -05:00
Jordan DominionandGitHub 01f38ad488 Merge pull request #1698 from tgstation/Day0Fixes [TGSDeploy][NugetDeploy]
v5.17.1 Fixes
tgstation-server-v5.17.1
2023-11-07 08:10:00 -05:00
Jordan Dominion 7c9a1a6a4f Fix a cause of spurious CI failures 2023-11-06 21:48:23 -05:00
Jordan Dominion 90d41cc88d Replace HTTP 426 with 400
Notable exception is the swarm API, which still uses 426 for version mismatches and would be a pain in the ass to change correctly.

Closes #1693
2023-11-06 17:56:03 -05:00
Jordan Dominion e68dc5b307 An uncaught exception was never a good idea 2023-11-06 17:46:05 -05:00
Jordan Dominion 72388f8035 Add necessary ObjectDisposedException to client 2023-11-06 17:44:45 -05:00
Jordan Dominion 5f6e3d340c Merge branch 'dev' into V6 2023-11-06 17:37:48 -05:00
Jordan Dominion 549b65f03c Update nuget packages for API library 2023-11-06 16:57:24 -05:00
Jordan Dominion 37adb228d0 Bump webpanel version to latest 2023-11-06 16:56:30 -05:00
Jordan Dominion abd1948d42 Version bump to 5.17.1 2023-11-06 16:39:51 -05:00
Jordan Dominion 9bea7686b2 Add automatic reconnect to client hubs 2023-11-06 16:39:23 -05:00
Jordan Dominion 52fc12b7a4 Fix JobsHubGroupMapper not being initialized 2023-11-06 16:19:40 -05:00
Jordan DominionandGitHub eec92ca860 Merge pull request #1697 from tgstation/v5170Merge [TGSDeploy]
v5.17.0 Release
tgstation-server-v5.17.0
2023-11-05 21:58:55 -05:00
Jordan Dominion b939d722c9 Bump webpanel version to 4.26.0 2023-11-05 17:26:53 -05:00
Jordan Dominion f71ac09722 Fix incorrect past tense 2023-11-05 16:42:33 -05:00
Jordan Dominion 3032955d25 Make this indentation make sense
Also add a missing colon
2023-11-05 16:41:42 -05:00
Jordan DominionandGitHub 399f19936a Fix grammar in auth docs 2023-11-05 16:35:45 -05:00
Jordan DominionandGitHub 3b97530dd3 Merge pull request #1685 from tgstation/SignalR [APIDeploy][NugetDeploy][DMDeploy]
Add SignalR/SSE endpoint for job updates and `JobCode`s
api-v9.13.0 dmapi-v6.6.2
2023-11-05 16:30:52 -05:00
Jordan Dominion 32d1f0ae5e Add FAQ link for DMAPI validation failures 2023-11-05 13:13:01 -05:00
Jordan Dominion 337eb15a7f User connection updates should bypass the jobs hub message rate limiter 2023-11-05 12:12:15 -05:00
Jordan Dominion b79d02c77a Push an update of all active jobs to all clients when a new one connects
I know this is annoying in that we only need to target the connected client, but it's so much simpler this way. How big of an update can it even be if it's only including active jobs?
2023-11-05 11:56:43 -05:00
Jordan Dominion fa13869ea2 Ensure that SignalR works with the webpanel
- Fix issue with CORS preventing static file browsing.
- AllowCredentials in CORS. Switch from `AllowAnyOrigin` to a wildcard matching `Func` to bypass the CORS specification that says you can't do that.
- Add workaround for legacy SignalR `access_token` query string.
- Get token `nbf` from claims rather than through the composition root.
2023-11-05 11:23:47 -05:00
Jordan Dominion ed8453f08e Remove hub abort notifications
Because SignalR buffers messages, we can't guarantee these will be delivered before the connection is aborted.

We'll have to rely on the client not being pants-on-head.
2023-11-05 09:38:57 -05:00
Jordan Dominion d3563394fb OperationCanceledExceptions are not test errors 2023-11-05 09:01:20 -05:00
Jordan Dominion 2c82da46f6 Simplify logic flow in JobsHubTests 2023-11-05 09:00:44 -05:00
Jordan Dominion cab8ce68f5 Simplify this job type check using new JobCodes 2023-11-05 08:40:18 -05:00
Jordan Dominion a01bea5608 We're officially API breaking! 2023-11-05 00:29:23 -04:00
Jordan Dominion 0f3fc4a07c Address a VS message 2023-11-05 00:23:04 -04:00
Jordan Dominion 9044eb041d Properly document DeploymentActivation event 2023-11-05 00:01:03 -04:00
Jordan Dominion 31ac130b45 Version bumps
- Api
- ApiLibrary
- ClientLibrary
- Core
2023-11-05 00:01:02 -04:00
Jordan Dominion dd2e264477 Document new authentication pipeline
Also fix location of `TgsAuthorizeAttribute` .md documentation.
2023-11-05 00:01:02 -04:00