Commit Graph
1385 Commits
Author SHA1 Message Date
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
hius07 b2895731f1 Gesture overview (#13909) 2025-06-23 12:18:54 +03:00
David 306fd6c514 [Hotkeys] remove alphabetic hotkeys from K4 (#13950) 2025-06-21 08:12:03 +02:00
Emre 72573fb393 [Calibre] React to SEND_BOOK_METADATA opcode (#13920)
Fixes #12922.
2025-06-17 12:27:11 +02:00
Frans de Jonge da245628e0 [plugin] NewsDownloader: fix getEmptyFeed() call (#13945)
Accidentally changed in #13806.

Closes #13933.
2025-06-13 11:51:57 +02:00
weijiuqiao 7df7ab0da1 VocabBuilder plugin: show copy button on duplication when adding (#13876) 2025-06-10 20:25:27 +02:00
hius07 6133a43512 TouchMenu: optimize item removal (#13901) 2025-06-04 08:15:02 +03:00
Björn Schießle 946638e984 [plugin] Add setting to change the category of the Nextcloud notes (#13883)
Allow to define a category in Nextcloud Notes for exported highlights, default stays "KOReader" if the user doesn't remove it or set another category.
2025-06-03 06:12:19 +02:00
David 765e1e37ba [Hotkeys] bug fix: don't override readerfont when reading pdf/djvu files (#13896)
Reported https://github.com/koreader/koreader/issues/13895#issuecomment-2923450941
2025-05-31 10:19:53 +02:00
Frans de Jonge 0257caad05 Add tests for NewsDownloader (#13806)
To help prevent situations like #13799.

As also referenced in <https://github.com/koreader/koreader/pull/13407#issuecomment-2722714846>.

Also fixes single item RSS and single entry Atom feeds in passing.

References #3073.
2025-05-30 19:20:17 +02:00
Kevin de Moura ba2857cfc1 NewsDownloader: update formatting of byline to be language-neutral and with a space following 2025-05-30 18:54:12 +02:00
Kevin de Moura e421ad972c NewsDownloader: include <dc:creator> name when building article summary html 2025-05-30 18:54:12 +02:00
Kevin de Moura 4b7b25d0a5 NewsDownloader: include <author> name when building article summary 2025-05-30 18:54:12 +02:00
hius07 a0f0a96b4f Profiles auto-exec "On showing folder": add "path is (not) equal" conditions (#13873) 2025-05-30 14:57:58 +03:00