Skip to content

koneko こねこ v0.9.0

Compare
Choose a tag to compare
@akazukin5151 akazukin5151 released this 01 Jul 09:53
· 1000 commits to master since this release
0d7ca94

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)
  • Remove users_page_spacing: it's just gallery_page_spacing - 3

  • Rename gallery_page_spacing setting to page_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.

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() to maybe_join_thread()
  • Extract out messy condition to bool variables in prompt.py
  • Use shutil.rmtree instead of rm via os.system
  • Improved attribute and method names in Loop classes
  • Removed useless prompted boolean variable
  • Remove pipey dependency in favour of flow from results
  • Use @funcy.once instead of boolean guards in api.py
  • Simplified generate_orders() to 2 lines
  • Wrap some test in a try-finally block so resources are always restored