Jordan Brown
f923d0c87d
Component instance usage cleanup
...
- GetInstance now returns null instead of throwing when the instance is offline. To be honest, we should wrap this in a using.
- Add safe accessor class for controllers that also performs request validation.
- API bump to 7.1.0
- Added ErrorCode 90 for offline instances, replacing the 403 response
- Move jobs now move the directory and are more fail safe
- Creating instances no longer uppercases the path on disk on Windows
2020-07-12 13:53:28 -04:00
Jordan Brown
8ac6714155
Remove instance client caching
...
This was so broken, wtf
2020-07-12 13:37:13 -04:00
Jordan Brown
844244aa72
Version bump to 4.4.2
2020-07-12 11:58:21 -04:00
Jordan Brown
13441348b7
Fix a potential NullReferenceException in GetLaunchResult
2020-07-11 12:14:17 -04:00
Jordan Brown
e473446315
Create a system user for jobs created by TGS
...
- API Version bump to 7.0.2
- Deprecate error code 46
- Instance user IDs can never be null
- Make a IUsersClient.GetId more covariant (Right word?)
2020-07-11 12:13:56 -04:00
Jordan Brown
6139b02361
Fix a hang in detaching
2020-07-11 11:03:39 -04:00
Jordan Brown
ba0f63ef9c
Minor code formatting change
2020-07-11 10:58:23 -04:00
Jordan Brown
24f0034e3a
Update a comment about what the database seeder is for
2020-07-11 10:58:10 -04:00
Jordan Brown
1455761724
Document all usages of default cancellation tokens
2020-07-11 10:57:41 -04:00
Jordan Brown
ae252591ed
An overly complicated change to make sure a task is awaited.
...
- IDisposable moved from IProcessBase to IProcess
- IInstanceManager, IInstance, IWatchdog, and ISessionController switched from IDisposable to IAsyncDisposable
- Process lifetime continuations in SessionController now handled correctly
2020-07-11 10:41:13 -04:00
Jordan Brown
308e71d8c9
Make the first log message the server version
2020-07-11 10:03:30 -04:00
Jordan Brown
ec48e20bed
Regression test for #1065
2020-07-11 09:53:32 -04:00
Jordan Brown
12b90f82bc
Try to ensure the Kestrel port will be available when hosting starts
...
- Fixes #1065
2020-07-11 09:53:04 -04:00
Jordan Brown
6b4bbcb660
Test for ErrorCode 78
2020-07-11 09:52:17 -04:00
Jordan Brown
d900eaf71a
Only throw error code 78 on correct socket error
2020-07-11 09:48:03 -04:00
Jordan Brown and GitHub
5432ae41cc
Merge pull request #1072 from tgstation/Day1s [TGSDeploy]
...
4.4.1
tgstation-server-v4.4.1
2020-07-10 13:54:17 -04:00
Jordan Brown
e664cab7d5
Validate instance online status in GetId requests
2020-07-10 13:25:03 -04:00
Jordan Brown
a5c951b6d3
Resolve instance online/offline issues in the DB
2020-07-10 13:22:57 -04:00
Jordan Brown
7d410029bb
Handle a null return from FromCompileJob in SessionPersistor
2020-07-10 13:10:20 -04:00
Jordan Brown
5ede035d46
Minor log line
2020-07-10 12:50:07 -04:00
Jordan Brown
114652977c
Simplify initial instance query
2020-07-10 11:57:45 -04:00
Jordan Brown
543a71c482
Version bump to 4.4.1
2020-07-10 11:50:57 -04:00
Jordan Brown
92a0056063
Instance onlining errors at server startup will no longer prevent the server from starting
2020-07-10 11:44:07 -04:00
Jordan Brown
69930fc9f9
Minor query rearrangement
2020-07-10 11:27:12 -04:00
Jordan Brown
488d2d5f6e
Guard against potential null reference exception
2020-07-10 11:26:32 -04:00
Jordan Brown
e542a2b5e8
Fix clearing host propagated exceptions
2020-07-10 11:23:52 -04:00
Jordan Brown
e4b0e22fa3
Fix bad setting of BYOND topic timeouts
2020-07-10 11:23:39 -04:00
Jordan Brown
ef2edacad9
Remove DMAPI requirement note from README.md
2020-07-10 09:56:26 -04:00
Jordan Brown and GitHub
e9ecf4f382
Merge pull request #1071 from tgstation/dev [TGSDeploy]
...
Version 4.4.0
tgstation-server-v4.4.0
2020-07-10 00:13:06 -04:00
Jordan Brown
afa91ee461
Fix SQLite migration defaulting RequireDMApiValidation to false
2020-07-09 23:44:35 -04:00
Jordan Brown
7e3594e546
Fix Nuget memes and tests [APIDeploy][NugetDeploy]
api-v7.0.1
2020-07-09 20:51:45 -04:00
Jordan Brown
91b665b239
Add missing right for custom BYOND versions [ApiDeploy][NugetDeploy]
2020-07-09 15:54:25 -04:00
Jordan Brown
0afcd8de4a
Fix all tests using the BasicWatchdog
2020-07-09 15:02:45 -04:00
Jordan Brown and GitHub
ed0a8c5286
Merge pull request #1070 from tgstation/934-ActuallyImplement [APIDeploy][NugetDeploy]
...
Adds the PosixWatchdog and option to drop DMAPI requirement
2020-07-09 14:42:30 -04:00
Jordan Brown
2ff7b61032
So this is a windows only test for now
2020-07-09 14:29:34 -04:00
Jordan Brown
3fa841a463
ErrorCode description update
2020-07-09 14:25:58 -04:00
Jordan Brown
8ba56f9c12
Minor timeout tweak
2020-07-09 13:37:38 -04:00
Jordan Brown
98903d22d9
Fix strange issue with SQLite migration
2020-07-09 13:24:08 -04:00
Jordan Brown
a24bb50190
More integration test sanity
2020-07-09 13:20:22 -04:00
Jordan Brown
10362d786d
Add a check to watchdog detach failure
2020-07-09 12:40:26 -04:00
Jordan Brown
9ed9c5d90a
Show custom BYOND versions in deployment messages
2020-07-09 12:25:50 -04:00
Jordan Brown
ac6a02d4b8
Fix invalid Substring call
2020-07-09 11:52:52 -04:00
Jordan Brown
7546373f94
Fix test asserting between int and uint
2020-07-09 11:32:16 -04:00
Jordan Brown
90569981b2
Improve chat message when a deployment is canceled
2020-07-09 11:31:52 -04:00
Jordan Brown
d6bf75b439
Lots of test improvements
...
- More deployment tests
- More job error code asserts
2020-07-09 11:24:15 -04:00
Jordan Brown
358c5042c1
Fix recursive .dme discovery
2020-07-09 11:23:34 -04:00
Jordan Brown
1940e32d91
Deprecate error code 54
2020-07-09 10:59:37 -04:00
Jordan Brown
5e27598eb1
Mark enums as deprecated in the spec
2020-07-09 10:59:10 -04:00
Jordan Brown
685c1c9224
Fix indentation
2020-07-09 10:36:13 -04:00
Jordan Brown
a5ae66bf02
Intentionally slow down the long running test
...
This allows the watchdog restoring/delayedrestart tests to function
2020-07-09 10:27:08 -04:00