Commit Graph
1452 Commits
Author SHA1 Message Date
hius07 daf6478cf3 SyncService is replaced by Cloud storage plugin (#15210) 2026-03-31 17:22:35 +03:00
Rolando Urquiza 799d771f9c Fix check for current directory in webdav listing (#15192) 2026-03-29 08:18:07 +03:00
Frans de Jonge 6fd48d8739 [fix] NewsDownloader: reduce content-type to mimetype (#15189)
Fixes #15174.

Regression in #15065.
2026-03-26 17:30:20 +01:00
hius07 72aa026318 Cloud storage+ (#15150) 2026-03-25 08:06:18 +02:00
Tomáš Janoušek df0b3ead5b coverimage: only update on rotation if rotate image enabled (#15179)
Creating the cover image delays rotation a little bit (half a second,
even if cached), although it could be several seconds on some PocketBook
devices since #14985 which synchronously invokes `sync` after creating
the cover.

To work around this, skip creating the image in the onSetRotationMode
event hook if "Rotate image" is disabled as the resulting image would be
exactly the same. The speedup is noticeable even if the cover cache gets
hit.

(The issue with synchronous `sync` taking several seconds will be fixed
later once we figure out whether any PocketBook devices actually need
the `sync` or not.)

Related: https://github.com/koreader/koreader/issues/15177
Related: https://github.com/koreader/koreader/pull/14985
2026-03-25 06:58:45 +01:00
hius07 628ea23817 Ensure device_id (#15151) 2026-03-23 18:07:29 +02:00
hius07 886a8cf400 Export highlights: filters (#15003) 2026-03-20 09:18:01 +02:00
Dani García 825b9bced0 (opds): remove redundant UTF-8 fixup (#15122)
The filename is already sanitized by util.getSafeFilename(), which calls util.fixUtf8() internally.
2026-03-17 12:03:27 +01:00
David fdd810d5a1 Refactor duplication in #15088 (#15094) 2026-03-08 17:39:11 +01:00
Camille HBP 2cef4378d2 fix(calibre-plugin): ensure size is correctly parsed as a number in book info in search (#14881) 2026-03-08 12:34:10 +01:00
David 33654af8a7 [Calibre] preserve uuid field in calibre metadata serialisation (#15088)
Otherwise calibre wil raise an error when its nil:

```
calibre, version 9.4.0
ERROR: Error: Error communicating with device

'uuid'

Traceback (most recent call last):
  File "calibre/gui2/device.py", line 110, in run
  File "calibre/gui2/device.py", line 581, in _books
  File "calibre/devices/smart_device_app/driver.py", line 58, in _synchronizer
  File "calibre/devices/smart_device_app/driver.py", line 1316, in books
KeyError: 'uuid'
```
2026-03-08 09:11:27 +01:00
Min S. Kim 0c6d217e37 OPDS: fix off-by-one in sync sub_table access (#15073)
When an OPDS catalog entry's URL resolves to a sub_table with only one
element, sub_table[2] returns nil, causing a crash on the subsequent
item.acquisitions access. Fall back to sub_table[1] when index 2 is nil.
2026-03-05 08:51:27 +01:00
witcher a7cb81c229 [plugin] NewsDownloader: allow downloading supported documents (EPUB etc.) (#15065) 2026-03-04 16:56:09 +01:00
Min S. Kim 4cc49962c3 OPDS: guard against entries with no URL in sync
Add a nil check on entry URL in getSyncDownloadList to prevent a
crash when a feed entry has no navigation link. Add a test for
single-quoted attribute feeds.
2026-03-03 23:06:10 +01:00
ge-roy 0ffe37f8bb SSH.koplugin: option to force key-only auth (#15038)
User can enable key-only access to enhance security,
useful when using public WiFi networks, and just a good rule
even for well-known or home networks.
2026-02-27 09:17:49 +01:00
Min S. Kim 3e796f3b4d calibre: escape dot in gsub pattern for series index cleanup (#15037)
The unescaped `.` in `".00"` matches any character followed by two
zeros. For a series entry like `"00001.00 | Title - Author"`, the
pattern matches `000` at position 1 instead of the intended literal
`.00` at position 6, producing `"01.00 | Title - Author"`.

Escape as `"%.00"` to match a literal period.
2026-02-25 08:55:50 +01:00
Min S. Kim ccd0a8004c fix(coverimage): fix operator precedence and parameter usage in cache functions (#15032)
Fix two bugs in the coverimage plugin:

1. cleanCache(): Fix operator precedence in while loop condition. In Lua,
   `and` has higher precedence than `or`, so the bounds check `index <= #files`
   was only applied to the cache size condition, not the file count condition.
   Added parentheses to ensure the bounds check applies to both conditions.

2. getCacheFiles(): Use the function parameters `cache_path` and `cache_prefix`
   consistently instead of mixing them with `self.cover_image_cache_path` and
   `self.cover_image_cache_prefix`.
2026-02-23 22:49:02 +01:00
David 7de4f4c6ef [Hotkeys] correct function call to stop crosshairs (#15009) 2026-02-19 15:33:02 +00:00
Min S. Kim cffae09d50 calibre: use local callback for willRerunWhenConnected (#14998)
`self.re` isn't assigned until later in connect() (line 292), so at line
244 it is always nil — either never set, or cleared by a previous
disconnect(). This caused willRerunWhenConnected to receive nil as its
callback, so after Wi-Fi was brought up the coroutine was never resumed
and the Calibre connection silently died.

Use the local `re` (defined on line 234) which is the correct resume
callback for this coroutine.
2026-02-17 19:06:36 +01:00
Min S. Kim 06b3a4e5b1 Fix max port number typo in Calibre plugin (#14991)
65355 → 65535: the transposed digits caused ports 65356–65535 to
be silently rejected and reset to the default (9090).
2026-02-16 22:14:06 +01:00
David 09982fe6cb NT: stop text selection before any reflow action occurs (#14949)
* refactor onStopHighlightIndicator so it returns early

* stop text selection when opening menus or triggering hotkeys

* use self.ui.highlight (naturally)

* remove duplicated setDirty
2026-02-16 14:23:02 +00:00
Min S. Kim 2932a4a6a2 CoverImage: fix inconsistent vertical alignment of cover image (#14987)
Center the scaled cover image on both axes unconditionally instead
of branching on which dimension is the limiting factor. The branch
was susceptible to floating point rounding in math.floor causing
scaled_w to be 1 pixel less than s_w, flipping the alignment from
vertically centered to top-aligned depending on the cover's pixel
dimensions.

Fixes #14986.
2026-02-16 11:20:15 +01:00
Florian Snow 17281b2f1f Properly set bootlogo on PocketBook (#14985)
* CoverImage: call iv2sh to update PocketBook startup logo on cover change

After the cover image file is written or reset, invoke PocketBook's
iv2sh WriteStartupLogo command so the device's boot logo is actually
updated. The command runs in the background to avoid blocking KOReader.

* CoverImage: use correct screen dimensions on PocketBook for boot logo

For PocketBook devices, Screen:getWidth/getHeight returns
dimensions that iv2sh will not accept. In that case, we should call
Screen:getScreenWidth and Screen:getScreenHeight instead so the
generated boot logo has the correct size.
2026-02-15 19:27:30 +01:00
Christoph Michel 82115dac74 NewsDownloader: fix path separator encoding bug (#14975) 2026-02-14 12:23:15 +01:00
hius07 d62de31b5b Page turns by swipes with disabled touch input (#14914)
- Discussed in #10273
2026-02-05 22:11:18 +01:00
rspilk 9eedae379b kosync.koplugin: add custom hostname option (#14172) 2026-02-04 21:08:46 +01:00
Adrián Mora 7162708429 [plugin] NewsDownloader: add URL path encoding to improve request handling (#14870)
For example for blank spaces in path.
2026-01-26 12:45:29 +01:00
cb12tre 7e90d3fb38 fix(opds): avoid eInk congestion in OPDS download confirmation popup (#14836) 2026-01-20 09:22:09 +01:00
hius07 8aa0322ab7 Execute multi-action gesture/profile one by one (#14803) 2026-01-16 08:42:13 +02:00
hius07 e998db4064 calibre search utf8 (#14813) 2026-01-13 10:19:24 +02:00
Frans de Jonge e42fde7e36 [plugin] Wallabag: enforce starting URL with http or https (#13948)
Offer a choice between http and https if neither is found.

Fix #12499, fix #13947.
2026-01-10 15:52:33 +01:00
xydone 7a67649bc8 feat(archiveviewer): extract all files button (#14770) 2026-01-01 14:39:16 +02:00
hius07 6ab2a8fe75 "Ignore long-press on corners for time period" action (#14764) 2026-01-01 09:51:11 +02:00
fenuks cd2f06a29c [plugin] Wallabag: fix status handling regression in article archiving (#14700) 2025-12-19 11:48:48 +01:00
shinobu 2d69e59d73 Decode Serverfilename on OPDS Download (#14732)
Fixes #14679
2025-12-17 19:19:37 +01:00
Christoph Michel a155e372e1 [feat, plugin] NewsDownloader: continue processing feed on download error (#14650) 2025-11-28 17:56:19 +01:00
nuxa17 3d88d86b82 NewsDownloader: fix missing feed_config.lua options (#14396) 2025-11-24 23:17:53 +01:00
Frans de Jonge 17869473e1 [plugin] NewsDownloader: support content:encoded with attributes (#14660)
Fixes #14648.

Same fix as #13799.
2025-11-24 23:03:48 +01:00
hius07 55bf6c9c55 Profiles main: auto-exec menu wordings (#14641) 2025-11-20 11:32:52 +02:00
hius07 69bd22b4bf Exporter: fix export My Clippings (#14636) 2025-11-18 08:38:36 +02:00
hius07 cae29c16d8 SSH: add top menu checkbox (#14631) 2025-11-17 20:09:36 +02:00
Denis Iskandarov 0081546f9d Exporter: Correct MyClipping Page value parsing (#14583) 2025-11-16 11:10:09 +02:00
DemonicSavage 016b3ed6b5 Fix Kindle crash on AutoSuspend while charging (#14604) 2025-11-11 15:00:16 +01:00
DemonicSavage 60a5309452 Fix crash on Kindle when both AutoSuspend and KeepAlive are on (#14594)
KeepAlive disable t1 timeout by disabling screensaver in powerd, so we must not reset it then.

Fixes #14548.
2025-11-10 09:35:38 +01:00
hius07 3c8a312c9e Calibre search: do not use stale list (#14585) 2025-11-09 08:08:28 +02:00
Denis Iskandarov 2e5d02c36b Exporter: Enhanced title and author parsing from MyClippings (#14578) 2025-11-07 11:10:00 +01:00
hius07 7d3d51add4 Gestures/profiles: allow disabling popup messages (#14543) 2025-11-05 07:48:08 +02:00
Pierre Hoffmeister 9db7738e80 NewsDownloader: multiple unwanted selectors (#14545) 2025-11-04 17:21:41 +01:00
hius07 5c96555838 Exporter clip: fix number of stable pages (#14554) 2025-11-04 08:54:33 +02:00
hius07 f5ee4e194b Profiles main: remove executing on long-press (#14530) 2025-10-31 10:38:21 +02:00