ProjectLighthouse/ProjectLighthouse.Servers.Website/Controllers/Moderator
koko 6f55ce3226
Add basic ability to flag duplicate levels (#753)
* Add the basics for duplicate level flagging

* Use this.BadRequest instead of StatusCode(500)

* Remove redundant slot creator check

* Include creator entity

* Redirect back to slot page for unauthenticated reqs

* Check if reporter = level creator on server side

* A few formatting nitpicks with the webhook

* Move external url config to a shorter var

* Change duplicate flag button icon to a flag

* Remove accidental dollar sign

Co-authored-by: Josh <josh@slendy.pw>

* Remove another accidental dollar sign

Co-authored-by: Josh <josh@slendy.pw>

* Three dollar signs... I'm blind

Co-authored-by: Josh <josh@slendy.pw>

* Update ProjectLighthouse.Servers.Website/Controllers/Moderator/ModerationSlotController.cs

Co-authored-by: Josh <josh@slendy.pw>

---------

Co-authored-by: Josh <josh@slendy.pw>
2023-04-27 02:48:19 +00:00
..
ModerationCaseController.cs Revert website Forbid and Unauthorized method usage to StatusCode 2023-03-30 19:23:11 -05:00
ModerationRemovalController.cs Refactor serialization system (#702) 2023-03-28 00:39:54 +00:00
ModerationSlotController.cs Add basic ability to flag duplicate levels (#753) 2023-04-27 02:48:19 +00:00