Commit Graph

10061 Commits

Author SHA1 Message Date
hius07 d99c70b5e1 ReaderHighlight: adjustable highlight dialog position (#11116) 2023-11-19 09:52:51 +02:00
hius07 88d6613fed Folder shortcuts: new markers, buttons (#11108)
Buttons to add/remove folder shortcut from Plus menu and from folder popup dialog.
A marker ("empty star") for folders with shortcuts.
2023-11-16 07:48:10 +02:00
hius07 ed46dca886 MoveToArchive: fix DocSettings:updateLocation() call (#11103)
Closes #11101.
2023-11-13 18:51:04 +01:00
hius07 da8e23c011 InputDialog: tap outside to close dialog if keyboard is hidden (#11094) 2023-11-12 07:44:56 +02:00
hius07 082ef9b545 FileChooser: fix reverse sorting of folders (#11093)
Do not apply "reverse sorting" to folders in sorting modes "type", "size", "percentage".
In that modes folders are sorted by name.
2023-11-11 07:42:43 +02:00
poire-z 894cb3190d Page browser: show nightmode thumbnails when in nightmode (#11091)
Just prevent page thumbnails ImageWidgets to be nightmode
inverted, unlike all other ones which are expected to be
double inverted to get their original colors shown.
The same thumbnail can be used and cached in both day and
night modes, unless "nightmode_images" is enabled and have
crengine itself invert images, making thumbnails different.
2023-11-10 20:36:57 +01:00
hius07 4044c81a5a History: update on deleting a folder (#11090) 2023-11-10 07:50:39 +02:00
Wim de With 17a4aa962f Fix connection bug with non-ASCII SSIDs in wpa_supplicant (#11089)
* Bump base

includes:

koreader/koreader-base#1691
koreader/koreader-base#1692
koreader/koreader-base#1689
koreader/koreader-base#1690
koreader/koreader-base#1693

* Integrate decoding of SSIDs within wpa_supplicant

The UTF-8 decoding of SSIDs is specific to wpa_supplicant. In this
patch, we move all of this decoding logic to the wpa_supplicant module.
We expose the raw bytes of the SSID to the NetworkMgr code, and make
sure to always fix bad UTF-8 before we display the SSID to the user.

Within the wpa_supplicant module, we replace the call to the
wpa_passphrase binary to get the PSK with a direct function call to
OpenSSL. This allows us to calculate the PSK over any arbitrary bytes,
including UTF-8. In the same vein, we use the hex-encoded SSID to
communicate with wpa_supplicant when setting up the network to support
arbitrary bytes in the SSID.

Unfortunately, we also remove the tests, as there is no way to unit test
local functions.
2023-11-09 21:08:26 +01:00
hius07 d0d3cf78f9 History: search (#11084) 2023-11-09 07:34:56 +02:00
hius07 51f3115b90 Profiles: fix updating gestures (#11072) 2023-11-08 07:39:59 +02:00
ElimGarak1 2e2ca76a03 Add new PocketBook InkPad Color 3 (743K3) (#11079)
To add the new PocketBook InkPad Color 3 (743K3) with E Ink Kaleido™ 3 screen.
2023-11-05 13:23:11 +01:00
hius07 68aa209a6c Open with... improvement (#11056)
Allows associating filetypes with non-document providers (like ImageViewer or TextViewer) to "open" (view) these files by a tap in file browser.
2023-11-05 07:24:18 +02:00
NiLuJe 94a82087de Device: Don't leave hasSeamlessWifiToggle enabled when hasWifiToggle is disabled (#11060)
Fix #11059
2023-11-02 23:41:21 +01:00
NiLuJe fee2b79829 Kindle: The KT5 requires the same input delving shenanigans as the PW5 (#11064) 2023-11-02 23:40:43 +01:00
hius07 4391267dfa menu_keyboard_layout: add setting to disable swipes 2023-11-02 21:44:18 +01:00
hius07 414e74f626 virtualkeyboard: add setting to disable swipes 2023-11-02 21:44:18 +01:00
Frans de Jonge 48dfe6ce05 Bump base for improvements by @benoit-pierre (#11069)
Includes:

* Input: Ensure clearTimer won't compute a lower nfds value than one of our opened fds <https://github.com/koreader/koreader-base/pull/1685>

Also includes various dependency bumps.

<https://github.com/koreader/koreader-base/compare/16a856a637421dc23956ab89925c46a113c5291a...master>
2023-11-02 21:43:12 +01:00
zwim 58cb1ff42b [AutoWarmth] Fix sanity checks with disabled schedule entries (#11062) 2023-11-01 22:10:52 +01:00
hius07 b70f866656 DocSettings (again) (#11020)
Cleaning and optimizing Docsettings code.
2023-10-31 07:30:39 +02:00
Frans de Jonge 873503369c Update translations for v2023.10 (#11053) v2023.10 2023-10-30 17:32:04 +01:00
NiLuJe d805a69446 Open input device outside of the readdir loop to workaround a bug in the
input backend
2023-10-30 08:41:23 +01:00
NiLuJe 84e942a326 Kindle: Auto-detect the input device on the PW5
Apparently, the by-path symlink went poof
2023-10-30 08:41:23 +01:00
NiLuJe 6e08809419 Kindle: Amend #11049 comments (#11051)
Turns out it's not really specific to the Signature Edition
2023-10-29 15:48:21 +01:00
hius07 6b892a65a3 ReaderHighlight: delete highlight in view note dialog (#11039) 2023-10-29 11:33:29 +01:00
NiLuJe 12bea3b14b Kindle: Handle the PW5 SE properly (#11049)
Need to poke elsewhere for its Input device

Fix #11048
2023-10-29 08:56:54 +01:00
NiLuJe 2c5d618f6b Kindle: Initial Scribe support (#11047)
Assuming Bellatrix3 boards are extremely similar to their Bellatrix brethren...

Fix #11045
2023-10-29 05:12:45 +01:00
hius07 39d54956ec webdav: do not allow trailing slash in start folder (#11026) 2023-10-22 07:53:10 +03:00
Frans de Jonge 9e82761c45 [lang] Exporter: minor stylistic changes to Memos capitalization and dialog titles (#11032) 2023-10-20 22:15:06 +02:00
Frans de Jonge edf9798bb7 [lang] Exporter: add translator's note about Flomo (#11031) 2023-10-20 22:08:33 +02:00
Frans de Jonge 9274a3febd [lang] Minor string fixes (calibre should be lowercase, remove stray newline) (#11030)
Follow-up to #10945.
2023-10-20 22:00:28 +02:00
hius07 3b2fc7a551 Reader: re-enable File search, Folder shortcuts (#11028) 2023-10-20 11:16:26 +02:00
Frans de Jonge f3520effd6 README: update user guide link (#11000)
See https://github.com/koreader/koreader.github.io/pull/21
2023-10-18 08:50:56 +02:00
hius07 c92d94af4d writeToFile: centralize (#11012) 2023-10-17 07:42:07 +03:00
NiLuJe d8a48d9e1c Bump base
https://github.com/koreader/koreader-base/pull/1666
https://github.com/koreader/koreader-base/pull/1667
https://github.com/koreader/koreader-base/pull/1668
https://github.com/koreader/koreader-base/pull/1665
https://github.com/koreader/koreader-base/pull/1664
https://github.com/koreader/koreader-base/pull/1669
2023-10-16 02:59:27 +02:00
NiLuJe fed24ba28c UIManager: Always send PowerOff & Reboot events
They were only sent when said action was triggered manually.

Note that this is perfectly harmless, since, currently,
nothing actually responds to those events ;).
2023-10-16 02:59:27 +02:00
NiLuJe c47ce45fb8 WakeupMgr: Forward rtc_dev & dodgy_rtc to the backend 2023-10-16 02:59:27 +02:00
hius07 2ed2c2c23d md5: centralize and deduplicate (#11003)
Document partial md5 hash is calculated by util.partialMD5() and stored in doc_settings as "partial_md5_checksum" on the first document opening.
2023-10-15 07:47:09 +03:00
hius07 e9051353a2 Vocabbuilder: fix docless title (#11008)
Closes #11006.
2023-10-14 17:56:14 +02:00
hius07 6ccf19b99f History: update on renaming/moving a folder (#10999) 2023-10-13 07:54:35 +03:00
hasezoey ee7a6455ce Device:Android: always call "_decideFrontlightState" in "setIntensityHW" (#10737)
re https://github.com/koreader/koreader/pull/10731#discussion_r1271505121

This PR changes so that androids implementation of `setIntensityHW` always calls `_decideFrontlightState`
2023-10-12 15:05:20 +02:00
夏鲁豫 ff6ee69753 Exporter: fix memos export, add flomo export (#10988) 2023-10-12 14:54:31 +02:00
ElimGarak1 5b916cccff Add new PocketBook PB-Basic Lux 4 (PB618) (#10987) 2023-10-12 14:53:08 +02:00
François Gannaz 11083022b0 Minor code quality improvements (#10905) 2023-10-12 14:52:11 +02:00
Frans de Jonge 6e57ccaf4f [doc] Building targets: remove mentions of Ubuntu Touch (#10974)
Deprecated or at least untested for years. Noticed due to <https://github.com/koreader/koreader/discussions/10972#discussion-5701647>
2023-10-12 14:46:58 +02:00
yparitcher 0e26d4499b util.htmlEntitiesToUtf8: add some more semi common entities (#10979) 2023-10-12 14:46:37 +02:00
Benoit Pierre d4421130f8 otamanager: fix OTA model name for Android x86_64 (#10997) 2023-10-12 08:07:33 +02:00
hius07 e577c79d95 File search, FileChooser and others (#10994) 2023-10-12 08:58:52 +03:00
NiLuJe 16e96969c5 TimeSync: Double-check that ntpd is busybox (#10992)
Kindle ships another implementation, with incompatible syntax...

Regression since #10935
Thanks to @yparitcher ;).
2023-10-11 20:17:15 +02:00
Ryan W West 27104ea011 Add hash-based document metadata storage option (#10945)
This option saves metadata sidecar (sdr) directories not next to the book or in koreader/docsettings/, but in koreader/hashdocsettings/ using the partial md5 hash of each documents, allowing users to move, rename, and copy their documents outside of KOReader without accidentally losing their highlights/notes/progress. Included are various warnings and info to users of the benefits and drawbacks of this non-default option.

Closes #10892.
2023-10-11 10:39:33 +02:00
NiLuJe 4eac18f9b9 Bump android/luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/441

Fix #10533, #10150, #10587, #10501

https://github.com/koreader/android-luajit-launcher/pull/442
2023-10-10 00:33:53 +02:00