Commit Graph
972 Commits
Author SHA1 Message Date
Jordan Brown 4fb8151238 Update Submodules DB Setting 2021-08-28 15:16:01 -04:00
Jordan Brown 5da8ad9a23 Adds timeouts to deployments
- New internal API field.
- Migrations.
- New job ErrorCode.
- Integration test.
- New DreamMaker right.
2021-08-26 18:11:07 -04:00
Jordan Brown 686a1694c6 Adds option to change DreamDaemon visibility
- API Version bump to 9.2.0.
- Add DreamDaemonVisibility enum.
- Add DreamDaemonLaunchParameters.Visibility, requires relaunch to adjust.
- Add DreamDaemonResponse.CurrentVisibility.
- Add ReattachInformation.LaunchVisibility.
- Add DreamDaemonRights.SetVisibility.
- Fix DreamDaemonRights.SetAdditionalParameters not giving POST access to /DreamDaemon.
- Add migrations.
- Add permissions tests.
- SessionControllerFactory now handles setting visibility parameter.
2021-08-25 14:54:00 -04:00
Jordan BrownandGitHub 95c29ba7e7 Merge pull request #1290 from tgstation/1278-InstanceProperty
Adds the accessible property to InstanceResponse
2021-08-11 14:49:02 -04:00
Jordan Brown 4630bdfcc0 Add submodule updates
- Refactor some progress handlers to be ODR compliant
- Add `submoduleUpdate` to RepositoryRequest
- Add `RepoSubmoduleUpdate` event script
2021-08-11 06:10:04 -04:00
Jordan BrownandGitHub 9c6a5bf85b Merge branch 'dev' into 1278-InstanceProperty 2021-08-11 06:07:11 -04:00
Jordan Brown 06c1c8d827 Adds the accessible property to InstanceResponse 2021-08-11 04:30:21 -04:00
Jordan Brown a18b095d7f Package updates 2021-08-10 19:57:53 -04:00
Jordan Brown a2fb0bbe45 Graceful shutdowns on POSIX
- Sending `SIGUSR1` on POSIX will now attempt to gracefully shutdown the watchdog with a timeout
- Added `General:ShutdownTimeoutMinutes` config to support this.
- Renamed `General:RestartTimeout` to `General:RestartTimeoutMinutes`
- Config version bump to `4.0.0`
- Core version bump to `4.13.0`
- Added unit tests for new `PosixSignalHandler` class.
2021-08-04 12:34:56 -04:00
Jordan Brown 630335ca5e Fix single server swarms update deadlock
Credit @ZeWaka for finding this bug
2021-06-15 13:55:24 -04:00
Jordan Brown b6ba7332e5 WindowsProcessFeatures cleanup
- Adds logging around Open/Suspend/ResumeThread calls.
- Call Process.Refresh before accessing Process.Threads, potentially fixing issues with a stale thead ID cache.
- Potentially fixes #1279
2021-06-14 22:30:19 -04:00
Jordan Brown 84e003cd7a Merge branch 'master' of https://github.com/tgstation/tgstation-server into 1252-StylecopThePlanet 2021-05-09 19:28:18 -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 1e9e97f0cb Regression test for #1256 2021-05-09 10:29:34 -04:00
Jordan Brown 5f05619220 Fix a small issue when running integration tests with legacy settings json 2021-04-30 21:07:18 -04:00
Jordan Brown 08b16e43ed Fix listing jobs not returning progress 2021-04-30 12:54:47 -04:00
Jordan Brown 1083231614 Regression test for #1240 2021-03-25 12:33:23 -04:00
Jordan Brown 6c09d4f9e7 Dependency updates 2021-03-25 12:23:40 -04:00
Jordan Brown 3b99c91c94 Separate the definition/library API versions 2021-02-10 23:42:10 -05:00
Jordan Brown 7e325bdadb Fix tests 2021-02-10 23:17:26 -05:00
Jordan Brown ac4a1c7f9b Add the Request/Response namespaces to Api.Models 2021-02-10 22:10:22 -05:00
Jordan Brown 6c69d6bca3 Definition looks good now 2021-02-10 17:29:39 -05:00
Jordan Brown 47ea890040 WIP: Redoing request/response models 2021-02-10 11:07:08 -05:00
Jordan Brown 8b94b4dcce Fix bad security level setting [TGSDeploy][DMDeploy] 2021-01-31 15:51:55 -05:00
Jordan Brown 6432f97a66 Fix bad test asserts [TGSDeploy][DMDeploy] 2021-01-31 13:44:07 -05:00
Jordan Brown 48fc419b7f Return 400 instead of 401 for Authentication header issues 2021-01-31 12:42:59 -05:00
Jordan Brown 654cfd846d Another rate limit exception test failure [TGSDeploy] 2021-01-27 20:35:20 -05:00
Jordan Brown 1cd07f3006 Catch rate limit exception that was failing tests
Progress on #1206
[TGSDeploy]
2021-01-27 17:13:38 -05:00
Jordan Brown 490061c057 Use 4.8.1 as the test update version 2021-01-26 14:12:31 -05:00
Jordan Brown 9014e4f7cc Fix swarm updates initiated from the controller failing 2021-01-25 20:10:01 -05:00
Jordan Brown 741e752450 Add missing [TestMethod] 2021-01-22 13:29:02 -05:00
Jordan BrownandGitHub 2a50f0faee Merge branch 'dev' into 1169-DMAPISeparation 2021-01-21 20:27:58 -05:00
Jordan Brown ed0a04c4a0 Serparate the DMAPI version from Interop Version 2021-01-21 11:52:22 -05:00
AffectedArc07 62d1d3806c Lets give this a shot 2021-01-18 18:22:23 +00:00
Jordan Brown c3f6639463 Adds Timestamp to RevisionInformation 2021-01-12 13:04:45 -05:00
Jordan Brown 1988b916ec Adds a 410 response to PATCH /Instance 2021-01-05 13:44:18 -05:00
Jordan Brown 5f5e2741ce Add a null check for the OAuth config section 2021-01-03 21:22:41 -05:00
Jordan Brown 09dc016118 Test fix 2020-12-31 00:24:27 -05:00
Jordan Brown 2e8f1e701a Adds more integration tests 2020-12-30 22:41:41 -05:00
Jordan Brown 39ad7ca177 Unfuck User/Usergroup shenannigans
- Make Internal.User abstract
- Move User Id and Name to new UserBase class
- ShallowUsers are now only UserBase
- Moved PermissionSet to Internal.UserGroup
- Old Internal.UserGroup properties moved to new Internal.UserGroupBase
- Fixed WriteUsers being able to read users with POST /User
- Fixed full users returned from POST /User not including group permission sets
2020-12-30 14:11:30 -05:00
Jordan Brown 9cdaef0410 Remove all debug conditionals
- Add a down migrations comment
2020-12-30 11:43:41 -05:00
Jordan Brown 989b39d723 Add user group limit to config 2020-12-29 20:14:18 -05:00
Cyberboss f25fda747d Improved cleanup in swarm test 2020-12-28 13:33:35 -05:00
Cyberboss bc90c13322 Adds swarm integration test 2020-12-28 11:00:10 -05:00
Cyberboss f5fcf331d3 Switch all DateTimeOffset.Now references to UtcNow 2020-12-27 20:21:30 -05:00
Cyberboss dd18c5253f Rename Version to ServerInformation in client 2020-12-26 21:45:01 -05:00
Cyberboss 51b6f798bb Increase BYOND download timeout 2020-12-26 11:44:05 -05:00
Jordan Brown 61d504a9e4 Move WindowsHost from Administration to ServerInformation
Lock GET /Administration behind ChangeVersion right
[APIDeploy][DMDeploy][NugetDeploy]
2020-12-19 20:24:37 -05:00
Jordan Brown 6bd8f00f15 Bump test BYOND version to 513.1536 2020-12-18 14:23:37 -05:00
Jordan Brown 7c13785969 Properly page UserGroups 2020-12-18 01:14:54 -05:00