Commit Graph

10305 Commits (master)
 

Author SHA1 Message Date
hius07 4044c81a5a
History: update on deleting a folder (#11090) 6 months ago
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.
6 months ago
hius07 d0d3cf78f9
History: search (#11084) 6 months ago
hius07 51f3115b90
Profiles: fix updating gestures (#11072) 6 months ago
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.
6 months ago
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.
6 months ago
NiLuJe 94a82087de
Device: Don't leave hasSeamlessWifiToggle enabled when hasWifiToggle is disabled (#11060)
Fix #11059
6 months ago
NiLuJe fee2b79829
Kindle: The KT5 requires the same input delving shenanigans as the PW5 (#11064) 6 months ago
hius07 4391267dfa menu_keyboard_layout: add setting to disable swipes 6 months ago
hius07 414e74f626 virtualkeyboard: add setting to disable swipes 6 months ago
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.

<16a856a637...master>
6 months ago
zwim 58cb1ff42b
[AutoWarmth] Fix sanity checks with disabled schedule entries (#11062) 6 months ago
hius07 b70f866656
DocSettings (again) (#11020)
Cleaning and optimizing Docsettings code.
6 months ago
Frans de Jonge 873503369c
Update translations for v2023.10 (#11053) 6 months ago
NiLuJe d805a69446 Open input device outside of the readdir loop to workaround a bug in the
input backend
6 months ago
NiLuJe 84e942a326 Kindle: Auto-detect the input device on the PW5
Apparently, the by-path symlink went poof
6 months ago
NiLuJe 6e08809419
Kindle: Amend #11049 comments (#11051)
Turns out it's not really specific to the Signature Edition
6 months ago
hius07 6b892a65a3
ReaderHighlight: delete highlight in view note dialog (#11039) 6 months ago
NiLuJe 12bea3b14b
Kindle: Handle the PW5 SE properly (#11049)
Need to poke elsewhere for its Input device

Fix #11048
6 months ago
NiLuJe 2c5d618f6b
Kindle: Initial Scribe support (#11047)
Assuming Bellatrix3 boards are extremely similar to their Bellatrix brethren...

Fix #11045
6 months ago
hius07 39d54956ec
webdav: do not allow trailing slash in start folder (#11026) 7 months ago
Frans de Jonge 9e82761c45
[lang] Exporter: minor stylistic changes to Memos capitalization and dialog titles (#11032) 7 months ago
Frans de Jonge edf9798bb7
[lang] Exporter: add translator's note about Flomo (#11031) 7 months ago
Frans de Jonge 9274a3febd
[lang] Minor string fixes (calibre should be lowercase, remove stray newline) (#11030)
Follow-up to #10945.
7 months ago
hius07 3b2fc7a551
Reader: re-enable File search, Folder shortcuts (#11028) 7 months ago
Frans de Jonge f3520effd6
README: update user guide link (#11000)
See https://github.com/koreader/koreader.github.io/pull/21
7 months ago
hius07 c92d94af4d
writeToFile: centralize (#11012) 7 months ago
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
7 months ago
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 ;).
7 months ago
NiLuJe c47ce45fb8 WakeupMgr: Forward rtc_dev & dodgy_rtc to the backend 7 months ago
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.
7 months ago
hius07 e9051353a2
Vocabbuilder: fix docless title (#11008)
Closes #11006.
7 months ago
hius07 6ccf19b99f
History: update on renaming/moving a folder (#10999) 7 months ago
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`
7 months ago
夏鲁豫 ff6ee69753
Exporter: fix memos export, add flomo export (#10988) 7 months ago
ElimGarak1 5b916cccff
Add new PocketBook PB-Basic Lux 4 (PB618) (#10987) 7 months ago
François Gannaz 11083022b0
Minor code quality improvements (#10905) 7 months ago
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>
7 months ago
yparitcher 0e26d4499b
util.htmlEntitiesToUtf8: add some more semi common entities (#10979) 7 months ago
Benoit Pierre d4421130f8
otamanager: fix OTA model name for Android x86_64 (#10997) 7 months ago
hius07 e577c79d95
File search, FileChooser and others (#10994) 7 months ago
NiLuJe 16e96969c5
TimeSync: Double-check that ntpd is busybox (#10992)
Kindle ships another implementation, with incompatible syntax...

Regression since #10935
Thanks to @yparitcher ;).
7 months ago
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.
7 months ago
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
7 months ago
NiLuJe bb492f5d78 Bump base
https://github.com/koreader/koreader-base/pull/1662
https://github.com/koreader/koreader-base/pull/1647
https://github.com/koreader/koreader-base/pull/1663
7 months ago
NiLuJe d039aa5f3a Statistics: Minor style-nit followup to #10968
Too late to avoid the whitespace diff churn, unfortunately ;).
7 months ago
hius07 517731dbbb
Finished books: freeze history timestamp and statistics (#10968) 7 months ago
poire-z ea3f8951a3 Add ReaderHandmade: support for custom TOC and hidden flows
Checkboxes under TOC>Settings> allow enabling Custom TOC
and Custom hidden flows (similar to "Hide non-linear fragments"
available with some EPUBs).
Handled by a new ReaderHandmade module.
Adding and removing TOC chapters is done in PageBrowser
with long-press on a page thumbnail, and for chapters also
in the popup dialog after selecting some text in a page.

ReaderToc: add a symbol in title when the TOC is the
alternative TOC or the custom TOC.
7 months ago
poire-z c51b0c7bb9 BookMap: add option Alternative theme
When enabled in BookMap, both BookMap and PageBrowser get:
- alternating gray background on chapter spans
- hatched background instead of uni-gray on hidden flows.
Also, with both normal look and this alternative theme,
show some hatched overlay on thumbnails part of hidden flows.

ReaderToc: for each TOC item, have it carry its sequence/number
in that level (we do this in validateAndFixToc() where we are
already iterating all the items).
7 months ago
poire-z 5406fdf2e0 BookMap/PageBrowser: update upper instance when leaving lower one
BookMap and PageBrowser instances can be stacked; when
toggling a bookmark in a lower PageBrowser and closing it,
make sure the bookmark is shown in the BookMap we get back to.
Also consider TOC and hidden flows as a thing that can be
edited and needs refreshing, so we're ready for next commits
about custom TOC and custom hidden flows.
Also update Reader footer when closing the last BookMap
or PageBrowser.
7 months ago