Commit Graph

45659 Commits

Author SHA1 Message Date
Kovid Goyal 64ea016aa1 Full text search: Fix error when using restrict searched books and more than 900 books are present in the searched list. Fixes #1983230 [FTS - Restricting returns error](https://bugs.launchpad.net/calibre/+bug/1983230) 2022-08-02 19:47:16 +05:30
Kovid Goyal 5f67cc961e more russian and ukranian news sources by bugmen00t 2022-08-02 19:34:02 +05:30
Kovid Goyal b3828dcec7 Allow using image_url_processor to skip img downloads 2022-08-02 19:17:29 +05:30
Kovid Goyal c60d61a777 Fix spurious AttributeError during shutdown 2022-08-02 19:06:34 +05:30
Kovid Goyal d39b5e52c6 Filter out scorecardresearch images from guardian downloads 2022-08-02 19:06:07 +05:30
Kovid Goyal 9df8c2e629 Fix #1710 (Fix for FTS re-index all formats of a book not working.) 2022-08-02 08:14:30 +05:30
Kovid Goyal bd78ad3410 Merge branch 'patch-1' of https://github.com/hmag/calibre 2022-08-02 08:10:51 +05:30
Hervé M 357c955b44 Fix Mediapart site changes
Pages structure is not the same depending on source types : adding workarounds to perform a second search to get articles.
2022-08-01 19:00:38 +02:00
Kovid Goyal 401c92737f Update MIT Technology Review 2022-08-01 19:19:34 +05:30
Kovid Goyal f270dae588 more russian and ukranian news sources by bugmen00t 2022-08-01 19:18:39 +05:30
Kovid Goyal 1c49bb603d ... 2022-08-01 19:18:03 +05:30
Kovid Goyal c95cf4f9e5 Revert change to use monotonic as it doesnt work for cross process sync 2022-08-01 08:01:01 +05:30
Kovid Goyal 0fda25f369 Use simple HTML markup for comments formatting from Google Books 2022-08-01 07:56:45 +05:30
Kovid Goyal 5e9a3de623 Fix tests that depended on css serialization settings 2022-07-31 21:46:32 +05:30
Kovid Goyal d21e62c624 Use the same CSS serialization settings for conversion output as in the editor 2022-07-31 21:26:10 +05:30
Kovid Goyal 4654159899 Workaround for css-parser not serializing @supports rules correctly 2022-07-31 21:24:06 +05:30
Kovid Goyal 5de21eddab increase timeout for preparing books to 10 mins for very large books/slow machines 2022-07-31 21:17:31 +05:30
Kovid Goyal bfc2c86a52 Highlight break-inside 2022-07-31 21:16:11 +05:30
Kovid Goyal 6535d9acd2 E-book viewer: Speed up initial render of books with lots of CSS by not prettying the CSS
Also works around a bug in css-parser where prettying certain types of
stylesheets breaks them.
2022-07-31 20:04:41 +05:30
Kovid Goyal d130d81319 ... 2022-07-31 14:33:32 +05:30
Kovid Goyal b17fd29136 Micro optimization: Avoid using the DB API and thereby acquiring a lock just to read column coloring/icon preferences 2022-07-31 14:15:57 +05:30
Kovid Goyal 0bba6484d1 Use the monotonic clock 2022-07-31 14:13:55 +05:30
Kovid Goyal cd1a36c5fe Amazon metadata download: Fallback to using DDG if Google starts returning too many request errors 2022-07-31 13:57:01 +05:30
Kovid Goyal e82a9274e7 Change the test to actually test using web search 2022-07-31 12:09:40 +05:30
Kovid Goyal a02453245c make setting of google consent cookie thread safe 2022-07-31 12:01:14 +05:30
Kovid Goyal 7bc0399bda Allow directly querying the google web cache as well 2022-07-31 11:57:44 +05:30
Kovid Goyal 0f764be26f ... 2022-07-31 10:27:33 +05:30
Kovid Goyal 25b3d5b054 Also recognize para breaks when the involved characters are quotes or parentheses 2022-07-31 09:32:31 +05:30
Kovid Goyal 353dd847d1 Fix #1983126 [Metadata download: Paragraph breaks not working for Google](https://bugs.launchpad.net/calibre/+bug/1983126) 2022-07-31 09:26:01 +05:30
Kovid Goyal 94dbef4f80 Output to stderr when running sources test 2022-07-31 09:20:41 +05:30
Kovid Goyal 3e05244ae9 Also increase the time between visits to a search engine to two seconds 2022-07-31 09:09:31 +05:30
Kovid Goyal a7662ea9b1 Google books metadata download: Only do a web search when a search via the API returns no matches
This results in less queries to the google web search engine and
hopefully allows people to download metadata for more books before
google starts blocking their IPs.
2022-07-31 09:04:53 +05:30
Kovid Goyal 2346792bad Content server: Fix light background for comments editor in dark mode 2022-07-30 14:48:27 +05:30
Kovid Goyal 96d9f39ad0 Check library: Fix popup about check being performed not being rendered
The vacuum locks the db and there are various events on the GUI thread
that can cause db access which causes the GUI thread to hang. Find and
fix the most common of these. It isnt a complete solution, but its
better than nothing.
2022-07-30 00:05:32 +05:30
Kovid Goyal 1b1715b8fe ... 2022-07-29 23:48:54 +05:30
Kovid Goyal df6ddce8a2 Make debug db locking a little nicer to use 2022-07-29 23:31:18 +05:30
Kovid Goyal a6b6d83d31 Dont store a reference to the DB in the scheduler 2022-07-29 23:25:28 +05:30
Kovid Goyal df2db001ba Cleanup DBCheck dialog 2022-07-29 17:55:39 +05:30
Kovid Goyal 7938c4667f Fix vacuum not running on FTS db 2022-07-29 17:28:16 +05:30
Kovid Goyal c628c38cc4 version 6.2.1 v6.2.1 2022-07-29 14:12:04 +05:30
Kovid Goyal 8236c1c788 Content server: Fix Read button broken in 6.2.0
Forgot to delete a line from my development code
2022-07-29 14:08:42 +05:30
Kovid Goyal 47acad4e3d ... 2022-07-29 13:15:23 +05:30
Kovid Goyal 02375b78bf ... 2022-07-29 12:58:57 +05:30
Kovid Goyal 64cd64731b version 6.2.0 v6.2.0 2022-07-29 07:06:07 +05:30
Kovid Goyal 761f5ffe8c Make rate limiting of search engine queries inter-process rather than per process 2022-07-28 22:45:34 +05:30
Kovid Goyal 8b01843531 Remove all punctuation when checking tokens 2022-07-28 22:40:03 +05:30
Kovid Goyal 17b65bbc49 oops 2022-07-28 22:30:20 +05:30
Kovid Goyal 3f550d5382 Check that search result urls startwith https://books.google
Dont trust google web search to always return google books results
2022-07-28 21:26:25 +05:30
Kovid Goyal 21bb0ce833 optimize some images 2022-07-28 20:13:47 +05:30
Kovid Goyal 9488e9f8af more russian and ukranian news sources by bugmen00t 2022-07-28 08:06:14 +05:30