github Difegue/LANraragi v.0.5.3
LANraragi v.0.5.3 -- The Reader Who Sold the World

latest releases: v.0.9.22, v.0.9.21, v.0.9.20...
6 years ago

Oh no, not me

This was initially going to be a small cleanup update only but I snuck in a bunch of stuff instead.
As always, the full commit history is available on the matching PR.

🎌UPDATE NOTE🎌

After updating, your Archive Index might appear blank due to an old JSON cache.
This is easily solved by clicking the button "Invalidate JSON Cache" in Configuration.

Information about the Windows QuickStarter

Mojolicious has dropped support for Windows as of version 7.76 :

Due to lack of domain experts on the team, Windows is no longer officially
supported. Moving forward, we will try to keep Mojolicious installable on
Windows, but cannot make any promises regarding security and/or reliability.

Right now it's all good since the Windows version is frozen to a specific tested Perl/Mojolicious version combo (5.26/7.85 respectively), but that might be subject to change if I end up having to update Mojo due to security issues(which is how I found out about the deprecation warning to begin with).

As such, I will not be marking the QuickStarter as a recommended install method anymore, but will keep making them and providing minimal support as long as it doesn't spectacularly explode or something.
Worst comes to push, moving your data from the Windows version to Docker is extremely easy.

Changelog:

  • The Reader now features per-browser reading options. Check them out!
    Currently available ones are Right-to-Left, Scale to View and Double Page.
    👉 The server-side Right-to-Left configuration has been removed as a result of this.
  • (#30) Added a button in Plugin Configuration to allow quick side-loading of .pm Plugins into the app.
    🛑 Needless to say, this is an incredibly dangerous option which basically allows adding arbitrary Perl code into the app. As such, it is only available in debug mode.
  • (#38) Stale directories in ./public/temp/thumbs are now properly deleted instead of just hangin' there being all empty and shit
  • (#48) The JSON cache is now written out of Perl objects instead of slamming strings together, which should make it impervious to all attempts to fuck it up by inserting control characters.
    ℹ If you do manage to fuck it up, the Archive Index will now show a warning instead of appearing all empty and clueless.
  • Plugin Execution will now compute a thumbnail hash before execution if there's none in the database.
    This should bring more accurate results with the E-H plugin.
  • Did some spring cleaning into the Utils functions and split 'em up into multiple packages.
    This doesn't really change anything but makes things clearer for would-be plugin writers.
  • Added an example systemd service file in the /tools folder courtesy of Issue #36.
    Systemd is not explicitly supported, so you might have to do some tweaking to make it work.
  • Updated Mojolicious from 7.61 to 7.85 alongside a few other Perl dependencies.

Don't miss a new LANraragi release

NewReleases is sending notifications on new releases.