ProjectLighthouse/ProjectLighthouse.Servers.GameServer/Controllers/Slots
sudokoko aea66b4a74
Implement in-game and website notifications (#932)
* 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
2023-10-29 20:27:41 +00:00
..
CategoryController.cs Refactor LBP3 text search to use the category system 2023-05-31 20:35:39 -05:00
LevelTagsController.cs Refactor serialization system (#702) 2023-03-28 00:39:54 +00:00
ListController.cs Fix hearted profiles being sorted in reverse order 2023-05-31 21:25:35 -05:00
PlaylistController.cs Implement deleting playlists 2023-05-31 20:37:17 -05:00
PublishController.cs Implement in-game and website notifications (#932) 2023-10-29 20:27:41 +00:00
ReviewController.cs Rewrite gameserver slot filter system (#763) 2023-05-31 21:33:39 +00:00
ScoreController.cs Only update score timestamps when you get more points 2023-08-28 16:32:58 -05:00
SearchController.cs Add ordering to LBP2 search 2023-06-06 23:16:54 -05:00
SlotsController.cs Fix LBP2 recently played for story levels 2023-06-20 02:16:48 -05:00