Frans de Jonge
5a92aa2b51
[plugin] HttpInspector: avoid crash when port can't be bound ( #13421 )
...
See <https://github.com/koreader/koreader/issues/13420#issuecomment-2726311224 >.
2025-03-15 18:03:44 +01:00
Simon Marache
1193bd38c1
[plugin] NewsDownloader: fix missing elements in the 'Add feeds' window ( #13415 )
...
The current code will replace "empty" UI elements with a line.
However it is relying on the truthiness of the value of the field.
If the value is False, for instance for the "download image" item,
then the UI element for that field will be replaced with a line in the
UI.
2025-03-14 21:26:38 +01:00
Simon Marache
195e4a2e0d
[plugin] NewsDownloader: do not discard RSS/Atom feed processing errors ( #13413 )
2025-03-14 14:07:47 +01:00
Simon Marache
f7b31542ba
[plugin] NewsDownloader: don't show the URL from the previous added entry when adding a new one ( #13411 )
2025-03-14 10:37:11 +01:00
Simon Marache
09c9a8335d
[plugin/NEWS-RSS] Handle missing description gracefully in RSS feed ( #13407 )
2025-03-13 22:03:40 +01:00
hius07
5e6a3619b0
Merge pull request #13399 from hius07/profiles-auto-exec-time
...
Profiles: auto-exec time interval
2025-03-13 08:15:22 +02:00
hius07
3f6e335b7d
Merge pull request #13393 from hius07/script-shortcut
...
Book shortcuts: scripts support
2025-03-13 08:13:42 +02:00
hius07
27290eb194
Update main.lua
2025-03-11 13:34:38 +02:00
hius07
10438808c7
main: add auto-exec time interval
2025-03-11 13:28:26 +02:00
hius07
1bdf0dd0a4
Merge pull request #13387 from hius07/statistics-on-off
...
Statistics: actions to enable/disable
2025-03-11 09:07:43 +02:00
hrm
cf1fb70c38
[plugin] Fix wallabag's "Prefer original non-HTML document" setting ( #13333 )
...
Fixes #13279 .
2025-03-10 09:50:31 +01:00
hius07
0c5d75612b
Update main.lua
2025-03-10 08:47:53 +02:00
hius07
7cd1343307
Update main.lua
2025-03-09 09:45:16 +02:00
hius07
eafaaa9e68
Update main.lua
2025-03-09 09:14:53 +02:00
hius07
5f98773fc7
Update main.lua
2025-03-09 07:42:21 +02:00
ShowY
70d13be32a
Opds-pse v1.2 [LastRead], add resume from page button ( #13357 )
2025-03-05 20:31:20 +01:00
Frans de Jonge
23ed86a0f8
[plugin] HTTPInspector: return InputEvent on every call to reset standby/suspend timer ( #13339 )
...
Fixes #13303 .
2025-03-04 11:26:37 +01:00
hius07
daeacef838
OPDS: group downloading ( #13338 )
2025-03-02 11:22:18 +02:00
hius07
f1726a9e5d
FileSearcher: consistent results window ( #13298 )
2025-02-27 18:45:52 +02:00
hius07
7c45700ceb
Collections: sort ( #13264 )
2025-02-22 10:17:19 +02:00
hius07
a641207f79
bookinfomanager: handle zip ( #13290 )
2025-02-21 08:51:23 +02:00
Frans de Jonge
cee259b885
[plugin] Terminal: improve LDoc module definition for terminputtext.lua ( #13273 )
...
Closes #13272 .
2025-02-17 15:09:31 +01:00
Frans de Jonge
b8a31ef182
[plugin] NewsDownloader: don't try to strip <script> tags ( #13260 )
...
`<script src="etc"></script>` is turned into `<script/>`, which can cause far too much to be stripped.
While that could be dealt with a bit better, for example by first stripping self-closing and then regular, it feels hacky to do so.
See <https://github.com/koreader/koreader/pull/13188#issuecomment-2660362639 >.
2025-02-15 10:37:49 +01:00
David
901b1b5430
[Hotkeys] override self.ui.fonts key_events ( #13257 )
...
* Removed [now] unnecessary conditions when removing actions for hotkeys in the `HotKeys:genMenu` function. No longer needed as of #13227
* Added code to reset key events for the overlooked `font` UI component in the `HotKeys:overrideConflictingKeyEvents` function.
2025-02-14 17:23:34 +01:00
Martín Fernández
a1ac782a2f
calibre.koplugin: show message when attempting to connect via dispatcher ( #13237 )
...
closes #13193
Using an InfoMessage instead of a notification because another infomessage will follow with success/error.
2025-02-12 19:18:37 +01:00
Martín Fernández
eea6c5465d
Exporter: migrate to rapidjson ( #13204 )
2025-02-11 14:28:55 +01:00
hius07
41dd3d5d8a
OPDS: raw server filenames for download ( #13230 )
2025-02-11 14:10:57 +02:00
hius07
68cfd96203
Dispatcher: action list fixes ( #13167 )
2025-02-07 19:27:54 +02:00
David
8e886f5631
[Hotkeys] refactor hotkey list and update callbacks ( #13219 )
...
Cf. #13078
2025-02-07 13:19:22 +01:00
Frans de Jonge
56c08020d7
NewsDownloader: process HTML with cre.getBalancedHTML() to ensure self-closing tags like <hr> are closed like <hr/> ( #13188 )
...
Works around the issue in <https://github.com/koreader/koreader/issues/13173#issuecomment-2628027654 >.
2025-02-02 13:34:38 +01:00
Frans de Jonge
763264a102
NewsDownloader: some random cleanup ( #13182 )
...
Dead code, redundant comments, indentation.
2025-02-01 18:11:23 +01:00
Frans de Jonge
2604f7da8d
NewsDownloader: add support for cache-control and retry-after header
2025-01-31 23:06:06 +01:00
Frans de Jonge
7bc8f9bd3d
NewsDownloader: update cached content and headers with response
2025-01-31 23:06:06 +01:00
Frans de Jonge
d33247967e
NewsDownloader: add If-None-Match to headers
...
Missing in #13171 .
2025-01-31 23:06:06 +01:00
Frans de Jonge
3dba40d884
[chore] NewsDownloader: reduce log verbosity in EpubDownloadBackend
2025-01-31 18:29:10 +01:00
Frans de Jonge
26d19c3c73
[chore] NewsDownloader: remove custom redirect handling
...
It's been implemented in LuaSocket http.request() in the meantime.
2025-01-31 18:29:10 +01:00
Frans de Jonge
8b31f68462
[chore] NewsDownloader: remove dead code ( #13178 )
2025-01-31 18:06:39 +01:00
Frans de Jonge
d6941bc339
NewsDownloader: add a cache to reduce wasted bandwidth ( #13171 )
...
Closes #13061 .
2025-01-31 17:59:08 +01:00
Frans de Jonge
c1f6a02fa0
NewsDownloader: deal with 404 and other error statuses better ( #13165 )
...
May be relevant to #9363 . In any case one of the most typical kind of failures wasn't treated properly, so a 404 would mess up everything instead of popping up a dialog.
2025-01-29 18:10:13 +01:00
hius07
9bcd09633c
Gesture manager and Profiles: improve Dispatcher actions menu ( #13078 )
2025-01-26 11:10:49 +02:00
hius07
cda2dcaacc
BookShortcuts: open file with associated provider ( #13106 )
2025-01-25 12:26:18 +02:00
hius07
42de1fb96e
Collections: filter by book status ( #13099 )
2025-01-25 10:49:35 +02:00
hius07
17504993ae
CoverBrowser info_cache: move to core ( #13018 )
2025-01-18 10:08:18 +02:00
Frans de Jonge
923b690179
EPUB: limit image download dismiss check display updates to once per second
...
On Wikipedia articles with for example 30 images this reduces the download time from ~12 seconds to ~8 seconds (depending on image size and connection speed), which is fairly significant.
2025-01-18 00:15:27 +01:00
Frans de Jonge
bb93c44346
[minor] Normalize more requires ( #13074 )
...
I thought I had them all in <https://github.com/koreader/koreader/pull/13055 > but I seem to have missed a few.
2025-01-17 21:20:16 +01:00
beedaddy
84eb04ef17
kosync: Make sure there are no leading or trailing whitespaces ( #13077 )
2025-01-17 07:49:02 +01:00
Frans de Jonge
8314838add
[plugin] NewsDownloader: make <title> match less greedy ( #13070 )
...
On most pages it works fine, but on pages with multiple `</title>` it can match very large amounts of text.
Valid examples include `<svg>` in the HTML, where [`<title>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title ) is used similar to `title=""` in HTML, but of course there could also simply be invalid pages.
2025-01-15 10:07:27 +01:00
Frans de Jonge
87d1678b02
[minor, plugin] NewsDownloader: fix a string that's concatenated without space or newline ( #13071 )
2025-01-15 10:06:49 +01:00
Frans de Jonge
eb6d4ff422
EPUB: unify include_images logic ( #13063 )
...
Other than the slightly different InfoMessage.
2025-01-14 22:23:37 +01:00
Frans de Jonge
4eea3f0cda
[i18n, plugins] Wallabag: use ngettext for plural ( #13062 )
2025-01-13 18:26:14 +01:00