Let users see when a post has deleted comments. Show normal users a '[deleted]' placeholder when a comment is deleted. Show the full comment to moderators. Also fix it so that the comment creator can't edit or undelete deleted comments, and users can't vote on or report deleted comments. Finally, hide the creator_id, updater_id, and body of deleted comments in the API.
3.9 KiB
Unreleased
Changes
-
The next/previous post navbar is now available to logged out users. This is the navbar beneath posts that lets you move to the next or previous post in a tag search. Previously this was only available to logged-in users.
-
Removed the option to disable the next/previous post navbar.
-
Removed the option to disable keyboard shortcuts.
-
Removed the option to disable tag autocomplete.
-
You can now see the list of comments and forum posts you've reported to the moderators at https://danbooru.donmai.us/moderation_reports.
-
You can now see when a post has deleted comments. Deleted comments are now replaced with the word
[deleted], instead of being completely hidden.
API Changes
- Deleted comments now have some of their fields hidden in the API. The
creator_id,updater_id, andbodyfields are hidden if you're not a moderator.
2021-01-12
Changes
-
Using the Enter key to submit an upload or save a tag edit will be removed in the future. Ctrl+Enter should be used instead (issue #4661).
-
Added a new Restricted user level. New users start out as Restricted if they signup from a proxy or are detected as a sockpuppet. Being restricted is like a soft ban: you can't upload, edit tags, create comments or forum posts, or otherwise make any changes to the site, but you can still keep favorites, saved searches, and other personal things. Restricted users must verify their email address to become unrestricted.
-
The Restricted system actually existed before, the only change is that now it's a public user level instead of a hidden flag on someone's account.
-
Your IP address, location, and browser version are now recorded when you login to your account. They're also recorded when you create an account, or do any sensitive account actions, such as changing your password or email address, requesting a password reset, or deleting your account. Failed login attempts to your account are also recorded. Mods will be able to view this information. This information is recorded for account security purposes and for site moderation purposes (detecting sockpuppet accounts and ban evasion).
Fixes
- Fixed a bug with not being able to upload certain Hentai Foundry posts (issue #4657).
- Fixed a bug with tag scripts sometimes adding the null tag (issue #4663).
- Fixed various issues with wiki other names, artist other names, and saved search labels allowing invalid characters.
- Fixed slow autocomplete when searching for Japanese or other non-English text.
API Changes
-
As described above, there's a new Restricted user level. Anything dealing with users will need to deal with a new user level.
-
Added support for the following types of searches:
-
<field>_notsearches on enum fields: -
<field>_<eq|not_eq|lt|gt|lteq|gteq>searches on foreign key fields (user IDs, post IDs, etc): -
any_<field>_matches_regex, where is an array field: -
Using multiple search filters on the same field. Before things like this didn't work:
-