Commit graph

74 commits

Author SHA1 Message Date
Josh
a599732894
Parse root level version instead of relying on token gameversion. (#332)
* Implement root level revision parsing

* Fix class naming

* Implement suggestions from code review

* Safety checks and remove deploy build

* Don't attempt to parse LVLt and change branch nomenclature.

* Treat text formatted resources as unsafe

* Update magic header of test script file

* Fix LBP Vita revision check

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-07-30 01:23:37 -04:00
jvyden
e72e924c40
Remove PL.Tests dependency on all server projects
Should allow slightly faster parallelized builds.
2022-07-28 16:16:16 -04:00
dependabot[bot]
23a07e9cc0
Bump Microsoft.EntityFrameworkCore.Design from 6.0.6 to 6.0.7 (#344)
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 6.0.6 to 6.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/commits)

---
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>
2022-07-16 16:07:55 -04:00
dependabot[bot]
c2c271ceb9
Bump Microsoft.AspNetCore.Mvc.Testing from 6.0.6 to 6.0.7 (#343)
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 6.0.6 to 6.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/commits)

---
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>
2022-07-12 19:16:32 -04:00
dependabot[bot]
f0018af9cd
Bump Microsoft.EntityFrameworkCore.Design from 6.0.5 to 6.0.6 (#328)
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 6.0.5 to 6.0.6.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/commits)

---
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>
2022-06-15 00:31:30 +00:00
dependabot[bot]
09fa0646f4
Bump Microsoft.AspNetCore.Mvc.Testing from 6.0.5 to 6.0.6 (#327)
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 6.0.5 to 6.0.6.
- [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/commits)

---
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>
2022-06-14 20:28:16 -04:00
jvyden
c345eeebb9
Massive organization of classes and namespaces 2022-05-15 16:45:00 -04:00
jvyden
b2ec7eae57
Move servers to LBPU.PL.Servers 2022-05-14 23:37:55 -04:00
jvyden
51b3c72a2f
Fix Game API not working 2022-05-14 17:40:32 -04:00
jvyden
47271d1798
Split API into its own project 2022-05-14 16:46:28 -04:00
jvyden
9d74a4104b
Implement YML configuration
- Sorts config better
- Stored in a robust format
- Migrates from old JSON format automatically on startup
- Retains version migration feature
- Renames ServerSettings to ServerConfiguration
2022-05-14 15:51:44 -04:00
jvyden
9d80f1e178
Update all packages in solution 2022-05-14 13:59:00 -04:00
dependabot[bot]
bf9c6ca042
Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#300)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits)

---
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>
2022-05-05 16:35:26 -04:00
jvyden
f31a73ccaa
Multiple changes to HashHelper and RandomHelper
- Renamed HashHelper to CryptoHelper
- Moved CryptoHelper.GenerateRandomBytes to RandomHelper
- Documented RandomHelper
2022-05-01 15:27:44 -04:00
dependabot[bot]
395f2178cd
Bump JetBrains.Annotations from 2021.3.0 to 2022.1.0 (#287)
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations) from 2021.3.0 to 2022.1.0.
- [Release notes](https://github.com/JetBrains/JetBrains.Annotations/releases)
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/commits)

---
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>
2022-04-22 15:26:40 -04:00
dependabot[bot]
7813b55181
Bump Microsoft.EntityFrameworkCore.Design from 6.0.3 to 6.0.4 (#277)
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v6.0.3...v6.0.4)

---
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>
2022-04-13 15:01:16 -04:00
Josh
216cd2e198
Fix slot version bug and other improvements (#281)
* Fix slot version bug and other improvements

* Fix upload tests not authenticating

Co-authored-by: jvyden <jvyden@jvyden.xyz>
2022-04-13 15:00:45 -04:00
dependabot[bot]
f467bc8359
Bump Microsoft.AspNetCore.Mvc.Testing from 6.0.3 to 6.0.4 (#279)
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 6.0.3 to 6.0.4.
- [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/v6.0.3...v6.0.4)

---
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>
2022-04-13 14:50:56 -04:00
jvyden
dee575f711
Update all packages in solution
ChromeDriver is not updated due to test failures.
2022-03-09 17:06:21 -05:00
dependabot[bot]
db5f895d6c
Merge pull request #173 from LBPUnion/dependabot/nuget/Microsoft.NET.Test.Sdk-17.1.0
Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0
2022-02-16 11:44:55 -05:00
jvyden
9253c332aa
Update EntityFramework to 6.0.2 2022-02-08 13:38:18 -05:00
jvyden
86bcd9b3a5
Update all packages in solution 2022-02-07 16:16:24 -05:00
dependabot[bot]
68358d2370
Bump coverlet.collector from 3.1.1 to 3.1.2
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 16:31:18 +00:00
dependabot[bot]
a27b567197
Bump coverlet.collector from 3.1.0 to 3.1.1
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-05 04:11:18 +00:00
dependabot[bot]
1f03daa13c
Bump Microsoft.AspNetCore.Mvc.Testing from 6.0.0 to 6.0.1
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 6.0.0 to 6.0.1.
- [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/v6.0.0...v6.0.1)

---
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>
2022-02-05 04:04:24 +00:00
jvyden
7081b725a8
Implement PSN ticket reading 2022-01-27 16:50:08 -05:00
jvyden
c5cc8a8782
Move startup & middleware classes into their own namespaces 2022-01-20 21:04:50 -05:00
jvyden
35f50f5f8c
The Great Formatting of 2022 2022-01-18 23:09:02 -05:00
jvyden
281be33640
Add website authentication tests 2021-12-23 00:03:04 -05:00
jvyden
1fbabe0000
Split normal tests from game api tests 2021-12-22 22:33:50 -05:00
jvyden
b15d56f6e9
Fix tests not using randomized usernames 2021-12-22 18:49:44 -05:00
jvyden
1774acda95
Fix users not being correctly removed 2021-12-22 17:31:38 -05:00
jvyden
0d682dceeb
Fix authentication (mostly) and file upload tests failing 2021-12-20 01:05:33 -05:00
jvyden
84669201ab
Fix all tests 2021-11-22 17:40:25 -05:00
jvyden
688721d6c2
Remove problematic AuthenticationTests.CanUseToken check 2021-11-22 16:49:39 -05:00
jvyden
d96f084322
Add (working) Register Form 2021-11-19 23:55:40 -05:00
jvyden
0ada6efe45
Fix ShouldReturnForbiddenWhenNotAuthenticated tests 2021-11-19 00:45:59 -05:00
jvyden
cbe8fbc2b4
Fix unit tests breaking due to config changes 2021-11-19 00:42:46 -05:00
jvyden
177befde91
Add DbConnectionString to config 2021-11-19 00:25:41 -05:00
jvyden
5de122f1d5
Rename ServerSettings to ServerStatics 2021-11-18 23:04:33 -05:00
jvyden
09c72eb9c2
Implement file hashing on upload
Closes #25
2021-11-18 19:30:37 -05:00
jvyden
2d4dc14f93
Fix ShouldOnlyShowUsersLevels test 2021-11-18 15:27:20 -05:00
jvyden
e4bb16100d
Fix tests ..ish. 2021-11-18 15:08:51 -05:00
jvyden
5e27f8c29b
Resolve most warnings & suggestions 2021-11-18 14:42:24 -05:00
jvyden
79a7102667
Update NuGet packages (EntityFramework -> 6.0.0) 2021-11-14 23:50:43 -05:00
jvyden
bdccb201ae
Switch to .NET 6.0 2021-11-13 11:02:19 -05:00
jvyden
e5ee045838
Fix SlotTests failure 2021-11-08 13:33:51 -05:00
jvyden
709e06ec4e
Update nuget packages 2021-11-07 20:42:31 -05:00
jvyden
8e193c079f
Cleanup code 2021-11-04 14:28:50 -04:00
jvyden
955b9e8060
Fix Authentication tests 2021-11-03 23:53:10 -04:00