LANraragi v.0.8.6 - Buddha of Suburbia
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:
πͺ 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:
π§ Linuxbrew installs work again!
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.
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 !
π³ 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
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 thesource:
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
π Usejpeg: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.