Commit Graph

10926 Commits

Author SHA1 Message Date
weijiuqiao
b045df3ff3 Vocabbuiler.koplugin: fix PDF context extraction with hyphenation (#12975)
As pointed out at https://github.com/koreader/koreader/issues/12916#issuecomment-2564755827.
2025-01-01 11:28:11 +01:00
Frans de Jonge
a707b7c163 [plugin, i18n] CoverBrowser: add missing plural (#12968) 2025-01-01 10:56:04 +01:00
Frans de Jonge
871b8cf381 [plugin] NewsDownloader: download images without extension (#12969)
Some checks are pending
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
Fixes #12967.
2024-12-31 15:49:25 +01:00
Frans de Jonge
a94a2e07ce [lang] Exporter → Nextcloud: use proper arrow (#12970) 2024-12-31 11:44:26 +01:00
hius07
04c0ee5f04 readerannotation: datetime_updated (#12963)
Some checks are pending
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
2024-12-31 08:54:29 +02:00
hius07
b1940eb4d6 End of document menu: minor fix (#12962) 2024-12-31 08:54:05 +02:00
Frans de Jonge
b93ce8ba4b [plugin] NewsDownloader: switch default to download_full_article=false (#12965)
Some checks are pending
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
It's a saner default. Much of the time it won't just work but it'll work *significantly better* than `download_full_article=true`.

Additionally it should reduce the chance of being seen as abuse, cf. <https://github.com/koreader/koreader/issues/12953#issuecomment-2565973079>.

Also see #3172.

Since both the UI and the default config include the value, impact may be surprisingly limited.
2024-12-31 00:18:11 +01:00
Frans de Jonge
8de936e4d8 [plugin] NewsDownloader: fix Atom download_full_article=false not working (#12959)
Fixes #3172.
2024-12-31 00:15:36 +01:00
poire-z
be5cab65d2 Wikipedia EPUBs: fix missing symbols at start of headings (#12961)
Some checks failed
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
Wikipedia has changed their HTML output from:
  <h2> <span class="mw-headline" id="stuff">Stuff</span></h2>
to:
  <h2 id="stuff">Stuff</h2>
2024-12-29 23:04:57 +01:00
Frans de Jonge
b8af072d9f [plugin] NewsDownloader: support single-entry feeds (#12958)
Fixes #12953.
2024-12-29 17:50:39 +01:00
Benoit Pierre
0b278c5633 bump base (#12956)
- https://github.com/koreader/koreader-base/pull/2010
  (close #9422, close #11055)
2024-12-29 11:57:43 +01:00
hius07
6e84503b3d Add support for KindlePaperwhite5 Signature Edition light sensor (#12946) 2024-12-28 19:42:44 +01:00
hius07
7151f3cd07 pathchooser: title bar fm_style (#12942) 2024-12-27 08:28:06 +02:00
hius07
e6b45e7ff7 ReaderSearch results: search string always in bold (#12940) 2024-12-27 08:27:13 +02:00
hius07
0114954fc1 CoverBrowser BookInfoManager: lite getDocProps() (#12936) 2024-12-27 08:16:47 +02:00
Benoit Pierre
33af380962 tests: speedup testsuite
Bump test resources submodule: updated sample.pdf test file for faster processing by the testsuite.
2024-12-25 17:29:40 +01:00
Benoit Pierre
bb41c40d6f tests: cleanup & speedup readerfooter tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
2e4158b651 tests: cleanup readerhighlight tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
cf827a309a tests: cleanup readerpaging tests
Fix error trace: "ReaderUI instance mismatch".
2024-12-25 17:29:40 +01:00
Benoit Pierre
616d52ba88 tests: speedup readerdictionary tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
fbcda02726 tests: fix translator tests tags 2024-12-25 17:29:40 +01:00
Benoit Pierre
d2d62d8550 tests: speedup readerbookmark tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
ddaf562250 tests: cleanup readerbookmark tests
Fix screenshots.
2024-12-25 17:29:40 +01:00
Benoit Pierre
cc5ef2dbce tests: speedup koptinterface tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
77ef1ea1a2 tests: cleanup and speedup screenshoter tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
3d2a6a17ad tests: speedup readerrolling tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
5bf1464f09 tests: cleanup readerrolling tests
Fix error trace: "ReaderUI instance mismatch".
2024-12-25 17:29:40 +01:00
Benoit Pierre
cee0fef497 tests: cleanup filemanager tests
Fix error trace: "FileManager instance mismatch".
2024-12-25 17:29:40 +01:00
Benoit Pierre
6956b6c560 tests: speedup readerview tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
9f5974dbe9 tests: speedup readerui tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
cdf69113c2 tests: speedup readersearch tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
f1b522acb9 tests: factorize UI related helpers 2024-12-25 17:29:40 +01:00
Benoit Pierre
480eb7e142 tests: speedup random tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
d568b8fbbc tests: cleanup filemanager test
Remove dead code.
2024-12-25 17:29:40 +01:00
Benoit Pierre
e0562f72e5 tests: speedup document tests 2024-12-25 17:29:40 +01:00
Benoit Pierre
646ed9a07f tests: avoid loading unnecessary plugins 2024-12-25 17:29:40 +01:00
Benoit Pierre
cb2d67aac9 tests: drop package.unloadAll workaround
Unnecessary, busted auto-insulation already insulate each test file run.
2024-12-25 17:29:40 +01:00
Benoit Pierre
7a5465bfe6 tests: drop workaround for older busted versions
No necessary anymore, now that we ship our own up-to-date version.
2024-12-25 17:29:40 +01:00
Benoit Pierre
cfe81e80d3 bump base (#12939)
- https://github.com/koreader/koreader-base/pull/2004
- https://github.com/koreader/koreader-base/pull/2005
- https://github.com/koreader/koreader-base/pull/2006
- https://github.com/koreader/koreader-base/pull/2007 (close #12901)
- https://github.com/koreader/koreader-base/pull/2008
- https://github.com/koreader/koreader-base/pull/2011
- https://github.com/koreader/koreader-base/pull/2012
2024-12-25 12:25:33 +01:00
weijiuqiao
2298ef76f0 vocabbuilder.koplugin: fix selecting context bug (#12938)
Missed one line in #12917.

Fixes #12916
2024-12-25 09:28:00 +01:00
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
9df814593d VocabBuilder.koplugin: support PDF context extraction for multi-word phrase (#12917)
Closes #12916. Closes #12475.
2024-12-18 14:13:37 +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
f025cce059 Collections: add books from a folder (#12892) 2024-12-15 18:22:05 +02: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
378519ccf3 [NT] Remove gesture mentions from Dispatcher (#12889) 2024-12-12 22:28:27 +01: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
NiLuJe
85b8689d39 [doc] Update macOS PATH shenanigans (#12873)
Drop the sentence about brew being in PATH altogether: you wouldn't even be
able to invoke brew at all if this weren't already the case.

Fix #12868
2024-12-12 22:20:22 +01:00