koneko こねこ v0.9.0
Changelog
-
Interactive helper UI to assist configuring lscat numbers (
lscat_app.py
).- Configuration assistant
- image_width
- image_height
- images_x_spacing
- images_y_spacing
- image_thumbnail_size
- page_spacing
- gallery_print_spacing
- users_print_name_xcoord
- Display 'testgallery' and 'testuser' paths (for internal and debugging use, just copy over the files)
- Browse the cache and display a dir
- Display any path (but all names must be left-padded with a three digit number)
- Configuration assistant
-
Remove
users_page_spacing
: it's justgallery_page_spacing - 3
-
Rename
gallery_page_spacing
setting topage_spacing
-
Show frequently searched IDs/strings with an option to select them with pick.
- On main screen:
- prompt for a mode or
- select all.
- On prompt loop, allow '!freq' to launch pick that goes directly to the mode.
- On main screen:
Fixed
- Fixed a bug where downloading a single image crashes
- Fixed a bug where some images or mode might not update outdated images
first_img
attribute no longer used
- If an invalid input is given in a loop prompt, it will ask for another, rather than going back to
main()
- Fixed giving invalid cli args crashing by re-prompting the user. However, leaving (including with ctrl+c) is impossible.
- Fixed one-letter-two-digit-sequence not working
- Fixed gallery -> image crashing
Code maintenance
- Rename
action_before_prefetch()
tomaybe_join_thread()
- Extract out messy condition to bool variables in
prompt.py
- Use
shutil.rmtree
instead ofrm
viaos.system
- Improved attribute and method names in Loop classes
- Removed useless
prompted
boolean variable - Remove pipey dependency in favour of
flow
fromresults
- Use
@funcy.once
instead of boolean guards inapi.py
- Simplified
generate_orders()
to 2 lines - Wrap some test in a try-finally block so resources are always restored