You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend
NiLuJe 08dd97384c
KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605)
Fix: #10539, and for context #6489, #6733, #6534

Reorganize and reword most of the settings to make it clear what actually ties into auto sync, and what doesn't. (Specifically, what happens when a pull attempts to sync forward or backward has nothing to do with auto sync, it applies in all cases; while the periodic sync *does* require auto sync).

The main point of contention, though, is that auto sync will now *always* attempt to setup network connectivity (i.e., on resume/suspend/close). Periodic sync will *not* though (the intent being that, if you use periodic sync, you're relying on the activity check to actually keep wifi on at all times)).

Since this may lead to a large amount of nagging about wifi toggles on devices w/ NetworkManager support, it is now *disabled* by default on those devices. (And given that it wouldn't have worked because of the lack of connectivity, that doesn't really make any practical difference ;p).

Additionally, given the fact that there's no way to make this behavior viable if the "before wifi" action is left at its default of "prompt", this feature now *requires* that to be set to "turn_on" (on devices where it can, of course); attempting to toggle it on will warn about that if necessary.
This change is retroactive (OTM).

Includes an assortment of fixes and cleanups, including migrating to the new LuaSettings API, which is why there's no longer a smattering of superfluous flushes.
11 months ago
..
apps KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
device KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
document credocument: epub alternative mimetype (#10575) 12 months ago
ui KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
cache.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
cacheitem.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
configurable.lua KOPTInterface: Minor optimization when hashing the configurable status 3 years ago
datetime.lua History: update last book access time (#10156) 1 year ago
dbg.lua Deal with table.pack corner-cases properly (#10350) 1 year ago
depgraph.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
device.lua Truly silence the attempt at loading SDL2 3 years ago
dispatcher.lua BookMap: add "Overview" mode 12 months ago
docsettings.lua Open with: images (#10561) 12 months ago
dump.lua Logger: Use serpent instead of dump (#9588) 2 years ago
fontlist.lua Logger: Use serpent instead of dump (#9588) 2 years ago
gettext.lua Make luacheck >= 0.26 happy (#9174) 2 years ago
httpclient.lua build: enforce luacheck in travis build 8 years ago
languagesupport.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
logger.lua Cleanup various varargs shenanigans (#9624) 2 years ago
luadata.lua DocSettings: Fix candidates sorting (#9607) 2 years ago
luadefaults.lua DocSettings: Fix candidates sorting (#9607) 2 years ago
luasettings.lua DocSettings: Fix candidates sorting (#9607) 2 years ago
luxl.lua [fix] Don't break OPDS parsing on HR tags (#5949) 4 years ago
optmath.lua [autosuspend, plugin] Switch to datetimewidget and provide default values (#8480) 3 years ago
persist.lua persist: fix possible leak on error (#10568) 12 months ago
pluginloader.lua Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853) 2 years ago
pluginshare.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
random.lua Faster blitting @ BB8/BBRGB32 when no processing is needed (#4847) 5 years ago
readcollection.lua readcollection: fix mandatory for deleted files (#10488) 1 year ago
readhistory.lua History: update short date/time correctly (#10601) 11 months ago
socketutil.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
sort.lua Misc: Natural sorting refactor (#10023) 1 year ago
userpatch.lua patch management 1 year ago
util.lua rM: Work around LD_PRELOAD weirdness on forks on rM 2 (#10490) 1 year ago
version.lua Version log and (limited) notifications log (#10178) 1 year ago