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/device
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
..
android PowerD: Unbreak frontlight toggle notifications outside of Kobo (#10597) 11 months ago
cervantes PM: Minor refactor to suspend/resume code flow (#10426) 1 year ago
dummy Clarify our OOP semantics across the codebase (#9586) 2 years ago
generic KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
kindle kindle: show require error trace (#10569) 12 months ago
kobo PowerD: Unbreak frontlight toggle notifications outside of Kobo (#10597) 11 months ago
pocketbook PocketBook: add alternative definition for PB840 (#10582) 12 months ago
remarkable PM: Minor refactor to suspend/resume code flow (#10426) 1 year ago
sdl SDL: Fix initial position & size 11 months ago
sony-prstux PM: Minor refactor to suspend/resume code flow (#10426) 1 year ago
devicelistener.lua Kobo: Refactor frontlight toggle ramp behavior (#10305) 1 year ago
gesturedetector.lua KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
input.lua Input: Be more through in resetState (#10612) 11 months ago
key.lua InputContainer: Fall cleanup ;). 2 years ago
sysfs_light.lua Kindle: toggle cover events 1 year ago
thirdparty.lua Revert "Hyphenation: add custom hyphenation rules (#7746)" (#7785) 3 years ago
wakeupmgr.lua WakeupMgr: Explicitly invalidate the current alarm in unsetWakeupAlarm (#10032) 1 year ago