Donmai

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

Mikaeri said:

That means this should be updated, right?

What was the reason for the change though?

A lot of discontent among mods about the amount and quality of the flags. Albert decided to solve the problem radically, I guess.

It looks like the queue has been broken for a while. Deleting unapproved posts was switched to DanbooruBot a couple weeks ago, but DanbooruBot doesn't have approver privileges so while posts are being deleted not all of the "Unapproved in three days" flags have been going through.

Not sure if this the correct place to bring this up, apologies if not.

The new layout for /saved_searches is much more cumbersome and unwieldy to navigate than the old one. It used to show searches in subcategories by label in alphabetical order, now it's just one big awkward list by add date. I'd like to request the old layout to at least be an option, I don't think the new one has any utility.

Trying to tag posts only gives me:

 NoMethodError exception raised

    undefined method `each_value' for #<Array:0x007f6e215cab48> Did you mean? each_slice
    app/models/post.rb:573:in `set_tag_counts'
    app/controllers/posts_controller.rb:49:in `update'

Need help, i can't upload, its error

Upload #1354642
Date: 2017-03-18 08:52:26 +0700
Source: http://i4.pixiv.net/img-original/img/2017/02/20/10/09/17/61549451_p11.png
Tags: fate/grand_order fate_(series) fujimaru_ritsuka_(female) king_hassan_(fate/grand_order) eiri_(eirri) 1boy 1girl armor cloak comic greyscale highres horns hug long_sleeves monochrome skull speech_bubble translation_request weapon younger from_behind
An error occurred: error: NoMethodError - undefined method `each_value' for [0, 0, 0, 0, 0, 1, 3, 3, 0, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0]:Array Did you mean? each_slice

Uploads are fixed now.

I've tried adding some throttling at the Nginx layer because someone may be trying to leech the site. For the record it's only for anything under /data/, and its capped at 1Mb/s per IP and 5 reqs at once.

albert said:

Uploads are fixed now.

I've tried adding some throttling at the Nginx layer because someone may be trying to leech the site. For the record it's only for anything under /data/, and its capped at 1Mb/s per IP and 5 reqs at once.

Any chance my script was the cause? It loads samples above thumbnails to allow them to be larger and for higher quality. I've added a lazy load to it and clamped the limit to 4 at once. Occasionally I still a few samples that fail to load which somewhat breaks the script.

Actually, it does break it a lot when I open up tabs...

Updated