Skip to content

LANraragi v.0.8.6 - Buddha of Suburbia

Compare
Choose a tag to compare
@Difegue Difegue released this 26 Jul 17:03
· 378 commits to master since this release
3e25a66

70660f3bbd9d4f151f39657614104074e9bb1ed54db8ab9c92619e475ecbcf93

Hej!
Here we are again with another update where I procrastinated on doing major improvements but external contributions piled up so I hafta make a release. What can I say?

πŸ–ΌοΈ Very fast thumbnails generating at incredible hihg speed

Thumbnail generation code has been improved with this one simple trick (CPU vendors hate him!), which leads to some very noticeable gains on hi-res images as long as you're thumbnailing JPEG images (aka 95% of images for manga)

time convert problem.jpg -quality 50 -thumbnail 500x out.jpg
real    0m3.704s
user    0m3.077s
sys     0m2.052s

time convert -define jpeg:size=500x problem.jpg -quality 50 -thumbnail 500x out.jpg
real    0m0.685s
user    0m0.631s
sys     0m0.111s

Thumbnails for non-cover images will now also render at a lower quality to gain even more speed, as said thumbnails are generated at a much higher volume than covers. (Setting a random page as your thumbnail will still re-generate a HQ version of the thumbnail.)

And if you want to be all-hq-all-the-time, there's a new option you can use for that:
image

πŸͺŸ Windows installs have been fixed (#654)

0.8.5 was not kind to Windows users due to bugs in the way I integrated the DistroInstaller external tool, and the Alpine upgrade essentially breaking outbound network requests most of the time.
Windows builds will now use Alpine 3.12 again as a base -- If you're encountering the same issues while running on Linux (seen it happen on Synology devices), I recommend you build a custom Docker image yourself using the legacy Dockerfile as a base.

As a bonus, the Windows GUI tool will now try to be helpful in case your WSL distro is broken, instead of just telling you to reinstall like a scrub:
yeah scrubs all of you

🐧 Linuxbrew installs work again!

image
One of the few advantages of having a package manager containing LRR is that I sometimes get surprise updates, such as restored Linux support! This is 0.8.5 only for now, but should be up to date again soon.

☁️ Cloudflare bypass for NH + New metadata plugin for Hitomi.la (#631)

The implementation of Cloudflare by NH breaks the plugin from 0.8.5, so courtesy of @Pheromir , there's now a built-in login plugin for NH that allows you to key in CF bypass cookies.

image
And if you don't want to use NH anymore because it's garbage there's also a new alternative in the form of a hitomi.la metadata parser, thanks to @doublewelp !

image

🐳 Docker container improvements (#637 / #659)

To answer a long-standing request from users living in countries with nice and friendly governments ( :^) ), the LRR Docker container will now respect the HTTP_PROXY, http_proxy, HTTPS_PROXY, https_proxy, NO_PROXY and no_proxy environment variables, so you can have outbound network requests (metadata and downloads) go through a proxy of your choice. (Thanks @mistrpokr !)

And for reverse proxies, the container will now also pick up the X-Forwarded-For and X-Forwarded-Proto headers!
You can now also pass a TZ environment variable to the container to change its timezone. (Thanks @xiazeyu !)

Toasts and Dialogs have been updated

image
This is another big @xiazeyu change -- Toasts and dialogs across the app now use more modern libraries, which brings a few new features like visible expiration timers for toasts and themable dialogs.

Other changes

  • (#646) Sort key/order is now remembered when you reload the Archive Index

    😎 Withdrawing essential features for years is a good way to drive up user engagement!

  • (#652) Fix sorting issue where uppercase characters would always end up in front

    ♻️ Another bug for the wall of shame. I think this one's been in here for years at this point?
    πŸ” To fix other sorting issues, files that contain "credit" are now always pushed to the end of the list. Know your place scanlator scum

  • (#614) Fix the New Archive Carousel loading as many thumbnails as computationally possible (@xiazeyu)

    🎠 The carousel now uses virtualization, which will make it only load 10 or so thumbs at a time.

  • (#644) Added "Synology eCryptFS Compatibility Mode)

    πŸ” This is basically what it says on the tin -- eCryptFS limits number of characters for filenames to 143 bytes, and this mode enforces that.

  • (#635) Changing a file externally will now update its ID

    πŸ”’ The design for LRR hinges entirely on generating IDs out of hashes of your files, so actively modifying a file would lead to its ID changing, which would then cause multiple issues on the database side, where it'd keep the old ID.
    🍩 Which worked fine for most cases, but could lead to data loss in some circumstances! I've updated the filewatcher to check for ID changes and update the DB accordingly.
    🧹 This check is also made when using the database cleanup function.

  • (#651) Fix the first tag from a plugin run being undeletable in the edit metadata form

    🫠 This is because plugin runs have a leading space, which was then misinterpreted by tagger.js when we try and remove the tag -- effectively not deleting it from the backing textfield. Woops!

  • Miscellaneous bugfixes and improvements

    πŸ’Ž (#618) Fixed Fullscreen hooks not being removed if Escape is used to exit fullscreen instead of F
    πŸ’Ž (#645) Fix downloads keeping query parameters from their URL in the source: tag
    πŸ’Ž (#660) Fix thumbhashes not being restored from backup JSONs
    πŸ’Ž (#624) Fix various garbled non-ascii character bugs in logging and plugin results (@uparrows)
    πŸ’Ž Fix dateadded toggle not hiding datemodified toggle in settings
    πŸ’Ž Use jpeg:size for the page resizing feature in Reader as well to gain a bit more extra speed
    πŸ’Ž (#630) Add logging for failed/successful logins to the admin panel to help with fail2ban scenarios
    πŸ’Ž (#655) Camelcase GitHub everywhere (it's not even hacktoberfest yet!)

Full Changelog: v.0.8.5...v.0.8.6

Bowie has called Buddha of Suburbia one of his favorite records. Maybe he said that as a bit of mischief, touting his most obscure record as one of his best, like a hipster connoisseur of his own work (and he was). But Buddha did seem to have resonance for Bowie; something about its creation had felt right with him.