You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR:
- Moves the character limit enforced by the comment game endpoints to
`UgcLimits`. The game endpoints now use the limit from there, but the
API endpoints don't yet
- Allows profile owners and level publishers to delete comments off
their content from in-game aswell, to make that behaviour consistent
with the API and to try and avoid confusing users. This closes#474. To
make abuse of this less viable, maybe in the future we should notify a
user if anyone else deletes their comments (would probably already have
to be done for deletion by staff anyway), and maybe also temporarily log
deleted comments for moderation
- Deduplicates the `rateComment/developer/{content}` and
`rateComment/user/{content}` endpoint routes into one
`rateComment/{slotType}/{content}` route for consistency
- Adds and adjusts some tests for the above
database.AddErrorNotification("Failed to post comment",$"Your comment under {profile.Username}'s profile couldn't be posted because it was too long.",user);
database.AddErrorNotification("Failed to post comment",$"Your comment under the level '{level.Title}' couldn't be posted because it was too long.",user);
0 commit comments