* Changed CommentController to use an AsyncEnumerable to attempt to fix the current issue
* Made comments & reviews from blocked users on levels not appear
* Added blocked user DB object
* Added user blocking functions
* Fixed DB Migration
* Updated DB Functions
* Added blocked user support to website
* Fixed DB Migration
* I forgot to save 🫠
* More migration pain
* Fixed Unblock label
* Update ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml
sounds cool
Co-authored-by: koko <68549366+sudokoko@users.noreply.github.com>
* Removed unnecessary imports in database
* Removed unnecessary imports in UserPage.cshtml.cs
* Made comments in-game respect blocked users
* Update ProjectLighthouse/Database.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse/Database.cs
Co-authored-by: Josh <josh@slendy.pw>
* DB Code cleanup
* Cleaned up userPage block detection code
* Get only the creator id in lieu of the whole object
* Fixed null condition when not logged in
* Fixed null condition when not logged in
* Potential DB Optimisation
* Apply suggestions from code review
Co-authored-by: Josh <josh@slendy.pw>
* Fix errors and null warning
* Use explicit type in lieu of var
* changed block icons
* Optimize blocked user check and save changes when unblocking
---------
Co-authored-by: koko <68549366+sudokoko@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
* Link to reviewer in card and pad labels
* Update LICENSE to fill in placeholders
The licensor placeholders at the bottom were left untouched so I filled in the information.
* Revert LICENSE change
* Update LICENSE
* Make database migration run independent of ServerType
* Make docker-compose services not depend on gameserver
* Add debug logging and map ASP.NET folder in container
* Don't create mutex with using and manually dispose
* Adjust mysql healthcheck to make startup faster
* Make migration use a database distributed lock
* Remove debug logging
* Add username to mod cases if user is deleted
* Add timezone package to docker container
* Remove extra space in migration sql statement
* Changes from self-review
* Website visual QOL changes
* Remove resource wording from 404
Co-authored-by: Josh <josh@slendy.pw>
* Moderation case type clarity change
* Re-arrange how comments are hidden if banned
* Revert CommentsPartial change
* 404 changes
* Change public ban "reason" message to be more generic
* Update ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml
Co-authored-by: Josh <josh@slendy.pw>
* Remove duplicated elements
---------
Co-authored-by: Josh <josh@slendy.pw>
* Create .gitattributes
Added a .gitattributes file that excludes the local customWordFilter.txt file from merged updates, allowing server operators to maintain their own word filter list and not have it overwritten.
* Update .gitignore
Added chatCensoredList to gitignore
* Update .gitignore
* Dynamic censor list file changes
Removed .gitattributes file, attempted to make chatCensoredList.txt into a dynamic file loaded at runtime instead.
* Added additional censorship coverage
Censorship now covers:
Level titles
Level descriptions
Reviews
Comments
* Delete chatCensoredList.txt
* Update .gitignore
Co-authored-by: Josh <josh@slendy.pw>
* Update filter verbiage
* Update ProjectLighthouse.Servers.GameServer/Controllers/CommentController.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse/Helpers/CensorHelper.cs
Co-authored-by: Josh <josh@slendy.pw>
* Add CensorConfiguration and add more filters
Co-authored-by: Josh <josh@slendy.pw>
* Abstract config design and update logging pattern
Also drops legacy config support
* Fix unit tests
* Make backup of config file when upgrading
* Use shared process semaphore to fix migration race conditions
* Use mutex because semaphore isn't supported
* Make startup wait for configs to load
* Move mutex to config load instead of constructor
* Add debug logging
* Make mutex static
* Change mutex name format
* Make mutex use global namespace
* Remove debug logging and fix config upgrading
* Rename lambda variable
* Make tests run in release mode
* Fix multiple command in ci
* I forgot how yaml works
* Shitty workaround
* grr mondays
* Add an NP ticket builder for unit tests
* Add NP ticket unit testing
* Fix range indexers for finding uid
* Fix LoginTests
* Validate unit test signatures
* Make builder code follow same style conventions
* Remove remnant of hardcoded issuer id
* Add lighthouse docker support
* Update to NET 7.0
* Make docker copy git repository info
* Add restart policy to compose file
* Delete temp folder after copying to data
* Only build the docker image once
* Fix builds from being dirty
* Add su-exec to final image
* Run lighthouse as non root user
* Add compose file to gitignore
* Remove compose file from gitignore
Co-authored-by: Dagg <daggintosh@outlook.com>
* Make chat filter logging configurable
Disables chat logging by default, but allows for it to be re-enabled if need be.
* Update ProjectLighthouse.Servers.GameServer/Controllers/MessageController.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ServerConfiguration.cs
Co-authored-by: Josh <josh@slendy.pw>