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
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
Qingping Hou
b2e1d9dc42
dictquicklookup(chore): simplify logic that disables wikipedia button
2016-11-13 00:06:54 -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
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
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
d6aa3b9c8c
ota: add new default server
2016-11-07 21:17:01 -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
Qingping Hou
558754e9b5
footer(refactor): various bug fixes and optimizations
2016-11-05 00:06:26 -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
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
ycrichard
c3aa5fa0d9
allow disable highlight by default
...
minor code change
typo
2016-10-23 15:31:01 -07: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
ycrichard
f3149b0b2c
add frontlight information in the footer including context menu
2016-10-16 13:35:07 -07:00
Qingping Hou
31d22dfc17
fix(kobofrontligh): initialize dimen with nil value
2016-10-14 19:51:24 -07:00
Qingping Hou
67ae10742a
defaults: try parse int from user input
2016-10-14 19:50:49 -07:00
ycrichard
17e9a8e45b
add kobo frontlight gesture ( #2284 )
...
* add kobo frontlight gesture
2016-10-14 11:11:35 -07:00
Qingping Hou
abbb72b6d3
readerrolling(fix): do not emit PageUpdate event until document is ready
2016-10-08 15:53:58 -07:00
Qingping Hou
c998120a78
progressbar(performance): reuse calcauted value for ticks loop
2016-10-08 15:53:58 -07:00
Qingping Hou
0ace252b64
device(minor): call restoreWifiAsync with self
2016-10-08 15:53:02 -07:00
Qingping Hou
ef5c8ced60
chore: disable wrong usbplug event handler
2016-10-08 15:53:02 -07:00
Qingping Hou
58500ba01b
fix: delay screen refresh on resume
2016-10-08 15:53:02 -07:00
Qingping Hou
404702914e
minor: adjust wording for fallback font setting based on Frenzie's suggestion
2016-10-08 15:53:02 -07:00
Qingping Hou
d6c48b06f9
chore: fix all luacheck issues
2016-09-22 00:38:10 -07:00
Qingping Hou
252100891f
fix(defaults): override defaults with persistent defaults for advanced setting menu
2016-09-22 00:38:03 -07:00
Qingping Hou
ca21ab4be5
fix(defaults): type casting for user input
2016-09-21 23:57:45 -07:00
Qingping Hou
902403bf0a
kobo(fix): prevent usb plug events from interrupting sleep
2016-09-21 23:32:56 -07:00
Qingping Hou
71afe3606c
kobo(fix): set suspend wait timeout to 15 seconds
...
Otherwise, suspend might fail and the device will ended up in a false
sleep state and drain the battery.
2016-09-21 23:32:52 -07:00
Qingping Hou
4036e2c460
kobo(fix): do not wake up device when cover is closed
2016-09-21 23:29:22 -07:00
Qingping Hou
93b3262db7
kobo(fix): make sure sleep cover is not interrupting sleeping when ignore_power_sleepcover is set
2016-09-21 23:29:22 -07:00
Qingping Hou
22964a77a0
kobo(fix): always put device to suspend state when cover is closed
2016-09-21 23:29:17 -07:00
Qingping Hou
ebc7055b43
chore: move kobo specific code into kobo/device.lua
2016-09-19 01:10:53 -07:00
Qingping Hou
c619de324e
chore: more luacheck fixes
2016-09-19 01:10:53 -07:00
Qingping Hou
6d578b26f5
minor: use io.write instead of print for dbg module
2016-09-13 21:57:10 -07:00
Qingping Hou
76cef07c07
Merge pull request #2251 from MMihelic/master
...
Aura One support
2016-09-13 00:36:09 -07:00
Qingping Hou
31470efa3b
Merge pull request #2250 from Hzj-jie/master2
...
Add readhistory_spec / docsettings_spec
2016-09-13 00:35:28 -07:00