* Move censor/msg logging to MessageController & separate LogAreas/config
* Correct LBP character limit to 95
* Log filtered comments as well
* Remove two unnecessary variables from CensorHelper
* Add censor logging to SlotPage/UserPage controllers and improve logging slightly
* Remove accidental dollar sign in log
* Grammatical nitpick in CommentController.cs
* Contextual nitpick in MessageController.cs
* Add escaped quotes in CommentController log to match the rest
* Increase limit to account for descriptions, magic mouth, etc.
* Consolidate LogChatMessages logging into Filter log area to prevent confusion
* Apply code review suggestions
* Refactor RepeatingTaskHandler into an ASP.NET service
* Add unit tests for RepeatingTaskService
* Make repeating task unit tests work independent of time
* Fix weird behavior when task is canceled
* Log censored messages through filter & dead code removal
* Log original message instead of filtered message
* Better use of StringBuilder in CensorHelper, one can now send the server 64 MB of just the word fuck without things exploding into a mess of GC.
* Fix infinite loop caused by my migraine <3
* Minor code nitpicks and remove "restitched"/"h4h" from default censor list
Realistically "restitched" and "h4h" should not be in the default content filter list as they aren't causing harm to anyone. It seems these were added jokingly and nobody took them out.
* Add a few more definitions to the default swear filter list
* Fix possible crash when censoring using uwu mode
* Apply suggestions from code review
* "I am...inevitable." - Errant Whitespace, 2023
Apply code review suggestions
Co-authored-by: Josh <josh@slendy.pw>
* A few more code review suggestions
* Clarify character limit constant naming
---------
Co-authored-by: Rosie <alkalinethunder@gmail.com>
Co-authored-by: Josh <josh@slendy.pw>
* Add /api/v1/users/online endpoint
* Fix chaining style
* Return empty list if none online
* Return by ascending login time and limit to 50
* Improve pagination clamping
* Correct login time sort
* Refactor error modal into its own partial
* Fix unresolved error string in TwoFactorPartial
* Use tuple model instead of ViewData for error title and message
* Apply suggestions from code review
* Refactor NpTicket parser and add NpTicket signature documentation
* Update TickerBuilder chaining style
* Fix SectionHeader position returning wrong value
* Don't attempt to parse ticket if it is less than 8 bytes
* Simplify filters and make cross control slots not show by default
Also sort author levels by oldest levels first rather than newest levels first.
* Fix unit test expecting slots to sorted by timestamp descending
* Remove errant whitespace
* Disallow moderators/administrators from issuing cases against each other
* Resolve suggestions from reviewers
* Only request user from db if id is valid
* Implement pride logo as well as needed configuration option
* Potentially fix issue with icons not rendering
* Fix login form icon and remove unused image from PasswordResetPage
* Initial implementation of new slot sorting and filtering system
* Initial implementation of filtering for lbp3 community tab
* Add support for organization on lbp3
* Add playlist and user categories
* Implement unit tests for all filters
Refactor more systems to use PaginationData
* Fix PlayerCountFilter test
* Add more unit tests and integration tests for the filter system
* Fix LBP2 move filter and gameFilterType
* Fix sort by likes in LBP3 category
* Add sort for total plays
* Remove extra whitespace and make styling more consistent
* Order hearted and queued levels by primary key ID
* Fix query without order warnings
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
If this breaks something, blame koko for convincing me to merge this
* Add proper ban page upon logging in
* Remove two extra line break tags that don't need to be there
* Fix timestamp formatting
* Properly display timestamps in correct timezone
* Fix formatting issues with ban page
* Remove extra parenthesis which would be rendered on-page
* Add to redirect middleware to prevent navigating to other pages
* Small nitpick, renaming UserBannedPage to BannedUserPage
* Resolve nitpicks from reviewers
* Remove un-necessary log message in LoginForm
* Fix ban reason translatable string argument
* Word choice nitpick ("Ban Created" -> "Ban Issued")
* Final adjustments and nitpicks, visual and grammatical
* Resolve requested changes from reviewers