Commit Graph

1359 Commits

Author SHA1 Message Date
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
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
```
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)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-20 12:44:06 +02:00
Volterxien
de789615ac Add the ability to launch read timer with a gesture (#14061)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Closes #14014.
2025-07-18 12:12:41 +02:00
Frans de Jonge
70039c9f04 [plugin] Terminal Emulator: implement delWord for terminal (#14059)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Fixes #14049.
2025-07-15 15:40:48 +02:00
fkaduk
9b07f943f5 Wallabag: allow filtering download to starred articles (#14051)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-13 13:15:22 +02:00
Volterxien
655ba58ae5 Moving download all and remove all buttons in OPDS download menu (#14024)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-12 09:40:47 +03:00
Volterxien
095b0d7421 Add OPDS sync feature (#13946)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
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)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-06-30 10:07:00 +02:00
hius07
b2895731f1 Gesture overview (#13909)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
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
Benoit Pierre
a53c1aae59 calibre: increase no-activity timeout (#13846)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Calibre does not send the expected regular "NOOP" pings during
its "Analyzing books on the device…" phase, and that operation
can take a long time (75s for 4500 books on a recent machine).
2025-05-27 22:32:20 +02:00
mergen3107
c582b35ee0 battery stats - nit on wording (#13476) 2025-05-26 19:26:43 +02:00
Benoit Pierre
f63c76d6d4 Use new Archiver module where applicable (#13782)
- ArchiveViewer: instead of using unzip and to support more formats
  (only CBR & RAR for now)
- NewsDownloader & Wikipedia plugins: instead of using `ZipWriter`
- device: re-implement `Device:unpackArchive` and get rid of device
  specific `untar` implementations
- readerui: instead of using unzip for document provider detection
2025-05-26 16:52:38 +02:00
Gropinou
ad91f074ed Add periods to plugin descriptions for consistency (#13857) 2025-05-26 13:52:29 +02:00
Manas George
33aa1b6dc4 Fix OPDS download list auth by passing credentials to downloadFile (#13851) 2025-05-25 09:30:36 +02:00
hius07
20fee6536d Coverbrowser: optimize display mode switching (#13822)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-05-22 18:00:35 +03:00
hius07
178bb823f0 Dispatcher: update action name or value (#13831) 2025-05-22 17:57:36 +03:00
Grigorii Ioffe
0ab0fc8713 [plugin] Add Wallabag network timeout settings (#13786)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-05-18 20:41:42 +02:00
Benoit Pierre
68a9a8d1ee calibre: fix setting inbox from menu (#13805)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Regression from #13704.
2025-05-16 20:55:57 +02:00
Frans de Jonge
76e88f9129 [plugin] NewsDownloader: fix RSS feeds (#13799)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Regression in #13407.

Reported in <https://github.com/koreader/koreader/discussions/13752#discussioncomment-13166619>.
2025-05-16 12:10:02 +02:00
Red
f1b345e1d3 Add option to start SSH server with KOReader (#13772) 2025-05-13 14:10:59 +02:00
hius07
72f2d4b2ff opdsbrowser: fix "Downloading…" message (#13742)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-05-08 17:22:25 +03:00
Martín Fernández
17ce51cb39 Exporter: better logs, bump deprecation message (#13659)
* json: improve error messages
* update deprecation message: joplin
2025-05-05 18:22:01 +02:00
Benoit Pierre
8fef5c1766 calibre: rework connection setup
Faster and with better UI:

- roughly halve a successful connection setup
- drop manual & temporary TCP connection before the real ZMQ one:
  - it slows down the total connection time
  - it's actually counted by calibre as a failed connection attempt:
    after 5 consecutive failures from the same IP, calibre ignore
    further connections, with no feedback to the user, except an
    error trace, until the wireless server is restarted
- avoid unconditional 1s delay before checking for authentication failure
- "searching" & "connecting" (cancellable) dialogs
- stop connection on quit / restart
2025-05-05 18:18:28 +02:00
jonnyl2
a39d612f18 Add notification when toggling 'Ignore long-press on corners' via Dispatcher (#13605)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-05-04 22:47:24 +02:00
hius07
4b3248700e Gesture intervals: adjust long- and very-long-press intervals (#13690)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-04-28 08:40:04 +03:00
apgrc
c3024387ec [CoverImage] Add rotate image option (#13604)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
New option to disable image rotation in cover image plugin.

Fix #12308
2025-04-21 21:12:48 +02:00
hius07
1c833373b5 Text editor main: fix notebook file mess (#13624) 2025-04-18 19:21:43 +03:00
Martín Fernández
23bcb530c9 Debian: misc changes (#13596)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
- Updated changelog with proper version & date.
- Updated description (based on common metadata)
- Removed duplicated files that are condensed in /usr/share/doc/koreader

Misc:

- make `frontend/device/devicelistener.lua` non executable
- make `plugins/terminal.koplugin/profile` executable
2025-04-15 08:34:11 +02:00
hius07
cd2ad10a18 Statistics main: revert erroneous nextTick in onReaderReady() (#13592)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-04-14 20:52:40 +03:00
hius07
09772fde3f Statistics main: do not read settings for pic documents (#13561)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-04-11 21:40:37 +03:00
hius07
6efae12ba0 OPDSBrowser: analyze acquisition mimetype (#13535)
To handle non-standard relations.
Closes #13520.
2025-04-09 13:01:04 +02:00
Martín Fernández
142566f1b0 fix thirdparty exporters (#13531)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-04-08 18:23:52 +02:00
Frans de Jonge
45f77455a9 [plugin] calibre: fix a nil concatenation typo (#13484)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-04-07 21:15:38 +02:00
hius07
d5ba5e3baf CoverBrowser main: fix Settings menu position (#13516)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-04-07 18:53:37 +03:00
hius07
7453c786de Selected files: more actions (#13510) 2025-04-07 12:56:37 +03:00