Commit graph

31 commits

Author SHA1 Message Date
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
Slendy
022bb4dc3f
Correct a typo in endpoint and return blank playlist 2022-09-01 01:37:51 -05:00
Josh
d640c000aa
Implement LBP1 tags, stricter resource checking, and more (#463)
* Add LBP1 tags, more strict resource checking, and more.

* Fix unit tests

* Add more length checking to dependency parser

* Online editor problems

* Fix tests pt 2

* Self code review and fixed digest bugs

* Don't add content length if it was already set

* Fix status endpoint

* Fix review bug and simplify review serialization

* Fix a typo in review serialization

* Remove duplicated code and fix search

* Remove duplicate database call
2022-08-31 20:38:58 -05:00
jvyden
3f52f10960
Make all players in lobby submit unique score
Matches official server behavior.
2022-08-15 01:31:29 -04:00
jvyden
2b90ed52aa
Fix scores, i'm a fucking moron 2022-08-14 19:46:44 -04:00
jvyden
b5abe7738d
Order scores by id then by points
Closes #418
2022-08-14 19:08:43 -04:00
Toru the Red Fox
4737ea5d93
General improvements to hearting and queuing (#403)
* Implement favouriting developer slots

* note todo

* list developer levels in hearted

* set gameversion for hearted developer slot

* removed game exclusions

* reverse order of favouriteSlots and lolcatftw

* also order hearted users

* also reverse order in LBP3 hearted category

* add proper sorting for lolcatftw and favouriteSlots

* forgot a set of brackets lol

* cleanup and queue and hearted category fixes for LBP3

(they now show as empty when they are in fact empty)

* sort favouriteUsers properly

* ok I think I fixed it now

* ok it should be fine now?

* ok this returns wrong

* reorder query to fix it lol

* Update ProjectLighthouse/PlayerData/Profiles/HeartedProfile.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* tweaks

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-08-14 16:48:32 -04:00
Josh
d23a264b8a
Lots of bug fixes and performance improvements (#410)
* Many bug fixes and performance enhancements

* Fix warnings and speed up photos with me

* Finish refactoring user serialization

* Finish refactoring user serialization
Use GameTokens instead of User when possible
Prevent negative page sizes

* Fix debug compilation

* Add gzip compression to example nginx config

* Remove deflate changes

* Add UsernameFromWebToken

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-08-13 00:56:17 +00:00
jvyden
ef6acbb210
Add ability to hide levels 2022-08-05 21:44:17 -04:00
jvyden
e5028c870d
Include hint_start in hearted slots and users 2022-08-04 15:41:17 -04:00
Josh
6c989e7923
Implement story mode player counts endpoint (#400) 2022-08-04 15:07:52 -04:00
Jayden
2ab1e72037
Implement basic privacy settings (#392)
* Add ability for clients to submit and retrieve privacy settings data

* Make slot pages and user pages respect user's privacy settings

* Prevent webhook from publishing new levels if user's privacy settings disallow it

* Hide levels/profiles from respective pages depending on privacy settings

* Apply suggestions from review
2022-08-02 18:22:56 -04:00
Josh
fdf1988a34
Implement online story features and photos taken in levels (#389)
* Initial commit to support developer slots

* Remove hearting story levels, prevent race condition in adding dev slots, and remove LastContactHelper local db object.

* Fix photos taken in pod showing wrong level.

* Add support for pod and create mode photos

* Add time display to photos and added photo display to level page

* Add pagination to in game photos

* Update in pod description

* Fix migration

* Adjust wording of photos taken on local slots

* Set slot default type to User

Fixes old slots being set to developer slots

* Apply suggestions

* Add player count to developer slots

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-08-01 19:46:29 +00:00
Josh
1d1099ed4e
Fix heart and queue lists (#386) 2022-07-31 17:01:36 -04:00
jvyden
ab346bc906
Add logging to StartPublish, fix bug where levels do not publish if rootLevel does not exist 2022-07-30 18:17:28 -04:00
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
Jayden
958ddfeab0
Potential fix for LBP2 search
Unsigned because I'm not home, and I'm on my phone.
2022-07-29 21:04:18 -04:00
jvyden
e18e606787
Implement LBP3 search tab
Closes #377
2022-07-29 17:20:01 -04:00
jvyden
d810a3a9f1
Implement busiest tab 2022-07-29 16:47:14 -04:00
jvyden
fc5b061b3a
Fix gameVersion comparison in queue and hearted levels
Closes #206
2022-07-29 16:14:55 -04:00
jvyden
5d6e339fa8
Bump description max length to 512, log character count 2022-07-25 19:24:18 -04:00
jvyden
23900f8217
Add level publish logging 2022-07-25 19:18:02 -04:00
jvyden
89b6e6dff3
Adjust review character limit to match LBP Vita's limit
Closes #286
2022-06-10 03:48:12 -04:00
Josh
d0f5d07194
Fix level text limits (#318) 2022-06-04 17:55:20 -04:00
jvyden
630b38e7bb
Make logger a non-static class 2022-05-15 16:57:50 -04:00
jvyden
c345eeebb9
Massive organization of classes and namespaces 2022-05-15 16:45:00 -04:00
jvyden
330c01317d
Combine a bunch of helpers together, shuffle some things around 2022-05-15 00:24:22 -04:00
jvyden
b2ec7eae57
Move servers to LBPU.PL.Servers 2022-05-14 23:37:55 -04:00