Josh
407afcede3
Merge branch 'main' into translations
Continuous Integration / Build & Test (push) Has been cancelled
2025-01-10 21:49:38 -06:00
Kat
4f9dc2a52d
Notify a user when their highscore is beaten ( #1083 )
...
* Notify a user when their highscore is beaten
* formatting
Co-authored-by: sudokoko <sudo@koko.rip>
* noPrefix -> prefix
* documentation and fix closing tag
* better documentation
---------
Co-authored-by: sudokoko <sudo@koko.rip>
Co-authored-by: Josh <josh@slendy.pw>
2025-01-11 03:44:53 +00:00
Josh
301e5d0d32
Update Github Action versions ( #1085 )
...
* Update CI actions
* Update from deprecated Qodana actions version
2025-01-10 21:25:56 -06:00
Slendy
12b31ca92f
Make website work with languages without an associated CultureInfo
Continuous Integration / Build & Test (push) Has been cancelled
2025-01-05 13:58:21 -06:00
Crowdin Bot
db23b711bf
[skip ci] Update the localization files
2025-01-05 19:12:07 +00:00
Josh
2f4a162db3
Upgrade upload artifact action to v4 ( #1080 )
Continuous Integration / Build & Test (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
Qodana / qodana (push) Has been cancelled
2024-12-17 23:38:26 +00:00
FeTetra
8b8756e6de
Implement checkboxes in slot settings to toggle various slot properties ( #1063 )
...
Continuous Integration / Build & Test (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
Qodana / qodana (push) Has been cancelled
* Implement checkboxes in slot settings to toggle various slot properties
* Fix UI inconsistencies in checkboxes
* Update ProjectLighthouse.Servers.Website/Pages/SlotSettingsPage.cshtml
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse.Servers.Website/Pages/SlotSettingsPage.cshtml
Co-authored-by: Josh <josh@slendy.pw>
* Fix missing end quote and add extra margin
* Update SlotSettingsPage.cshtml.cs
Resolve file conflict
---------
Co-authored-by: Josh <josh@slendy.pw>
2024-12-11 04:40:40 +00:00
FeTetra
f059b20489
Fix missing filtering, filter inconsistencies, and filter logging ( #1082 )
...
Continuous Integration / Build & Test (push) Waiting to run
Upload Translations to Crowdin / crowdin-sync (push) Waiting to run
Build Docker Image / Build and Publish (push) Waiting to run
Qodana / qodana (push) Waiting to run
* Fix missing filtering, filter inconsistencies, and filter logging
* Remove unused import and replace removed logger
* Make filter log arguments optional
* Update ProjectLighthouse.Servers.GameServer/Controllers/MessageController.cs
Co-authored-by: sudokoko <sudo@koko.rip>
* Update ProjectLighthouse.Servers.Website/Pages/Debug/FilterTestPage.cshtml.cs
Co-authored-by: sudokoko <sudo@koko.rip>
* Replace filter location strings with enum
* Rename enum to FilterLocation for readability
---------
Co-authored-by: sudokoko <sudo@koko.rip>
2024-12-11 01:01:37 +00:00
sudokoko
a3022ff5b4
Refactor web-based comment deletion routine ( #1079 )
...
Continuous Integration / Build & Test (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
Qodana / qodana (push) Has been cancelled
* Refactor web-based comment deletion routine
* Apply suggestions from code review
2024-11-07 15:44:41 -05:00
Henry Asbridge
f1fe542656
Add config options to restrict signup on certain platforms ( #1077 )
...
Continuous Integration / Build & Test (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
Qodana / qodana (push) Has been cancelled
* feat: add config options to restrict signup on certain platforms
* add isPSN extension to platform enum
* actually forbid on invalid sign-up attempt, and fix compiler warnings
* Fix code review suggestions
* Apply suggestions from code review
Co-authored-by: Josh <josh@slendy.pw>
* Fix qodana pipeline
---------
Co-authored-by: Josh <josh@slendy.pw>
2024-11-02 16:40:55 +00:00
qodana-cloud[bot]
b37be0d821
Add qodana CI checks ( #1076 )
...
Continuous Integration / Build & Test (map[database:true fullName:ubuntu-latest prettyName:Linux webTest:true]) (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
Qodana / qodana (push) Has been cancelled
* Add qodana.yaml file
* Add github workflow file
* Update qodana.yaml
---------
Co-authored-by: Qodana Application <qodana-support@jetbrains.com>
Co-authored-by: Henry Asbridge <henry@vorax.org>
2024-10-10 20:08:41 +00:00
Slendy
fdd022d579
Delete Toki and Newspeak languages
...
Continuous Integration / Build & Test (map[database:true fullName:ubuntu-latest prettyName:Linux webTest:true]) (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
They don't have valid CultureInfo's, and it breaks our translation system
2024-09-29 20:24:44 -05:00
github-actions[bot]
893e215e93
Update the localization files ( #1042 )
...
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-29 19:31:18 -05:00
Slendy
81acde7485
Add manual trigger for Crowdin GitHub action
2024-09-29 19:28:13 -05:00
Josh
baaee86e67
Allow users to manually setup two factor with secret key ( #1071 )
...
* Allow users to manually setup two factor with secret key
* Remove empty lines in markup
2024-09-30 00:11:43 +00:00
PorkchopGMX
528ee8dd17
Update README.md ( #1065 )
Continuous Integration / Build & Test (map[database:true fullName:ubuntu-latest prettyName:Linux webTest:true]) (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
2024-09-20 05:03:59 +00:00
Josh
9030d644fa
Identify NpTicket platform based on signature identifier instead of issuer ID ( #1062 )
...
Continuous Integration / Build & Test (map[database:true fullName:ubuntu-latest prettyName:Linux webTest:true]) (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
* Identify platform based on signature identifier instead of issuer id
* Use signature identifier to identify PS3
* Remove extra whitespace
2024-09-10 19:46:41 +00:00
FeTetra
917cccb3b0
Add button and controller to remove user avatar ( #1057 )
...
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Continuous Integration / Build & Test (map[database:true fullName:ubuntu-latest prettyName:Linux webTest:true]) (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
* Add button and controller to remove user avatar
* Update ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Suggestion provided to add logging, a return, and sending a notification to the affected user
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Co-authored-by: Josh <josh@slendy.pw>
---------
Co-authored-by: Josh <josh@slendy.pw>
2024-09-02 21:27:27 +00:00
Josh
0af064ad1e
Implement player count per platform and player list API endpoints ( #1014 )
...
Continuous Integration / Build & Test (map[database:true fullName:ubuntu-latest prettyName:Linux webTest:true]) (push) Has been cancelled
Upload Translations to Crowdin / crowdin-sync (push) Has been cancelled
Build Docker Image / Build and Publish (push) Has been cancelled
* Implement player count per platform and player list API endpoints
* Fix inconsistencies in the XML documentation
* Update PlayerListResponse.cs
2024-08-29 01:17:03 +00:00
Kat
fb2192d37d
filter locked levels from lucky dip ( #1055 )
...
* filter locked levels from lucky dip
* yeah sure
* put the filter in a more reasonable place
2024-08-29 01:16:08 +00:00
dependabot[bot]
a0157c9a99
Bump SixLabors.ImageSharp from 3.1.4 to 3.1.5 in /ProjectLighthouse ( #1048 )
...
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases )
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.4...v3.1.5 )
---
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-07-23 13:35:13 -04:00
Henry Asbridge
e060f55896
Base64 encode auth tokens ( #1029 )
...
* Base64 encode auth tokens to prevent issues in emails
This fixes #1023 , which should in turn solve some issues people were having with emails.
* Make test bcrypt hash things as the auth token isn't one by default
* Update ProjectLighthouse/Helpers/CryptoHelper.cs
Co-authored-by: Josh <josh@slendy.pw>
* Make only email tokens base64 encoded
---------
Co-authored-by: Zaprit <zaprit@hugespaceship.io>
Co-authored-by: Josh <josh@slendy.pw>
2024-06-29 18:14:16 +00:00
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