Commit Graph

1228 Commits

Author SHA1 Message Date
hius07
15f5dbef83 Reader: inspect zip file content to choose provider (#12902) 2024-12-19 09:41:19 +02:00
Martín Fernández
e503cc4b9c add provider module (#12641)
* implements a Provider singleton, to be used by thirdparty plugins
* exporter: support for thirdparty providers
* splits plugin loading into two steps: discovery and load
  1. get a list of all candidate plugins to load for the different paths
  2. sort providers before on the rest of them and try to load them
2024-12-18 19:40:22 +01:00
weijiuqiao
85390490da VocabBuilder.koplugin: support option to overwrite word with new context (#12885)
Closes #12506.
2024-12-16 20:10:16 +01:00
hius07
72086b7a26 CoverBrowser: minor fix and remove unused (#12895)
Remove unused UIManager:clearRenderStack().
Previously it was used by CoverBrowser plugin when extending the FileManager popup file dialog with aditional buttons.
Now the buttons are inserted through the api added in https://github.com/koreader/koreader/pull/12845.
2024-12-15 09:14:01 +02:00
David
8f1461316c [HotKeys] Add a 'type to search' setting to hasKeyboard devices (#12860) 2024-12-12 22:23:49 +01:00
David
6565a7eaf6 [plugin] QR: fix failure to load in file browser (#12833)
Cf. https://github.com/koreader/koreader/pull/12746#issuecomment-2510910142
2024-12-12 22:21:32 +01:00
hius07
7efd033489 Profiles main: auto-exec on opening new books (#12884) 2024-12-12 08:53:56 +02:00
David
63fea74597 [Profiles] Search and update profile actions assigned to hotkeys (#12642) 2024-12-10 21:18:09 +01:00
hius07
0386e2619e Patch management: plugin -> core (#12862) 2024-12-08 09:33:46 +02:00
hius07
157c03c42d FileManager: Plus dialog button from CoverBrowser (#12857) 2024-12-07 09:18:18 +02:00
Martín Fernández
a43c9ab535 [exporter] drop unsupported targets: flomo, memos (#12808) 2024-12-06 21:30:18 +01:00
Martín Fernández
162685df50 remove autofrontlight + backgroundrunner (#12809)
* remove autofrontlight
* remove background-runner

thirparty plugins that rely on the backgroundrunner no longer work.
2024-12-06 21:28:56 +01:00
hius07
cd8ef3ceb5 FileManager, History, Collections: expose file dialog buttons (#12845) 2024-12-05 18:54:32 +02:00
Frans de Jonge
9de3b33421 [plugin] Patch management: fix disabling plugin (#12849)
Fixes #12841.
2024-12-04 23:47:20 +01:00
David
f5921eec2a [KOPlugin] Hotkeys, add custom keyboard shortcuts (#12484)
Fix #7308, fix #12336, fix #12744.
2024-12-03 21:04:47 +01:00
zwim
6036761a40 [AutoSuspend] Make day selector less restrictive (#12835)
This allows to set days to zero. As a security fall back setting days and hours both to zero will yield 5m autosuspend time. (to avoid shutdown loops).
fixes #12831
2024-12-03 13:00:52 +01:00
Sébastien Maillard
46b0ec6aa8 AutoStandby: schedule next standby on init (#12815) 2024-12-02 22:32:16 +01:00
Ashwin Kulasegaram
dc9ca4e9a6 NewsDownloader: implement new logic to handle multiple selectors (#12804)
Closes #11430.
2024-11-26 16:39:03 +01:00
mergen3107
e95541ffd3 [Kindle NT] fix terminal and timesync (#12765)
Closes #12760
Credits go to @benoit-pierre (Thank you!)
2024-11-23 19:30:48 +01:00
mergen3107
61ffe2abed Disable irrelevant plugins on devices with no frontlight (#12766)
Closes #12764
2024-11-21 19:31:43 +01:00
hius07
24d8baf3ec Notebook file (#12699) 2024-11-21 07:53:22 +02:00
David
9aa327a9de Add faster option to export text selections via QR codes (#12746)
Closes https://github.com/koreader/koreader/issues/11909.
2024-11-20 22:40:08 +01:00
pphszx
bcb7753369 [plugin] Adjust Minimum Font Size in Terminal Emulator (#12752) 2024-11-19 19:18:20 +01:00
fenuks
06696ea913 [plugin] Wallabag: separate option to delete ‘on hold’ articles (#12722)
Before this change, on hold articles were deleted if `Remotely delete
finished articles` was enabled. To make this configurable new option
`Remotely delete on hold articles` has been added.

Fixes #12698.
2024-11-09 23:06:40 +01:00
fenuks
1f89f24e29 [plugin] Wallabag: remove empty file when download fails (#12723)
Wallabag can be really slow to generate epub for large articles. For
example, some Wikipedia articles can take 20+ seconds on app.wallabag.it
instance that I use.
2024-11-09 20:48:21 +01:00
Nikola Kotur
7c166a294e Add Nextcloud Notes to exporter plugin (#12301) 2024-11-08 19:29:36 +01:00
Martín Fernández
47ab7685aa calibre: remove json chooser UI leftover (#12715)
After #12714
2024-11-06 16:18:12 +01:00
Martín Fernández
d10a52e88a calibre: always use custom fast parser (#12714)
Fixes #12610
2024-11-06 15:00:19 +01:00
bateast
1e55dda4c7 Add authentication request and cookies management for news (#12496)
Add 'credentials' element in news configuration, used to request authentication cookies for further articles download
2024-11-03 17:31:33 +01:00
hius07
c2d1099976 Profiles: more auto-exec triggers 2 (#12691) 2024-10-31 20:26:21 +02:00
hius07
8b710d183c Focus: fixes (#12688) 2024-10-30 20:09:59 +02:00
hius07
97a7ebefb9 Text editor: rotate (#12658) 2024-10-29 20:49:43 +02:00
hius07
3f8175100a main: logger (#12682) 2024-10-26 17:55:22 +03:00
mergen3107
f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
hius07
42d3f25034 PatchManagement: prettify menu (#12668) 2024-10-23 18:46:02 +03:00
hius07
1778c698b5 Profiles: more auto-exec triggers (#12651) 2024-10-23 12:56:46 +03:00
Martín Fernández
f34f9207e9 exporter: add deprecation notice for unmaintained targets (#12620) 2024-10-23 10:44:42 +02:00
Martín Fernández
2c03d50c49 add deprecation to autofrontlight (#12619) 2024-10-23 10:44:14 +02:00
NiLuJe
2497d8f352 Misc: Some more FocusManager fallout (#12667)
Don't show initial focus in KVP & CalendarView

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2427403108
2024-10-22 10:38:02 +02:00
NiLuJe
fdd342de40 Menu: Fix fallout from #12583 on hasDPad devices (#12657)
Tweak `mergeTitleBarIntoLayout` to keep the current selection (adjusted for the added rows) instead of resetting the focus.

It only actually called `moveFocusTo` on `hasDPad` devices, which explains why this was missed during testing.

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2423554770
2024-10-21 13:35:44 +02:00
hius07
ce7fcff360 Menu widget: draw focus on focused item (#12583) 2024-10-13 18:02:51 +03:00
NiLuJe
83bc531186 Terminal: Tweak the preferred shell order
Keep things least likely to be terrible at being interactive shells
first ;).
We penalize ZSH a bit, because RPROMPTS aren't really handled by the
plugin, which makes things confusing.
2024-10-13 15:02:39 +02:00
zwim
312c3f0d46 Terminal: Move some boilerplate setup code outside of the child shell process
Salvaged from @zwim's original code in #12384
2024-10-13 15:02:39 +02:00
Benoit Pierre
3e5d3044d7 Terminal: Simplify shell selection
Largely based on @benoit-pierre's original patch in https://github.com/koreader/koreader/pull/12384#issuecomment-2298130062
2024-10-13 15:02:39 +02:00
NiLuJe
49cfd80f9a KOSync: Kill Wi-Fi once we're done on suspend
Most older NTX boards will horribly implode when attempting to suspend
with the Wi-Fi chip powered on.

And the others may do very dumb things re: power management anyway.

(This falls outside of the existing machinery that deals with this case,
as it happens *before* sending the Suspend Event).

Fix #12614
2024-10-11 20:37:36 +02:00
hius07
85591c75ce Profiles: add "on rotation" auto-execute event (#12612) 2024-10-10 18:05:24 +03:00
hius07
9f7dc85084 DocSettingsTweak: apply to books with status (#12606) 2024-10-09 19:28:37 +03:00
Frans de Jonge
706ab3bdfe [plugin] Exporter: fix typo (#12592)
Fixes #12591.
2024-10-04 11:27:05 +02:00
hius07
cb84dbd552 Exporter: export to book folder, register to Dispatcher (#12569) 2024-10-01 17:08:41 +03:00
hius07
b937a079ea Profiles: auto-execute on events (#12564) 2024-09-30 19:22:20 +03:00