Donmai

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

Site update

Changes
  • Uploader names are back.
  • You can hover over usernames to see more information about a user.
  • Posts now show the file type next to the file size.
Fixes
  • Fixed post tooltips not appearing on the comments page.
  • Fixed it being possible to signup for a new account while you were already logged in.
  • Fixed tags being unintentionally changed to artist tags when someone created an artist entry with the same name as an existing tag.
API Changes
  • /posts.json no longer returns post IDs for restricted posts.
  • Removed the .with-style CSS class.

Full changelog: https://github.com/danbooru/danbooru/compare/production-2020.07.07-022441-utc...production-2020.07.15-023412-utc

nonamethanks said:

The tooltips take a while to show up, maybe the delay should be reduced. Otherwise they look nice.

Or better yet, make the delay configurable (as I happen to like the delay as it is right now). This used to be possible by setting the Danbooru.PostTooltip.SHOW_DELAY, but that no longer works since all of the delay variables are bound upon initialization.

Let me explain about why I'm bringing uploader names back. Uploader names were originally removed because they incentivize competing for uploads. Competing for uploads is at the root of a lot of negative behaviors on the site. And no, I'm not talking about sniping. I'm talking about things like uploaders flooding the site with duplicates and paid rewards so they can farm karma. I'm talking about uploaders edit warring over whose post gets to be the parent, or accusing others of "stealing" uploads, or engaging in feedback wars. All this stuff is rooted in competing over uploads.

I still think these things are a problem. However, removing names hasn't done much to discourage these behaviors. I think a lot of these problems are inherent to the nature of a site like this. Most user-generated content sites (Reddit, Twitter, Youtube, Instagram) end up struggling with issues like this as people learn how to game the system. I think it's impossible to avoid this without making uploads completely anonymous and getting rid of all scores and upload stats, which is not going to happen.

The reason I'm bringing names back is because I've noticed it creates confusion for casual users. Sometimes people think posts are uploaded to Danbooru by the artist themselves. Other times artists think Danbooru is the one is uploading their works. I want to make it clear, especially to artists, that all posts on Danbooru come from users, not from Danbooru itself.

Updated

/posts.json no longer returns post IDs for restricted posts.

Why not remove restricted posts from the response.
Including too many missing fields brings a lot of trouble to json parsing

Banned posts aren't removed from the API completely because they still exist and they might be useful to some users. If I become aware of people still trying to exploit this I will remove the posts from the API completely though.

  • /posts.json no longer returns post IDs for restricted posts.

but what's the reasoning for this?

doesn't this create a huge problem for anyone trying to iterate through results using page=b<ID>/page=a<ID> ?

Updated

There was a userscript that used an ID-to-MD5 database to make restricted content visible to unprivileged users. IDs were removed to prevent this exploit.

ID-based pagination should still work as long as the entire page isn't full of restricted posts. This shouldn't happen unless you're trying to iterate across a banned tag. In that case you should be able to use page-based pagination instead.

kittey said:

Weren’t related tags ordered by tag count before? They’re unordered now, which is less helpful.

They're ordered by similarity score. For the "Related tags" button, this defaults to cosine similarity. For all of the other categories, it's frequency similarity. That is how they should be IMO.

You can change between cosine, frequency, or like similarity (wildcard search), by controlling which parameters get sent to the server. My IndexedAutocomplete script (topic #14701) facilitates that very thing.

Discovered a potential problem with user #739920. Five pool changes, all vandalistic, adding totally unrelated posts. Little other activity overall in the short period since they joined, apart from a large number of Favorited posts. Not sure if this behavior merits straight-up punishment or a warning.

[Edit] And they've just done it again, this time with pool #8095. It's been reverted, but still...

Updated

Site update

Changes
  • If you signed up with a VPN or a proxy, you will see a "Your account is restricted" banner when browsing the site. If your account is restricted, you can still passively use the site, but you can't leave comments, tag posts, upload posts, or otherwise submit or edit content until you verify your account. To verify your account, you just need to add an email address and confirm it.
  • Adjusted font sizes in some places. Usernames in comments are smaller. Headers are also smaller in some places.
  • On mobile, posts now show the sample image size (850px) instead of the original image size, even if you have original images enabled in your settings.
  • Changes to notes:
    • You can press ctrl+enter in the note edit box to save the note.
    • You can now delete new notes that haven't been saved yet.
    • Creating new notes is now pixel-perfect (before notes would move slightly after creating a new note).
    • When dragging embedded notes, they now always appear above other notes.
Fixes
  • Post tooltips: fixed long usernames causing the header bar to overflow.
  • Post tooltips: fixed tooltips appearing on top of each other when moving over adjacent post #1234 links (especially in the deletion appeal thread).
  • Fixed the tag counter (the one above the edit box when tagging posts) not updated when backspacing tags, or when pasting in tags.
  • Fixed the tag counter icons being insufficiently motivational.
  • Notes:
    • Fixed notes being marked as unsaved when clicking preview, even if nothing changed.
    • Fixed note popups staying visible when toggling notes off, when resizing the image, or when keyboard resizing notes.
    • Fixed not being able to keyboard resize rotated embedded notes.
API Changes
  • Changed <h1>-<h6> tags in various places, most notably in the tag list. This may affect userscripts and custom css.
  • Removed data-* attributes from the #image element. These attributes can be found on the .image-container element instead. Most of these attributes have been available on .image-container for a while now.
  • Removed the `POST /moderator/post/posts/:id/delete` endpoint.
  • Added a `DELETE /posts/:id` endpoint.

Full changelog: https://github.com/danbooru/danbooru/compare/production-2020.07.15-023412-utc...production-2020.08.04-022150-utc

Updated

Minor update
  • Fixed not being able to change tag categories.
  • The tag edit dialog box now includes ratings.
  • Fixed the tag counter not appearing in the tag edit dialog box on the uploads page.
  • Fixed the related tags not updating the tag counter.
  • Adjusted the width of the tag edit dialog box (now it's 720px wide; before it was 60% of your screen width).
  • Removed the rule that your account must be at least a week old before you can remove tags.