Commit Graph

76 Commits

Author SHA1 Message Date
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
Qingping Hou 11ee8d6fcc refactor: use new KeyValuePage widget for displaying statistics 2016-02-14 21:54:17 -08:00
Alex Pletnev fbf98ed920 #1710 FR: Add support of statistics plugin for pdf 2016-02-12 16:55:02 +02:00
Alex Pletnev a6ebbe9adb #1807 FR: Add separator into menu 2016-02-11 18:47:27 +02:00
Qingping Hou 2f0544b1b7 refactor(statistics): avoid magic 0.1 schedule with PostRender event 2016-02-07 14:03:53 -08:00
chrox 2ea217296b comments on the delayed stats initialization 2016-02-06 23:39:11 +08:00
chrox 6d3634b58d fix occationally stats being wiped out 2016-02-06 23:33:52 +08:00
Qingping Hou e19f73bdba style(util): rename tablelength to tableSize 2016-01-31 14:58:05 -08:00
Alex Pletnev 6bf9d75807 #1750 TB feature/statistics issue
Change time to read book formula to: ((total_read_time / read_pages) * (all_pages - current_page))
2015-12-21 08:49:03 +02:00
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
2015-11-27 17:13:01 +02:00
Alex Pletnev daebb00f50 #1718 Save the statistics data into the history file 2015-11-23 21:37:36 +02:00
Alex Pletnev 698374c948 #1707 FR: Time to Read. Add "Time to read" into "current" section for statistics plugin 2015-11-07 00:44:38 +02:00
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.
2015-10-26 22:11:11 +08:00
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`.
2015-10-03 14:48:51 +08:00
Alexander Pletnev 57d6d64ad3 Add Statistic plugin (#1581 Amount of hours spent on a book)
check for NaN in case when nothing read yet
2015-10-02 23:31:00 +03:00
Alexander Pletnev 24a4830bcc #1658 fix "All time" in statistics 2015-10-02 23:18:18 +03:00
chrox 9fd4ee8eac fix statistics translation 2015-09-26 13:00:50 +08:00
chrox 9e91512f5f add custom sync server option in Kosync plugin
This should fix #1619.
2015-09-17 23:28:42 +08:00
Alexander Pletnev 85f284440c Add Statistic plugin (#1581 Amount of hours spent on a book) 2015-09-16 12:12:31 +03:00
Alexander Pletnev c797bb53a4 Add Statistic plugin (#1581 Amount of hours spent on a book)
Add template
2015-09-15 22:36:43 +03:00
Alexander Pletnev c45328f14e Add Statistic plugin (#1581 Amount of hours spent on a book)
Changes based on comments
2015-09-13 22:34:20 +03:00
Alexander Pletnev 52d821df00 Add Statistic plugin (#1581 Amount of hours spent on a book) 2015-09-07 20:06:17 +03:00
chrox e416a58cd7 add missing refactoring of json parser for calibre plugin 2015-03-21 14:18:37 +08:00
chrox 8836225cec fix freeze when register for KOSync on Kindle 2015-03-21 13:19:00 +08:00
chrox d3bb0d159a disable Turbo on Android to save precious mcode
This is a workaround to fix #1456.
2015-03-20 10:15:41 +08:00
chrox dac9c85c3b fix show sync dialog on same page for PDF 2015-03-16 21:51:17 +08:00
chrox 055d3b0127 fix auto sync cannot be disabled 2015-03-11 12:23:23 +08:00
chrox 064992e3c1 localizations for messages from server 2015-03-10 15:49:33 +08:00
chrox 2a373e5f5b keep plugin naming consistent 2015-03-10 15:12:44 +08:00
chrox 25c7687c7d fix koplugin on Android 2015-03-10 15:09:42 +08:00
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).
2015-03-09 20:20:36 +08:00
chrox db064fc009 add toggle wifi status on PocketBook 2015-02-01 15:16:27 +08:00
Huang Xin 1f51cdc499 get rid of plugin name "calibre companion"
It's called "calibre wireless connection" now.
2014-12-21 19:12:58 +08:00
Frans de Jonge 73a6f71a0b Prevent spaces from being eaten by Transifex
Fixes #1276
2014-11-28 22:38:54 +01:00
Frans de Jonge 6a7e6ed6ca Some English improvements in evernote.koplugin 2014-11-19 17:33:45 +01:00
Frans de Jonge cf5f388a7f Correct "cannot connect to calibre server string" 2014-11-12 13:34:29 +01:00
Frans de Jonge e5029b54c1 Capitalization: change a few mentions of calibre to lowercase
The author likes it that way. See http://calibre-ebook.com/about
2014-11-12 13:10:48 +01:00
Frans de Jonge ff4e2f3458 Minor English improvements. 2014-11-12 12:29:38 +01:00
Hans-Werner Hilse 78b098e47d make functions in MD5 implementation local
also get rid of mostly unused helper libraries and some stylistic
oddities in the MD5 code
2014-11-11 15:53:26 +01:00
chrox b401bca59a get rid of unneccessary requirements 2014-11-05 16:58:48 +08:00
Hans-Werner Hilse 3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
2014-11-02 21:19:04 +01:00
chrox 68265336f4 fix #1034 by refactoring path chooser to a download manager
Now directories visible in the filemanager should also
be visible in the path chooser
2014-10-28 17:14:06 +08:00