Slendy
98a7f95e65
Disable comments on story levels if comments are turned off in config.
2024-06-25 04:44:03 -05:00
Slendy
541172b001
Don't reuse instances of SHA256 when hashing.
2024-06-25 04:38:21 -05:00
Slendy
573e7c4f1f
Categorize review tests as unit tests
2024-06-25 04:20:18 -05:00
Josh
7fbfd618be
Merge pull request from GHSA-8q42-63xx-75pf
2024-06-25 04:18:43 -05:00
jackcaver
0fd76f1662
Remove license check ( #1035 )
...
* remove license check
* removed IsDirty
---------
Co-authored-by: jackcaver <jackcaver@users.noreply.github.com>
2024-06-23 01:38:59 +00:00
Kat
be11e138f0
Implement the ability for moderators to delete all scores/comments by a user ( #1027 )
...
* Implement delete all scores/comments
* Fix formatting in AdminUserController.cs
* Move logging out of loop
* Batch delete scores based on UserId
* Batch update comments instead of using a foreach
* Use html entity instead of apostrophe character
* Confirm before deleting all comments/scores
* Remove unnecessary database.SaveChanges
2024-06-15 02:27:18 +00:00
sudokoko
e89a4c27fa
Fix mismatch between user/targetedUser in force verify endpoint
2024-05-31 18:40:59 -04:00
sudokoko
3546f60f4f
Disallow forced email verification of users with no email
2024-05-31 18:28:37 -04:00
sudokoko
643cb8e816
Implement the ability to forcibly verify a user's email ( #1022 )
...
* Implement the ability to forcibly verify a user's email
* Apply suggestions from code review
2024-05-31 22:10:05 +00:00
sudokoko
262ada37ae
Bump dependencies
2024-05-31 13:53:41 -04:00
Slendy
9e84e46844
Add custom ToString method for NPTicket section header
2024-05-11 17:58:48 -05:00
Josh
ed5bb5d769
Prevent LBP3 reviews from showing up in LBP2 ( #1015 )
2024-04-29 01:44:41 +00:00
dependabot[bot]
0ce748de8f
Bump SixLabors.ImageSharp from 3.1.3 to 3.1.4 in /ProjectLighthouse ( #1012 )
...
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases )
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.3...v3.1.4 )
---
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-04-15 23:30:25 -05:00
Slendy
9348d58158
Fix infinite redirect for users with empty usernames
2024-04-15 14:11:47 -05:00
sudokoko
67d0d3d7b1
Prevent duplicate profile pins
2024-04-05 10:00:16 -04:00
sudokoko
931f079265
Append line breaks after read only mode warning in announce text
2024-03-30 15:04:48 -04:00
Ren
e8441c134b
Use Actions to build and publish Docker images to Github Container Registry ( #1004 )
...
* Create docker-publish.yml
* Update docker-publish.yml
* Now this should work
GitHub's own template is a little out of date, had to accommodate for this https://github.com/actions/starter-workflows/issues/2357
* updating to actions/checkout@v4
* Update docker-publish.yml
* Update do
Co-authored-by: sudokoko <koko@sudokoko.xyz>
* Update docker-publish.yml
Co-authored-by: sudokoko <koko@sudokoko.xyz>
* testing arm building
Co-authored-by: Zaprit <henry@vorax.org>
* an attempt to get this docker workflow to play nice with arm
* Revert "testing arm building"
This reverts commit a030b62f73
.
* Revert "an attempt to get this docker workflow to play nice with arm"
This reverts commit 8faf3f4a5a
.
* Minor nitpicky things before merge
Committing these directly as to not bother you with another code review. Adds a nice-name to the job and renames "build" to "build-publish".
---------
Co-authored-by: sudokoko <koko@sudokoko.xyz>
Co-authored-by: Zaprit <henry@vorax.org>
2024-03-30 04:36:19 +00:00
github-actions[bot]
81ec09041c
Update the localization files ( #1006 )
...
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-29 23:23:39 -04:00
sudokoko
da8322e01a
Fix errant line breaks in landing page announcement view
2024-03-29 23:17:01 -04:00
sudokoko
0ee8970c64
Implement read-only mode ( #1001 )
...
* Implement read-only mode
* Use localized string under default language for announce text
* Redirect to user page rather than returning blank 400
* Protect call to `ParseBase64Image`
* Add protections to SlotSettingsPage and nitpick format
* Display the latest announcement (if any) on the landing page
* Fix a kokoism
Accidentally tried to use markdown within the landing page... I'm rather smart aren't I
* Prevent possible XSS
* Separate truncated announcement text and link with "..."
* Apply suggestion from code review
* Add read-only check to /postComment in slot page controller
* Fix inconsistent tabbing
2024-03-30 02:51:12 +00:00
sudokoko
975fcab100
Revert "Display the latest announcement (if any) on the landing page"
...
This reverts commit a5ba5844f8
.
Commit was intended for the `read-only` branch and was pushed to `main` in error.
2024-03-28 13:43:21 -04:00
sudokoko
a5ba5844f8
Display the latest announcement (if any) on the landing page
2024-03-28 13:27:30 -04:00
dependabot[bot]
e1cc214f44
Bump dotnet-ef from 7.0.13 to 8.0.3 ( #997 )
...
Bumps [dotnet-ef](https://github.com/dotnet/efcore ) from 7.0.13 to 8.0.3.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.13...v8.0.3 )
---
updated-dependencies:
- dependency-name: dotnet-ef
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>
2024-03-27 22:13:11 -04:00
sudokoko
67756805e0
Bump dependencies
2024-03-27 22:06:30 -04:00
dependabot[bot]
c6e7da5259
Bump xunit from 2.5.3 to 2.7.0 ( #981 )
...
Bumps [xunit](https://github.com/xunit/xunit ) from 2.5.3 to 2.7.0.
- [Commits](https://github.com/xunit/xunit/compare/2.5.3...2.7.0 )
---
updated-dependencies:
- dependency-name: xunit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 18:52:53 +00:00
dependabot[bot]
5364c51d45
Bump Selenium.WebDriver from 4.14.1 to 4.18.1 ( #984 )
...
Bumps [Selenium.WebDriver](https://github.com/SeleniumHQ/selenium ) from 4.14.1 to 4.18.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases )
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.18.1 )
---
updated-dependencies:
- dependency-name: Selenium.WebDriver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 18:52:05 +00:00
dependabot[bot]
09644ebed3
Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 ( #995 )
...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit ) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases )
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.6...2.5.7 )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
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>
2024-03-25 18:41:33 +00:00
dependabot[bot]
34328c891f
Bump Selenium.WebDriver.ChromeDriver from 121.0.6167.8500 to 123.0.6312.5800 ( #994 )
...
Bump Selenium.WebDriver.ChromeDriver
Bumps [Selenium.WebDriver.ChromeDriver](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver ) from 121.0.6167.8500 to 123.0.6312.5800.
- [Changelog](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/blob/master/RELEASE-NOTES.txt )
- [Commits](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/compare/v.121.0.6167.8500...v.123.0.6312.5800 )
---
updated-dependencies:
- dependency-name: Selenium.WebDriver.ChromeDriver
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>
2024-03-25 18:41:18 +00:00
dependabot[bot]
1b08964f8c
Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.9.0 ( #975 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.7.2 to 17.9.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.2...v17.9.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 18:41:05 +00: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