win32
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v166/Hydrus.Network.166.-.Win32.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v166/Hydrus.Network.166.-.Win32.-.Installer.exe
os x
app: https://github.com/hydrusnetwork/hydrus/releases/download/v166/Hydrus.Network.166.-.OS.X.-.App.dmg
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v166/Hydrus.Network.166.-.OS.X.-.Extract.only.tar.gz
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v166/Hydrus.Network.166.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v166.tar.gz
I had a good week, though I was short on time. Several small things work a bit better.
hdd imports now resumable
For a while now, I have had planned a big rewrite of the downloader engine, which gets files from whatever source and bundles them with tags and so on for the db to import. It is a big job, and it has been difficult trying to break it up into pieces. This week, I converted the hard drive importer (which is a lot simpler than the gallery downloaders, and so best to start with) to the new concept. I am really pleased with the result.
Hard drive import pages will now work quite a bit faster, with less chance for problems, and simpler gui controls, and are also resumable through a session restart. This means, for instance, that if you have hydrus set to start where you last left off (default session set to 'last session' in file->options->gui), and you restart the client half way through a hard drive import, the import page will remember where it was and continue if it was closed in an unpaused state.
I hope to continue this conversion to all the other downloaders (including the subscription system, which shares a lot of the same code) so that gallery downloads will remember their queues, and I also want to create a gui control that will show detailed status for all urls/paths/whatever in the current queue, which will allow reattempts of failed files.
As part of this, I removed .zip support from hydrus, both import and export. The .zip code complicated things and it didn't work very well. I may introduce it in another form if people want it.
repository improvements
Downloading files from a file repository is easier. They should start downloading as soon as you click (before, they had a three second delay due to an oversight), and I have added a little popup to give you some feedback on what is going on.
Server admin is also improved–backing up is now a non-blocking operation, and the server will report to clients with a special error code that it is 'busy' while the backup is proceeding. This stuff is a change to the network protocol, so I should technically increment the network version, but since it is admin stuff only, I didn't. If you run a server, make sure to update it alongside your client this week.
full list
- created new object to hold hdd import information
- created new object to hold generalised import file status
- moved hdd management controller to the new system
- moved hdd management gui to the new system
- hdd imports will now remember their import and pause status through a session change
- misc import code improvements
- hydrus client is getting out of the zip business–zips are no longer parsed for import nor able to be created for export
- import and export code is simpler
- repository file downloading daemon will now throw up a small auto-dismissing popup when it downloads files
- repository file downloading daemon will respond to new downloads much quicker than previously
- if a repsitory is in the process of backing up when it receives a request, it will now return a 503 'server temporarily busy' error (rather than timing out)
- the client can now catch and handle these 503 errors gracefully
- backing up will no longer block the client's gui, and it will no longer timeout if the operation takes more than ten minutes
- some networking code is a little simpler
- added 'select local files' and 'select trash' to thumbnail right click menu
- 'cancel download' added to file repository submenu of thumbnail right click menu
- some buggy listbox resize behaviour (scrollbars not disappearing and occasional layout and drawing update fail) has been fixed
next week
I am not sure. I think I will focus on making the url status gui control as I describe above. Other than that, I might have a look at dragging thumbnails out of the client for quick export/upload.