windows
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v255/Hydrus.Network.255.-.Windows.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v255/Hydrus.Network.255.-.Windows.-.Installer.exe
os x
app: https://github.com/hydrusnetwork/hydrus/releases/download/v255/Hydrus.Network.255.-.OS.X.-.App.dmg
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v255/Hydrus.Network.255.-.OS.X.-.Extract.only.tar.gz
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v255/Hydrus.Network.255.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v255.tar.gz
links
I had a great week, getting a lot done. There are many improvements to the duplicate system and some important notes for anyone who downloads from gelbooru.
you can now move tabs!
Right-click on a page tab on the main gui and hit 'move left/right' to move it left and right!
I can't believe I didn't think of this before, but it was a hell of a lot easier than writing custom drag and drop code!
the gelbooru downloader is not healthy
Like several other downloaders in the program, now the gelbooru parser is now also having trouble. I fixed some gelbooru ssl and redirect problems this week, but the gelbooru guys themselves have also changed how their gallery thumbnail URLs work in a way that is not helpful to hydrus, particularly for subscriptions.
The gelbooru downloader page seems to fetch files and tags fine, although the urls associated with the files are not great.
For subscriptions, I have attempted to mitigate the url problem in the update code–you will receive a popup on update if you are affected–but if you had a gelbooru subscription fire in the past week (it then likely had an error due to the above redirect problem), you should check it in the manage subscriptions dialog. If the sub has twice as many urls as it should, you should go into the subscription, click the icon button that launches the list of urls and then either 'skip' or just delete the new ones.
If you have too many subs to fix or are just not confident playing around with this stuff, just pause all your gelbooru subscriptions. I will put more work into this next week, which I suspect will include a retroactive purge of these new ugly redirect urls.
This is another reason to overhaul the downloader engine, which will then be more flexible and easier to fix when these things happen. I will start it in a few weeks, as soon as I am done with the current duplicate stuff.
duplicate stuff
I've polished the duplicate filter substantially. Several miscellaneous buttons and unusual workflow cases now work properly, and shift-click should drag media around. Also, the background will brighten and darken as you flick between the pair to give better feedback, and the pairs it presents you will be selected faster and more intelligently.
And as an experiment, I've made it so pairs that have the same resolution will stay at the same zoom and pan when you flick between them. I'm really pleased with how this works, so I may extend it to more classes of pair, like those with the same aspect ratio.
full list
- the duplicate filter now supports shift+left-click to drag, like the archive/delete filter (this remains hardcoded for now)
- if a pair in the dupe filter has the same resolution, they will now maintain zoom and pan when switching back and forth (I might increase this to work for same ratio as well, let me know how it works in the real world)
- the duplicate filter will show a lighter/darker background colour as you scroll the current pair
- the way lighter/darker and alternate lighter/darker colours are calculated is now centralised and should be more reliable in edge cases
- improved the dupe filter pair selection algorithm–it now chooses pairs more reliably under edge case conditions and prioritises decision-groups that have high potential decision value. it should also run a little faster
- increased the dupe filter batch size to 250, let's see if it causes any problems
- the close button on the dupe filter's top hover window now works
- fixed the duplicate filter disappearing pairs that were skipped (meaning you could not go back to revisit them)
- fixed a frequent deadobject error when the dupe filter closes
- the shutdown 'maintenance due' test is less sensitive to dupe search tree rebalancing, which typically only takes half a second
- the archive/delete filter now uses the new shortcuts system for both keyboard and mouse input
- the archive/delete filter now intercepts archive or delete commands from different sources ('media' shortcuts, top hover frame button presses) more reliably and converts them into filter actions (hence moving on to the next file)
- you can now move pages one to the left or right from their menu!
- on the top-right hover window (and the background underneath), ratings are now on the top, and hence will always be in the same location as you scroll through your media regardless of known urls, remote location, or inbox status
- autocomplete searches for tags with apostrophes, quote marks, braces, brackets and paretheses should be more reliable
- urls are now associated with files through the same 'content' pipeline as tags and ratings and so on
- gui-level media is now aware of the 'new url content update' event and will update and redraw itself appropriately
- fixed deviant art nsfw parsing, but it might not hold for long. proper fix here is to wait for the downloader overhaul
- networking engine now uses the 'requests' module's CA .pem (which the overhaul will be moving to anyway), which should reduce the frequency of ssl verify failures (gelbooru on the relatively new 'Let's Encrypt' CA had this problem for many users)
- fixed the networking engine redirect parsing for gelbooru's unusual location header. unfortunately, gelbooru is still giving mickey-mouse garbage redirect urls from its main thumbnail pages, for which in this engine there is no immediate fix
- neighbouring .txt tags will now be properly cleaned and sibling-collapsed in the path tagging dialog
- neighbouring .txt tags will now be properly sibling-collapsed in the import folder workflow
- making a media viewer borderless fullscreen and back will now recenter the media (previously, the current drag delta was not reset, so this frequently put media off-screen)
- fixed a serious issue where the media viewer could lock the client up on opening with a video if its gui options set 'remember size' to false
- tag import options objects will cleanse themselves of missing services on options save/client shutdown
- manage tags now defaults to cross-referencing 'my files' on the 'local tags' domain, where 'remote' (i.e. deleted) files' tags are not useful
- reduced memory use when importing large pngs with transparency
- improved adminside petition processing gui reporting
- servers will now cap the size of their mapping petitions so as not to ovewhelm the admin processing them (they now won't be both >20 tags and >1000 total row weight)
- the media viewer's manage tags frame now listens for content updates from outside, so if you alter an in-view file's tags (such as with a shortcut key), the manage tags dialog will update as it happens
- moved a number of the buttons on the top hover windows to the new unified internal command engine (which the new shortcut system also uses)
- disk cache maintenance uses fewer resources but now occurs in the foreground (and should hence more reliably maintain the cache)
- critical repository service id lookup errors will now automatically reset the repository's processing cache and better inform the user of what has happened. if you see this, please let me know the details and how this error fired in the real world
- updated and reinstated the ipfs service panel in review services
- updated some ipfs service code for the new service system
- misc refactoring and cleanup
- more cleanup and deletion of redundant old pubsub command code
- updated ubuntu build machine to 17.04 and opencv 3.2
next week
I have 41 things left to do for the duplicate work, and I want to get that to 0 as soon as possible. Beyond some more gelbooru triage, I want to focus on duplicate stuff and a few bugs that I didn't have time to get to this week.
I'm behind on messages, so I'll make some time to catch up as well.