github Difegue/LANraragi v.0.6.9-EX
LANraragi v.0.6.9-EX -- Covid Cahoots

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

hey wassup
Quarantine is great, so I've hardly written a line of code and spent all my time playing video games! Except for that time where I actually caught the virus lmao

But some hotfixes did accumulate and it'd be better to release 'em now instead of waiting for 0.7. So have at it!

Changelog

  • Don't drop the entire search cache when removing a new flag

    ๐Ÿ“š When opening a new archive in 0.6.9, the state of the database is changed (to remove the new flag), which clears out the search cache. This leads to the next load of the main index taking a potentially long time once again, after simply opening one archive, for a flag you might not really care about.
    ๐Ÿ‘€ To optimize this issue, new flag updates now don't clear the entire search cache, only the entries which specifically searched for new archives. This leads to some archives potentially still showing as new for a little while longer on secondary clients/machines after you've opened them.
    ๐Ÿฉน It is a bit of a band-aid fix, but I don't consider the new flag important enough to drop the whole search cache every time.

  • Make the infamous duplicate warning appear far less often

    ๐Ÿ‰ You might have seen the message "xxx is a duplicate of the existing file xxx. You should delete it." a few times.
    ๐Ÿ˜ Some platforms (cough windows) trigger two filemap events when a new file drops in, the first event adding the file to the map, and the second one was just triggering the duplicate message, even though the filenames were the exact same!
    ๐Ÿ“ฐ The message will now only trigger for proper duplicates (as in, identical ID but different filenames), with the other behavior sent back to the debug logs where it rightly belongs.

  • (#270) Fix Clean Database not working

    ๐Ÿงน The recent changes to add multiprocessing slightly screwed up the way the filemap is saved to disk, which broke the only feature relying on that, the database cleanup.

  • (#266) Fix Reset Database not working

    ๐Ÿ˜ฃ The API call changed in 0.6.9, and the frontend forgot to follow suit.
    ๐Ÿค  nah bro it was just fashionably late

  • (#271) Fix tests for the homebrew version and overall make them more resilient

    ๐Ÿ’ฃ Every now and then chaika changed their code and the order in which they present tags, which broke the friggin' tests! This shouldn't happen anymore due to the incredibly complex fix of putting the tags in an array before comparing them.
    ๐Ÿบ The search engine tests do some fun stuff to mock Redis behavior and one of those required the presence of the README.md file...because it was easier. The homebrew version moves the location of the readme, which promptly broke the tests. ๐Ÿ™ƒ

  • Fix /etc/resolv.conf being empty in the WSL distro

    ๐Ÿฑโ€๐Ÿ‘“ This one is for the Windows Users! If you've had issues with the plugins not connecting to the internet anymore, this release should fix things.
    ๐Ÿ”Ž As a bonus, I added a wsl.conf file to the distro to enable interop so you can launch windows programs from the linux side if you want. Might be useful? idk
    ๐Ÿฑโ€๐Ÿ’ป Extra PSA for Windows users: This release being a hotfix variant, installing it on top of 0.6.9 might result in you having two entries for LANraragi in your installed programs list(0.6.9 and 0.6.9.38). This breaks no functionality but does make for a bit of a mess.

  • Fix the backup script not loading the config module

  • Finally use Github Actions' caching powers to build the Docker images at a decent speed

photo_2019-10-23_22-23-31

Don't miss a new LANraragi release

NewReleases is sending notifications on new releases.