Commit graph

1502 commits

Author SHA1 Message Date
Slendy
cf1769ca77
Rework the flow of setting email from the website 2023-01-02 02:23:14 -06:00
Josh
3f70563e1d
Fix compilation error 2023-01-02 01:43:06 -06:00
Slendy
461de3a299
Make 2FA redirect highest priority 2023-01-02 00:58:57 -06:00
Slendy
fb90371ad1
Improve logging and rewrite email helper 2023-01-02 00:48:37 -06:00
Slendy
dc26766b8a
Clean up UI design for 2FA 2023-01-01 23:51:53 -06:00
Slendy
400d45389c
Fix initial account setup email 2022-12-26 16:21:16 -06:00
github-actions[bot]
91313074de
Update the localization files (#612)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-12-26 15:48:00 -06:00
Josh
ca7ef6da66
Fix release build 2022-12-26 03:11:43 -06:00
Josh
19ea44e0e2
Rework login and registration systems (#600)
* Initial work for verifying login ticket signatures

* Add candidate psn public key

* Add candidate psn public key and fix nuget packages

* Finalize npticket changes

* Add support for ticket version 3.0

* Rework login system to link platform accounts instead of using ip addresses

* Make linked accounts green instead of blue

* Fix api building

* Fix unit tests

* Actually fix unit tests

* Set unit test user's linked platform

* Why was this the wrong default value?

* Fix username change code

* Make TicketHash hash the entire ticket instead of just the serial

* Send password setup email when user sets their email for the first time

* Changes from self review
2022-12-26 01:03:14 -08:00
dependabot[bot]
ff7969a147
Bump Discord.Net.Webhook from 3.8.1 to 3.9.0 (#608)
Bumps [Discord.Net.Webhook](https://github.com/Discord-Net/Discord.Net) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/Discord-Net/Discord.Net/releases)
- [Changelog](https://github.com/discord-net/Discord.Net/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/Discord-Net/Discord.Net/compare/3.8.1...3.9.0)

---
updated-dependencies:
- dependency-name: Discord.Net.Webhook
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 12:47:06 -06:00
Slendy
0972375b05
Let level/profile owners delete comments 2022-12-20 15:22:12 -06:00
Josh
f93c6dc8a2
Bump CI versions (#605) 2022-12-20 14:43:04 -06:00
Slendy
a282833726
Fix slot icon sizing 2022-12-19 17:45:27 -06:00
Slendy
1b69f6a0e0
Fixup website content deletion permissions 2022-12-19 17:32:37 -06:00
Josh
f4cad21061
Website UI redesign and QOL changes (#601)
* Initial support for leaderboards and some refactoring

* Start of UI redesign

* Finish slot and user redesign, added deletion of comments, reviews, scores, and photos

* Remove leftover debug print

* Fix bug in permission check

* Simplify sidebar code and add hearted and queued levels

* Fix navbar scrolling on mobile and refactor SlotCardPartial
2022-12-19 15:20:49 -08:00
dependabot[bot]
37b0925cba
Bump YamlDotNet from 12.2.1 to 12.3.1 (#602)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 12.2.1 to 12.3.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v12.2.1...v12.3.1)

---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 16:43:23 -06:00
github-actions[bot]
273f53ecb5
[skip ci] Update the localization files (#598)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-12-17 15:26:58 -06:00
Slendy
082e575f5e
Potential fix for 2fa redirect loop 2022-12-16 17:20:28 -06:00
dependabot[bot]
a797b9f07a
Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 (#596)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.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.4.0...v17.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 11:38:55 -06:00
dependabot[bot]
929ab5acfc
Bump Pomelo.EntityFrameworkCore.MySql from 7.0.0-alpha.1 to 7.0.0-silver.1 (#592)
Bump Pomelo.EntityFrameworkCore.MySql

Bumps [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql) from 7.0.0-alpha.1 to 7.0.0-silver.1.
- [Release notes](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/releases)
- [Commits](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/compare/7.0.0-alpha.1...7.0.0-silver.1)

---
updated-dependencies:
- dependency-name: Pomelo.EntityFrameworkCore.MySql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 14:31:15 -06:00
Josh
2d67870ded
Fix Two-Factor form on mobile (#593)
* Make textboxes use keypad input on mobile

* Fix input boxes on mobile
2022-12-15 14:28:28 -06:00
dependabot[bot]
40283b1e20
Bump YamlDotNet from 12.2.0 to 12.2.1 (#591)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 12.2.0 to 12.2.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v12.2.0...v12.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 22:04:39 -06:00
Slendy
28ff0ddc1d
Fix bug where redirect handler would fetch wrong token 2022-12-14 01:14:58 -06:00
Josh
6024d44508
Fix bugs and bump dependencies (#590)
Fixes a bug with yourReview where the slot type wouldn't be included
Fixes a bug with crossControllerPlanet where it would be included even if it was null or empty
2022-12-13 18:39:24 -06:00
Josh
d16132f67f
NET 7.0 support (#581)
* 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
2022-12-13 18:17:28 -06:00
dependabot[bot]
fe0b0726b5
Bump Redis.OM from 0.3.1 to 0.4.0 (#584)
Bumps [Redis.OM](https://github.com/redis/redis-om-dotnet) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/redis/redis-om-dotnet/releases)
- [Commits](https://github.com/redis/redis-om-dotnet/compare/v0.3.1...v0.4.0)

---
updated-dependencies:
- dependency-name: Redis.OM
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 17:54:09 -06:00
github-actions[bot]
680bcf119e
Update the localization files (#585)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-12-12 21:39:44 -06:00
Josh
14d2f0305e
Implement 2FA (#577)
* Initial work for TOTP 2FA

* Fix bug in 2FA code script

* Add translations for two factor and /disable2fa

* Fix compilation error

* Add TwoFactorLoginPage

* Add two factor login process

* Little bit of backup code work

* Finish two factor

* Fix unit tests

* ??? goofy ahh code

* Use SHA-256 instead of SHA-512

* I guess SHA-256 doesn't work either

* Fix comments in Base32 helper

* Move QRCoder package to website

* Add name to endregion comment in css

* Fix bug with redirects
2022-12-12 21:11:39 -06:00
dependabot[bot]
4fd1063502
Bump YamlDotNet from 12.1.0 to 12.2.0 (#583)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 12.1.0 to 12.2.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v12.1.0...v12.2.0)

---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 18:12:15 -06:00
dependabot[bot]
5f8bbfa05f
Bump Selenium.WebDriver from 4.6.0 to 4.7.0 (#578)
Bumps Selenium.WebDriver from 4.6.0 to 4.7.0.

---
updated-dependencies:
- dependency-name: Selenium.WebDriver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
2022-12-07 23:58:21 -06:00
dependabot[bot]
9efd6a92cb
Bump InfluxDB.Client from 4.8.0 to 4.9.0 (#580)
Bumps [InfluxDB.Client](https://github.com/influxdata/influxdb-client-csharp) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/influxdata/influxdb-client-csharp/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-csharp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-csharp/compare/v4.8.0...v4.9.0)

---
updated-dependencies:
- dependency-name: InfluxDB.Client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 23:54:42 -06:00
dependabot[bot]
44cc943432
Bump YamlDotNet from 12.0.2 to 12.1.0 (#579)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 12.0.2 to 12.1.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v12.0.2...v12.1.0)

---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 14:21:27 -06:00
FridiNaTor1
6a081da1e2
Add more GameIDs (#549)
Added a Hub ID and 4 Move IDs (Sackboy’s Prehistoric Moves). And removed a duplicated GameID

Co-authored-by: Josh <josh@slendy.pw>
2022-12-01 22:38:47 -06:00
W0lf4llo
67cfc29699
Added three new categories to LBP3 (#567)
* Added three new categories to LBP3

* removed my comment in most hearted
2022-12-01 22:34:25 -06:00
dependabot[bot]
e1f4eacde4
Bump InfluxDB.Client from 4.7.0 to 4.8.0 (#576)
* Bump InfluxDB.Client from 4.7.0 to 4.8.0

Bumps [InfluxDB.Client](https://github.com/influxdata/influxdb-client-csharp) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/influxdata/influxdb-client-csharp/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-csharp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-csharp/compare/v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: InfluxDB.Client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove deprecated Create function

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Slendy <josh@slendy.pw>
2022-12-01 21:47:42 -06:00
Josh
3b93f6ca2f
Add Deflate compression for text/xml (#552)
* Add deflate compression support

* Fix compression when content type contains encoding

Co-authored-by: Dagg <daggintosh@outlook.com>
2022-11-29 14:50:25 -06:00
W0lf4llo
b896aee51a
Prevent other players scores from showing up as yours (#566)
* Fix ScoreController making scores of other players

* Split playerIds when looking for friends too

Co-authored-by: Josh <josh@slendy.pw>
2022-11-27 17:46:50 -06:00
dependabot[bot]
b8d946758e
Bump JetBrains.Annotations from 2022.1.0 to 2022.3.1 (#556)
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations) from 2022.1.0 to 2022.3.1.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
2022-11-27 17:25:16 -06:00
dependabot[bot]
a0b5a90d60
Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 (#554)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.2 to 17.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.2...v17.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
2022-11-27 17:22:10 -06:00
dependabot[bot]
04b2ec57c9
Bump SharpZipLib from 1.4.0 to 1.4.1 (#555)
Bumps [SharpZipLib](https://github.com/icsharpcode/SharpZipLib) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/icsharpcode/SharpZipLib/releases)
- [Changelog](https://github.com/icsharpcode/SharpZipLib/blob/master/docs/Changes.txt)
- [Commits](https://github.com/icsharpcode/SharpZipLib/compare/v1.4.0...v1.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
2022-11-27 17:19:46 -06:00
W0lf4llo
bc2f385384
Total level count shows compatible levels instead of levels uploaded all throughout lighthouse. (#563)
* StatisticsController test & Renammed hearted cat

* Total Level Counts show all compatible levels.

* Formatted document

* Update ProjectLighthouse.Servers.GameServer/Controllers/StatisticsController.cs

Change 1

Co-authored-by: Josh <josh@slendy.pw>

* Update ProjectLighthouse.Servers.GameServer/Controllers/StatisticsController.cs

Change 2

Co-authored-by: Josh <josh@slendy.pw>

* Fix compilation error

Co-authored-by: Josh <josh@slendy.pw>
2022-11-20 23:28:38 -06:00
Slendy
ac192b0904
Don't serialize user language or timezone 2022-11-17 23:27:06 -06:00
Dagg
ca317d3afc
Add support for Cross Controller Planets (#562)
* Add support for Cross Controller Planets

* Clean
2022-11-17 22:54:46 -06:00
Slendy
74c70115b8
Revert "Initial work for verifying login ticket signatures"
This reverts commit 806e4e898d.
2022-11-17 22:24:41 -06:00
Slendy
806e4e898d
Initial work for verifying login ticket signatures 2022-11-17 22:12:53 -06:00
Slendy
c6ddeaf154
Allow moderators to dismiss reports 2022-11-17 16:14:03 -06:00
Slendy
e67abe0164
Don't issue registration tokens for names that already exist 2022-11-13 22:17:41 -06:00
Slendy
75de1d0faa
Add workaround for weird score bug 2022-11-13 17:28:04 -06:00
Slendy
a253e768a7
Add more sanitization to reduce deserialization errors 2022-11-13 17:05:24 -06:00
Slendy
5e82827fc0
Fix game server photo deletion bug
Fix bug where users couldn't delete photos with empty subjects
2022-11-12 11:21:31 -06:00