Commit graph

1895 commits

Author SHA1 Message Date
Slendy
0f02a93a8d
Start of activity grouping tests 2024-03-24 20:53:53 -05:00
Slendy
4e63ba70e7
Fix broken merge and recreate migrations 2024-03-24 20:53:50 -05:00
Slendy
41d2b5be7d
Prevent heart activity spam and fix photo grouping 2024-03-24 20:53:43 -05:00
Slendy
4d2645b7c3
Only serialize user slots and set photo ID in event object 2024-03-24 20:53:43 -05:00
Slendy
991b3f7af9
Set PhotoId in serialized event response 2024-03-24 20:53:43 -05:00
Slendy
7c07742090
Allow recent activity photos from moon and pod 2024-03-24 20:53:43 -05:00
Slendy
7b6786ce87
Fix news summary on LBP2 2024-03-24 20:53:42 -05:00
Slendy
c1d932d4de
Fix group news IDs being poster user ID instead of post ID 2024-03-24 20:53:42 -05:00
Slendy
d440a26476
Go back to using 0 as empty value instead of null 2024-03-24 20:53:32 -05:00
Slendy
0c9c8fd7b2
Fix score, photo, and comment activities 2024-03-24 20:53:32 -05:00
Slendy
15dbf562aa
Remove/replace console writes with debug logging 2024-03-24 20:53:29 -05:00
Slendy
966f6198c6
Revert GameScoreEvent user count workaround 2024-03-24 20:53:22 -05:00
Slendy
24fa301182
Don't create activities for story levels
Also no longer shows you activities from incompatible levels (someone plays an LBP3 level but you won't be shown it from LBP2)

Also gets rid of versus scores
2024-03-24 20:53:21 -05:00
Slendy
2949e83e01
Remove 7 player mode and show your playlists in LBP3 2024-03-24 20:53:21 -05:00
Slendy
8d034db465
I forgor the creator id 2024-03-24 20:53:21 -05:00
Slendy
a6aa12fbd9
Fix foreign key constraint on comment activity test 2024-03-24 20:53:21 -05:00
Slendy
dd5b1b8f08
Fix broken tests 2024-03-24 20:53:20 -05:00
Slendy
7533ae5e89
Fix broken merge 2024-03-24 20:53:20 -05:00
Slendy
d20b21e98a
Actually commit migration file for announcement timestamp 2024-03-24 20:53:20 -05:00
Slendy
c6f79da052
Add timestamp to WebAnnouncements 2024-03-24 20:53:16 -05:00
Slendy
d14a049741
Fix weird naming convention 2024-03-24 20:52:53 -05:00
Slendy
29e3f8661d
Prevent nesting workaround for level activity from messing with global activity 2024-03-24 20:52:53 -05:00
Slendy
60d851fb15
Finish most of Recent Activity 2024-03-24 20:52:52 -05:00
Slendy
1737a16f38
Use SQLite in-memory in lieu of EF In-Memory for testing
Also replaces usages of DateTime.Now with DateTime.UtcNow for internal time storage
2024-03-24 20:52:39 -05:00
Slendy
23cb1bef1c
Initial implementation of recent activity
DB migrations intentionally left out since they aren't finalized
2024-03-24 20:51:02 -05:00
Slendy
605f9e68c5
Initial framework for recent activity 2024-03-24 20:51:01 -05:00
Slendy
8ed755759f
Fix compilation errors in Debug configuration 2024-03-24 20:50:19 -05:00
sudokoko
5283001511
Remove IP addresses from game tokens and matchmaking 2024-03-17 21:41:10 -04:00
sudokoko
a9944ec74d
Fix issue where last contact isn't sent if matchmaking is disabled 2024-03-17 19:58:14 -04:00
sudokoko
be452270e3
Return bad request instead of forbid when matchmaking is disabled
Prevents the game client from reauthenticating every time it requests /match
2024-03-17 19:02:06 -04:00
sudokoko
5035dbb63d
Add the ability to disable matchmaking in configuration 2024-03-17 18:51:43 -04:00
Slendy
b4d67d4016
Add .gitattributes file for script line endings 2024-03-11 22:48:03 -05:00
dependabot[bot]
1b4ea8889e
Bump SixLabors.ImageSharp from 3.1.2 to 3.1.3 in /ProjectLighthouse (#991)
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 14:37:11 -05:00
sudokoko
c8f9087501
Prevent displaying user/slot bio when privacy settings are enabled 2024-02-27 15:52:54 -05:00
sudokoko
01e6fa191a
Update to .NET 8 and C# 12 (#952)
* Initial SDK and dependency bumps

* Bump Pomelo.EntityFrameworkCore.MySql to 8.0.0-beta.2

Should fix the MissingMethodException error in unit tests

* Update CI workflow to use .NET 8

* Apply suggested change from compile time warnings

* Fix digest tests

* Bump dependencies once more

* Update xunit

* Remove obsolete ISystemClock from TokenAuthHandler

* Update dependencies

* Add digest debug preprocessors back

* Maybe don't break #966

* Bump EF Driver and update various NET7 references

* Fix warnings in digest middleware tests

---------

Co-authored-by: Slendy <josh@slendy.pw>
2024-02-26 20:08:48 +00:00
Josh
a2eaedc85b
Sort team picks by the time they were team picked (#980) 2024-02-23 14:38:02 +00:00
PorkchopGMX
983b1e9984
Update CONTRIBUTING.MD 4: Reflect changes in RPCS3 (#974)
* Update CONTRIBUTING.md 3: auuuugggghhhh

More minor copyediting that i forgot to do until more than 6 months after i did my last pr lol

* Update CONTRIBUTING.md 4
2024-02-05 13:11:07 +00:00
Josh
fc3f033705
Prevent password reset spam (#973)
* Remove password reset tokens after 1 day and only allow 1 at a time

* Update expiration hint in email to reflect actual time
2024-02-02 03:12:37 +00:00
Josh
1365c6f3b4
Rename the database model snapshot and move it to the actual migrations folder (#969)
Rename the model snapshot and move it to the actual migrations folder
2024-01-20 22:25:30 +00:00
Josh
092f8bc5a2
Use UtcNow instead of Now for internal time keeping (#965) 2024-01-20 21:24:28 +00:00
Josh
c529dada35
Migrate to SQLite EF provider for testing (#966)
* Migrate to Sqlite EF provider for testing

* Fix failing unit test
2024-01-18 01:03:07 +00:00
sudokoko
25eaae1542
Add confirmation for level deletions 2024-01-17 19:57:18 -05:00
sudokoko
e29ca6cdcb
Show rootlevel hash to moderators on slot page (#964) 2024-01-11 00:32:47 +00:00
sudokoko
6e1c1ee730
Prevent placeholder user from being renamed 2024-01-06 23:41:26 -05:00
sudokoko
c9e5295338
Fix broken planet updates 2023-12-28 13:31:20 -05:00
Slendy
9dc7ce27e1
Fix infinite redirect when slot name generates empty slug 2023-12-23 20:07:52 -06:00
Slendy
b39038008d
Use HashSet to store texture guids instead of List 2023-12-23 20:07:03 -06:00
sudokoko
ef87606ba2
Merge pull request from GHSA-c8wx-65c7-q9r3
Co-authored-by: Slendy <josh@slendy.pw>
2023-12-23 00:49:59 -05:00
W0lf4llo
e593d5c957
Add Challenges Support to LBP3 (#941)
* Adds Challenges and Promotions (No resources included for Promotions)

* Adds Challenges and Promotions (No resources included for Promotions)

* Adds Challenges and Promotions (No resources included for Promotions)

* Created GameChallenge Class.

Co-authored-by: koko <koko@sudokoko.xyz>

* Add serialization logic and official server challenge config

* Fix schema and simplify things

* Renammed some classes

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Update ProjectLighthouse/Types/Serialization/GameChallenge.cs

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

* Fixed a simple coding error

* Update ProjectLighthouse.Servers.GameServer/Controllers/Login/ClientConfigurationController.cs

Co-authored-by: Zaprit <henry@vorax.org>

---------

Co-authored-by: koko <koko@sudokoko.xyz>
Co-authored-by: Josh <josh@slendy.pw>
Co-authored-by: Zaprit <henry@vorax.org>
2023-11-05 16:49:16 +00:00
dependabot[bot]
d45dc465e3
Bump Redis.OM from 0.5.3 to 0.5.4 (#934)
Bumps [Redis.OM](https://github.com/redis/redis-om-dotnet) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/redis/redis-om-dotnet/releases)
- [Commits](https://github.com/redis/redis-om-dotnet/commits)

---
updated-dependencies:
- dependency-name: Redis.OM
  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>
2023-10-31 10:59:18 +00:00