49681 Commits

Author SHA1 Message Date
Eli Schwartz
4bc75833ff
tests: fix SSL test on python 3.13 by being more lenient about VERIFY_X509_STRICT
In python 3.13, this flag was added to the default created ctx. This
seems reasonable for production validation, but the unittest code
generates a certificate that fails this. Inside test code, it seems fine
to relax the constraints again. Our goal is to test the server itself,
anyway, not the ssl module.

See also: https://github.com/python/cpython/issues/107361
2024-08-14 21:19:29 -04:00
Kovid Goyal
5fc10a7af1
Edit book: When text is selected allow changing the indentation of all lines in the selection by pressing Tab to increase one level or Shift+Tab to decrease one level. Fixes #2076251 [[Edit Book][Enhancement] Allow to indent all selected lines at once](https://bugs.launchpad.net/calibre/+bug/2076251) 2024-08-14 21:42:00 +05:30
Kovid Goyal
3d477b904c
PDF Output: Disable subsetting of embedded TrueType fonts to workaround a bug in chromium as of Qt 6.7.2 2024-08-14 19:45:04 +05:30
Kovid Goyal
4232224213
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-14 18:47:33 +05:30
unkn0w7n
17806d034e Update theindiaforum.recipe 2024-08-14 18:39:18 +05:30
unkn0w7n
aae0ca3b2c Update WSJ
add options for hi-res images
2024-08-14 18:26:14 +05:30
Kovid Goyal
7717572f6e
... 2024-08-14 14:22:11 +05:30
Kovid Goyal
593e4089bc
Support custom HTTP verbs 2024-08-14 14:20:29 +05:30
Kovid Goyal
6017835712
... 2024-08-14 13:52:38 +05:30
Kovid Goyal
c867bcaf99
... 2024-08-14 13:41:28 +05:30
Kovid Goyal
73a5036134
Use the same function name for cookie setting 2024-08-14 13:39:36 +05:30
Kovid Goyal
918eb72335
Implement ignoring ssl errors in qt backend 2024-08-14 13:30:00 +05:30
Kovid Goyal
7a43916d6c
... 2024-08-14 13:09:54 +05:30
Kovid Goyal
44ea182c2b
Science Journal by unkn0wn 2024-08-14 13:01:41 +05:30
Kovid Goyal
a26f6dcee3
Cleanup data handling 2024-08-14 12:58:05 +05:30
Kovid Goyal
4b78c60724
pep8 2024-08-14 12:50:47 +05:30
Kovid Goyal
e8453ed590
Switch over to Qt browser rather than webengine download based browser as alternative to mechanize
Seems to work better. I am guessing the download() implementation in
QtWebEngine restricts itself to HTTP 1.1
2024-08-14 12:45:23 +05:30
Kovid Goyal
e28f9c3ed3
Qt browser frontend is not functional with tests 2024-08-14 12:32:45 +05:30
Kovid Goyal
8c0bb15478
Qt backend basically works 2024-08-14 11:34:04 +05:30
Kovid Goyal
91b6a64777
Rename some modules 2024-08-14 11:23:46 +05:30
Kovid Goyal
48b4faec95
More work on the Qt browser backend 2024-08-14 11:18:13 +05:30
Kovid Goyal
ecebe2acef
Various Russian and Ukranian news sources by bugmen00t 2024-08-14 09:35:27 +05:30
Kovid Goyal
149d680e60
Support building in container 2024-08-13 21:39:41 +05:30
Kovid Goyal
67bb8299c6
Merge branch 'patch-2' of https://github.com/Artoria2e5/calibre 2024-08-13 20:45:17 +05:30
Mingye Wang
304192c10c
fix(bypy/macos/__main__): Use -Os
The launchers were getting compiled with no optimization at all. If one runs `objdump --disassemble calibre-launcher.dylib --no-show-raw-insn`, the result is a lot of loads and stores from the stack. Probably not critical at all for performance, but ugly and silly nevertheless.
2024-08-13 21:25:00 +08:00
Kovid Goyal
66f8ae20fc
Fetch news: Allow using the chromium network stack to make HTTP requests 2024-08-13 18:43:37 +05:30
Kovid Goyal
f40950d1ff
Qt WebEngine now requires libgbm-dev on Linux 2024-08-13 12:00:49 +05:30
Kovid Goyal
9dff482fc7
Merge branch 'patch-1' of https://github.com/Artoria2e5/calibre 2024-08-13 08:43:51 +05:30
Mingye Wang
43ae7c6a54
bypy/macos: use ULMO
ULMO, available in 10.15+, uses LZMA compression, which is both stronger and faster than the deprecated bzip2 (UDBZ).
2024-08-13 10:58:35 +08:00
Kovid Goyal
c376d2e25d
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-12 10:05:43 +05:30
unkn0w7n
5a28507414 ... 2024-08-12 09:57:34 +05:30
unkn0w7n
62173e30f1 Nat Geo
add options for hi-res images
2024-08-12 09:55:29 +05:30
Kovid Goyal
3d092909d6
Merge branch 'fix_tolino_mimetype' of https://github.com/beedaddy/calibre 2024-08-12 09:25:09 +05:30
Martin Brodbeck
2682901d78 Handle more tolino specific cases. 2024-08-11 18:38:36 +02:00
Martin Brodbeck
e75ea57e41 Check for tolino device. 2024-08-11 18:37:22 +02:00
Kovid Goyal
34f7b9eaf4
Fix #2076515 [calibredb list command ignores fields option](https://bugs.launchpad.net/calibre/+bug/2076515) 2024-08-11 20:18:29 +05:30
Martin Brodbeck
2ac0d0fcf0 Books from the Tolino Cloud are EPUBs (not KEPUBs).
Add MimeType 'application/epub+zip' so that these books are also being listed.
2024-08-11 15:55:36 +02:00
Kovid Goyal
408193c895
Get print() working in fetch worker 2024-08-09 19:33:55 +05:30
Kovid Goyal
339ec662d4
Implement changing user-agent and setting cookies 2024-08-09 19:27:22 +05:30
Kovid Goyal
1c5c36b1d7
Add tests for redirection and request objects 2024-08-09 13:12:32 +05:30
Kovid Goyal
d7404bcf1b
More tests including for timeouts 2024-08-09 12:53:53 +05:30
Kovid Goyal
d437f1b644
Add a basic test for the fetch backend 2024-08-09 10:44:02 +05:30
Kovid Goyal
4f077f1934
Write a fake browser object to help integrate the new webengine based fetcher into the recipe system 2024-08-09 08:59:34 +05:30
Kovid Goyal
40d217d7e7
More work on new fetch engine 2024-08-08 20:47:07 +05:30
Kovid Goyal
6f307021a0
More work on the new fetch backend 2024-08-08 15:02:17 +05:30
Kovid Goyal
d1589e00f3
Email delivery: When sending emails to Kindle's dont convert filenames to English letters as Amazon appears to have finally fixed their email servers to handle non-English filenames.
Fixes #2378 (use ebook title (name) as the email attachment name)
2024-08-08 12:46:06 +05:30
Kovid Goyal
e62f7427b4
Move scraper test into its own module 2024-08-08 10:46:36 +05:30
Kovid Goyal
68e3787076
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2024-08-06 09:23:33 +05:30
unkn0w7n
28d5bbc616 ... 2024-08-06 09:17:17 +05:30
unkn0w7n
a954ae08af Update wsj.recipe 2024-08-06 09:10:23 +05:30