Commit Graph

4316 Commits

Author SHA1 Message Date
Frans de Jonge 276838bc79 Merge pull request #1644 from chrox/ota_fix
don't use tar.gz file extension for OTA
2015-09-26 12:14:10 +02:00
Qingping Hou cab084fe14 Merge pull request #1645 from chrox/fix_statistics_plugin
fix statistics translation
2015-09-26 00:09:56 -07:00
chrox 9fd4ee8eac fix statistics translation 2015-09-26 13:00:50 +08:00
chrox dce9e50bde don't use tar.gz file extension for OTA
because ISP may cache gz files and confuse zsync protocol
When I wget the gz file it's redirected to a ISP cached file and zsync
will fail.
```
~ $ wget http://vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
--2015-09-26 10:55:54--
http://vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
Resolving vislab.bjmu.edu.cn (vislab.bjmu.edu.cn)... 202.112.180.24
Connecting to vislab.bjmu.edu.cn
(vislab.bjmu.edu.cn)|202.112.180.24|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://202.112.191.194/file/gz/2cd4eae05d961f8afe9ad99fb20288d4e735fbf4/vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
[following]
--2015-09-26 10:55:55--
http://202.112.191.194/file/gz/2cd4eae05d961f8afe9ad99fb20288d4e735fbf4/vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
```
2015-09-26 12:21:00 +08:00
Qingping Hou ddc36198ba Merge pull request #1640 from chrox/kosync_custom
add custom sync server option in Kosync plugin
2015-09-17 21:52:22 -07:00
chrox 9e91512f5f add custom sync server option in Kosync plugin
This should fix #1619.
2015-09-17 23:28:42 +08:00
Frans de Jonge f85da283a1 Merge pull request #1639 from chrox/fix_travis
fix unit test fail on Travis
v2015.09.17-nightly
2015-09-16 17:59:21 +02:00
chrox 2c9851306e fix unit test fail on Travis 2015-09-16 23:40:32 +08:00
Huang Xin d393fbb180 Merge pull request #1628 from apletnev/#1581
Add Statistic plugin (#1581 Amount of hours spent on a book)
2015-09-16 19:55:26 +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
Frans de Jonge f5a98cc7d5 Merge pull request #1637 from koreader/opds_authentication
add Basic Authentication for OPDS catalog
2015-09-14 21:06:56 +02:00
chrox b0df6d53e9 add Basic Authentication for OPDS catalog
use coroutine to support ad-hoc callback in login button so that when
the username/password is incorrect it will retry automatically
currently tested with COPS on apache

This should fix #1001.
2015-09-15 00:59:00 +08: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
Frans de Jonge 384d5eca72 Merge pull request #1636 from koreader/opds_href
fix #1593 cannot download from COPS OPDS server
2015-09-13 16:45:02 +02:00
chrox 5ec384efb5 fix #1593 cannot download from COPS OPDS server
and get rid of the ugly baseurl workaround for "Internet Archive",
actually the url building of all these catalogs is perfectly
handled with `url.absolute(base, relative)`.
2015-09-13 22:08:05 +08:00
Frans de Jonge 96f48c0956 Merge pull request #1635 from houqp/houqp-master
keyboard support for confirmbox and buttontable
2015-09-13 12:25:31 +02:00
Qingping Hou 1664cece7f ci: cache apt-get 2015-09-13 01:10:09 -07:00
Qingping Hou a62e7ee34c feat: add keyboard support for button table 2015-09-13 01:10:09 -07:00
Qingping Hou 8c14613085 fix: support self.selected override for FocusManager 2015-09-13 01:10:09 -07:00
Qingping Hou 63e88baf33 fix: stop self.dimen polution for inputcontainers
Without this fix, self.dimen is shared among all inputcontainers
intances, which breaks some of the UI rendering. All widget should
set/initialize their own self.dimen in self:init() method.
2015-09-13 01:10:09 -07:00
Qingping Hou cdd17906f6 refactor: ui/font:getFace 2015-09-13 01:10:09 -07:00
Qingping Hou 2599974c2d Merge pull request #1633 from chrox/master
fix travis build segfault hopefully
2015-09-13 01:02:06 -07:00
chrox cf56f6a6e5 update luajit repo url 2015-09-13 13:21:14 +08:00
chrox fd5d4a4cf7 fix extremely large font on certain reflowed pages 2015-09-13 05:09:05 +08:00
chrox b65b70fec6 update base and luajit-launcher 2015-09-13 04:08:17 +08:00
chrox f0dbd5939c fix travis build segfault hopefully 2015-09-13 03:28:17 +08:00
Huang Xin d952c492a1 Merge pull request #1630 from NiLuJe/master
Prefix battery percentage w/ a + when charging.
v2015.09.11-nightly
2015-09-10 09:28:28 +08:00
NiLuJe ce5f66ccbc Prefix battery percentage w/ a + when charging.
Adresses comments on MR.
Add a comment explaining the magic behind CRe's charging icon when using
CRE's full (top) status bar.
2015-09-09 17:37:35 +02:00
Huang Xin 02938163b9 Merge pull request #1626 from Frenzie/travis
Spec updates for new font
2015-09-08 09:36:30 +08:00
Alexander Pletnev 52d821df00 Add Statistic plugin (#1581 Amount of hours spent on a book) 2015-09-07 20:06:17 +03:00
Frans de Jonge 6eca0be44b Spec updates for new font 2015-09-07 09:42:23 +02:00
Frans de Jonge fc115199f9 Merge pull request #1625 from NiLuJe/master
A bunch of Kindle tweaks
2015-09-06 18:55:52 +02:00
NiLuJe d26878eb84 Update base 2015-09-06 17:44:20 +02:00
NiLuJe 6309df9dec Guard against nil text in menu widget
Allow one to go further in the FM's setting menu on legacy devices...
... and potentially shoot oneself in the foot because of the unusable
confirmdialogs (among other things ;p).
2015-09-06 17:23:48 +02:00
NiLuJe d6ab3b5224 Fix previous commit
So it actually works as intended ;p.
2015-09-06 17:00:31 +02:00
NiLuJe 2058209aa8 More Kindle startup tweaks on legacy devices
Don't try to setup iptables if it's not there (K2/DX/DXG).
Note that we'll do it on the K3, but it'll be useless there (no wifi).
2015-09-06 16:53:24 +02:00
NiLuJe dc7b854196 Fix input devices on K2 2015-09-06 16:47:15 +02:00
NiLuJe ffd3f5c1cc Fix input devices on K4 2015-09-06 16:32:00 +02:00
NiLuJe f85c10e3b9 Minor tweak to exit behavior on legacy devices.
Properly refresh the screen when exiting with the framework running.
The lua code to handle that is called while cvm is SIGSTOPP'ed, so it
doesn't help.
2015-09-06 16:23:46 +02:00
NiLuJe df4bbc8191 Only read Kindle S/N once 2015-09-06 16:21:02 +02:00
NiLuJe 928404a6b6 Fix K4 key mappings 2015-09-06 16:19:00 +02:00
NiLuJe a19954a201 Restart Kindle framework from an unpolluted env 2015-09-06 16:11:24 +02:00
Frans de Jonge f674c82c57 Merge pull request #1624 from koreader/houqp-master
update base for build fix
2015-09-06 10:49:17 +02:00
Qingping Hou 9299b57684 update base for build fix 2015-09-06 00:13:49 -07:00
Qingping Hou f09f6e0db8 Merge pull request #1621 from Frenzie/readerfont
Fix set default or fallback font string isn't picked up by lua_xgettext
2015-09-05 23:08:37 -07:00
Qingping Hou 104d24ab28 Merge pull request #1622 from NiLuJe/master
Unbreak on Kindles
2015-09-05 23:07:27 -07:00
NiLuJe 53e5366e39 Fix input devices on K3.
re #1623
2015-09-06 06:15:36 +02:00
NiLuJe e56d30ff46 Oops. Fix my previous commit.
That basically broke startup on Kindles, which is, err, bad.
2015-09-06 05:07:43 +02:00
Frans de Jonge d5066f85b4 Merge pull request #1620 from NiLuJe/master
Some rather critical Kobo networkmgr fixes
2015-09-05 10:57:11 +02:00