* 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>
* 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
* Migrate to GitInfo for embedding git information
* Adjust gitignore to reflect new git system
* Fix changes from broken merge
* Remove vestigial code in VersionHelper
---------
Co-authored-by: sudokoko <koko@drones.gay>
* Add missing moderation notifications
* Shorten temporary variable "commentEntity" to "c" for consistency
Didn't catch this when rider inserted these include statements
* Fix incorrect access of TargetUser
* Remove excess indent and random semicolon
* Implement notifications logic, basic calls, and admin command
* Remove unnecessary code
* Add ability to stack notifications and return manually created XML
* Remove test that is no longer needed and is causing failures
* Apply suggestions from code review
* Merge notifications with existing announcements page
* Order notifications by descending ID instead of ascending ID
* Move notification send task to moderation options under user
Also restyles the buttons to line up next to each other like in the slot pages.
* Style/position fixes with granted slots/notification partials
* Fix incorrect form POST route
* Prevent notification text area from breaking out of container
* Actually use builder result for notification text
* Minor restructuring of the notifications page
* Add notifications for team picks, publish issues, and moderation
* Mark notifications as dismissed instead of deleting them
* Add XMLdoc to SendNotification method
* Fix incorrect URL in announcements webhook
* Remove unnecessary inline style from granted slots partial
* Apply suggestions from code review
* Apply first batch of suggestions from code review
* Apply second batch of suggestions from code review
* Change notification icon depending on if user has unread notifications
* Show unread notification icon if there is an announcement posted
* Remove "potential" wording from definitive fixes in error docs
* Remove "Error code:" from publish notifications
* Send notification if user tries to unlock a mod-locked level
* Change notification timestamp format to include date
* Add clarification to level mod-lock notification message
* Change team pick notifications to moderation notifications
Apparently the MMPick type doesn't show a visual notification.
* Apply suggestions from code review
* Add obsolete to notification types that display nothing in-game
* Remove unused imports and remove icon switch case in favor of bell icon
* Last minute fixes
* Send notification upon earth wipe and clarify moderation case notifications
* Add check for empty/too long notification text
* Changed missing digest message to more accurately reflect what will be wrong if it's not set
* Update ProjectLighthouse.Servers.GameServer/Startup/GameServerStartup.cs
Grammar is difficult.
Co-authored-by: sudokoko <koko@drones.gay>
---------
Co-authored-by: sudokoko <koko@drones.gay>
* Display link to source code and license in footer
* Remove " (fetch)" suffix in remote URL
* Use split instead of replace for getting the clean remote URL
* Open license link in new tab as well
* LINQ-ify things and handle potential errors
* Properly detect remote URL type and parse accordingly
Squashed 3 commits:
* Properly detect remote URL type and parse accordingly
* Actually fix broken source code link...maybe
* Attempt to fix broken source code link
* Fix a kokoism
Perhaps we should actually utilize the firstRemoteUnparsedUrl variable instead of getting the FirstOrDefault remote over and over
* Fix missing slash when using an SSH remote
* Assign null to parsed URL variable by default
Thank you clyde discord
* Only perform the null check on the unparsed URL once
Thank you again clyde discord
* Handle exception when there are no defined remotes
* Move remote determination to VersionHelper and format file
Squashed 4 commits:
* Nitpick variable naming and add XML doc
* Use preferred braces style
* Return null directly if unparsed URL is null
* Move remote determination to VersionHelper and format file
* Add param to include HTTPS prefix in DetermineRemoteUrl method
* Remove warnings from XML doc
Not needed as of c63284cb37
* Properly insert HTTPS prefix into SSH remotes
* Fix license layout and improve git remote parsing
---------
Co-authored-by: Slendy <josh@slendy.pw>
* Add pagination to moderation cases list and tweak case dismissal task
* Clean up case partial and add extended case status indicators
* Redirect back to cases list after dismissing a case
* Fix typo on cases list queue counter
* Fix dismissal queue counter
* Convert dismiss button check into pattern
* Turn down case dismissal task repeat interval to every 1 hour
* Use page 0 for case searching
* Implement pagination on the admin users list <3
* Fix pagination button padding and update colors to match existing role colors
* Fix typo in admin search placeholder
* Make cases searchable by user/slot ID instead of reason
Due to the current state of the moderation case entity, I can't directly query against the affected user name, so I've added the ability to search for the affected user/slot ID instead of reason.
* Actually apply the desired changes instead of just fixing the counts
* Grammatical nitpick in the search box placeholder