Commit Graph
4787 Commits
Author SHA1 Message Date
Jordan BrownandGitHub c88874be53 Merge pull request #1180 from tgstation/ApiFixups [APIDeploy][NugetDeploy]
Late hour fixes
api-v8.1.1
2021-01-01 12:19:53 -05:00
Jordan Brown 940566d4b0 Fix SQLite down migrations
Fuck SQLite
2021-01-01 11:26:06 -05:00
Jordan Brown a4ade2b78a Fix race condition between swarm server startup and health checking 2020-12-31 23:22:49 -05:00
Jordan Brown b50ff9d569 Log the registering node's address 2020-12-31 22:52:13 -05:00
Jordan Brown dbf8db60bf Add a 5 second delay between swarm registration attempts 2020-12-31 16:47:41 -05:00
Jordan Brown 09dc016118 Test fix 2020-12-31 00:24:27 -05:00
Jordan Brown 716ccab462 Fixed reading UserGroups with POST 2020-12-31 00:24:19 -05:00
Jordan Brown 81f42c0431 Fix documentation typo 2020-12-30 23:48:43 -05:00
Jordan Brown b0bdf62f02 API version bump 2020-12-30 22:41:51 -05:00
Jordan Brown 2e8f1e701a Adds more integration tests 2020-12-30 22:41:41 -05:00
Jordan Brown f01ace47e4 Controller shutdown now immediately tells nodes
- This allows them to start polling for a re-register immediately
- Also fixed trying to health check with no active controllerRegistration
- Bunch of other SwarmService fixes
2020-12-30 22:41:29 -05:00
Jordan Brown bdce05159a Fix /UserGroup documentation and perms 2020-12-30 22:25:09 -05:00
Jordan Brown 063ed7f8d9 Fix user controller includes 2020-12-30 19:23:18 -05:00
Jordan Brown 1ec16a22bd Minor swarm fixes
- Fix double checking serversUpdatedTcs
- Fix unregistering causing 500 errors from remote abort failures.
2020-12-30 15:11:14 -05:00
Jordan Brown 6c8dc87c4a Fix pagination returning untransformed results 2020-12-30 14:20:14 -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 6c253b17e2 Fix NullReferenceException 2020-12-30 13:06:19 -05:00
Jordan Brown cf3a6d844e Merge branch 'dev' of https://github.com/tgstation/tgstation-server into ApiFixups 2020-12-30 13:03:59 -05:00
Jordan Brown 57b28e77b5 Immediately trigger health checks when the swarm server list becomes dirty 2020-12-30 12:14:30 -05:00
Jordan Brown 9c1fe159fc Use an unsigned long so we can outlast the heat death of the universe 2020-12-30 12:08:21 -05:00
Jordan Brown 9cdaef0410 Remove all debug conditionals
- Add a down migrations comment
2020-12-30 11:43:41 -05:00
Jordan BrownandGitHub e2095dd39c Merge pull request #1178 from tgstation/ApiFixups [APIDeploy][NugetDeploy]
Api fixups
api-v8.1.0
2020-12-29 22:14:53 -05:00
Jordan Brown 256e8f242f Fix the build 2020-12-29 21:03:16 -05:00
Jordan Brown 29485dec97 Actually enforce user and group limits 2020-12-29 20:39:23 -05:00
Jordan Brown 38a8fde66c API/Client version bumps 2020-12-29 20:14:40 -05:00
Jordan Brown 989b39d723 Add user group limit to config 2020-12-29 20:14:18 -05:00
Jordan Brown c48f277279 Document 410 on POST /User 2020-12-29 20:11:07 -05:00
Cyberboss 007c40fe0f Fix dotnet version used for [NugetDeploy] 2020-12-28 18:23:28 -05:00
Jordan BrownandGitHub 697b44d630 Merge pull request #1175 from tgstation/1079-ServerSwarm [APIDeploy][NugetDeploy][DMDeploy]
Adds the Swarm System
api-v8.0.0 dmapi-v5.2.10
2020-12-28 17:20:02 -05:00
Cyberboss 30d25c8c5e Reduce linux integration tests to relieve DB pressure 2020-12-28 14:25:15 -05:00
Cyberboss f25fda747d Improved cleanup in swarm test 2020-12-28 13:33:35 -05:00
Cyberboss 337e653ebd Further swarm update commit fixes
Also adds a 10 minute timeout on the controller.
2020-12-28 13:31:29 -05:00
Cyberboss b3d7454a5f Add UpdateInProgress to ServerInformation 2020-12-28 13:14:44 -05:00
Cyberboss 44834b1be7 Improve details of a log message 2020-12-28 13:12:58 -05:00
Cyberboss bc90c13322 Adds swarm integration test 2020-12-28 11:00:10 -05:00
Cyberboss e22830007a Some fixes related to update commit and abort 2020-12-28 10:59:47 -05:00
Cyberboss 83c7828e38 Don't set InstancePermissionSet for instances not on the swarm node 2020-12-28 10:59:11 -05:00
Cyberboss f5fcf331d3 Switch all DateTimeOffset.Now references to UtcNow 2020-12-27 20:21:30 -05:00
Cyberboss 09b049a119 Fix updating swarm node server list 2020-12-27 20:10:20 -05:00
Cyberboss e37908aaa9 Properly set Content-Type in swarm clients 2020-12-27 17:51:23 -05:00
Cyberboss ff20c9bbc9 More swarm fixes.
- Fix client routing again.
- Swap X-Powered-By for User-Agent in clients
- Set Accept header to application/json.
2020-12-27 17:43:59 -05:00
Cyberboss 975ed3dee4 Swarm system fixes round #1
- Fixed controller sub-routing.
- Improved logging.
- Reduced health check intervals.
- Fixed including controller in node-only messages.
- Fixed a NullReferenceException when not in swarm mode.
- Always reference controller using configured address
2020-12-27 12:48:03 -05:00
Cyberboss 8c8ac15f26 Add Swarm configuration to setup wizard 2020-12-27 11:24:22 -05:00
Cyberboss 08cf743d5a Log HttpApiPort on startup 2020-12-27 11:23:41 -05:00
Cyberboss 9e83216894 Ensure updated server list is sent out when a node (de)registers 2020-12-27 11:22:21 -05:00
Cyberboss 4bf6095211 Removed non-standard slash from BridgeController route 2020-12-27 11:21:38 -05:00
Cyberboss dd18c5253f Rename Version to ServerInformation in client 2020-12-26 21:45:01 -05:00
Cyberboss 5acc7c6c54 README updates for swarm 2020-12-26 21:23:10 -05:00
Cyberboss 2deb9e9521 Remove C#9 feature 2020-12-26 21:08:46 -05:00
Cyberboss a8cb2350e3 Merge branch 'dev' into 1079-ServerSwarm 2020-12-26 11:44:23 -05:00