Drugwash wrote: ↑2025-02-10, 14:44
Noticed the Preferences window doesn't update the Repo Commit field after (re)downloading - it requires closing the Preferences window and reopening it in order to notice the commit number on success.
You mean when pressing the new Erase/Reset button? The extension doesn't actually do any of the erasing/resetting until you hit OK in the preferences - just in case, I wanted to make it so you could hit Cancel and prevent the erasure. Or are you opening the preferences again after hitting OK but before the archive has been re-downloaded? I'll have to check that...
Drugwash wrote: ↑2025-02-10, 14:44
Would it be possible to add code for loading a previously downloaded (and possibly manually edited) list archive from a local/networked resource, while at the same time allowing automatic list update to be disabled? Could be useful for network admins too - avoids redownloading same file N times.
The extension won't redownload the same file regardless - it checks the LocalCDN commit hash before initiating the download, to prevent just that.
At present, the best way to achieve what you're talking about would be to make your own clone of the LocalCDN repository in a self-hosted GitLab/Codeberg repo. I specifically included the preferences extensions.
decdn.repo.branches.api, extensions.
decdn.repo.url.base, extensions.
decdn.repo.url.zip, and even extensions.
decdn.repo.url.graph (for the preferences window) to allow use of any repo you choose. However, I can see the merit in using a more direct archive access, and I might be able to rig something up. However, it will likely only be available through direct about:config preferences, as the chances of non-technical users breaking their extension is high for something like that.