Skip to content

LANraragi v.0.6.8 -- Cool Cat

Compare
Choose a tag to compare
@Difegue Difegue released this 25 Jan 17:38
· 1282 commits to master since this release
02f4636

Bowie was there working with Giorgio Moroder on “Cat People,” while Queen was recording a follow-up to The Game. After chatting about record advances, Bowie recorded backing vocals for a Queen track called “Cool Cat” (his contribution was erased before the final mix).

ce19a62bcce18681abc34c9bd6b0a734ae07496b72414f4653ac6c935f5cb1fd

Welcome to a small boi release to start off 2020.

🧨Breaking change for Docker users🧨

You might remember previous Docker releases storing the database inside your content folder.
Since Docker used to be the easiest installation method, this was meant to make it a bit more fool-proof.
Now that the Windows and Homebrew builds are a thing, I don't really need to do that anymore!

For more flexibility (and fixing some longstanding permission issues as well), the database now requires a second bind mount for its own location. This mount will be chmodded to 777, so I recommend throwing the database.rdb file in a new folder and mounting it:

docker run --name=lanraragi -p 3000:3000 \
--volume [YOUR_CONTENT_DIRECTORY]:/home/koyomi/lanraragi/content \
--volume [YOUR_CONTENT_DIRECTORY]:/home/koyomi/lanraragi/database \
difegue/lanraragi

If you're a new user, you might even want to store the DB in a dedicated Docker volume:

docker volume create lrr-database
docker run --name=lanraragi -p 3000:3000 \
--mount type=bind,source=[YOUR_CONTENT_DIRECTORY],target=/home/koyomi/lanraragi/content \
--mount source=lrr-database,target=/home/koyomi/lanraragi/database \
difegue/lanraragi

A volume will be created automatically for the database if you do nothing at all, but you'll probably want to name it so that you don't lose it on version upgrades.

Changelog

  • Docker containers now use /home/koyomi/lanraragi/database to store the Redis RDB

    🐳 See above.
    ⬆ I mean for real I just dropped a 10-line essay on that
    🍏 Homebrew builds now have their own database folder as well.
    🐱‍👓 Windows builds will still store the database inside the content folder. Don't see much point in changing things here.

  • Docker containers are now built using buildx

    🐋 Oh yeah! This mostly means nothing for 99% of users, but multi-arch builds are now way easier to make. (At the cost of taking an hour)
    ⌨ buildx also allows me to go all-in on support, which means you can now run LRR on all the following architectures:

linux/386
linux/amd64
linux/arm/v6
linux/arm/v7
linux/arm64
linux/ppc64le
linux/s390x

I'm totally sending a free sticker pack to anyone who shows me a screenshot of LRR running on a System/390 IBM mainframe.

  • Move old ID cleanup to the clean_database method

    🧹 The cleanup method slowed down search a bit and certainly didn't warrant running all the time, so I moved it to its rightful place in the database cleanup button. If you get duplicate archives, make sure to go click that!

  • (#231) Add a built-in filter for untagged archives to the Index

    🧶 Probably the last filter I add to the archive index. This relies on the already existing API method.
    🔝 Both this and the new archive filter now show up on top, next to favorite tags!
    🔎 It's pretty impressive how you can mix and match all of those + the search bar -- Never thought I'd get this far.

image

  • (#240) Fix the Windows installer not accepting paths with spaces

    🤠 yeehaw pardner looks like I dropped some dagnab quotes when writing this installer
    ✨ The new installer seems to be working pretty well for people, although I guess the real test comes now with updating.

  • (#244) Allow Windows Network Drives to be used as content folders

    🐧 Network Drives aren't automatically mounted in WSL, since they might not be accessible. We'll now try to mount them when starting LRR.

  • (#246) Use natural sort in the Index view

    📚 Natural sort was a free feature from Datatables before server-side search happened, but now, I guess gotta do it myself.
    🐱‍💻 Source users will have to install the new CPAN package Sort::Naturally as a result of this!

  • (#247) Fix search suggestions not appearing if you used the "-" modifier

    🛸 Search suggestions obviously can't figure out what you mean if you start using the wildcard modifiers n shit, but the "-" case is common enough to be taken into account.

  • Add support for the info.txt variant in the Hdoujin plugin

    📰 The OG Hdoujin plugin only accepts the JSON variant of the metadata files -- The text version is simple enough I was able to wank support for it in 5 minutes. Due to being...wanked, this only adds the tag metadata, no artists or title.
    🤠 yeehaw pardner i aint doin one of these ever again lemme tell ya

  • Miscellaneous improvements to CSS and Homebrew installs