2
0
mirror of https://github.com/koreader/koreader synced 2024-11-02 15:40:16 +00:00
Commit Graph

163 Commits

Author SHA1 Message Date
Hzj_jie
53eb4dee50 AutoFrontlight plugin (#2941)
* Add AutoFrontlight plugin

* Add configuration to control autofrontlight feature
2017-06-14 19:32:16 +02:00
Zijie He
0a02b529ae Remove BatteryStat:initCurrentState() 2017-05-31 22:21:35 +02:00
Hzj_jie
d4756d777f (chore)Fix A typo in BatteryStat plugin (#2912) 2017-05-21 10:44:53 +02:00
Hzj_jie
cc020b901a Fix KOsync crash when closing document (#2911) 2017-05-21 08:36:41 +02:00
mwoz123
66b0c54d4d (chore) NewsDownloader: don't require restart for changing download directory (#2901) 2017-05-17 22:24:49 +02:00
Frans de Jonge
87049a8020 (minor) NewsDownloader: Koreader to KOReader 2017-05-16 22:49:09 -07:00
Hzj_jie
30378eb2a8 Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 2017-05-16 02:11:11 -07:00
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
2017-05-15 21:48:18 -07:00
mwoz123
79830f3041 News Downloader: Select Custom download folder (#2886) 2017-05-14 01:46:12 -07:00
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
2017-05-08 22:15:42 +02:00
Qingping Hou
6d3349d84b goodreads(fix): remove incorrect image_disposable setting 2017-05-08 02:39:51 -07:00
Qingping Hou
3541320cd2 goodreads(fix): double free 2017-05-08 09:55:02 +02:00
Frans de Jonge
e1aa57f27e Font: unify font styling 2017-04-29 03:01:38 -07:00
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
2017-04-29 03:01:38 -07:00
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
2017-04-24 08:27:29 +02:00
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
2017-04-19 17:59:45 +02:00
Hzj_jie
999898fa69 Merge various information into systemstat (#2764)
* Merge various information to systemstat
2017-04-14 21:12:28 +02:00
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.
2017-04-09 15:03:21 -07:00
robert00s
a51941c397 Add Last suspend and resume time into System statistics 2017-04-09 20:27:53 +02:00
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
2017-04-06 21:56:56 -07:00
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
2017-04-06 11:12:35 +02:00
Frans de Jonge
d91bd91840 Terminal plugin: minor language fixes
* ... should be a proper ellipsis
* "written" is a bit more end-user friendly than "dumped"
2017-04-03 01:28:52 -07:00
Hzj_jie
3ad3452d1a System Stat plugin (#2699) 2017-04-02 14:46:19 -07:00
Hzj_jie
339e16636b Terminal plugin (#2646) 2017-04-01 23:50:24 -07:00
Qingping Hou
1b700c0044 kobolight(fix): do not consume swipe event if not matched
Otherwise it will conflict with swipe to go back feature
2017-03-30 10:59:04 -07:00
Hzj_jie
ed461c7f30 InputDialog is broken by #2672 (#2690)
This change also adds a tap_input_func in both TouchMenu and Button.
2017-03-28 15:47:18 -07:00
Hzj_jie
0318a048b4 Read timer plugin (#2672)
A countdown timer to notify user.
2017-03-26 21:42:58 -07:00
Frans de Jonge
e0c2232237 Menus plugin typo fix 2017-03-26 13:14:56 +02:00
Frans de Jonge
f22dcebb13 MenuSorter: fix overlooked new plugins
* frontlight gesture controller
* battery statistics
2017-03-26 11:29:34 +02:00
Frans de Jonge
425a4486e4 MenuSorter: fix orphaned storagestat 2017-03-26 11:12:44 +02:00
Frans de Jonge
a970a1f034 MenuSorter: fix outside testability (for potential unit tests) 2017-03-26 11:12:44 +02:00
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
2017-03-26 11:12:44 +02:00
Frans de Jonge
5b20106db7 MenuSorter: initial implementation
* Menus are now sanely configurable
* Custom separator placement for clearer menus
2017-03-26 11:12:44 +02:00
Hzj_jie
0b29e73e2e BatteryStat plugin and instruction of KoboLight plugin (#2643)
* Start battery stat plugin

* BatteryStat & kobolight

* Several minor improvements

* Remove a useless function

* flush settings

* Some review feedbacks

* Resolve review comments

* Remaining Minutes -> Remaining Hours

* Add dump_file

* typo

* realpath

* realpath on folder

* Remove useless os.time()

* Resolve review comments

* warning

* Add BatteryStat.debugging flag

* treat log as txt

* Minor improvement

* Charging hour should be positive

* Use warn instead of info

* onSuspend in Kobo

* Charging events for kobo and kindle

* More events

* dumpOrLog

* Warnings

* Typo

* More space

* Singleton

* slightly format change

* BatteryStat singleton

* Init

* Remove debugging flag

* sleeping percentage is still negative

* Read settings

* Do not need to change was_suspending and was_charging

* Typo

* Remove debugging flag

* Not charging should happen before suspend

* Resolve review comments

* was_suspend and was_charging should be updated each time in onCallback()
2017-03-23 23:36:15 -07:00
poire-z
8b295b5837 Fix KoboLight sensitivity
Which was increasing after each opening of a document.
Closes #2605
2017-03-11 21:10:12 +01:00
Hzj_jie
e974476099 A crash will be triggered in evernote plugin if a history file is empty (#2604) 2017-03-02 20:43:04 -08:00
robert00s
a2f2ac07a5 Ask for connection in GoodReads plugin while offline 2017-02-28 01:01:02 -08:00
Hzj_jie
819952ca54 Several minor improvements of evernote plugin (#2573)
* Several minor improvements of evernote plugin
2017-02-26 23:41:06 -08:00
Hzj_jie
7fb2dc8d5c Update kobolight plugin to support kindle (#2587) 2017-02-26 02:19:20 -08:00
robert00s
21f6c7dcc6 Ask for connection when clicking on TimeSync while offline 2017-02-25 18:04:52 +01:00
Robert
0cab4ca35e Day of week and months can now be translated (#2546)
* Day of week and months can now be translated
2017-02-19 13:12:45 -08:00
mblq
1e095afb15 fix overrides for plugin_kobolight_tap 2017-02-19 12:15:49 -08:00
Frans de Jonge
8476487c05 [plugins] TimeSync @lang fix comma splice 2017-02-19 12:15:13 -08:00
Hzj_jie
4a7225950a Update timesync plugin to use ntp (#2545)
* Improve several outputs

* Update timesync plugin to use ntp
2017-02-17 18:38:49 -08:00
Zijie He
4f1cabcdbc Improve several outputs 2017-02-16 08:23:04 +01:00
Frans de Jonge
6257bae77f Language: mostly Wikipedia-related changes 2017-02-02 02:09:51 -08:00
poire-z
7166efd777 ImageViewer: added zoom & pan via gestures
ImageWidget: removed 'autostretch' setting (replaced by scale_factor=0)
and renamed 'autoscale' setting to 'scale_for_dpi'.
2017-01-30 08:28:51 -08:00
robert00s
042eb660e8 Can't display the doc name in Statistics page 2017-01-24 20:14:36 -08:00
Hzj_jie
529d1b3d33 evernote: ReadHistory integration and text file output (#2498) 2017-01-21 01:32:42 -08:00
Nick Savage
d33fee3a40 Statistics: Add percentage completed to Statistics plugin
Makes percentage completed easily accessible through the statistics plugin. It has always been accessible through the status bar, but not through the statistics menu.
2017-01-20 02:58:11 -08:00