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/apps/reader/modules
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
..
readeractivityindicator.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
readerback.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerbookmark.lua Bookmarks: filter by highlight style (#10549) 1 year ago
readerconfig.lua Footer: avoid footer auto refresh over bottom menu (#9983) 1 year ago
readercoptlistener.lua KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
readercropping.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerdevicestatus.lua ReaderFooter/Header: Refine autorefresh repaint-or-not checks (#10045) 1 year ago
readerdictionary.lua KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
readerdogear.lua ReaderDogear: fix no y-offset after load with top status bar 1 year ago
readerflipping.lua Bookmark flipping mode fix (#10196) 1 year ago
readerfont.lua Notification: Fence the *display* update in an attempt to avoid upsetting some boards... (#10083) 1 year ago
readerfooter.lua KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
readergoto.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerhighlight.lua Bookmarks: filter by highlight style (#10549) 1 year ago
readerhinting.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerkoptlistener.lua Reader: do not apply line spacing out of range (#10307) 1 year ago
readerlink.lua ReaderLink: fix capitalization typo in "Go Forward" (#10399) 1 year ago
readermenu.lua ReaderFooter/Header: Refine autorefresh repaint-or-not checks (#10045) 1 year ago
readerpagemap.lua UX: a set of minor fixes (#10165) 1 year ago
readerpaging.lua Overlap: fix detecting reflow mode (#10576) 12 months ago
readerpanning.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerrolling.lua ReaderRolling: quicker partial rerenderings with EPUBs 1 year ago
readerrotation.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
readerscrolling.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
readersearch.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerstatus.lua Custom book covers (#10329) 1 year ago
readerstyletweak.lua readerstyletweak: update profiles on unregistering in dispatcher (#10247) 1 year ago
readerthumbnail.lua BookMap: add "Overview" mode 1 year ago
readertoc.lua Fix page stats messed up after rerendering (#9775) 2 years ago
readertypeset.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readertypography.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readeruserhyph.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerview.lua Overlap: fix detecting reflow mode (#10576) 12 months ago
readerwikipedia.lua KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 11 months ago
readerzooming.lua Open with: images (#10561) 12 months ago