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/ui
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.
12 months ago
..
data KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 12 months ago
elements Translator: translate current page (#10438) 1 year ago
message Calibre: Log errors on wireless connection failures (#9914) 2 years ago
network KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 12 months ago
plugin Clarify our OOP semantics across the codebase (#9586) 2 years ago
widget KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 12 months ago
bidi.lua Bidi: keep invert() generic, handle settings in ReaderView (#8876) 2 years ago
downloadmgr.lua CloudStorage: remove cloudmgr (#9532) 2 years ago
event.lua Cleanup various varargs shenanigans (#9624) 2 years ago
font.lua UI font fallbacks: use bold fonts if present for bold (#9621) 2 years ago
geometry.lua ImageViewer: Followup to #9529 (#9544) 2 years ago
gesturerange.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
hook_container.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
language.lua [i18n] Enable Farsi (#10017) 1 year ago
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 4 years ago
otamanager.lua OTAManager: pick the right binaries on Android x86_64 1 year ago
quickstart.lua Quick start guide: fix links to images (#8072) 3 years ago
renderimage.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
rendertext.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
screensaver.lua Open with: images (#10561) 1 year ago
size.lua [RFC] Pagination UI shenanigans (#7335) 3 years ago
time.lua time: Fix another subtle FP issue in split_s_us 2 years ago
translator.lua Translator: translate current page (#10438) 1 year ago
trapper.lua Deal with table.pack corner-cases properly (#10350) 1 year ago
uimanager.lua PM: Minor refactor to suspend/resume code flow (#10426) 1 year ago
viewhtml.lua View HTML: add CSS helpers with long-press 1 year ago
wikipedia.lua Wikipedia EPUBs: strip out invalid-XHTML <link> (#10462) 1 year ago