Danbooru

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

Site update

Changes
Fixes
  • Twitter: fix bug with not being able to upload Twitter profile banners.
  • Fixed users being able to upvote their own BURs.
  • Fixed deleted wiki pages still being show on artist pages.
  • Fixed bug with the "Tag matches" option not working on the advanced post versions search page.

Full changelog: https://github.com/danbooru/danbooru/compare/production-2020.06.19-212741-utc...production-2020.06.24-055822-utc

DreamFromTheLayer said:

edit: posting again

idolmaster copytags:1 age:13yrs...17yrs and idolmaster copytags:2 age:13yrs...17yrs will work but

idolmaster copytags:2 age:13yrs... doesn't, and idolmaster copytags:1 age:13yrs... times it out.

age:...1yrs will work, so is it not supposed to work the other way around?

You end up running into timeouts depending on how complicated your query is.

To avoid timeouts, use the age: (or id:) meta tag and adjust the start and end ages until it doesn’t time out, then work your way forward or backward that way: 17 to 13, 13 to 9, 9 to 5, etc.

I wrote a user script that displays a second paginator if an id:start..end range is used, but it’s currently not uploaded anywhere because userscripts.org died a while ago. :-/

Trying to use the bookmarklet on nijie posts will sometimes spit out this error:

Error
unknown scheme:

Details
HTTP::Request::UnsupportedSchemeError exception raised
app/logical/danbooru/http.rb:132:in `request'
app/logical/danbooru/http.rb:38:in `head'
app/logical/sources/strategies/base.rb:149:in `remote_size'
app/logical/upload_service/controller_helper.rb:11:in `prepare'
app/controllers/uploads_controller.rb:8:in `new'

Site update

Changes
  • Removed the "Someone commented on your uploads" dmails you got when an approver left a rejection message on one of your uploads.
  • Removed the delete artist buttons from the artists listing. To delete an artist, open the artist edit page first then click 'Delete' at the top of the page.
Fixes
  • Fixed invalid artist urls being allowed in artist entries.
  • Fixed HTTP 500 errors sometime appearing on the upload page when using the bookmarklet on large Pixiv posts.
  • Fixed wiki excerpts sometimes not appearing when searching for a tag that had a wiki but not any posts.
  • Fixed empty counts on the popular searches page.
  • Fixed exception when sequential pagination was used to go beyond the last item (e.g. /posts?page=a9999999).
API

Full changelog: https://github.com/danbooru/danbooru/compare/production-2020.06.24-055822-utc...production-2020.06.30-175117-utc

Removed the "Someone commented on your uploads" dmails you got when an approver left a rejection message on one of your uploads.

Is there any reason for this? Isn't half the point of a detailed rejection for feedback to the uploader?

Users often didn't understand who these comments were from or what they meant. People thought they were being trolled because they were getting rude messages about their uploads from anonymous users.

"Tag matches" field in advanced tag change search seems to search as a substring instead of exact match.

Example here: https://danbooru.donmai.us/post_versions?commit=Search&search%5Btag_matches%5D=tro&search%5Bupdater_name%5D=worldendDominator
I was searching for my edits on tro's posts, but I got everything with "tro" in any tag, like alice_margatroid.

While this might be intended, "use * for wildcard" seems to imply it's otherwise exact.

It's searching on a tag string and not individual tags, so getting an exact match isn't exactly straightforward.

Tag matches

The tag_matches parameter is the simple version, and it it assists the user in the search by wrapping the first word found in the query with wildcards and then doing a tags_ilike search. This normally works okay for most tags, however as you noted if the tag you are searching on is a substring of other tags, then there is going to be false positives.

Tags ilike

A more advanced version is to use the tags_ilike parameter directly, and wrap the tag with spaces first and then wildcards, e.g. * tro *.

Example: https://danbooru.donmai.us/post_versions?search%5Btags_ilike%5D=%2A+tro+%2A&search%5Bupdater_name%5D=worldendDominator

This will find most tags, however there will be misses if the tag occurs at the beginning or end of the tag string. If this is unlikely, then this would be the preferable and fastest method.

Tags regex

This tags_regex parameter is the most complex version to use, but it will also be the most precise. To find a tag using this method, the tag has to be regex escaped and then wrapped with a (^| ) in the beginning and a ($| ) at the end, e.g. (^| )tro($| ).

Example: https://danbooru.donmai.us/post_versions?search%5Btags_regex%5D=(%5E%7C%20)tro(%24%7C%20)&search%5Bupdater_name%5D=worldendDominator

However, as this uses a more complex method of matching, it will be slower than any of the other searches, and so it will also more likely timeout.

Other

See Help:Text Syntax for all of the other variations of parameters that can be used on the tags field.

Site update

Changes
  • Updated the Terms of Service and the Privacy Policy. See topic #17091 and topic #17092 for discussion.
  • Paid rewards that are banned (paid_reward status:banned) are now visible to Approvers only.
  • Uploads that are tagged paid reward by the uploader will now be automatically banned.
  • In Chrome, you can type "danb<tab>" in the address bar to search Danbooru. This now supports autocomplete.
  • In Firefox, you can click the "..." next to the address bar, then click "Add search engine" to search Danbooru from the address bar.
  • Made some cosmetic changes to post tooltips. Please report if you notice any problems or differences in behavior.
  • On mobile, the address bar is now Danbooru blue.
Fixes
  • Fixed "Something broke" appearing when a search timed out, instead of the regular timeout error page.
  • Fixed edit mode in the post mode menu not working.
  • Fixed error when tagging a post or upload with fav:self more than once.
  • Fixed an exploit that allowed you to view thumbnails of hidden posts using /comments.atom.

Full changelog: https://github.com/danbooru/danbooru/compare/production-2020.06.30-175117-utc...production-2020.07.07-022441-utc