2
0
mirror of https://github.com/koreader/koreader synced 2024-11-11 19:11:14 +00:00
Commit Graph

5133 Commits

Author SHA1 Message Date
Qingping Hou
42d74c0a36 doc: add sqlite sample code 2016-11-19 12:15:27 -08:00
Qingping Hou
88ab21c62c minor: change setting names for home_dir_name 2016-11-19 12:15:27 -08:00
Bastien Dejean
64bc5cd63c Make the powered off state customizable
This changes the behavior of the powered off transition phase for the
Kobo devices: instead of displaying a confirmation dialog, a screensaver
is used after a 2 seconds press delay.

Users can specify separate directories/files/messages for the powered
off and sleeping states through the `path` and `message` attributes of
the `{poweroff,suspend}_screensaver` settings.

Fixes #2327 and closes #2306.
2016-11-18 12:54:00 -08:00
robert00s
2599c39d42 GoodReads Plugin (#2346)
GoodReads Plugin
2016-11-18 09:09:30 -08:00
Frans de Jonge
eb8c0525de Merge pull request #2353 from baskerville/random-image
Don't try to return an element from an empty set
2016-11-17 14:52:35 +01:00
Bastien Dejean
fe738ef101 Don't try to return an element from an empty set 2016-11-17 14:12:31 +01:00
Bastien Dejean
b3d58fba00 Don't try to set the value of fm_screen_mode
I'm not sure what the original intention was, but in practice, the user
experience regarding the way this setting is saved is horrible: it seems
to change randomly and once the orientation is changed from portrait to
landscape, the only way to fix it is to edit `settings.reader.lua`.
2016-11-15 23:50:58 -08:00
Bastien Dejean
58b6c94a8d Generalize and consolidate tildify
- Don't do any substitution unless `home_dir_name` exists.

- Don't rely on `gsub` because it might interpret some characters in
  `home_dir` as magical (and might also replace a match not starting at
  the beginning of `path`).
2016-11-14 13:22:20 -08:00
Bastien Dejean
283a113aaa Handle corner case in tildify 2016-11-13 15:09:59 -08:00
Frans de Jonge
00fbc5f3c9 Merge pull request #2338 from koreader/houqp-master
add setupkoenv.lua
2016-11-13 09:29:40 +01:00
Qingping Hou
b2e1d9dc42 dictquicklookup(chore): simplify logic that disables wikipedia button 2016-11-13 00:06:54 -08:00
Qingping Hou
dae4a5a413 refactor: move bootstrap code into setupkoenv.lua
add ffi.load patch
add kodev prompt command
2016-11-12 23:48:56 -08:00
Bastien Dejean
2f5935411a Replace the home dir by ~ in the FM's current path
This mirrors the well known shell convention and release the user from
a needlessly verbose description of the current path.
2016-11-12 15:26:14 -08:00
Bastien Dejean
83f18d6d77 Properly spell the title of the file manager
Us humans can handle spaces in titles.
2016-11-12 15:25:11 -08:00
Hzj_jie
8e5f294902 Return correct result from koreader.sh 2016-11-11 22:41:46 -08:00
Frans de Jonge
b7671e9ae5 Merge pull request #2324 from koreader/houqp-master
update new OTA server & fix plugin check errors
2016-11-11 21:43:29 +01:00
Frans de Jonge
312d0459a9 Merge pull request #2330 from robert00s/master
Fix #2328
2016-11-10 14:37:58 +01:00
robert00s
2238fdc882 Fix #2328 2016-11-10 12:21:42 +01:00
robert00s
09f2db3729 Fix long filename text in history textbox (#2322)
Fix long filename text in history textbox
2016-11-08 10:05:34 -08:00
Qingping Hou
8ff05707d2 ota: support legacy kindle devices 2016-11-08 00:53:46 -08:00
Qingping Hou
854043e18d chore: fix all luacheck errors for plugins 2016-11-07 21:24:34 -08:00
Qingping Hou
d6aa3b9c8c ota: add new default server 2016-11-07 21:17:01 -08:00
Qingping Hou
75f96c5508 Merge pull request #2320 from koreader/houqp-master
network(fix): automaticallly obtain IP if network is already authenticated
2016-11-07 00:27:17 -08:00
Qingping Hou
efae2ed16f network(fix): automaticallly obtain IP if network is already authenticated 2016-11-06 23:56:29 -08:00
robert00s
8a9811804d Add Polish keyboard (#2319)
Add Polish keyboard


* Optimization
2016-11-06 02:01:28 -08:00
Bastien Dejean
41764e23e8 Make page gap configurable 2016-11-05 13:16:33 -07:00
Frans de Jonge
8a4d99d63e Merge pull request #2317 from koreader/houqp-master
footer refactoring
2016-11-05 09:19:39 +01:00
Qingping Hou
558754e9b5 footer(refactor): various bug fixes and optimizations 2016-11-05 00:06:26 -07:00
robert00s
872ac457da Create reading progress page (#2312)
Create reading progress page
2016-11-04 14:35:20 -07:00
Qingping Hou
3de3fb9b14 kodev: error out on invalid test suit 2016-11-02 01:39:07 -07:00
Frans de Jonge
529d505585 Merge pull request #2311 from koreader/houqp-master
plugins(chore): fix static check errors
2016-11-01 08:53:09 +01: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
Qingping Hou
816d0a551a kobo: handle charging/uncharging event 2016-10-30 15:25:51 -07:00
Qingping Hou
4540d51a6e settings: add entry to toggle debug mode 2016-10-30 15:25:51 -07:00
Qingping Hou
a407036acd minor: always flush banner to stdout 2016-10-30 15:25:51 -07:00
Qingping Hou
48c8470209 wpa_supplicant(fix): restore password bassed on SSID 2016-10-30 15:25:51 -07:00
robert00s
886e2d6cb1 display document metadata (#2307)
display document metadata in file manager and history menu
2016-10-30 15:24:50 -07:00
robert00s
683b0381bf Patch for wikipedia language (#2304)
* smarter language detection for wikipedia

new order:
* check language for document
* check global language setting
* check language for lookup phrase

Fix: https://github.com/koreader/koreader/issues/1844
2016-10-26 10:20:12 -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
ycrichard
c3aa5fa0d9 allow disable highlight by default
minor code change

typo
2016-10-23 15:31:01 -07:00
Frans de Jonge
b7392f7013 Merge pull request #2291 from koreader/houqp-master
Show wifi scan error in UI
2016-10-18 09:07:11 +02:00
Qingping Hou
705d3e4cb4 doc(minor): document alternative usb plug event source for kobo 2016-10-17 23:45:47 -07:00
Qingping Hou
ad711d8033 minor: show wifi scan error in UI 2016-10-17 22:28:13 -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
Huang Xin
c9ffd44fc8 Merge pull request #2287 from koreader/houqp-master
minor changes
2016-10-17 09:35:57 +08:00
ycrichard
f3149b0b2c add frontlight information in the footer including context menu 2016-10-16 13:35:07 -07:00
Qingping Hou
db5a872ec6 minor: turn off wifi on exit 2016-10-16 01:29:02 -07:00
Qingping Hou
0ed95406a4 log(fix): do not pipe stdout to /dev/null during crash log rotation 2016-10-16 01:29:02 -07:00