Commit Graph

1417 Commits

Author SHA1 Message Date
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
Benoit Pierre
d98fe14ba8 input: fix loading of fbink_input library (#12560)
The library is versioned.
2024-09-26 23:07:15 +02:00
Benoit Pierre
a1edbbf0c4 use new ffi.loadlib helper (#12545)
To load our native libraries.
2024-09-26 18:36:09 +02:00
Benoit Pierre
0c0d2ab9f1 input: drop use of ffi/input
Get rid of the weird interaction between device implementations,
`ffi.util` (`isSDL`, `noSDL`) and the device input code: each
device knows if it's using SDL or not, so rely on that to load
the right underlying input implementation.
2024-09-24 16:08:58 +02:00
hius07
e15c1abe8b Statistics: fix null terminated strings, add toggle stats (#12547)
(1) Followup to koreader/koreader-base#1921, #12503: when getting a pdf book id in the stats db, check for old records with null terminated authors and title.
Discussed in #11318. There are some other reasons for disappearing old stats for pdf (md5 changes when converting/writing to pdf or something else), hence not closing the issue.
(2) Add Dispatcher action for toggling statistics. Closes #11422.
2024-09-23 20:46:20 +02:00
Frans de Jonge
7ee598c667 Revert "Profiles: make sure to close menu/quickmenu before executing action (…" (#12534)
This reverts commit 880b7c5ed1.
2024-09-19 18:29:25 +02:00
weijiuqiao
2e6407357d VocabBuilder.koplugin: save dict headword as entry (#12530)
Closes #12529.
2024-09-18 18:54:09 +02:00
NiLuJe
da74691515 Chore: Don't cache static data tables (ui/elements, ui/data, kb layouts & co) (#12519)
Using `require` didn't make much sense since most of them are only used in a single place anyway, and it takes care of a few weird interactions in the process (besides not polluting `package.loaded` with useless crap ;)).
2024-09-16 17:11:42 +02:00
weijiuqiao
33525a80a0 VocabBuilder.koplugin: better handling of word context (#12469)
Closes #12465.
2024-09-14 14:09:49 +02:00
weijiuqiao
04aa0cbde3 CloudSync: handles potentially incompatible backup and incoming dbs (#12470)
This pr removes the backup db (sync db) of the cloud syncing strategy when a different server location is used. This is to avoid the situation when later incoming db is not based on previously uploaded sync db.
2024-09-14 14:08:03 +02:00
bitterlox
491e24ea25 Fix Joplin export (#12446)
turn highlight & notes table into string before sending to joplin
2024-09-02 10:53:07 +02:00
mbays
d097dc0f8c Terminal: Add newline when wrapping
Required to maintain "tty-matrix".
2024-08-31 23:38:37 +02:00