Anonymous
Board owner
01/27/2021 (Wed) 23:15:23
Id: 031065
[Preview]
No.954
del
- autocomplete shortcuts:
- there is a new shortcut set under _file->shortcuts_ just for tag autocomplete shortcuts. any 'switch searching immediately' shortcut previously on 'main gui' will be migrated over
- the tag autocomplete input text box is now plugged into the new shortcut system and uses this set
- migrated previously hardcoded autocomplete shortcuts to the shortcut system (defaults):
- - force search now, for when you have automatic searching turned off (ctrl+space)
- - enable IME-friendly mode (insert)
- - if input empty, move left/right a tab (left/right arrow)
- - if input empty, move left/right a service page (up/down arrow)
- - if input empty and on media viewer, move to previous/next media (page up/down)
- misc improvements to my shortcut handler
- misc shortcut code cleanup
- .
- the rest:
- I fixed a bad example url in the new gelbooru file page parser that was sometimes leading to a link to the gallery url class. this was an artifact of an old experiment with md5-search parsing, now fixed with newer redirection tech. the updated parser is folded into update, and if you ended up with the incorrect link, it should be detected, dissolved, and re-linked with the file page parser
- thanks to a user report, wrote a new url class for 420chan's newer thread url format
- sorting a gallery downloader or thread watcher multi-column list by 'status' should now group 'done' and 'paused' items separately
- fixed a bug in the /add_tags/add_tags Client API call when checking some petitioned tags data types. cleaned all that code, it was ugly (issue #788)
- added unit tests for /add_tags/add_tags to test the service_names_to_actions_to_tags parameter better and repository actions, including petitioning with and without specified reason
- .
- code refactoring:
- finally addressing the near-1MB ClientDB file, I have started a framework to break the db into separate modules with their own creation/repair/work responsibilities. this will make the file easier to work on, maintain, update, and test. this week starts off simple, with the master definitions being peeled off into hashes, tags, urls, and texts submodules
- cleaned some misc code around here, including a bunch of related decoupling
- ClientDB.py is now in its own 'db' module as well. the db will further fracture and this module will gain more files in future
- the boot code in the launch scripts is now migrated to the 'hydrus' directory, with the actual launch scripts now doing nicer main checks to not launch the program if you want to play around with importing hydrus. more work to come here
- finished the help's header linking job--all headers across the help are now #fragment links
- misc help cleanup
next week
While I am pleased with the cleanup and fixes, I had trouble getting in all the work time I wanted this week. Next week is scheduled to be a 'medium size' job week. I will try to improve my 'taglist' widget to better display implied parents and siblings in the manage tags dialog. I never got this done properly in the tag display cache work, and workflow suffers for it, so I will reserve some time and hammer it out. There's a small chance it will take two weeks, but we'll see.