The video is long, but it was absolutely my favourite thing all week. If you have some time, get comfy and watch it in HD.
win32
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v172/Hydrus.Network.172.-.Win32.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v172/Hydrus.Network.172.-.Win32.-.Installer.exe
os x
app: https://github.com/hydrusnetwork/hydrus/releases/download/v172/Hydrus.Network.172.-.OS.X.-.App.dmg
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v172/Hydrus.Network.172.-.OS.X.-.Extract.only.tar.gz
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v172/Hydrus.Network.172.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v172.tar.gz
I had a good week. I've made the backbone of both the client and server work better, and I've done a bunch of small other things.
headless server and better controller
The server is now completely headless. If you run from source, it doesn't need wx, and it now wants to run from the command line/terminal. This is not complete, and the more complicated commands do not work yet. Just run 'server help' from the command line for more info. Basically, for now, run the server as usual, and when you want to quit, hit ctrl+c a few times. I will add support for external stop/restart and better command line feedback next week.
Also, server.pyw is now appropriately server.py, so update your shortcuts if needed.
As part of this, I have rewritten quite a bit of the client and server startup and shutdown code. Everything tests ok my end, but please let me know if your client hangs on shutdown or anything!
Also, I rewrote the code that detects if the client or server is already running to use a slightly different test that should be a lot more reliable, working even if different instances were launched using completely different means, and hopefully immune to false positives.
couple of new options
You can set the default 'file limit' for a gallery page in the new file->options->downloading page. This applies to new subs as well.
I have also added an autocomplete embed option to file->options->gui, which lets you force the autocomplete dropdown to always embed just below the text entry box, like it does in the manage tags dialog, rather than being a floating window. This is now default behaviour for Linux and OS X, which often have key and focus event processing problems with the complicated floating frame my dropdown creates.
Also, the manage services dialog lets you reset repositories more thoroughly, letting you force a re-download of all updates (this is useful if you were screwing around in the update directory and accidentally deleted something, or if those files otherwise somehow become corrupt). The reset buttons have better workflow as well, and report their (often slow) progress in a popup message.
full list
- the server no longer needs wx!
- the server now runs from command line
- the server is now .py, not .pyw!
- run 'server help' for more info
- improved how the controllers start
- improved how the controllers stop
- improved controller boot error handling
- improved how pages close
- general controller code cleanup
- general server code cleanup
- fixed the always_on_shutdown (without asking) option, which was asking anyway
- removed a debug statement in isalreadyrunning code, whoops!
- improved isalreadyrunning detection. it should work breddy gud now
- added gallery file limit to new 'downloading' options page, which folds in the old thread checker options as well
- added option to always embed the autocomplete dropdown window (rather than having it a floating window), which is now default on for Linux and OS X
- manage services now supports two kinds of service reset for repositories
- the service reset buttons now only fire on dialog ok
- service reset will try, as cpu allows, to update its progress in a message popup window
- administrators now have a 'sync now' button on the review services window that lets you catch up immediately to the service without having to wait for the normal update time (this will burn cpu time serverside, so be careful!)
- fixed a bug when searching boorus with unicode-16 characters
- the client updates directory is neater
- 'system busy' status is now shown on the status bar
- 'force unbusy' added to debug menu
- invalid characters in export filenames will now be replaced by underscores
- fixed a bug where rating services' cached file counts were not decrementing on de-ratings
- rating services' cached file counts are reset on update
- hover windows will pop in over video again, but will not if the mouse is _near_ the animation bar
- searching for ':' in the autocomplete dropdown will no longer search the db for every single tag jej
- improved some server_busy logic
- improved some server shutdown logic
next week
There is some more server stuff to do, and I want to update the import folder code, including adding some more options like letting you designate a place for failed files to go. If I can get both of those things done, then I am ready to start the big job of switching subs and gallery downloads over to the new downloader engine.