Commit Graph

209 Commits (ac7119c4330075d4aa6275e58fb703dddc6d0b7a)

Author SHA1 Message Date
Robert ceb7cf9771 Migrate Goodreads to https (#3298) 7 years ago
poire-z b55265ba91 CoverBrowser: avoid crash when indexing some cre documents (#3293) 7 years ago
Frans de Jonge 23e2183931 [fix] KOSync plugin server location (#3288)
This is only step one. It remains to be determined why the connection is downgraded to sslv3, which will result in a handshake failure.
7 years ago
Robert f45188fb9d Time reader with normal time format v2 (#3279) 7 years ago
poire-z e350e0e35a CoverBrowser: use a cache for crengine books extraction (#3277)
We previously disabled cache, but that may cause excessive
memory usage with big books. We now use a temporary
cache directory, that we clean when no more needed.
7 years ago
poire-z 48d888bedb CoverBrowser: use MuPDF for down-scaling images (#3272) 7 years ago
Robert 8d765e7d0d Add back button to statistics (#3267)
Closes: #3236 and #3235
Details:

> Also, when looking in days, we see info how many hours we read. It would be great if we could tap a day, it opens info on book(s) we read that day with info pertaining to that day, and if we tap on book, we receive book info for that book.

>  Statistics plugin is really great, I started to look in my reading statistics now much more, but all the time I can go only in one way. And I need to exit at lowest level of info. It would be great if I can use statistics plugin like part of menu, to go up and down within statistics data and exit at my wish, not when I have to.

Also added:

 * new statistics book by week
 * new statistics book by month
 * last year by week now we can see days in selected week
7 years ago
Frans de Jonge ff3ca5d98d [Android] Enable CoverBrowser (#3264)
I was reminded by @KenMaltby that this is disabled on Android.

https://www.mobileread.com/forums/showthread.php?p=3586162#post3586162
7 years ago
mwoz123 e7da93da89 Adapt ND to changes in code where 0 means no limit (#3258)
+ reorganize config, improved comments
7 years ago
Frans de Jonge 8f3a5353e5 [fix] statistics: typo (#3252) 7 years ago
Frans de Jonge a6be301695 Added Size module 7 years ago
Frans de Jonge 9eb073a524 [travis] Add protection against unscaled sizes
As pointed out by @poire-z

* [fix, UX] SkimToWidget scaling

* [fix] Button scaling

* [fix, UX] Scale ProgressWidget

* [fix, UX] Scale confirmbox

* [fix, UX] Scale just about everything
7 years ago
Robert f0b9a66359 Book information for all books (#3250) 7 years ago
poire-z 4d18ac1100 Some History fixes and enhancements (#3247)
Made the onHold buttons table similar to the one of File browser.
Added "Purge .sdr" and "Delete" to these buttons.
Moved the purgeSettings and removeFileFromHistoryIfWanted
logic into filemanagerutil functions.
Stay on the same page when manipulating history (previously, we were
always put back on first page).
Really keep deleted files in history (unless setting says otherwise).
Show deleted files in grey or dimmed in classic History and all
CoverBrowser display modes.
7 years ago
Robert 019513f785 Prevent crash Timer in Filemanager (#3237) 7 years ago
Robert 2c3936ddb4 Refactoring readerfooter statistics - TB and TC (#3223) 7 years ago
Robert 7c88bad189 [fix] Statistics settings reset to default when on save without change (#3188)
* Fix: #3186
7 years ago
Robert e5eb015f1b Statistics in bookstatuswidget (#3218) 7 years ago
Robert b617efa21f Disable Current book when statistics are disabled (#3210) 7 years ago
Robert 392209c200 Change message after import (#3197) 7 years ago
Robert c948472b66 On monthly statistics we can see the daily stats (#3175) 7 years ago
Robert 807c4a256d Fix problem with import old .stat files (#3195) 7 years ago
Hzj_jie 12af617b46 Revert last change to autofrontlight.koplugin 7 years ago
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
7 years ago
Hzj_jie 1ff46a67b4 SwitchPlugin and BackgroundTaskPlugin with tests (#3137) 7 years ago
Frans de Jonge a8d65aad35 [fix] Statistics: translation (#3151)
* [fix] Statistics: translation
7 years ago
Robert 7cec63e77a database name change to statistics.sqlite3 (#3147)
Clearer filename.
7 years ago
Robert 0e2d20353a Statistics plugin v2 (SQLite) (#2893) 7 years ago
poire-z 2595dbb0ec Add some settings to Display mode/Other settings menu (#3129) 7 years ago
Hzj_jie b89435b432 Move PluginShare.backgroundJobs into PluginShare module (#3128) 7 years ago
poire-z 031df2ffee Added PicDocument:getCoverPageImage() and :getProps()
So an image file can have a cover in coverbrowser's display.
It also allows for an alternative viewer (ImageViewer widget)
when holding on file / View full size cover.
7 years ago
poire-z cf95f5e8d3 Ensure TextWidget's width and heigth are integer
And removed workarounds in coverbrowser plugin.
7 years ago
poire-z b4e7dc947c Added TextBoxWidget.has_split_inside_word flag
Used by coverbrowser's Text covers to choose the best font size.
7 years ago
poire-z 3b5cd4c23b CoverBrowser plugin: alt views for File Browser and History (#2940)
* CoverBrowser plugin: alt views for File Browser and History

* Added Prune cache and Compact cache menu actions

* Support for book descriptions, and settings stored in db
7 years ago
robert00s ddd36d4150 Fix: Zsync -> Share this document crashes 7 years ago
Frans de Jonge 16dd5170b8 Newsdownloader: add HTTPS support and fixes
* Fixes #3041 (HTTPS)
* Fixes unlimited (limit = 0) was broken
* Fixes titles and links with attributes
7 years ago
Hzj_jie a8513c95b6 Several minor fixes (#3057)
1. Android.getScreenBrightness() is used in frontend/device/android/powerd.lua to retrieve the frontlight intensity.
2. kosync.koplugin won't save settings for whisper sync.
3. batterstat.koplugin won't work correctly if several on* events are fired.
7 years ago
Frans de Jonge b4167672fd Read timer: various improvements
* no timeout on alarm
* autoclose menu when starting timer
* show time in menu when active
7 years ago
Hzj_jie c9a997f42c BackgroundRunner (#3008)
* Use getCapacityHW() to ensure latest battery capacity can be retrieved

* BackgroundRunner

* Start background_runner_spec.lua

* AutofrontLight plugin now uses BackgroundRunner plugin
7 years ago
robert00s a675d21e34 Enable text justification in GoodReads review 7 years ago
mwoz123 b0cf2ca18a News downloader settings menu entry (#2990)
Placeholder with info.
7 years ago
Hzj_jie e67ff2ab98 Use PluginShare to exchange data between plugins (#2981) 7 years ago
Hzj_jie 4ec96e377a Use getCapacityHW() to ensure latest battery capacity can be retrieved 7 years ago
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
7 years ago
Hzj_jie 7d2ed4c3d0 Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
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.
7 years ago
Hzj_jie 53eb4dee50 AutoFrontlight plugin (#2941)
* Add AutoFrontlight plugin

* Add configuration to control autofrontlight feature
7 years ago
Zijie He 0a02b529ae Remove BatteryStat:initCurrentState() 7 years ago
Hzj_jie d4756d777f (chore)Fix A typo in BatteryStat plugin (#2912) 7 years ago
Hzj_jie cc020b901a Fix KOsync crash when closing document (#2911) 7 years ago