Commit Graph

86 Commits (816d0a551acc9cc2d5cec987655397cc904be696)

Author SHA1 Message Date
Zijie He f36f8cb464 KOSync plugin should respect onNetworkConnected and onFlushSettings events 8 years ago
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
8 years ago
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
8 years ago
Hzj_jie fd7ae875c0 Whisper sync feature
Now KOReader supports more sync options, and most of the sync operation can be
executed automatically.
8 years ago
Frans de Jonge 88fd5501d9 kosync: improve a couple of strings 8 years ago
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.
8 years ago
Zijie He 820a39c8f7 Update KOSyncClient 8 years ago
chrox 1d887f4fe1 book reading statistics for djvu documents 8 years ago
Qingping Hou 20eb36a03d feat: add network management UI for kobo 8 years ago
chrox 41f2fe85b7 fix #2119 by updating libSDL2.so and fix Evernote Plugin 8 years ago
Qingping Hou c22a3747d8 fix all the tests 8 years ago
Frans de Jonge 5638819f25 Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader. 8 years ago
Allan Nordhøy bc16ed5035 Spelling of calibre and KOReader. Ellipsis. 8 years ago
Frans de Jonge b92e2264a1 Fix statistics translation 8 years ago
Qingping Hou 467199285f minor: rename Koreader to KOReader 8 years ago
Qingping Hou 7a22282dbe statistics: show current value in setting 8 years ago
Qingping Hou ac9888f106 fix: use ffi/md5 in plugins 8 years ago
Alex Pletnev 853e8581d0 fix error in case when process old statistics files 8 years ago
Qingping Hou bc8144ddfa statistics: ignore books with 0 total_time 8 years ago
Qingping Hou 11ee8d6fcc refactor: use new KeyValuePage widget for displaying statistics 8 years ago
Alex Pletnev fbf98ed920 #1710 FR: Add support of statistics plugin for pdf 8 years ago
Alex Pletnev a6ebbe9adb #1807 FR: Add separator into menu 8 years ago
Qingping Hou 2f0544b1b7 refactor(statistics): avoid magic 0.1 schedule with PostRender event 8 years ago
chrox 2ea217296b comments on the delayed stats initialization 8 years ago
chrox 6d3634b58d fix occationally stats being wiped out 8 years ago
Qingping Hou e19f73bdba style(util): rename tablelength to tableSize 8 years ago
Alex Pletnev 6bf9d75807 #1750 TB feature/statistics issue
Change time to read book formula to: ((total_read_time / read_pages) * (all_pages - current_page))
9 years ago
Alex Pletnev ce4e32e01c #1723 Add time to read into the status bar
Add new statuses:
TB - book time to read
TC - chapter time to read

Fix backward compatible in statistics plugin
9 years ago
Alex Pletnev daebb00f50 #1718 Save the statistics data into the history file 9 years ago
Alex Pletnev 698374c948 #1707 FR: Time to Read. Add "Time to read" into "current" section for statistics plugin 9 years ago
chrox 9d041fd5a3 fix FlushSettings event consumed by statistics plugin
so that ReaderUI cannot receive that event and all devices
don't flush settings when going into suspend or background.
9 years ago
chrox a60544b1ad Koreader Ubuntu-touch port
Currently only tested on Ubuntu-touch emulator with framework
ubuntu-sdk-14.10 for armhf.
The ubuntu-touch port is binary compatible with the Kobo port
major changes in this PR are:
1. rename the emulator device to sdl device since both the emulator
and the ubuntu-touch target use libsdl to handle input/output.
2. ubuntu-touch app has no write access to the installation dir so
all write-outs should be in a seperate dir definded in `datastorage`.
9 years ago
Alexander Pletnev 57d6d64ad3 Add Statistic plugin (#1581 Amount of hours spent on a book)
check for NaN in case when nothing read yet
9 years ago
Alexander Pletnev 24a4830bcc #1658 fix "All time" in statistics 9 years ago
chrox 9fd4ee8eac fix statistics translation 9 years ago
chrox 9e91512f5f add custom sync server option in Kosync plugin
This should fix #1619.
9 years ago
Alexander Pletnev 85f284440c Add Statistic plugin (#1581 Amount of hours spent on a book) 9 years ago
Alexander Pletnev c797bb53a4 Add Statistic plugin (#1581 Amount of hours spent on a book)
Add template
9 years ago
Alexander Pletnev c45328f14e Add Statistic plugin (#1581 Amount of hours spent on a book)
Changes based on comments
9 years ago
Alexander Pletnev 52d821df00 Add Statistic plugin (#1581 Amount of hours spent on a book) 9 years ago
chrox e416a58cd7 add missing refactoring of json parser for calibre plugin 9 years ago
chrox 8836225cec fix freeze when register for KOSync on Kindle 9 years ago
chrox d3bb0d159a disable Turbo on Android to save precious mcode
This is a workaround to fix #1456.
9 years ago
chrox dac9c85c3b fix show sync dialog on same page for PDF 9 years ago
chrox 055d3b0127 fix auto sync cannot be disabled 9 years ago
chrox 064992e3c1 localizations for messages from server 9 years ago
chrox 2a373e5f5b keep plugin naming consistent 9 years ago
chrox 25c7687c7d fix koplugin on Android 9 years ago
chrox d08e22ec2e add simple sync service as a plugin
The 'KOSync' plugin will synchronize furthest reading progress
across different koreader devices after users registering their
devices.

The synchronizing service is open-sourced as the project
[koreader/koreader-sync-server](https://github.com/koreader/koreader-sync-server).
9 years ago
chrox db064fc009 add toggle wifi status on PocketBook 9 years ago