2
0
mirror of https://github.com/koreader/koreader synced 2024-11-08 07:10:27 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Robert
c948472b66 On monthly statistics we can see the daily stats (#3175) 2017-09-09 20:19:05 +02:00
Robert
807c4a256d Fix problem with import old .stat files (#3195) 2017-09-09 20:18:16 +02:00
Robert
a003b375c2 Fix: Remove primary key from page_stat (#3157)
* Fix: Remove primary key from page_stat

* Fix: Prevent crash on Reading progress when no data from last 7 days

* Add indexes
2017-09-01 22:05:57 +02:00
Frans de Jonge
a8d65aad35 [fix] Statistics: translation (#3151)
* [fix] Statistics: translation
2017-08-30 21:53:13 -07:00
Robert
7cec63e77a database name change to statistics.sqlite3 (#3147)
Clearer filename.
2017-08-29 20:42:17 +02:00
Robert
0e2d20353a Statistics plugin v2 (SQLite) (#2893) 2017-08-29 17:34:49 +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
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
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
robert00s
042eb660e8 Can't display the doc name in Statistics page 2017-01-24 20:14:36 -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
Hzj_jie
dbdce45129 Update statistics plugin to support docless mode 2017-01-08 01:14:22 -08:00
Qingping Hou
ead5dfd9b4 readerview(feat): add registerViewModule method 2016-12-25 12:13:53 -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
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
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
chrox
1d887f4fe1 book reading statistics for djvu documents 2016-07-15 23:00:46 +08:00
Qingping Hou
c22a3747d8 fix all the tests 2016-04-19 00:01:28 -07:00
Frans de Jonge
b92e2264a1 Fix statistics translation 2016-04-04 17:39:02 +02:00
Qingping Hou
7a22282dbe statistics: show current value in setting 2016-03-05 12:59:32 -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
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