Commit Graph

180 Commits (b89435b43280eb4950f3118bc5911902807b9b72)

Author SHA1 Message Date
Hzj_jie b89435b432 Move PluginShare.backgroundJobs into PluginShare module (#3128) 7 years ago
poire-z 031df2ffee Added PicDocument:getCoverPageImage() and :getProps()
So an image file can have a cover in coverbrowser's display.
It also allows for an alternative viewer (ImageViewer widget)
when holding on file / View full size cover.
7 years ago
poire-z cf95f5e8d3 Ensure TextWidget's width and heigth are integer
And removed workarounds in coverbrowser plugin.
7 years ago
poire-z b4e7dc947c Added TextBoxWidget.has_split_inside_word flag
Used by coverbrowser's Text covers to choose the best font size.
7 years ago
poire-z 3b5cd4c23b CoverBrowser plugin: alt views for File Browser and History (#2940)
* CoverBrowser plugin: alt views for File Browser and History

* Added Prune cache and Compact cache menu actions

* Support for book descriptions, and settings stored in db
7 years ago
robert00s ddd36d4150 Fix: Zsync -> Share this document crashes 7 years ago
Frans de Jonge 16dd5170b8 Newsdownloader: add HTTPS support and fixes
* Fixes #3041 (HTTPS)
* Fixes unlimited (limit = 0) was broken
* Fixes titles and links with attributes
7 years ago
Hzj_jie a8513c95b6 Several minor fixes (#3057)
1. Android.getScreenBrightness() is used in frontend/device/android/powerd.lua to retrieve the frontlight intensity.
2. kosync.koplugin won't save settings for whisper sync.
3. batterstat.koplugin won't work correctly if several on* events are fired.
7 years ago
Frans de Jonge b4167672fd Read timer: various improvements
* no timeout on alarm
* autoclose menu when starting timer
* show time in menu when active
7 years ago
Hzj_jie c9a997f42c BackgroundRunner (#3008)
* Use getCapacityHW() to ensure latest battery capacity can be retrieved

* BackgroundRunner

* Start background_runner_spec.lua

* AutofrontLight plugin now uses BackgroundRunner plugin
7 years ago
robert00s a675d21e34 Enable text justification in GoodReads review 7 years ago
mwoz123 b0cf2ca18a News downloader settings menu entry (#2990)
Placeholder with info.
7 years ago
Hzj_jie e67ff2ab98 Use PluginShare to exchange data between plugins (#2981) 7 years ago
Hzj_jie 4ec96e377a Use getCapacityHW() to ensure latest battery capacity can be retrieved 7 years ago
Hzj_jie 970f2e7306 Several improvements of AutoFrontlight plugin and enable it by default (#2975)
* Force refresh when kindle is out of screensaver or usb is unpluged.

* Improve AutoFrontlight

* More plugins sub menu

* Last brightness should always be updated

* Finish autofrontlight improvement and enable it by default.

* More tets

* onFlushSettings

* MenuSorter can now correctly sort sub menus
7 years ago
Hzj_jie 7d2ed4c3d0 Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
Hzj_jie d83de47204 Add onFrontlightStateChanged event (#2966)
So we do not need the hacky solution in KoboLight plugin anymore. PageFooter can receive and process the event itself.
7 years ago
Hzj_jie 53eb4dee50 AutoFrontlight plugin (#2941)
* Add AutoFrontlight plugin

* Add configuration to control autofrontlight feature
7 years ago
Zijie He 0a02b529ae Remove BatteryStat:initCurrentState() 7 years ago
Hzj_jie d4756d777f (chore)Fix A typo in BatteryStat plugin (#2912) 7 years ago
Hzj_jie cc020b901a Fix KOsync crash when closing document (#2911) 7 years ago
mwoz123 66b0c54d4d (chore) NewsDownloader: don't require restart for changing download directory (#2901) 7 years ago
Frans de Jonge 87049a8020 (minor) NewsDownloader: Koreader to KOReader 7 years ago
Hzj_jie 30378eb2a8 Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 7 years ago
Frans de Jonge 3492b8b117 (minor, lang) improve text clarity for downloadmgr dialogs (#2897)
It's not necessarily clear that you need to long-press, see https://www.mobileread.com/forums/showpost.php?p=3520376&postcount=7
7 years ago
mwoz123 79830f3041 News Downloader: Select Custom download folder (#2886) 7 years ago
mwoz123 4eb8664c95 News downloader atom support (#2736)
* newsDownloader - atom support initial version

* NewsDownloader: update example feed config (use Reuters atom source)

* NewsDownloader: InfoMessage when unsupported urls

* NewsDownloader: update menu_item id

* NewsDownloader: change text label
7 years ago
Qingping Hou 6d3349d84b goodreads(fix): remove incorrect image_disposable setting 7 years ago
Qingping Hou 3541320cd2 goodreads(fix): double free 7 years ago
Frans de Jonge e1aa57f27e Font: unify font styling 7 years ago
Frans de Jonge 4616339ef8 KeyValuePage: improve looks
Fixes #2578.

* key bolded
* values normally left-aligned at 50%
* allows misalignment for the sake of fitting everything on one line
7 years ago
Qingping Hou 72ae80870c quickstart fix (#2804)
* translation text fix

* quickstart(fix): go back to home dir after document close

* quickstart(fix): purge old quick start files

* spec: fix quickstart tests
7 years ago
mwoz123 d6c81f5097 Simple News (RSS/Atom) downloader plugin (#2592)
* Simple News (RSS/Atom) downloader plugin
* Limit news from sources
* new News Downloader menu entry - goto news dir
* Initial configuration logic
* Download each feed source to separate folder
* 2 feed sources in example config
7 years ago
Hzj_jie 999898fa69 Merge various information into systemstat (#2764)
* Merge various information to systemstat
7 years ago
Frans de Jonge 338fcd76ae Lang: two tiny strings
* ReaderHighlight: underscore to underline. Although underscore means to
emphasize by underlining, the emphasis lies on the, ahem, emphasis. Besides
which, it's mostly AmE and less well understood worldwide (although in this
particular context it should probably cause no trouble).

* Statistics plugin: menu item text to "reading statistics" to make it clear
which statistics we're talking about. Fixes #2744.
7 years ago
robert00s a51941c397 Add Last suspend and resume time into System statistics 7 years ago
Frans de Jonge 0256601e85 UX and language fixes
* lang: changed `...` in CloudStorage to real ellipses
* chore: reordered requires in CloudStorage per coding style
* UX: switched "Close" and "Stay alive" in KeepAlive per UX style
* lang: improved message in CloudStorage
* chore: reordered requires in OTAManager per coding style
* lang: removed "your" from "Your KOReader is up to date" in OTAManager
7 years ago
Qingping Hou 1461574894 Support configurable extra plugin lookup path (#2693)
* plugin loader(feat): support loading plugins from user defined directories
Extra plugin lookup paths can be set in global reader setting via key
`extra_plugin_paths`. Value of the key can either be a string or an array
of strings.
* build(fix): also purge non-exist plugins on build
* plugin: migrate debug plugin to menu sorter
7 years ago
Frans de Jonge d91bd91840 Terminal plugin: minor language fixes
* ... should be a proper ellipsis
* "written" is a bit more end-user friendly than "dumped"
7 years ago
Hzj_jie 3ad3452d1a System Stat plugin (#2699) 7 years ago
Hzj_jie 339e16636b Terminal plugin (#2646) 7 years ago
Qingping Hou 1b700c0044 kobolight(fix): do not consume swipe event if not matched
Otherwise it will conflict with swipe to go back feature
7 years ago
Hzj_jie ed461c7f30 InputDialog is broken by #2672 (#2690)
This change also adds a tap_input_func in both TouchMenu and Button.
7 years ago
Hzj_jie 0318a048b4 Read timer plugin (#2672)
A countdown timer to notify user.
7 years ago
Frans de Jonge e0c2232237 Menus plugin typo fix 7 years ago
Frans de Jonge f22dcebb13 MenuSorter: fix overlooked new plugins
* frontlight gesture controller
* battery statistics
7 years ago
Frans de Jonge 425a4486e4 MenuSorter: fix orphaned storagestat 7 years ago
Frans de Jonge a970a1f034 MenuSorter: fix outside testability (for potential unit tests) 7 years ago
Frans de Jonge 8f31a81601 MenuSorter: some documentation
MenuSorter: forgot to add plugin style change

MenuSorter: worked out the final quirks

* Menu always compressed into tables without missing indexes for ipairs compatibility
* Orphans attached
* Separators no longer count as items
7 years ago
Frans de Jonge 5b20106db7 MenuSorter: initial implementation
* Menus are now sanely configurable
* Custom separator placement for clearer menus
7 years ago