- fixed the 'setnondupename' problem that was affecting 'add' actions on manage subscriptions, scripts, and import/export folders
- added some more tests to catch this problem automatically in future
- cleaned up some similar files phash regeneration logic
- cleaned up similar files maintenance code to deal with the new duplicates page
- wrote a similar files duplicate pair search maintenance routine
- activated file phash regen button on the new duplicates page
- activated branch rebalancing button on the new duplicates page
- activated duplicate search button on the new duplicates page
- search distance on the new duplicates page is now remembered between sessions
- improved the phash algorithm to use median instead of mean--it now gives fewer apparent false positives and negatives, but I think it may also be stricter in general
- the duplicate system now discards phashes for blank, flat colour images (this will be more useful when I reintroduce dupe checking for animations, which often start with a black frame)
- misc phash code cleanup
- all local jpegs and pngs will be scheduled for phash regeneration on update as their current phashes are legacies of several older versions of the algorithm
- debuted a cog menu button on the new duplicates page to refresh the page and reset found potential duplicate pairs--this cog should be making appearances elsewhere to add settings and reduce excess buttons
- improved some search logic that was refreshing too much info on an 'include current/pending tags' button press
- fixed pixiv login--for now!
- system:dimensions now catches an enter key event and passes it to the correct ok button, rather than always num_pixels
- fixed some bad http->https conversion when uploading files to file repo
- folder deletion will try to deal better with read-only nested files
- tag parent uploads will now go one at a time (rather than up to 100 as before) to reduce commit lag
- updated to python 2.7.13 for windows
- updated to OpenCV 3.2 for windows--this new version does not crash with the same files that 3.1 does, so I recommend windows users turn off 'load images with pil' under options->media if they have it set
- I think I improved some unicode error handling
- added LICENSE_PATH and harmonised various instances of default db dir creation to DEFAULT_DB_DIR, both in HydrusConstants
- misc code cleanup and bitmap button cleanup