Commit graph

1885 commits

Author SHA1 Message Date
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
dependabot[bot]
7382c7cea9
Bump dotnet-trace from 7.0.447801 to 8.0.452401 (#933)
Bumps [dotnet-trace](https://github.com/dotnet/diagnostics) from 7.0.447801 to 8.0.452401.
- [Release notes](https://github.com/dotnet/diagnostics/releases)
- [Commits](https://github.com/dotnet/diagnostics/compare/v7.0.447801...v8.0.452401)

---
updated-dependencies:
- dependency-name: dotnet-trace
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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:12 +00:00
Slendy
48a4202ba1
Revert slug hotfix and change comment links to use relative urls 2023-10-30 15:53:51 -05:00
sudokoko
30133f592c
Hotfix notification recipient IDs and fix errant photo removal notifications (#942) 2023-10-30 16:16:00 -04:00
sudokoko
69855406f5
Miscellaneous website/moderation/notification fixes (#940) 2023-10-30 17:46:05 +00:00
Slendy
0de5edca6e
Fix link generation for source code footer link 2023-10-30 03:22:48 -05:00
Josh
b8324d0c10
Migrate to GitInfo for embedding git information (#911)
* Migrate to GitInfo for embedding git information

* Adjust gitignore to reflect new git system

* Fix changes from broken merge

* Remove vestigial code in VersionHelper

---------

Co-authored-by: sudokoko <koko@drones.gay>
2023-10-29 23:50:16 +00:00
sudokoko
aa3caea363
Add missing moderation notification calls (#937)
* Add missing moderation notifications

* Shorten temporary variable "commentEntity" to "c" for consistency

Didn't catch this when rider inserted these include statements

* Fix incorrect access of TargetUser

* Remove excess indent and random semicolon
2023-10-29 19:49:48 -04:00
Josh
3c76dfa434
Fix extra whitespace in slot slugs (#938)
* Fix extra whitespace in slot slugs

* Add slug route parameter to slot and user pages
2023-10-29 18:16:36 -05:00
github-actions[bot]
cac91ff2e1
Update the localization files (#936)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-10-29 16:27:37 -05:00
Josh
1eb3bfa2ec
Implement URL slugs (#931)
* Implement URL slugs for Users and Slots

* Fix extra spaces in slot slugs
2023-10-29 20:30:43 +00:00