Commit graph

1701 commits

Author SHA1 Message Date
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
dependabot[bot]
39a66b9cab
Bump Redis.OM from 0.2.2 to 0.2.3 (#487)
Bumps [Redis.OM](https://github.com/redis/redis-om-dotnet) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/redis/redis-om-dotnet/releases)
- [Commits](https://github.com/redis/redis-om-dotnet/compare/v0.2.2...v0.2.3)

---
updated-dependencies:
- dependency-name: Redis.OM
  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:24:54 -05:00
github-actions[bot]
abaae48552
Update the localization files (#485)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-09-19 21:10:57 -05:00
github-actions[bot]
f1eae89506
Update the localization files (#481)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-09-18 16:28:52 -05:00
Slendy
de44991ea4
Fix word wrap on user biographies 2022-09-18 15:48:56 -05:00
Slendy
91441e67bc
Fix language display name for chinese 2022-09-18 15:45:13 -05:00
Slendy
2a44e85a30
Limit text length and number of level labels 2022-09-18 15:27:54 -05:00
Slendy
40d7562660
Fix total queued levels count on Vita 2022-09-17 21:10:48 -05:00
dependabot[bot]
7249248e45
Bump Redis.OM from 0.2.1 to 0.2.2 (#479)
Bumps [Redis.OM](https://github.com/redis/redis-om-dotnet) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/redis/redis-om-dotnet/releases)
- [Commits](https://github.com/redis/redis-om-dotnet/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: Redis.OM
  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-17 18:43:18 -05:00
dependabot[bot]
0980662925
Bump Discord.Net.Webhook from 3.8.0 to 3.8.1 (#480)
Bumps [Discord.Net.Webhook](https://github.com/Discord-Net/Discord.Net) from 3.8.0 to 3.8.1.
- [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.0...3.8.1)

---
updated-dependencies:
- dependency-name: Discord.Net.Webhook
  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-17 18:40:10 -05:00
Slendy
63c9a75c31
Update EntityFramework and ASP.NET to 6.0.9 2022-09-17 14:37:47 -05:00
github-actions[bot]
db29a6b458
Update the localization files (#478)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-09-17 14:09:52 -05:00
Josh
f6a7fe6283
User settings, level settings, language and timezone selection and more. (#471)
* Initial work for user settings page

* Finish user setting and slot setting pages

* Don't show slot upload date on home page and fix team pick redirection

* Fix upload image button alignment on mobile

* Fix image upload on iPhone

* Remove unused css and add selected button color

* Fix login email check and bump ChromeDriver to 105

* Remove duplicated code and allow users to leave fields empty

* Add unpublish button on level settings and move settings button position

* Don't show edit button on mini card

* Self review bug fixes and users can no longer use an in-use email
2022-09-17 14:02:46 -05:00
Slendy
78faff36b5
Initial support for lbp3 playlists
Will add migration when user settings is merged
2022-09-15 22:53:00 -05:00
dependabot[bot]
9073a8266f
Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1 (#462)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.0...v17.3.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-09-06 15:51:05 -05:00
Slendy
096a477d0d
Clamp review thumb rating 2022-09-05 05:49:20 -05:00
Slendy
eb7cda8997
Fix StatisticsHelper concurrent exception 2022-09-05 05:04:06 -05:00
Slendy
cf5369d372
Fix friend scores and typo in log 2022-09-03 11:01:35 -05:00
Slendy
22905d419c
Add score logging, friend scores, and fix case processing 2022-09-03 02:39:51 -05:00
Slendy
fddef506c8
Fix photos with me and admin granted slots 2022-09-02 21:52:41 -05:00