Danbooru

DanbooruUp, tag completion for Firefox, Chrome, Opera

Posted under General

lastsinz said:

Hm, the tag autocompletion works on the searching field but not on the tagging field. I'm not very up to date with this thing, is this supposed to happen or has there already been a fixed version?

Not that I've seen. Is someone working on this? Where does the source live these days? Because not having completion on the upload and edit pages is pretty miserable.

The extension crashes Opera on the front page for me. I'm guessing it's searching for something that was on the old front page (tag update?).
The autocomplete was working in the search field for a while, but then it stopped as well.

I tried using it on Chrome, but I guess without a tag update it wouldn't work anyway since I've never run it there before.

zigzag said:
The extension crashes Opera on the front page for me. I'm guessing it's searching for something that was on the old front page (tag update?).
The autocomplete was working in the search field for a while, but then it stopped as well.

I'm using Opera 12.14 and haven't experienced any crashes, and autocompletion still works in the search field. Are you sure it's not some other extension that causes the crash?

Been poking at the code for a few hours,

It seems like the autocomplete does still work on opera, but only if you had already downloaded the tags.
Getting the tags seem to rely on the tag API call with "limit=0" to return all tags in existence at once, something which no longer works now. (At a rate of 20 tags per link, and maybe... 200,000 active tags? it'd be around 10k calls to download all of them, easily taking 30-120 min depending on how much requests you spam at once... Not a nice option.)
Thus a "clear tags" will break it beyond repair - it's auto-update & "Update after post submission" might also break stuff, best to turn that off for now.

With a clean install (just updated the html so the '<>' button appeared again), i couldn't get it to work at all, since it could only download 20 tags.
Fixing the rightclick -> upload to danbooru on chrome is simply updating the url in the code.

Also, albert tweeted 2 days ago that he is planning to eventually add autocomplete to danbooru itself, or import this extension.

Updated

I may have done something stupid when I cleared my tags and updated. I literally have 0 tags when
I try using the tag autocomplete. Is there's a solution or do I have to wait till Albert eventually implement it to Danbooru itself?

Updated

Appy-polly-loggies for the neglect!

0.5.0 is up on the web page, and should fix most of the problems people have been having since the upgrade. I'll push out auto-updates and upload it to the Chrome and Opera stores in just a bit.

The main new feature is Danbooru 2 compatibility. Tag updates, completion in the tag edit box, uploads, etc. should all be working again.

The tag updating now uses JSON, so the update URI in Firefox should point to a .json file. Preferences should be updated automatically, but it's something to watch out for if you're using a non-standard setup.
You'll need to be logged in for tag updates to work, so check that if you're getting 403 errors.

The tag dump that returns all tags on the site is still a little wonky. You may notice the extension fetch a backup dump from pianosite.net for bootstrapping.

The extension source code is now hosted on Github

Firefox 3.0 is sadly no longer supported. Consider upgrading to 3.5 or later.

I'm sure there are bugs, so post them here, or file an issue on Github if you prefer.

1 4 5 6 7 8 9 10 11 12