37 Commits
Author SHA1 Message Date
Jordan Dominion 3c46164515 ThrowsExactly conversion except harder 2025-08-01 19:37:43 -04:00
Jordan Dominion abf12000cc Fixes for OIDC stuff 2025-03-10 18:09:28 -04:00
Jordan Dominion 2e75125860 OIDC First Implementation 2025-03-09 17:53:43 -04:00
Jordan Dominion 06d087fd3b Fix unit test 2025-02-08 19:48:01 -05:00
Jordan Dominion d235bcc482 Log the database provider used 2025-02-07 18:50:04 -05:00
Jordan Dominion 639e27dde3 Fix build 2024-09-08 21:32:20 -04:00
Dominion 86f9d350f6 Clean up LogContext templating and properties
- Bring Serilog LogContext related items into new SerilogContextHelper class.
- ODR LogContext property names.
- InstanceController now inherits InstanceRequiredController and no longer holds an IInstanceManager reference.
- InstanceRequiredController.ValidateInstanceOnlineStatus() no longer static
- Subinterface IInstanceOperations created to reduce surface area InstanceController uses.
- Extracted much of InstanceRequiredController's functionality into new parent ComponentInterfacingController to not break swagger generation type checking (InstanceRequiredController adds the mandatory InstanceId header in the spec but InstanceController inherits ComponentInterfacingController without those checks).
- Added code paths to allow add swarm node identifer to LogContext. Use in Live tests.
- IInstanceManager retrieved via DI in Application for UseAsyncInitialization().
- Correct controller doc comments.
- Minor code cleanups.
2023-04-23 13:07:40 -04:00
Dominion 2a9a271218 Server Update Process Cleanup
- Extract bulk of actions into ServerUpdater class, based on old ServerUpdateInitiator.
- Add new ServerUpdateIntiator for AdministrationController

These changes break some interdependencies between SwarmService and Server.

- Correct the meaning of IRestartHandler.HandleRestart's second argument.
- Eliminate usage of SetupApplication's static IAssemblyInformationProvider and IIOManager.
2023-04-21 01:49:23 -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
Cyberboss 08cf743d5a Log HttpApiPort on startup 2020-12-27 11:23:41 -05:00
Jordan Brown 69a958e9b0 Again, prevent requests from processing until the instance manager is ready. 2020-05-13 12:32:52 -04:00
Jordan Brown 1cec9dc91c Merge from dev 2020-04-23 00:49:32 -04:00
Jordan Brown 0646fd58af Finish documenting DMAPI constructs. Get tests running 2020-04-21 23:55:59 -04:00
Jordan Brown c351aec284 Fix test 2020-04-21 11:05:32 -04:00
Jordan Brown 795bec18ab Big chungus commit
- API and client to version 5.0.0
- Added a bunch more model validations
- Added error codes
- Added limits to database strings
- Redid client exceptions to be more sane
- Added configurable instance and user limits
- Always clamp rights to their valid ranges
- Add an error if the minimum password length is more than the string limit
- Fixed chat bot name contraints crossing instances
- Enforce that SIDs be unique globally
- Normalize instance paths to forward slashes on windows. Added to sanitizer
- Added migrations
- Added ApiAssert for testing error codes
2020-04-11 13:14:55 -04:00
Cyberboss 284c6c393d Create the System namespace 2020-01-18 20:32:34 -05:00
Jordan Brown 5bd4a0a2ed Remove unecessary double add of IIOManager to services. 2020-01-18 19:44:53 -05:00
Cyberboss cd53ca9db4 General code cleanup pass 2020-01-12 17:29:49 -05:00
Cyberboss 057b217f76 Fix unit tests 2018-11-01 11:43:07 -04:00
Jordan Brown 70ccd315a3 Add tgstation-server-contol-panel 0.1.3 2018-10-21 21:36:11 -04:00
Cyberboss 0c9a434140 Cleans up a lot of nonsense regarding the snowflakeyness of TokenFactory and CryptographySuite
Add IAsyncDelayer to TokenFactory
2018-10-15 12:47:29 -04:00
Cyberboss 81af83da75 Some application tests 2018-10-04 15:36:56 -04:00
Cyberboss 137626c950 Add a basic application test 2018-10-04 14:19:23 -04:00
Cyberboss 90d58777bb Remove failing test 2018-09-05 16:58:11 -04:00
Cyberboss b055f32e07 Fix test 2018-08-10 10:18:32 -04:00
Cyberboss 189bbafe4c Auto updates working at last 2018-08-01 15:45:59 -04:00
Cyberboss 2722b62673 Mostly done move to watchdog as seperate process. Need to just test updating 2018-08-01 13:29:04 -04:00
Cyberboss 944970d796 Oh great... upstream bugs... 2018-07-25 15:56:26 -04:00
Cyberboss d18c584f63 Fix things 2018-07-24 15:46:56 -04:00
Cyberboss 5cbc879bbc And it was using SQLite too, you have no excuse 2018-07-19 15:12:43 -04:00
Cyberboss cc8c0e2001 Actually appveyor must have a database, no way this would work otherwise 2018-07-19 14:42:24 -04:00
Cyberboss 71ebb63398 Fix some db stuff. Removes failing test 2018-07-19 12:01:49 -04:00
Cyberboss 5f80adfc21 Hey it actually compiles now 2018-07-06 12:16:02 -04:00
Cyberboss e4aca1c8da Always dreaming never stopping 2018-07-05 13:07:03 -04:00
Cyberboss 4cc817055a Removes uncessary using 2018-05-28 11:40:26 -04:00
Cyberboss b64ebcc737 Removes unesscessary CancellationTokenSource 2018-05-28 11:40:09 -04:00
Cyberboss 619132d87f Adds a basic application startup test
Remember no other I/O is allowed on a new deployment without a request
2018-05-28 11:39:44 -04:00