Commit Graph

1398 Commits

Author SHA1 Message Date
Renee
7c9f0ccef2 [Plugin] Statistics: use color rendering in calendar and timeline view when color rendering is enabled (#13453) 2025-10-16 19:28:28 +02:00
DemonicSavage
9a7b3624f7 [DocSettingTweak] Use absolute path for document settings (#14418)
External plugins that load files may load them using relative paths instead of absolute paths. This enables these plugins to make use of the per-directory document settings feature.
2025-10-16 10:08:28 +02:00
WangKe
158463fd9f Exporter: XMNote support exporting read time and mark book source (#14144) 2025-10-15 18:45:55 +02:00
David
8372b66ead [DocSettingTweak] add doc tweaks to kindle NT (#14412)
* fixes #8596
* fixes #7356
2025-10-15 16:04:07 +02:00
David
92effcf9fb Replace checkboxes with radio buttons where appropriate (#14431) 2025-10-14 22:53:47 +02:00
David
6d49c261fa [ReaderHighlight] preserve highlight when using highlight dialogue (#14437) 2025-10-14 15:22:27 +02:00
hius07
e84d63b3fd Statistics: screen pages only (#14435) 2025-10-10 22:22:45 +03:00
DemonicSavage
48a39546c9 [fix, plugin] AutoSuspend: correct logic for Kindles (#14430) 2025-10-10 12:06:11 +02:00
hius07
f0af3aed2d opdsbrowser: fix Search (#14425) 2025-10-08 09:17:11 +03:00
hius07
1d66e440b6 Statistics: fix using reference pages (#14416)
Misprint in #14388.
2025-10-05 17:54:04 +02:00
hius07
4785f59066 Statistics: add reference pages support (#14388) 2025-10-02 11:27:37 +03:00
nuxa17
9c9c5193f1 NewsDownloader: fix bug on parsing (#14394) 2025-10-01 12:42:55 +02:00
nuxa17
2ddbe04715 [plugin] NewsDownloader: block CSS elements (#14383) 2025-09-30 22:07:35 +02:00
Frans de Jonge
cf745c77cf SSH: fix typo, 'show' not 'Show' (#14370) 2025-09-28 00:36:50 +02:00
Frans de Jonge
d71d134844 [plugin] SSH: rejig how the Dropbear process is stopped so it will be stopped when the plugin is disabled 2025-09-24 22:28:32 +02:00
hius07
0bea354d3b Export highlights: secure export filename (#14325) 2025-09-15 17:02:42 +03:00
David
f1c233f806 [CalendarView] bug fix: fix keyboard hold events targeting wrong item (#14314)
### what's new

* Added logic in `init` to override FocusManager's `onHold` key event.
* Implemented the `CalendarDayView:onHoldNonTouch()` method to handle keyboard-triggered hold events by invoking the `onHold()` method on the currently focused calendar item.

### related issues

* fix #14238
* same as #14252
2025-09-14 17:11:41 +02:00
Frans de Jonge
105694e117 [plugin] NewsDownloader: add HTTP basic authentication (#14303)
Closes <https://github.com/koreader/koreader/issues/13300>.
2025-09-14 15:50:49 +02:00
hius07
99c7d00b58 ReadTimer + Profiles auto-exec (#14309) 2025-09-14 09:32:06 +02:00
Frans de Jonge
eb00488fa6 [plugin] OPDS: ignore query string in file extension workaround (#14304)
Closes <https://github.com/koreader/koreader/issues/14300>.
2025-09-11 21:46:40 +02:00
Frans de Jonge
7dcdd6bb43 NewsDownloader: log deserialization error (#14282)
References <https://github.com/koreader/koreader/issues/14277>.
2025-09-11 19:15:29 +02:00
hius07
a45e9a40f4 ReadTimer: use previous scheduled instance (#14280)
Closes #14275
2025-09-10 08:30:20 +02:00
Benoit Pierre
51db00155c calibre: handle a missing inbox folder (#14293)
Prompt the user again if the inbox folder has been configured but is missing (or not a directory).
2025-09-09 08:08:44 +02:00
Harm te Molder
56487cda1d Fix downloading of PDFs from wallabag 2025-09-03 07:26:19 +02:00
Harm te Molder
5575c284c1 Add logging to Wallabag:downloadArticle 2025-09-03 07:26:19 +02:00
hius07
2facbef59a Export highlights: export backlinks to markdown (#14233) 2025-09-02 08:54:55 +03:00
Frans de Jonge
2670a3fc2f OPDS: URL encode search (#14248)
Fixes #13693.
2025-08-31 14:42:02 +02:00
David
6c25d045eb Invert progress bar direction, independently of UI layout (LTR/RTL) (#13382) 2025-08-29 08:13:01 +02:00
Frans de Jonge
42b61d29e8 Wallabag: fix archive_finished initialization logic (#14221)
Closes #14214.
2025-08-27 18:13:11 +02:00
hius07
826455961d Export highlights: customizable export filename (#14212) 2025-08-26 09:41:09 +03:00
hius07
6c7efa1bdf expandString(): replace patterns with data (#14181) 2025-08-23 09:27:10 +03:00
Zeedif
73b4dd4bb0 fix(opds): ensure correct file extension on server-provided filenames (#14199)
The `getServerFileName` function could result in a filename without an extension in two main scenarios. First, a server might provide a `content-disposition` header where the `filename` attribute is present but lacks a file extension. Second, the fallback logic of extracting the name from the URL path often fails for dynamic endpoints (e.g., `/download?id=123`) which do not contain a filename.

This change improves the logic by checking if the extracted filename has an extension. If one is missing, the expected `filetype` (which is already known at this point) is appended. This ensures files are always saved with the correct extension (e.g., `.cbz`, `.epub`).
2025-08-20 16:52:32 +02:00
spfenwick
c00df15aee OPDS Plugin: Ensure the default download filename is consistent across different platforms (#13709)
* Ensure the default download filename is consistent across different platforms.
The OPDS plugin correctly uses util.getSafeFilename() to remove any special characters from the filename for downloads. However this function works differently on different platforms, with some common characters like : and ? being allowed on some platforms but not others. In particular this may break Process Sync if it is configured to rely on file names. This change gives a better default behaviour by ensuring the default filename is the same across different platforms, while still letting the user change the filename to include special characters if the platform supports them.

* Make util.replaceAllInvalidChars() global and call it rather than copying code.
2025-08-16 21:33:01 +02:00
weijiuqiao
bfd2bbb15b VocabBuilder.koplugin: supports removing word in-place after addition (#14127) 2025-08-16 21:29:22 +02:00
hius07
176d3dec6c Profiles: auto exec promptly (#14133) 2025-08-05 12:25:00 +03:00
ly-pa
a674bc8510 AutoWarmth: add option to hide the "night mode changed" warning (#13253)
Closes #13163.
2025-07-30 14:30:50 +02:00
zwim
5009d36d79 Fix submenu creation 2025-07-29 20:19:37 +02:00
zwim
e48a73cf31 Fix nightmode only in non Expert-Mode 2025-07-29 20:19:37 +02:00
Zeedif
49465b2929 feat(opds): enhance facet menu with icons
This commit enhances the new facet context menu by adding icons for better visual distinction of actions like "Add catalog," "Search," and facet groups.

It also corrects the main menu trigger icon to `appbar.menu` for consistency with its function.
2025-07-28 10:18:38 +02:00
Zeedif
f7b160bdda feat(opds): add support for facets via a context menu
This commit introduces support for OPDS 1.2 facets, enabling advanced filtering and sorting in compatible catalogs.

To maintain a clean and uncluttered book list, facet options are presented in a dedicated context menu. When a catalog provides facets or a search link, the top-left button now triggers a menu with all available actions.

- Facet links are parsed and grouped by the `opds:facetGroup` attribute.
- The context menu includes facet groups, search, and bookmarking.
- Adds support for `opds:activeFacet` and `thr:count`.
- The parsing logic now cleanly separates feed-level links from entries, correctly handling catalogs with facets but no initial items.
- Unrelated style changes were reverted and the test suite was improved for reliability.
2025-07-28 10:18:38 +02:00
Benoit Pierre
f5b1208a3e [plugin] terminal: avoid blowing the stack with recursive calls
```
interpretAnsiSeq
addChars
wrappedAddChars
raw_method_call
[…]
strike_callback
transmit
refresh
interpretAnsiSeq
addChars
wrappedAddChars
raw_method_call
strike_callback
transmit
refresh
```
2025-07-25 11:29:25 +02:00
Benoit Pierre
a2633b6374 [plugin] terminal: avoid potential out-of-bound read access
When reading `CHUNK_SIZE` characters. Additionally, avoid suboptimal
code (`ffi.string(…)` on the whole buffer followed by `string.sub(…)`
+ concatenation) by using a string buffer.
2025-07-25 11:29:25 +02:00
Offlinemaker
fd63e03b30 Allow toggling Kosync auto sync from gestures (#14037) 2025-07-20 12:44:06 +02:00
Volterxien
de789615ac Add the ability to launch read timer with a gesture (#14061)
Closes #14014.
2025-07-18 12:12:41 +02:00
Frans de Jonge
70039c9f04 [plugin] Terminal Emulator: implement delWord for terminal (#14059)
Fixes #14049.
2025-07-15 15:40:48 +02:00
fkaduk
9b07f943f5 Wallabag: allow filtering download to starred articles (#14051) 2025-07-13 13:15:22 +02:00
Volterxien
655ba58ae5 Moving download all and remove all buttons in OPDS download menu (#14024) 2025-07-12 09:40:47 +03:00
Volterxien
095b0d7421 Add OPDS sync feature (#13946)
Closes #8494.
2025-07-04 18:02:28 +02:00
hius07
29bbc84de2 Touchmenu: fix menu refreshing on check (#13996) 2025-07-01 21:43:51 +03:00
hrm
7d89cb2ed4 [plugin] Fix wallabag directories' trailing slashes (#14001) 2025-06-30 10:07:00 +02:00