* Reorganize tests into unit/integration pattern
* Make DbSets virtual so they can be overridden by tests
* Add MessageControllerTests
* Implement DigestMiddlewareTests
* Refactor SMTPHelper to follow DI pattern which allows for mocking in unit tests.
* Fix MailQueueService service registration and shutdown
* Implement tests for Status and StatisticsController and reorganize tests
* Start working on UserControllerTests
* Start refactoring tests to use In-Memory EF provider
* Refactor integration tests to reset the database every time
Change default unit testing database credentials
* Update credentials to use default root with different passwords
* Throw exception when integration db is not available instead of falling back to in-memory
* Evaluate DbConnected every time
* Remove default DbContext constructor
* Setup DbContexts with options builder
* Convert remaining Moq DbContexts to InMemory ones
* Add more tests and use Assert.IsType for testing status code
* Add collection attribute to LighthouseServerTest
* Remove unused directives and calculate digest in tests
* Fix digest calculation in tests
* Add test database call
* Clear rooms after each test
* Fix CommentControllerTests.cs
* Disable test parallelization for gameserver tests
* Fix failing tests
Fix SlotTests
Make CreateUser actually add user to database
Fix dbConnected Lazy and change expected status codes
Properly Remove fragment from url for digest calculation
Fix digest calculation for regular requests
[skip ci] Remove unused directive
Don't use Database CreateUser function
Get rid of userId argument for generating random user
Rewrite logic for generating random users
Fix integration tests
* Implement changes from self-code review
* Fix registration tests
* Replace MailQueueService usages with IMailService
* Abstract config design and update logging pattern
Also drops legacy config support
* Fix unit tests
* Make backup of config file when upgrading
* Use shared process semaphore to fix migration race conditions
* Use mutex because semaphore isn't supported
* Make startup wait for configs to load
* Move mutex to config load instead of constructor
* Add debug logging
* Make mutex static
* Change mutex name format
* Make mutex use global namespace
* Remove debug logging and fix config upgrading
* Rename lambda variable
* Make tests run in release mode
* Fix multiple command in ci
* I forgot how yaml works
* Shitty workaround
* grr mondays
* Add an NP ticket builder for unit tests
* Add NP ticket unit testing
* Fix range indexers for finding uid
* Fix LoginTests
* Validate unit test signatures
* Make builder code follow same style conventions
* Remove remnant of hardcoded issuer id
- Sorts config better
- Stored in a robust format
- Migrates from old JSON format automatically on startup
- Retains version migration feature
- Renames ServerSettings to ServerConfiguration