Commit Graph
9876 Commits
Author SHA1 Message Date
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
Cyberboss 51b6f798bb Increase BYOND download timeout 2020-12-26 11:44:05 -05:00
Jordan Brown 0853bb13d7 Merge branch 'master' into dev 2020-12-22 19:41:27 -05:00
Jordan Brown 3d30d0cf90 Adds the swarm system 2020-12-22 19:40:09 -05:00
Jordan BrownandGitHub 76e6d35f6a Merge pull request #1174 from tgstation/Casual500 [TGSDeploy]
Fix 500 with graceful restart of offline watchdog
tgstation-server-v4.6.3
2020-12-21 13:09:39 -05:00
Jordan Brown d61d743fae Version bump to 4.6.3 2020-12-20 18:48:47 -05:00
Jordan Brown 7211aae1e2 Fix 500 with graceful restart of offline watchdog 2020-12-20 15:38:37 -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 d7736fa1a4 Turn off Microsoft logging [APIDeploy][DMDeploy][NugetDeploy] 2020-12-19 12:30:00 -05:00
Jordan Brown ff91354a11 Fix GITHUB_ENV [APIDeploy][DMDeploy][NugetDeploy] 2020-12-19 12:10:15 -05:00
Jordan Brown 6f211c8dd7 [APIDeploy] V8, [NugetDeploy] V9, [DMDeploy] V5.2.10 2020-12-19 11:13:33 -05:00
Jordan Brown 0d5d70aff9 Trying a workaraound for dotnet bug
https://github.com/actions/setup-dotnet/issues/155
2020-12-19 10:32:34 -05:00