windows
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v296/Hydrus.Network.296.-.Windows.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v296/Hydrus.Network.296.-.Windows.-.Installer.exe
os x
app: https://github.com/hydrusnetwork/hydrus/releases/download/v296/Hydrus.Network.296.-.OS.X.-.App.dmg
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v296/Hydrus.Network.296.-.OS.X.-.Extract.only.tar.gz
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v296/Hydrus.Network.296.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v296.tar.gz
I had a great week. You can now edit the text on thumbnails, and there are some new file import options.
file import options
I have moved the 'allow decompression bombs' option from the global options dialog down to regular file import options. So, if you encounter a suspected decompression bomb that you would still like to import, you can now much more quickly just set the allow state on that queue and try again. Or if one artist you like tends to make big pngs that false-positive detect as decompression bombs, you can just allow them on their subscription and disallow them otherwise. This value will default to False, so please check the default file import options under options->importing if you prefer to always have it on.
Also, you can now set maximum file size and resolution in file import options. They both default to 'no limit'.
And I have added a specific 'maximum gif size' option. This defaults to 32MB and is an attempt to strike a blow against THE SFM COMMUNITY, which has a habit of duplicating webms into full-size gifs that can end up being 60MB, 150MB, or even higher, just for a few seconds of limited-colour janky-rendering animation. These gifs apparently have value for some users (on older phones, I understand), but they are almost completely useless for our purposes (especially as many downloads we do will get the much better webm/mp4 original in the same download queue). In any case, this option should stop the worst offenders without you having to pick through them. Feel free to set it even lower, although looking at my own stuff and asking other users suggests there are still some decent non-sfm-dupe gifs about 20MB. If you do want these files, feel free to set 'no limit' here, and please let me know what purpose you find in them.
tag summaries
I have written a new object, the 'tag summary generator', to allow user-editable tag 'banners' on thumbnails and the media viewer. Please check out the new 'tag summaries' options page to set what will display on the thumbnail top (which defaults to 'creator - series - title'), the thumbnail bottom-right (which defaults to 'volume-chapter-page'), and the media viewer top (which defaults to 'creator - series - title - volume - chapter - page').
I hope the ui here is clear. You choose the namespaces you want, set an optional prefix (like 'p' for pages), and set the separators to say how they are all joined up. There is a preview so you can see what you are making.
I expect to use these for file export filenames in future. Let me know how they work out for you.
misc
Some error popups non-Windows users were getting related to the tag autocomplete box should be fixed.
The client should be more aggressive about liberating memory and threads. Idle CPU, memory, and thread count should all be reduced.
I finished the 'formulae' downloader help. If you expect to write some downloaders in the new engine, please check it out here:
https://hydrusnetwork.github.io/hydrus/help/downloader_parsers.html
https://hydrusnetwork.github.io/hydrus/help/downloader_parsers_formulae.html
But I still have more to do. Anyway, let me know if you find anything confusing.
I also updated to a new version of wx, 4.0.1, for all platforms. It promises a little more stability. If you've been having any odd problems with your window managers that I haven't been able to figure out, please let me know if they are better or otherwise different in this release.
full list
- the 'allow decompression bombs' option is now moved to 'file import options'. it defaults to False
- file import options now allow max size and max resolution rules. they default to None
- file import options now allows a max gif size rule to deal with THE SFM COMMUNITY. it defaults to 32MB
- file imports will give better quality errors if they fail due to file import option exclusion rules
- file import fail errors will now also specify the incorrect amount–e.g. if a file is 64KB but the minimum limit is 256KB, it will state this in the error
- wrote a bunch of unit tests to make sure the new complicated file import options object works good
- finished the tag summary edit ui and added a new 'tag summaries' page to the options
- you can set the thumbnail top, thumbnail bottom right, and media viewer top summaries here, and everything should link up right!
- the old options to hide thumbnail top and thumbnail bottom right text are removed from the options->gui page
- tag summaries now include pending tags again
- tag summaries will order tags according to hydrus numeric tag sorting rules (0 < 0a < 0b < 1 < 9 < 10)
- tag summaries will collapse namespace groups that all start with decimals into a "min-max" phrase instead of the whole list (so 'collecting' a chapter will list p1-23 for the page phrase instead of each number in turn)
- fixed some potential error popups from the autocomplete dropdown when not in float mode (this hit non-windows users more often)
- split the parser help pages up a bit more and updated the client ui html links
- finished off the formulae help pages
- updated to wx 4.0.1 on all platforms. it promises increased stability!
- default tag import options are now moved to the 'importing' options panel, alongside the default file import options
- the database will deal with and recover from rollback exceptions more reliably. rollback-loops should be fixed, but the original event will now also produce a request to restart the client (which will safely reset everything) anyway
- improved how I create and layout the 'help for this panel →' help buttons
- the job scheduler now regularly checks for and clears out dead wx-related jobs (this saves a bit of memory)
- cleaned up an old tag retrieval method that was wasting CPU. some larger pages with many thousands of tags should do tag calculation after selection and so on a bit faster
- fixed a thread shutdown test that wasn't working until app shutdown time
- improved some more thread shutdown code
- deleted some old thread-inefficient calllater and wx-safe timer code
- emergency server errors that occur during the response writing stage should be handled better by the client
- emergency server errors are more robust in general serverside
- improved the quality of the errors thrown by the new network engine's login system
- improved some test timing and key press simulation code
- misc refactoring
- misc improvements
next week
I have a few more parsing help pages to finish before I get back to the downloader code properly. I would also like to look at some unusual subscription behaviour (mostly just not starting when told to) and maybe slip in something else slightly fun and new, like the tag summaries, this week.