github hydrusnetwork/hydrus v403
Version 403

latest releases: v573, v572, v571...
3 years ago
  • shortcuts:
  • shortcuts have a backend update this week. a bunch of hacky stuff is now cleaner behind the scenes, and the related UI has some cleanup as well
  • converted all 100-odd simple shortcut commands from hacky text ids to a proper enumerated id system, and across every single instance across the program
  • wrote nicer descriptive labels for all simple shortcuts. gone is 'focus_media_viewer', now is 'keyboard focus: to the media viewer'
  • if you have no like/dislike or numerical services, the respective application command edit panels now say so and do not allow an ok action
  • like/dislike rating sub-panels now start with 'like' checked
  • when a like/dislike or numerical rating sub-panel is set to 'remove', the action dropdown is set to 'set' (rather than flip) and is disabled, as is the numerical slider
  • application commands now state better "3/5" information about rating actions, rating than the underlying "0.6" float implementation
  • all application commands existing in shortcuts or elsewhere are updated to the new enumerated id system
  • refactored ApplicationCommand (the side of shortcuts that holds the actual action to be done) and its edit UI to new separate files
  • completely refactored the application command edit panel, pulling the simple/tag/rating sub-panels into their own decoupled classes, simplifying the tangle and permitting easier future expansion
  • rearranged some application command functions and contant definitions to more appropriate locations
  • improved how application commands are interrogated by the objects that process them
  • added plenty of type hinting around application command processing code
  • cleaned up a bunch of shortcut and application command code, including some wx->Qt updates as well
  • .
  • menu and UI cleanup:
  • removed an old wx hack that prohibited last-second ui updates. the exit splash screen now reports final db shutdown info
  • if a service or account is currently non-functional (e.g. all repositories are paused), the appropriate status text is now in red
  • if there is work to do the first time a duplicate page is opened or looked at, it now moves to the 'preparation' tab
  • doing a 'migrate database' file migration now temp-closes the migrate db dialog and hides the main gui while it goes on
  • brushed up the tag filter ui a bit--now only one of the tag_filter/blacklist test phrases only show up, in the appropriate context, and the test text input now supports multiple newline-separated tags (e.g. if you want to paste a bunch)
  • every panel on review services now has a refresh button to force an update
  • the 'clear trash' button on the trash review services panel is now disabled when there is nothing to clear
  • updated edit subscription panel to point to the main html help and brushed up that help to talk about file limits more, also the earlier downloader help has a little section to highlight subscriptions and their use
  • reworked the 'restore from db backup' command--it is now integrated into client shutdown proper, and reports its basic restore progress to the exit splash screen
  • reorganised the 'network' menu. manage subs is now up top, downloader submenus are now split better into high-level vs component-level, and login stuff is pulled to its own submenu
  • put 'network traffic' at the top of the network->pause menu
  • rearranged some of the 'gui' and 'gui pages' option pages and tucked everything into box sections for clarity
  • the search pause/play button on search page tag autocomplete now has a simpler 'search paused' label when paused. the code has a similar nomenclature change, and eventually this will turn into a simple pause/play icon button or similar
  • fixed some weirdness with floating autocomplete dropdowns sometimes not appearing on dialogs on first load
  • fixed some focus logic so set-focus calls on downloader pages should work again on the query input text box and elsewhere
  • unified all numerical rating->stars and stars->rating calculations across the program. this may have fixed some edge-case bugs
  • unified all rating string generation across the program
  • .
  • the rest:
  • the disk cache options under options->speed and memory are now default off and force-set off for all users on update. as more users are on decent ssds where these options are of limited value (and sometimes negative value), I now only recommend them for users on HDDs
  • added two options for autocomplete results list height to 'gui pages' option page, under the new 'controls' section
  • fixed a critical issue where the client api could duplicate-add tags with url imports to multiple services. the potential service duplicate cascade order was pseudorandom and particular to a client. thanks to a user for figuring this issue out (issue #317)
  • added a 'tag whitelist' to downloader tag import options. its edit button is below the blacklist. when there are no tags in the list, it does nothing, but if tags are added, then files that do not have at least one of the given tags at the download source will not be imported. for instance, if you have a username-based downloader (where you can't add more tags to the query to filter serverside), and you only want their metroid content, you can now filter it simply hydrusside (issue #279)
  • if you are both in advanced mode and a mad lad, the basic blacklist tag filter now allows you to show the 'whitelist' and 'advanced' panels again, if you have a complicated blacklist to set
  • the local booru and client api now support the same https as the hydrus server, using self-signed certificates stored in the db directory. just set the checkbox in manage services and you should be good. self-signed certificates are free and will work on a server hosted off an IP address, but they are imperfect. they are also likely to require special permission to be accepted by the web browser or whatever you want to talk to the https service. however, if you host your client from a real DNS domain and have your own fully signed cert+key files, you can swap them in no problem
  • local booru and client api urls adjust scheme for the new option, and unified and cleaned up how booru share urls are generated internally
  • the way cert+key files are generated is moved from server code to common hydrus code
  • cleaned up how additional db files like certificate files and the mpv conf are managed for backup/restore operations
  • cleaned up some ancient http urls to https. mostly stuff like the regex tutorial links
  • when files are appended to a regular search page (e.g. from a subscription publish to an existing page, or from a mouse drag and drop), the search context will now pause. this is to stop accidental F5 or mass refresh signals wiping out the changed page
  • to break advanced-case gallery search loops, gallery url jobs now have a 'run' identity token. galleries pass their token down to 'next page' or 'sub-gallery' urls they generate, meaning all urls of a particular search run share the same url. gallery logs now ignore to-be-added urls that already exist for their token, terminating loops. new tokens are generated if a search is restarted or similar, meaning duplicate urls can exist in a gallery log, just not from the same starting point (issue #302)
  • improved simple gallery url deduplication in several stages of the downloader pipeline
  • when right-clicking on multiple thumbs, the info lines off the top menu item now list the files' combined viewtimes (this previously only showed when one file was selected)
  • fixed some error reporting problems with adding urls to import via the client api--some url class exceptions were being converted from 400 to 500 errors unintentionally
  • a new stylesheet, 'Hydracula', is added to the default install. check it out under options->style. thank you to a user for contributing this
  • subscriptions are better about calculating a 90 second forgiveness window for bandwidth rules. they should schedule and startup more effectively, and the edit subscriptions and single edit subscription panels should also no longer show bandwidth delays below the next 90s, which are often a technical situation of regular work breaks that are better ignored for the purposes of the dialog
  • went back up to pyinstaller 3.6 again on windows, as 3.5 caused its own Qt bindings dll problems. if you had trouble with 3.6 (401), let me know how this works for you, as there are additional dll-finding fixes included (issue #329)
  • fixed an issue where under some conditions, file save dialogs were only happy with filenames that already existed (issue #319)
  • fixed an issue with the 'client already running' system sometimes not closing the client process correctly when told to cancel the boot
  • bumped the 'space needed for vacuum' estimate up to 120% (was 100%) of estimated final file size, just to catch some edge cases
  • rolling out updated danbooru parsers that pull associable urls correctly, thank you to a user for this fix
  • rolling out an updated deviant art parser that finds some unusual file urls when other methods fail, thank you to another user for this fix (issue #295)
  • upgraded cloudscraper to 1.2.42
  • improved some type hinting
  • fixed up some unit tests for new command and rating data

Don't miss a new hydrus release

NewReleases is sending notifications on new releases.