This allows to set days to zero. As a security fall back setting days and hours both to zero will yield 5m autosuspend time. (to avoid shutdown loops).
fixes#12831
Before this change, on hold articles were deleted if `Remotely delete
finished articles` was enabled. To make this configurable new option
`Remotely delete on hold articles` has been added.
Fixes#12698.
Wallabag can be really slow to generate epub for large articles. For
example, some Wikipedia articles can take 20+ seconds on app.wallabag.it
instance that I use.
Tweak `mergeTitleBarIntoLayout` to keep the current selection (adjusted for the added rows) instead of resetting the focus.
It only actually called `moveFocusTo` on `hasDPad` devices, which explains why this was missed during testing.
Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2423554770
Keep things least likely to be terrible at being interactive shells
first ;).
We penalize ZSH a bit, because RPROMPTS aren't really handled by the
plugin, which makes things confusing.
Most older NTX boards will horribly implode when attempting to suspend
with the Wi-Fi chip powered on.
And the others may do very dumb things re: power management anyway.
(This falls outside of the existing machinery that deals with this case,
as it happens *before* sending the Suspend Event).
Fix#12614
Get rid of the weird interaction between device implementations,
`ffi.util` (`isSDL`, `noSDL`) and the device input code: each
device knows if it's using SDL or not, so rely on that to load
the right underlying input implementation.
(1) Followup to koreader/koreader-base#1921, #12503: when getting a pdf book id in the stats db, check for old records with null terminated authors and title.
Discussed in #11318. There are some other reasons for disappearing old stats for pdf (md5 changes when converting/writing to pdf or something else), hence not closing the issue.
(2) Add Dispatcher action for toggling statistics. Closes#11422.
Using `require` didn't make much sense since most of them are only used in a single place anyway, and it takes care of a few weird interactions in the process (besides not polluting `package.loaded` with useless crap ;)).
This pr removes the backup db (sync db) of the cloud syncing strategy when a different server location is used. This is to avoid the situation when later incoming db is not based on previously uploaded sync db.