Hzj_jie
4ec96e377a
Use getCapacityHW() to ensure latest battery capacity can be retrieved
2017-06-25 18:38:28 +02:00
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
2017-06-24 09:55:31 +02:00
Hzj_jie
7d2ed4c3d0
Move kobo auto-suspension logic out of UIManager ( #2933 )
2017-06-23 10:04:11 -07:00
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.
2017-06-19 19:00:36 -07:00
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
Zijie He
8549d98805
Add checked tag for keepalive plugin
2017-01-18 07:03:22 -08:00
Hzj_jie
9b605c95a0
Rename onSaveSettings to saveSettings
2017-01-18 06:33:49 -08:00
Frans de Jonge
9e14fcc748
Fix "line thick" typo to "line thickness" ( #2482 )
...
Thanks to @kingu on Transifex.
2017-01-15 07:02:25 -08:00
Nick Savage
5346bbc935
StorageStat: Improve output #2486
...
This improves the output a little of StorageStat to make it easily read.
2017-01-14 20:29:55 -08:00
poire-z
fc8d26ad89
Remove unnecessary PerceptionExpander:onSaveSettings()
...
All the explicite self:saveSettings() needed are done when needed,
and this onSaveSettings() made the file being rewritten unchanged on
each suspend/exit, and created even if people have never used the
plugin.
2017-01-12 19:10:52 -08:00
robert00s
aa918c7773
Fix: wifi prompt in calibre wireless connection
2017-01-11 20:25:47 -08:00
Hzj_jie
6b8ff76507
EvernoteExporter plugin can be docless
2017-01-09 00:58:19 -08:00
Hzj_jie
489b46dedb
StorageStat plugin ( #2475 )
2017-01-08 01:38:24 -08:00
Hzj_jie
dbdce45129
Update statistics plugin to support docless mode
2017-01-08 01:14:22 -08:00
Hzj_jie
f5601fe5ac
Implement TimeSync plugin ( #2459 )
2017-01-01 10:29:29 -08:00
Qingping Hou
86e924aa45
ci(fix): run luacheck on plugins dir
2016-12-29 00:02:22 -08:00
Alexander Pletnev
2bc1be9956
#2447 Perception expander plugin (Improve peripheral vision) ( #2455 )
2016-12-27 16:37:26 -08:00
Hzj_jie
ce6bc3df8d
Implement keepalive plugin ( #2456 )
2016-12-27 02:03:11 -08:00
Qingping Hou
ead5dfd9b4
readerview(feat): add registerViewModule method
2016-12-25 12:13:53 -08:00
Frans de Jonge
4f64ac4b69
Minor language fixes
...
Unsubscribe from was suggested by Allan Nordhøy (kingu) on Transifex.
2016-12-22 01:39:47 -08:00
Hzj_jie
c662ca4cc8
Load plugins also in FileManager ( #2426 )
...
added is_doc_only plugin attribute
2016-12-19 23:19:54 -08:00
Frans de Jonge
4e2836187b
Language: fixed a couple of Transifex issues
...
https://www.transifex.com/houqp/koreader/translate/#nb_NO/koreader/102219198
https://www.transifex.com/houqp/koreader/translate/#nb_NO/koreader/102219164
2016-12-16 22:49:08 -08:00
retrue
eae730d140
Some uppercase fixes ( #2421 )
2016-12-14 11:08:57 -08:00
Qingping Hou
a6c506dc10
kobolight(refactor): move into plugin & only enable for kobo
2016-12-10 16:06:51 -08:00
Qingping Hou
bd43e59fe7
fix: disable network info menu when device is not connected
2016-11-27 16:48:42 -08:00
robert00s
14a3c5f7a8
Change GoodReadsApi to GoodreadsApi
2016-11-22 09:09:05 +01:00
Frans de Jonge
2bc7b01d78
Fix a few Goodreads-related typos
2016-11-19 12:35:00 -08:00
robert00s
2599c39d42
GoodReads Plugin ( #2346 )
...
GoodReads Plugin
2016-11-18 09:09:30 -08:00
Qingping Hou
854043e18d
chore: fix all luacheck errors for plugins
2016-11-07 21:24:34 -08:00
robert00s
872ac457da
Create reading progress page ( #2312 )
...
Create reading progress page
2016-11-04 14:35:20 -07:00
Qingping Hou
93873bfd69
plugins(chore): fix static check errors
2016-11-01 00:31:24 -07:00
robert00s
378ba2c7fe
Extend current book statistics and fix bugs
2016-11-01 00:05:51 -07:00
Zijie He
f36f8cb464
KOSync plugin should respect onNetworkConnected and onFlushSettings events
2016-10-25 23:24:42 -07:00
robert00s
42b705f47d
Extend and fix statistics ( #2300 )
...
* Extend and fix statistics
* Add reading statistics: https://github.com/koreader/koreader/issues/2299
* Statistics / All Books shows only currently opened book : https://github.com/koreader/koreader/issues/2170
* Fix incorrect time: https://github.com/koreader/koreader/issues/2298
2016-10-24 10:15:56 -07:00
Frans de Jonge
6091378bc6
Various low-hanging language fruits
...
* Record to location, see https://github.com/koreader/koreader/pull/2268#issuecomment-252416860
* Defect size, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/11979947?issue=yes
* Stop publisher/subscriber, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031159?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031160?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031161?issue=yes
2016-10-17 10:19:33 -07:00
Hzj_jie
fd7ae875c0
Whisper sync feature
...
Now KOReader supports more sync options, and most of the sync operation can be
executed automatically.
2016-10-07 11:23:27 -07:00
Frans de Jonge
88fd5501d9
kosync: improve a couple of strings
2016-08-28 21:12:20 +02:00
chrox
7ea12c0198
fix broken unit tests on Travis CI
...
1. It turns out that `device_id` is not defined in unit test environment
which makes the `assert(self.kosync_device_id)` fail and somehow makes `luajit` segmentation fault.
2. In the device spec, stubbing `io.open` will make subsquent `require`
all return boolean value and segmentation fault `luajit`.
This patch is a minimum viable change that makes CI work on both my
local box and Travis.
2016-08-11 18:17:09 +08:00
Zijie He
820a39c8f7
Update KOSyncClient
2016-08-10 10:42:51 -07:00
chrox
1d887f4fe1
book reading statistics for djvu documents
2016-07-15 23:00:46 +08:00
Qingping Hou
20eb36a03d
feat: add network management UI for kobo
2016-07-11 23:50:19 -07:00
chrox
41f2fe85b7
fix #2119 by updating libSDL2.so and fix Evernote Plugin
2016-07-05 22:16:42 +08:00
Qingping Hou
c22a3747d8
fix all the tests
2016-04-19 00:01:28 -07:00
Frans de Jonge
5638819f25
Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader.
2016-04-16 12:37:08 +02:00
Allan Nordhøy
bc16ed5035
Spelling of calibre and KOReader. Ellipsis.
2016-04-15 15:04:41 +02:00
Frans de Jonge
b92e2264a1
Fix statistics translation
2016-04-04 17:39:02 +02:00
Qingping Hou
467199285f
minor: rename Koreader to KOReader
2016-03-27 18:50:23 -07:00
Qingping Hou
7a22282dbe
statistics: show current value in setting
2016-03-05 12:59:32 -08:00
Qingping Hou
ac9888f106
fix: use ffi/md5 in plugins
2016-02-27 12:58:11 -08:00
Alex Pletnev
853e8581d0
fix error in case when process old statistics files
2016-02-15 15:58:46 +02:00
Qingping Hou
bc8144ddfa
statistics: ignore books with 0 total_time
2016-02-15 02:18:10 -08:00