Commit Graph

35301 Commits

Author SHA1 Message Date
Kovid Goyal e004b057ed Nicer error message when getting details page fails 2022-08-04 07:58:49 +05:30
Kovid Goyal 849d971642 Fix a regression in calibre 6.0 that broke processing of very high resolution images. Fixes #1983484 [Cover creation fails](https://bugs.launchpad.net/calibre/+bug/1983484) 2022-08-03 20:46:17 +05:30
Kovid Goyal 860d1613bf Add another test for a amazon.com.br 2022-08-03 18:55:08 +05:30
Kovid Goyal 9e34ba665f Use a unique table name for restriction book ids.
Makes the search atomic allowing multiple searches to be run in parallel
2022-08-02 19:55:49 +05:30
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 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 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 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 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 64cd64731b version 6.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 294ff22c63 ... 2022-07-28 07:51:14 +05:30
Kovid Goyal d19150f852 Metadata download from Google: Switch to making the queries via a Google web search as this finds some books that searching via the API does not. Fixes #1982502 [Google metadata download suboptimal search](https://bugs.launchpad.net/calibre/+bug/1982502) 2022-07-26 21:51:03 +05:30
Kovid Goyal 25fb58adfe Refactor google functions to support tbm and uncached results 2022-07-26 21:41:45 +05:30
cd5960d2d7 fix a potention bug of unexpected type 'float' 2022-07-26 21:16:11 +08:00
Kovid Goyal c8059f3cd1 Fix #1982651 [Details pane: Clicking on enumerated item with ampersand produces incorrect search](https://bugs.launchpad.net/calibre/+bug/1982651) 2022-07-26 15:32:56 +05:30
Kovid Goyal 2cbf22a67b Image editor: Down allow initial mouse drag to create selection rect outside the image bounds 2022-07-26 13:32:11 +05:30
Kovid Goyal 5d4fcb02df E-book viewer: Fix clicking on ToC entries moving keyboard focus to the ToC search box when the ToC window is floating 2022-07-26 12:24:08 +05:30