Commit Graph

10934 Commits

Author SHA1 Message Date
Marek Veselý
038df71ca5 [device] Add the new Kindle line-up (#12990)
* add Kindle ColorSoft
* add Kindle PW6 and KT6
2025-01-03 17:29:47 +01:00
Frans de Jonge
3aa78cbfcb Bump base for KindleHF: Downgrade mtune to A9 (#12996)
Fixes #12988 (with koreader/koreader-base#2014)
2025-01-03 17:27:25 +01:00
Frans de Jonge
65e4124e5d socketutil: use Device.model directly (#12992)
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
Device:info() is multiline on Android, see https://github.com/koreader/koreader/pull/12977#issuecomment-2568355984
2025-01-02 23:06:55 +01:00
Frans de Jonge
016592e0a3 [plugin] NewsDownloader: add primitive support for relative URLs (#12980)
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 #8611.
2025-01-02 12:45:22 +01:00
Frans de Jonge
10f627e3f9 [plugin] NewsDownloader: reduce HTML idiosyncracies (#12976) 2025-01-02 12:42:10 +01:00
Benoit Pierre
0ff8913a4e fix base commit (#12982)
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
2025-01-02 07:33:50 +01:00
Frans de Jonge
2b5915177d socketutil: remove URL from user agent, add device info (#12977)
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
See #10186, <https://github.com/koreader/koreader/issues/12953#issuecomment-2565973079>

Results in:

```
KOReader/2024.11-112 (Emulator; Linux; x64) LuaSocket/3.1.0
```
2025-01-01 14:16:04 +01:00
Frans de Jonge
c589db9f61 [plugin] NewsDownloader: fail gracefully when date can't be parsed (#12978)
Fixes #9358.
2025-01-01 12:25:31 +01:00
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