sudokoko
262ada37ae
Bump dependencies
2024-05-31 13:53:41 -04:00
sudokoko
67756805e0
Bump dependencies
2024-03-27 22:06:30 -04:00
dependabot[bot]
c6e7da5259
Bump xunit from 2.5.3 to 2.7.0 ( #981 )
...
Bumps [xunit](https://github.com/xunit/xunit ) from 2.5.3 to 2.7.0.
- [Commits](https://github.com/xunit/xunit/compare/2.5.3...2.7.0 )
---
updated-dependencies:
- dependency-name: xunit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 18:52:53 +00:00
dependabot[bot]
09644ebed3
Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 ( #995 )
...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit ) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases )
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.6...2.5.7 )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 18:41:33 +00:00
dependabot[bot]
1b08964f8c
Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.9.0 ( #975 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.7.2 to 17.9.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.2...v17.9.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 18:41:05 +00:00
sudokoko
5283001511
Remove IP addresses from game tokens and matchmaking
2024-03-17 21:41:10 -04:00
sudokoko
01e6fa191a
Update to .NET 8 and C# 12 ( #952 )
...
* 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>
2024-02-26 20:08:48 +00:00
Josh
a2eaedc85b
Sort team picks by the time they were team picked ( #980 )
2024-02-23 14:38:02 +00:00
Josh
c529dada35
Migrate to SQLite EF provider for testing ( #966 )
...
* Migrate to Sqlite EF provider for testing
* Fix failing unit test
2024-01-18 01:03:07 +00:00
Slendy
b274310192
Bump dependencies
2023-10-24 17:28:20 -05:00
Josh
58664a2c7e
Add checks for resource strings ( #930 )
...
* Add checks for resource strings
* Don't use resource regex against png files
2023-10-24 22:14:52 +00:00
sudokoko
153bd75e26
Bump project dependencies ( #922 )
2023-10-12 11:37:41 -05:00
dependabot[bot]
899bbe7394
Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 ( #901 )
...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/xunit ) from 2.5.0 to 2.5.1.
- [Commits](https://github.com/xunit/xunit/compare/2.5.0...2.5.1 )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 20:11:27 +00:00
dependabot[bot]
cf2dddef82
Bump Microsoft.EntityFrameworkCore.Design from 7.0.10 to 7.0.11 ( #903 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.10 to 7.0.11.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.10...v7.0.11 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 19:00:01 +00:00
dependabot[bot]
011f0ad40d
Bump xunit from 2.5.0 to 2.5.1 ( #904 )
...
Bumps [xunit](https://github.com/xunit/xunit ) from 2.5.0 to 2.5.1.
- [Commits](https://github.com/xunit/xunit/compare/2.5.0...2.5.1 )
---
updated-dependencies:
- dependency-name: xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 18:59:50 +00:00
dependabot[bot]
f188062be2
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.10 to 7.0.11 ( #898 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.10 to 7.0.11.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.10...v7.0.11 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-17 00:44:07 +00:00
dependabot[bot]
46fe135cb0
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.10 to 7.0.11 ( #893 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.10 to 7.0.11.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.10...v7.0.11 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 15:12:10 +00:00
koko
665f9d9d34
Don't dismiss already dismissed cases in repeating task ( #897 )
...
* Don't dismiss already dismissed cases in repeating task
* Implement unit test to cover patch
* Remove unnecessary null check
2023-09-13 09:04:12 -04:00
koko
22c220c432
Implement dismiss expired cases repeating task ( #891 )
...
* Implement dismiss expired cases repeating task
I have the time temporarily set to every 1 minute for testing purposes
* Rename cases list variable to be a bit more self documenting
* Switch repeat interval to four hours
* Make no operation log a debug
* Add case expiration unit tests
I called the file ModerationTests in case we want to add more general moderation unit tests in the future
* I blame zaprit
* Fix tests
* Tests nitpicks and use UtcNow instead of Now
* Use Assert.Null and Assert.NotNull for better readability
2023-09-13 11:12:25 +00:00
dependabot[bot]
495cba6a53
Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 ( #887 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.7.1 to 17.7.2.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.1...v17.7.2 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 17:37:49 +00:00
dependabot[bot]
6222a5ecf0
Bump Moq from 4.18.4 to 4.20.69 ( #873 )
...
Bumps [Moq](https://github.com/moq/moq ) from 4.18.4 to 4.20.69.
- [Release notes](https://github.com/moq/moq/releases )
- [Changelog](https://github.com/moq/moq/blob/main/CHANGELOG.md )
- [Commits](https://github.com/moq/moq/compare/v4.18.4...v4.20.69 )
---
updated-dependencies:
- dependency-name: Moq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-19 07:20:16 +00:00
dependabot[bot]
4b7ae30d90
Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 ( #876 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.7.0 to 17.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.0...v17.7.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 13:20:03 +00:00
dependabot[bot]
6919826144
Bump Microsoft.EntityFrameworkCore.Design from 7.0.9 to 7.0.10 ( #858 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.9 to 7.0.10.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.9...v7.0.10 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 15:08:18 +00:00
dependabot[bot]
7939211308
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.9 to 7.0.10 ( #860 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.9 to 7.0.10.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.9...v7.0.10 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 21:33:29 +00:00
dependabot[bot]
6ff949dfd3
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.9 to 7.0.10 ( #859 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.9 to 7.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.9...v7.0.10 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 21:33:24 +00:00
dependabot[bot]
f796f67217
Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 ( #856 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.3 to 17.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.3...v17.7.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 21:33:13 +00:00
Slendy
282fd4e073
Bump dependencies and fix digest unit tests
2023-07-14 16:41:15 -05:00
dependabot[bot]
049be83104
Bump Microsoft.EntityFrameworkCore.Design from 7.0.7 to 7.0.8 ( #826 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:40:32 +00:00
dependabot[bot]
a3d5a3171b
Bump JetBrains.Annotations from 2022.3.1 to 2023.2.0 ( #828 )
...
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations ) from 2022.3.1 to 2023.2.0.
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/compare/v2022.3.1...v2023.2.0 )
---
updated-dependencies:
- dependency-name: JetBrains.Annotations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:40:29 +00:00
dependabot[bot]
c9a9cd27c7
Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 ( #821 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.2 to 17.6.3.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.2...v17.6.3 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 15:25:00 +00:00
dependabot[bot]
6e92ddc89f
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.7 to 7.0.8 ( #817 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 23:51:49 +00:00
dependabot[bot]
4286390c93
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.7 to 7.0.8 ( #816 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 23:51:42 +00:00
Josh
e43397ac6a
Implement property dependency injection for the website ( #806 )
...
* Remove most non DI usages of DbContext
* Optimize website queries and refactor startup to use top level statements
* Remove unused functions in UserEntity and SlotEntity
* Optimize LBP1 LevelTags
2023-06-20 05:02:24 +00:00
Josh
a0d021f1e2
Refactor RepeatingTaskHandler ( #796 )
...
* Refactor RepeatingTaskHandler into an ASP.NET service
* Add unit tests for RepeatingTaskService
* Make repeating task unit tests work independent of time
* Fix weird behavior when task is canceled
2023-06-17 19:48:24 +00:00
dependabot[bot]
0126351e87
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.5 to 7.0.7 ( #799 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 02:19:15 +00:00
dependabot[bot]
6581a71a26
Bump Microsoft.EntityFrameworkCore.Design from 7.0.5 to 7.0.7 ( #791 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 01:24:48 +00:00
dependabot[bot]
8bd46c843b
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.5 to 7.0.7 ( #794 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: koko <koko@drones.gay>
2023-06-16 01:05:50 +00:00
Slendy
91e792aea0
Fix level ordering in busiest slots
2023-06-14 11:16:16 -05:00
Josh
2f11731a8e
Refactor NpTicket parser and add NpTicket signature documentation ( #784 )
...
* Refactor NpTicket parser and add NpTicket signature documentation
* Update TickerBuilder chaining style
* Fix SectionHeader position returning wrong value
* Don't attempt to parse ticket if it is less than 8 bytes
2023-06-07 05:16:29 +00:00
dependabot[bot]
5af66ec850
Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.2 ( #783 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.1 to 17.6.2.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.1...v17.6.2 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 17:46:30 +00:00
Josh
a69d94054b
Simplify filters and make cross control slots not show by default ( #782 )
...
* Simplify filters and make cross control slots not show by default
Also sort author levels by oldest levels first rather than newest levels first.
* Fix unit test expecting slots to sorted by timestamp descending
* Remove errant whitespace
2023-06-05 22:53:41 +00:00
dependabot[bot]
2609ec8407
Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1 ( #779 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.0 to 17.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.0...v17.6.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 17:04:51 +00:00
Josh
0c1e350fa3
Rewrite gameserver slot filter system ( #763 )
...
* Initial implementation of new slot sorting and filtering system
* Initial implementation of filtering for lbp3 community tab
* Add support for organization on lbp3
* Add playlist and user categories
* Implement unit tests for all filters
Refactor more systems to use PaginationData
* Fix PlayerCountFilter test
* Add more unit tests and integration tests for the filter system
* Fix LBP2 move filter and gameFilterType
* Fix sort by likes in LBP3 category
* Add sort for total plays
* Remove extra whitespace and make styling more consistent
* Order hearted and queued levels by primary key ID
* Fix query without order warnings
2023-05-31 21:33:39 +00:00
dependabot[bot]
f2be297620
Bump coverlet.collector from 3.2.0 to 6.0.0 ( #771 )
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.2.0 to 6.0.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/compare/v3.2.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 17:33:38 +00:00
dependabot[bot]
67b29f2689
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.4 to 7.0.5 ( #769 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.4...v7.0.5 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 17:57:07 +00:00
dependabot[bot]
1a64860fea
Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 ( #768 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.5.0 to 17.6.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.5.0...v17.6.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 17:56:47 +00:00
Josh
1bf4ed6218
Add more unit tests ( #757 )
...
* 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
2023-05-15 15:00:33 -05:00
Slendy
bd6bbbde96
Bump EntityFramework related packages to 7.0.5
2023-04-25 11:39:48 -05:00
dependabot[bot]
02896fee86
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.4 to 7.0.5 ( #739 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.4...v7.0.5 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 13:54:53 +00:00
Josh
329ab66043
Refactor serialization system ( #702 )
...
* Initial work for serialization refactor
* Experiment with new naming conventions
* Mostly implement user and slot serialization.
Still needs to be fine tuned to match original implementation
Many things are left in a broken state like website features/api endpoints/lbp3 categories
* Fix release building
* Migrate scores, reviews, and more to new serialization system.
Many things are still broken but progress is steadily being made
* Fix Api responses and migrate serialization for most types
* Make serialization better and fix bugs
Fix recursive PrepareSerialization when recursive item is set during root item's PrepareSerialization, items, should be properly indexed in order but it's only tested to 1 level of recursion
* Fix review serialization
* Fix user serialization producing malformed SQL query
* Remove DefaultIfEmpty query
* MariaDB doesn't like double nested queries
* Fix LBP1 tag counter
* Implement lbp3 categories and add better deserialization handling
* Implement expression tree caching to speed up reflection and write new serializer tests
* Remove Game column from UserEntity and rename DatabaseContextModelSnapshot.cs back to DatabaseModelSnapshot.cs
* Make UserEntity username not required
* Fix recursive serialization of lists and add relevant unit tests
* Actually commit the migration
* Fix LocationTests to use new deserialization class
* Fix comments not serializing the right author username
* Replace all occurrences of StatusCode with their respective ASP.NET named result
instead of StatusCode(403) everything is now in the form of Forbid()
* Fix SlotBase.ConvertToEntity and LocationTests
* Fix compilation error
* Give Location a default value in GameUserSlot and GameUser
* Reimplement stubbed website functions
* Convert grief reports to new serialization system
* Update DatabaseModelSnapshot and bump dotnet tool version
* Remove unused directives
* Fix broken type reference
* Fix rated comments on website
* Don't include banned users in website comments
* Optimize score submission
* Fix slot id calculating in in-game comment posting
* Move serialization interfaces to types folder and add more documentation
* Allow uploading of versus scores
2023-03-28 00:39:54 +00:00