* Implement refresh autodiscover
* Make record fields required
* Implement checking for the Patchwork user agent (#1090)
* Implement checking for the Patchwork user agent, move logout into standalone method
* Quick fixes (awesome name)
* 403 user at login instead of logging out at /announce
* Move configuration and revert logout changes
* Rework parsing to check against GameVersion enum and game token GameVersion
* Fix logic error
oopsie
* Fix Zaprit suggestions
* Simplify patchwork game version test
* Test patchwork user agent with regex instead
* Fix Qodana warnings
* Fix remaining Qodana warnings
* Implement refresh autodiscover
* Make record fields required
* Update ProjectLighthouse.Servers.Website/Controllers/AutoDiscoverController.cs
Co-authored-by: Josh <josh@slendy.pw>
---------
Co-authored-by: FeTetra <166051662+FeTetra@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
* Implement checking for the Patchwork user agent, move logout into standalone method
* Quick fixes (awesome name)
* 403 user at login instead of logging out at /announce
* Move configuration and revert logout changes
* Rework parsing to check against GameVersion enum and game token GameVersion
* Fix logic error
oopsie
* Fix Zaprit suggestions
* Simplify patchwork game version test
* Test patchwork user agent with regex instead
* Fix Qodana warnings
* Fix remaining Qodana warnings
* Handle long entitlements section in NPTicket 2.1 tickets
* Remove previous padding as it's no longer needed.
* Add back one bit of padding as it was needed
* Get Qodana to quit it's whining
* More Qodana blugeoning
* [skip ci] Update the localization files
* Make website work with languages without an associated CultureInfo
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Slendy <josh@slendy.pw>
* 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>
* 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>
* 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>
* 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
* 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>