Commit Graph

1368 Commits

Author SHA1 Message Date
zwim
5bf3b68a68 Finish last review 2025-07-29 21:40:41 +02:00
ly-pa
5f1b5db014 Make better use of the ReaderSetting syntactic sugar
Change `isTrue()` not needing a default as requested, and also noticed `SaveSettings(_, true)` can use `makeTrue()` to make it a little more clear (it does the same thing but is nicer syntax).
2025-07-29 20:25:45 +02:00
ly-pa
5dccafcd79 Add autowarmth_ to setting name
Satisfying https://github.com/koreader/koreader/pull/13253#discussion_r1954961274 request.
2025-07-29 20:25:45 +02:00
ly-pa
a7b565ce98 Second try at fixing the tabs 2025-07-29 20:25:45 +02:00
ly-pa
592f1afab9 Use spaces instead of tabs
Use spaces because KOReader build does not seem to like tabs.
2025-07-29 20:25:45 +02:00
ly-pa
ff9e74be05 FR: Hide the "night mode changed" warning #13163
Satisfies the https://github.com/koreader/koreader/issues/13163
FR: Hide the AutoWarmth Plugin "Night Mode changed" popup forever #13163
2025-07-29 20:25:45 +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
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