Commit graph

1920 commits

Author SHA1 Message Date
Slendy
abddf5e9aa
Add timestamps to logs and cleanup some code 2022-10-01 16:28:52 -05:00
github-actions[bot]
04fb75ba15
[skip ci] Update the localization files (#508)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-10-01 13:06:07 -05:00
Michael Youngling
9e2fd0a420
Update CONTRIBUTING.md (#501)
@PorkchopGMX has now been granted the rank of merged
2022-09-29 22:42:32 -04:00
Michael Youngling
38e1771cc2
Merge branch 'main' into patch-1 2022-09-29 22:40:25 -04:00
PorkchopGMX
ebd7fc94de
Update CONTRIBUTING.md
copyedit
2022-09-29 20:01:52 -05:00
PorkchopGMX
78159e9d5c
Update CONTRIBUTING.md
formatting and copyediting

Co-authored-by: Josh <josh@slendy.pw>
2022-09-29 19:51:38 -05:00
github-actions[bot]
e8a7eb2a41
Update the localization files (#507)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-09-29 18:49:26 -05:00
dependabot[bot]
fd9d4a1c16
Bump InfluxDB.Client from 4.5.0 to 4.6.0 (#506)
Bumps [InfluxDB.Client](https://github.com/influxdata/influxdb-client-csharp) from 4.5.0 to 4.6.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.5.0...v4.6.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-09-29 17:50:55 -05:00
dependabot[bot]
cbeca7c8ac
Bump Selenium.WebDriver from 4.4.0 to 4.5.0 (#505)
Bumps Selenium.WebDriver from 4.4.0 to 4.5.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>
2022-09-29 17:40:55 -05:00
dependabot[bot]
9217fa3f6c
Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 (#502)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.1 to 17.3.2.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.3.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 17:37:44 -05:00
Josh
ee11798dc6
Login with email and confirm age on registration (#493)
* Implement login with email

* Add confirm age checkbox to register page

* Fix registration unit tests

* Fix registration unit tests for real this time

Co-authored-by: Dagg <32235163+daggintosh@users.noreply.github.com>
2022-09-29 17:34:22 -05:00
Slendy
f46bd4fc87
Fix playlist descriptions and pirate bug 2022-09-27 21:52:56 -05:00
Dagg
d192060ef4
Playlist support (#492) 2022-09-27 17:43:24 -07:00
Josh
3532657b41
Merge branch 'main' into playlists 2022-09-25 17:10:38 -05:00
PorkchopGMX
1d7a595699
Update CONTRIBUTING.md
Formatting and copyediting (special thanks to dagg)
2022-09-25 17:10:33 -05:00
PorkchopGMX
f15beb0ecd
Update CONTRIBUTING.md
Adds a guide for connecting on PS3
2022-09-25 16:51:22 -05:00
PorkchopGMX
35e2217bf7
Merge branch 'main' into patch-1 2022-09-25 16:26:30 -05:00
Slendy
88802ec52f
Add existence checks to mail cooldown system 2022-09-25 16:25:32 -05:00
PorkchopGMX
d678837bf3
Update CONTRIBUTING.md
Updates the Connecting section to reflect changes in how LBP3 connects to Lighthouse, + minor copyedit
2022-09-25 16:19:43 -05:00
Michael Youngling
8964175311
Update the logo images on the website.
This corrects an issue where the Lighthouse logo shows the acronym 'USEV' instead of the word Lighthouse.
2022-09-25 15:18:42 -04:00
Josh
353f964c24
Fix adventure slot mask file (#499)
* Delete advSlotCardMask.png

* Update mask file
2022-09-25 14:04:53 -05:00
Dagg
5a31540744
Update adventure slot overlay (#496)
Danke Arek!
2022-09-25 11:53:06 -07:00
Josh
a7e9d26da5
Add new adventure card mask 2022-09-25 13:50:22 -05:00
Josh
b9bf90a885
Update adventure slot overlay 2022-09-25 03:25:04 -05:00
Slendy
2217c20803
Fix favouritePlaylists logic 2022-09-24 21:34:05 -05:00
Slendy
a15ff2c886
Fix typo in unfavourite route 2022-09-24 21:28:05 -05:00
Josh
ce53eb9f68
Merge branch 'LBPUnion:main' into playlists 2022-09-24 20:02:23 -05:00
Slendy
ea5f216b1f
Fix unreachable code warnings 2022-09-24 20:00:02 -05:00
Slendy
d7fa63d31c
Fix hearting playlists 2022-09-24 19:43:22 -05:00
Slendy
5865f7eb0e
Forgot the migration file 2022-09-24 19:31:17 -05:00
Slendy
af0e5bd424
Changes from self review 2022-09-24 19:24:38 -05:00
Josh
fbe203d84a
Merge branch 'LBPUnion:main' into playlists 2022-09-24 19:24:14 -05:00
Ezoiar
46a5b62f68
Update README.md (#491)
* Update README.md

* Update README.md

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

* Update README.md

Forgot to also set the console part too lol

Co-authored-by: Josh <josh@slendy.pw>
2022-09-24 18:25:33 -05:00
Dagg
343a88f802
Add Adventure icon for slot settings (#494)
* Adventures show correct icon in settings

* Update ProjectLighthouse.Servers.Website/Pages/SlotSettingsPage.cshtml

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

Co-authored-by: Josh <josh@slendy.pw>
2022-09-24 18:22:45 -05:00
Josh
ded7628085
Add unimplemented LBP3 login field (#495)
* Add unsupported LBP3 features

* Add GameApiExternal config url

* Add more exempt urls to digest check

* Make exemptPathList static
2022-09-24 18:19:19 -05:00
Josh
3ad211e5c8
Implement POST request rate limiting (#490)
* Initial work for rate limiting

* Refactor GameServerStartup and change default rate limit config

* Adjust config naming and add Enabled option to global and override rate limits

* Fix LBP3 republish bug

* Fix bugs in rate limiting and allow for multiple matched overrides

* Add this qualifier for private variable

* Changes from self review
2022-09-24 17:18:28 -05:00
Slendy
110d81f117
Fix editing reviews 2022-09-24 13:40:47 -05:00
Slendy
84e645942a
Make playlist serialization include hint_start 2022-09-23 22:03:25 -05:00
Slendy
4483819bd7
Implement hearting playlists 2022-09-23 00:03:54 -05:00
Slendy
1d4d143519
Merge remote-tracking branch 'lighthouse/main' into playlists
# Conflicts:
#	ProjectLighthouse/PlayerData/Profiles/User.cs
2022-09-22 23:24:01 -05:00
Slendy
2cf2e6622a
Prevent directory traversal attacks 2022-09-22 17:11:17 -05:00
Slendy
b26d96bacd
Make childId not nullable in SubmitScore 2022-09-20 17:09:35 -05:00
Slendy
a6c17b0e16
Fix leaderboards for non-adventure levels 2022-09-20 16:55:56 -05:00
dependabot[bot]
3b6298d265
Bump SharpZipLib from 1.3.3 to 1.4.0 (#484)
Bumps [SharpZipLib](https://github.com/icsharpcode/SharpZipLib) from 1.3.3 to 1.4.0.
- [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.3.3...v1.4.0)

---
updated-dependencies:
- dependency-name: SharpZipLib
  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-09-20 16:11:27 -05:00
Dagg
dfd1d9b748
LittleBigPlanet 3 Adventure Support (#477)
* Baseline LBP3 Adventure slot support
VERY unsafe and hacky to use as of now, this is just testing the waters.

* ADC file type checking

* Refactor & trimming
This might need to be adjusted if any feature is found to be missing

* isAdventure added to API

* Prototype Adventure icons for Website
I am not an artist, please make this more in line with the originals.

* Override border radius for LBP3 Adventures

* Cleaning

* Remove WriteLine and unused property

* Remove unused libraries

* Handle tracking and submitting of Adventure scores

* Check for null instead of 0
Non-adventure slots will report null, not 0

* Score for adventure slot instead of main slot

* Tweaks for PR

* Identify levels for photos by level resource
Verify this doesn't break anything.

* SlotCardPartial merge with main changes

* PR resolution 2

* probably not what was wanted
Use variables for style extension

* Internal slots already properly identified

* Return line breaks to end of Slot.cs

* Remove line break added by Github

thanks

* Github.

* Make this a one-liner

* Reduce to two lines

* This can also be one line

* This can *also* be one line

* Update ProjectLighthouse.Servers.Website/Pages/Partials/SlotCardPartial.cshtml

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

* PR changes

* Update ProjectLighthouse/Migrations/20220916141401_ScoreboardAdvSlot.cs

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

Co-authored-by: Josh <josh@slendy.pw>
2022-09-20 16:08:02 -05:00
Slendy
83a905c8a2
Don't redirect for gameAssets either 2022-09-20 15:56:42 -05:00
Slendy
972faeea84
Add support for LBPV labels on the website 2022-09-20 15:38:55 -05:00
Slendy
b7c4f17298
Fix bug in user redirection middleware 2022-09-20 15:31:48 -05:00
Slendy
602f0c63d5
Don't redirect for StaticFiles 2022-09-20 15:18:27 -05:00
dependabot[bot]
e4bfab234f
Bump YamlDotNet from 12.0.0 to 12.0.1 (#483)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 12.0.0 to 12.0.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v12.0.0...v12.0.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-09-20 14:32:41 -05:00