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/widget
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
..
container Notification: NOP conflicting event handlers from our base class (#10471) 1 year ago
bboxwidget.lua InputContainer: Fall cleanup ;). 2 years ago
bookmapwidget.lua BookMap: fix help text wording (#10544) 1 year ago
bookstatuswidget.lua BookStatusWidget: relocate status toggle buttons (#10179) 1 year ago
button.lua Button: fix unstable height 1 year ago
buttondialog.lua QuickMenu: scrollable (#10528) 1 year ago
buttondialogtitle.lua MovableContainer: add support for anchoring initial position 1 year ago
buttonprogresswidget.lua Button: handle 'width' as the final outer width 1 year ago
buttontable.lua ButtonDialog: allow for step/page scrolling 1 year ago
checkbutton.lua ConfirmBox: add widgets (#10364) 1 year ago
checkmark.lua CheckMark: Fix on tap toggling of checkmarks in SortWidget (#9941) 1 year ago
configdialog.lua Button: handle 'width' as the final outer width 1 year ago
confirmbox.lua ConfirmBox: add widgets (#10364) 1 year ago
datetimewidget.lua Calendar view's day view: thicker separator at 00:00 1 year ago
dictquicklookup.lua Translator: translate current page (#10438) 1 year ago
doublespinwidget.lua InputContainer: Fall cleanup ;). 2 years ago
eventlistener.lua Deal with table.pack corner-cases properly (#10350) 1 year ago
filechooser.lua FileChooser: fix percent sorting (#10393) 1 year ago
fixedtextwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
focusmanager.lua InputContainer/FocusManager: Simplify key_events clearing on unplug 2 years ago
footnotewidget.lua InputContainer: Fall cleanup ;). 2 years ago
frontlightwidget.lua FrontLightWidget: cleanup buttons layout 1 year ago
horizontalgroup.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
horizontalscrollbar.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
horizontalspan.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
htmlboxwidget.lua HtmlboxWidget: pairs->ipairs (#10574) 1 year ago
iconbutton.lua IconButton: Fix RTL highlighting 2 years ago
iconwidget.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
imageviewer.lua Open with: images (#10561) 1 year ago
imagewidget.lua Open with: images (#10561) 1 year ago
infomessage.lua KOSync: Clarify settings, plus refactor & fixes to make "auto-sync" more reliable (#10605) 12 months ago
inputdialog.lua ConfirmBox: add widgets (#10364) 1 year ago
inputtext.lua Initial hotpluggable keyboard handling (#9540) 2 years ago
keyboardlayoutdialog.lua Notification: Fence the *display* update in an attempt to avoid upsetting some boards... (#10083) 1 year ago
keyvaluepage.lua KeyValuePage: fix corner-case alignment bug (#10326) 1 year ago
linewidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
linkbox.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
listview.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
menu.lua Filesearcher: add search in book metadata (#10198) 1 year ago
multiconfirmbox.lua MultiConfirmBox: allow changing icon 1 year ago
multiinputdialog.lua MultiDialog: Fix an extremely nasty API misuse 2 years ago
naturallightwidget.lua NaturalLightWidget: Fallback to previous values instead of `nil` (#10425) 1 year ago
networksetting.lua InputContainer: Fall cleanup ;). 2 years ago
notification.lua Notification: NOP conflicting event handlers from our base class (#10471) 1 year ago
numberpickerwidget.lua Button: handle 'width' as the final outer width 1 year ago
openwithdialog.lua ConfirmBox: add widgets (#10364) 1 year ago
overlapgroup.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
pagebrowserwidget.lua BookMap: add option "10-page markers" 1 year ago
pathchooser.lua PathChooser: add creating folder (#9354) 2 years ago
physicalkeyboard.lua InputContainer: Fall cleanup ;). 2 years ago
progresswidget.lua ProgressWidget: Add an optional marker on the initial position (#10114) 1 year ago
qrmessage.lua Notification: Fence the *display* update in an attempt to avoid upsetting some boards... (#10083) 1 year ago
qrwidget.lua Qrcode support (#6844) 4 years ago
radiobuttontable.lua [doc] RadioButtonWidget (#9733) 2 years ago
radiobuttonwidget.lua [doc] RadioButtonWidget (#9733) 2 years ago
radiomark.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
rectspan.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
screensaverlockwidget.lua ScreenSaver: Get rid of gratuitous complexity 1 year ago
screensaverwidget.lua Notification: Fence the *display* update in an attempt to avoid upsetting some boards... (#10083) 1 year ago
screenshoter.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
scrollhtmlwidget.lua InputContainer: Fall cleanup ;). 2 years ago
scrolltextwidget.lua InputContainer: Fall cleanup ;). 2 years ago
skimtowidget.lua Button: handle 'width' as the final outer width 1 year ago
sortwidget.lua ReaderFooter/Header: Refine autorefresh repaint-or-not checks (#10045) 1 year ago
spinwidget.lua InputContainer: Fall cleanup ;). 2 years ago
textboxwidget.lua TextBoxWidget:getFontSizeToFitHeight(): allow for more accuracy 1 year ago
textviewer.lua TextViewer: add support for long-press on text 1 year ago
textwidget.lua TextWidget: Feed Geom a full-size table in getSize() 2 years ago
titlebar.lua Dictionary lookup window: use from/to language to determine glyph form (#10184) 1 year ago
toggleswitch.lua Notification: Fence the *display* update in an attempt to avoid upsetting some boards... (#10083) 1 year ago
touchmenu.lua History: update last book access time (#10156) 1 year ago
trapwidget.lua InputContainer: Fall cleanup ;). 2 years ago
verticalgroup.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
verticalscrollbar.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
verticalspan.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
virtualkeyboard.lua Notification: Fence the *display* update in an attempt to avoid upsetting some boards... (#10083) 1 year ago
widget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago