2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Frans de Jonge
3838aab169
[fix] calibrecompanion.plugin (#3799)
Fixes #3794. 

Upstream luasocket 96965b179c switched from just `socket.udp()` to `socket.udp4()` and `socket.udp6()`.
2018-03-25 21:37:30 +02:00
Frans de Jonge
21274f5e92
[feat] Add NetworkManager:isConnected() (#3593)
This enables connecting to calibre and FTP without Internet connectivity.
2018-01-17 15:32:54 +01:00
Ben Kelly
f9ac8b138b Basic fixes to calibre-sync (#3558)
* Properly create intermediate directories when receiving books from Calibre.

This fixes an issue where you can't receive books except into directories that
already exist on the Kobo, which, in particular, causes problems when your
configuration in Calibre is something like "put books in $Author/$Title.epub"
and you haven't previously synced any books by that author.

* Wake up periodically to process ZMQs if any are registered.

This fixes an issue where if there are any timed events (such as the suspend
timer) in the queue, ZMQ events may not get processed until the timed event
fires, which is a problem when (for example) the suspend timer goes off in
an hour and you have something trying to send a book to the kobo over wifi
*right now*.

With this change, the event loop will wake up every 50ms to check for ZMQ
events and process them if necessary. If there are no ZMQs registered (which
is typical), it uses the original behaviour -- so this won't affect battery
life under normal usage.
2018-01-01 15:40:28 +01:00
Frans de Jonge
3492b8b117 (minor, lang) improve text clarity for downloadmgr dialogs (#2897)
It's not necessarily clear that you need to long-press, see https://www.mobileread.com/forums/showpost.php?p=3520376&postcount=7
2017-05-15 21:48:18 -07:00
Qingping Hou
72ae80870c quickstart fix (#2804)
* translation text fix

* quickstart(fix): go back to home dir after document close

* quickstart(fix): purge old quick start files

* spec: fix quickstart tests
2017-04-24 08:27:29 +02: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
robert00s
aa918c7773 Fix: wifi prompt in calibre wireless connection 2017-01-11 20:25:47 -08:00
retrue
eae730d140 Some uppercase fixes (#2421) 2016-12-14 11:08:57 -08:00
Qingping Hou
93873bfd69 plugins(chore): fix static check errors 2016-11-01 00:31:24 -07:00
Allan Nordhøy
bc16ed5035 Spelling of calibre and KOReader. Ellipsis. 2016-04-15 15:04:41 +02:00
Qingping Hou
467199285f minor: rename Koreader to KOReader 2016-03-27 18:50:23 -07:00
chrox
e416a58cd7 add missing refactoring of json parser for calibre plugin 2015-03-21 14:18:37 +08:00
Huang Xin
1f51cdc499 get rid of plugin name "calibre companion"
It's called "calibre wireless connection" now.
2014-12-21 19:12:58 +08:00
Frans de Jonge
cf5f388a7f Correct "cannot connect to calibre server string" 2014-11-12 13:34:29 +01:00
Frans de Jonge
e5029b54c1 Capitalization: change a few mentions of calibre to lowercase
The author likes it that way. See http://calibre-ebook.com/about
2014-11-12 13:10:48 +01:00
chrox
68265336f4 fix #1034 by refactoring path chooser to a download manager
Now directories visible in the filemanager should also
be visible in the path chooser
2014-10-28 17:14:06 +08:00
chrox
a4d5ec6534 plugin modules have 'name' field 2014-10-09 12:26:52 +08:00
chrox
508cf94f98 fix run out of memory when receiving large files from Calibre 2014-09-29 14:22:33 +08:00
chrox
e002125696 use calibre ip address returned by receivefrom
This fixes unresolved hostname issue in some network configurations.
2014-09-18 20:39:50 +08:00
chrox
7871af3489 add Calibre Companion plugin
This plugin implements a simple Calibre Companion protocol that
communicates with Calibre Wireless Server from which users can
send documents to Koreader devices directly with WIFI connection.

Note that Calibre Companion(CC) is a trade mark held by MultiPie Ltd.
The Android app Calibre Companion provided by MultiPie is closed-source.
This plugin only implements a subset function of CC according to the
open-source smart device driver from Calibre source tree.

More details can be found at calibre/devices/smart_device_app/driver.py.
2014-09-18 14:03:55 +08:00