* Create docker-publish.yml
* Update docker-publish.yml
* Now this should work
GitHub's own template is a little out of date, had to accommodate for this https://github.com/actions/starter-workflows/issues/2357
* updating to actions/checkout@v4
* Update docker-publish.yml
* Update do
Co-authored-by: sudokoko <koko@sudokoko.xyz>
* Update docker-publish.yml
Co-authored-by: sudokoko <koko@sudokoko.xyz>
* testing arm building
Co-authored-by: Zaprit <henry@vorax.org>
* an attempt to get this docker workflow to play nice with arm
* Revert "testing arm building"
This reverts commit a030b62f73.
* Revert "an attempt to get this docker workflow to play nice with arm"
This reverts commit 8faf3f4a5a.
* Minor nitpicky things before merge
Committing these directly as to not bother you with another code review. Adds a nice-name to the job and renames "build" to "build-publish".
---------
Co-authored-by: sudokoko <koko@sudokoko.xyz>
Co-authored-by: Zaprit <henry@vorax.org>
* Initial SDK and dependency bumps
* Bump Pomelo.EntityFrameworkCore.MySql to 8.0.0-beta.2
Should fix the MissingMethodException error in unit tests
* Update CI workflow to use .NET 8
* Apply suggested change from compile time warnings
* Fix digest tests
* Bump dependencies once more
* Update xunit
* Remove obsolete ISystemClock from TokenAuthHandler
* Update dependencies
* Add digest debug preprocessors back
* Maybe don't break #966
* Bump EF Driver and update various NET7 references
* Fix warnings in digest middleware tests
---------
Co-authored-by: Slendy <josh@slendy.pw>
* 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
* 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
* NET 7.0 support
* Bump Pomelo MySql to support EF7
* Its net7.0 time
* Trying to resolve dependencies by hand
* Fix .NET 7 warnings
* Bump InfluxDB version
* Fix bad null handling
It's clear that Windows builds provide no meaningful input. They are a lot slower and do less than a normal Linux build, so lets just remove it for now.