Commit Graph

45635 Commits

Author SHA1 Message Date
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
Kovid Goyal 294ff22c63 ... 2022-07-28 07:51:14 +05:30
Kovid Goyal f0342a3d31 Update Frontline 2022-07-28 07:22:31 +05:30
Kovid Goyal 7df0187962 Update HBR 2022-07-27 18:31:44 +05:30
Kovid Goyal 525988b151 Update Spectator recipe to use new markup
However, the spectator server randomnly serves the old markup but its
impossible to get main.js so things dont actually work
2022-07-27 14:37:18 +05:30
Kovid Goyal 28070b6661 FB2 Input: Fix a regression in 6.0 that broke conversion of FB2 on macOS. Fixes #1982743 [failed to convert fb2](https://bugs.launchpad.net/calibre/+bug/1982743) 2022-07-27 12:12:51 +05:30
Kovid Goyal 11345abc31 Update The Australian 2022-07-27 11:13:12 +05:30
Kovid Goyal f2a3233e9a Bump versions of xml libs
Seeing crashes with libxslt involvement on macOS needs further
investigation, but maybe bumping  the versions will fix it.
2022-07-27 11:10:38 +05:30
Kovid Goyal 421ab3a348 optimize various favicons 2022-07-26 22:00:55 +05:30
Kovid Goyal efcb8d5bc5 more russian and ukranian news sources by bugmen00t 2022-07-26 22:00:19 +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
Kovid Goyal 287f13ce24 Merge branch 'patch-1' of https://github.com/ichn-hu/calibre 2022-07-26 18:56:43 +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 9aae5f8b29 Various new ru/uk news sources by bugmen00t 2022-07-26 14:09:05 +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
Kovid Goyal f7b592023f Update India Today and Indian Express 2022-07-26 08:46:01 +05:30
Kovid Goyal 86dbab7283 Merge branch 'imgbot' of https://github.com/kovidgoyal/calibre 2022-07-25 19:21:55 +05:30
ImgBotApp 4668684bbd [ImgBot] Optimize images
*Total -- 1,007.08kb -> 624.67kb (37.97%)

/imgsrc/models/template.svg -- 2.68kb -> 0.18kb (93.38%)
/imgsrc/format-text-hr.svg -- 3.12kb -> 0.59kb (81.13%)
/imgsrc/snippets.svg -- 3.34kb -> 0.74kb (77.79%)
/imgsrc/dot_green.svg -- 3.57kb -> 0.89kb (74.99%)
/imgsrc/dot_red.svg -- 3.57kb -> 0.89kb (74.98%)
/imgsrc/edit-redo.svg -- 3.64kb -> 0.92kb (74.77%)
/imgsrc/resize.svg -- 3.72kb -> 1.00kb (73.02%)
/imgsrc/edit-undo.svg -- 3.87kb -> 1.06kb (72.71%)
/imgsrc/arrow-up.svg -- 3.79kb -> 1.08kb (71.49%)
/imgsrc/forward.svg -- 3.94kb -> 1.21kb (69.32%)
/imgsrc/models/book.svg -- 4.44kb -> 1.37kb (69.25%)
/imgsrc/template_funcs.svg -- 3.69kb -> 1.17kb (68.17%)
/imgsrc/bookmarks.svg -- 4.04kb -> 1.32kb (67.27%)
/imgsrc/mimetypes/lrf.svg -- 94.89kb -> 31.41kb (66.9%)
/imgsrc/donate.svg -- 4.13kb -> 1.41kb (65.89%)
/imgsrc/edit_input.svg -- 4.32kb -> 1.48kb (65.61%)
/imgsrc/marked.svg -- 5.44kb -> 1.92kb (64.66%)
/imgsrc/auto-scroll.svg -- 1.99kb -> 0.71kb (64.22%)
/imgsrc/clear_left-for-dark-theme.svg -- 4.09kb -> 1.48kb (63.85%)
/imgsrc/clear_left-for-light-theme.svg -- 4.09kb -> 1.48kb (63.85%)
/imgsrc/tweaks.svg -- 5.08kb -> 1.90kb (62.63%)
/imgsrc/toc.svg -- 4.56kb -> 1.74kb (61.77%)
/imgsrc/format-text-subscript.svg -- 4.20kb -> 1.61kb (61.74%)
/imgsrc/format-text-superscript.svg -- 4.19kb -> 1.61kb (61.62%)
/imgsrc/plugins/plugin_new.svg -- 4.62kb -> 1.79kb (61.28%)
/imgsrc/plugins/plugin_disabled_ok.svg -- 4.63kb -> 1.79kb (61.22%)
/imgsrc/plugins/plugin_deprecated.svg -- 4.63kb -> 1.79kb (61.22%)
/imgsrc/smarten-punctuation.svg -- 4.13kb -> 1.60kb (61.21%)
/imgsrc/plugins.svg -- 4.62kb -> 1.79kb (61.21%)
/imgsrc/format-justify-left.svg -- 4.51kb -> 1.79kb (60.34%)
/imgsrc/format-justify-right.svg -- 4.51kb -> 1.79kb (60.29%)
/imgsrc/unpack-book.svg -- 4.52kb -> 1.80kb (60.21%)
/imgsrc/minus.svg -- 5.36kb -> 2.13kb (60.19%)
/imgsrc/reports.svg -- 4.53kb -> 1.80kb (60.15%)
/imgsrc/format-justify-fill.svg -- 4.62kb -> 1.87kb (59.65%)
/imgsrc/format-justify-center.svg -- 4.64kb -> 1.87kb (59.64%)
/imgsrc/sync.svg -- 5.21kb -> 2.12kb (59.43%)
/imgsrc/download-metadata.svg -- 4.55kb -> 1.86kb (59.2%)
/imgsrc/remove_books.svg -- 5.69kb -> 2.42kb (57.47%)
/imgsrc/diff.svg -- 4.54kb -> 1.96kb (56.87%)
/imgsrc/similar.svg -- 5.81kb -> 2.51kb (56.76%)
/imgsrc/dialog_warning.svg -- 5.21kb -> 2.31kb (55.57%)
/imgsrc/bullhorn.svg -- 2.77kb -> 1.24kb (55.29%)
/imgsrc/plugins/plugin_updater.svg -- 5.44kb -> 2.45kb (54.95%)
/imgsrc/folder_saved_search.svg -- 4.90kb -> 2.24kb (54.3%)
/imgsrc/dialog_error.svg -- 5.30kb -> 2.44kb (53.95%)
/imgsrc/edit-copy.svg -- 5.34kb -> 2.55kb (52.25%)
/imgsrc/random.svg -- 5.03kb -> 2.47kb (50.93%)
/imgsrc/close-for-light-theme.svg -- 2.52kb -> 1.24kb (50.68%)
/imgsrc/dictionary.svg -- 6.55kb -> 3.23kb (50.65%)
/imgsrc/network-server.svg -- 6.17kb -> 3.06kb (50.32%)
/imgsrc/auto_author_sort.svg -- 5.72kb -> 2.87kb (49.89%)
/imgsrc/plugins/plugin_updater_updates.svg -- 6.12kb -> 3.10kb (49.39%)
/imgsrc/plugins/plugin_upgrade_valid.svg -- 7.57kb -> 3.88kb (48.75%)
/imgsrc/plugins/plugin_new_valid.svg -- 7.57kb -> 3.88kb (48.75%)
/imgsrc/plugins/plugin_disabled_valid.svg -- 7.57kb -> 3.89kb (48.7%)
/imgsrc/view-image.svg -- 6.07kb -> 3.16kb (47.98%)
/imgsrc/page.svg -- 8.02kb -> 4.35kb (45.74%)
/imgsrc/plugins/plugin_upgrade_invalid.svg -- 7.45kb -> 4.07kb (45.4%)
/imgsrc/plugins/plugin_new_invalid.svg -- 7.45kb -> 4.07kb (45.4%)
/imgsrc/plugins/plugin_disabled_invalid.svg -- 7.45kb -> 4.07kb (45.35%)
/imgsrc/edit-paste.svg -- 6.85kb -> 3.81kb (44.42%)
/imgsrc/format-list-ordered.svg -- 6.59kb -> 3.67kb (44.28%)
/imgsrc/gmail_logo.svg -- 7.55kb -> 4.27kb (43.47%)
/imgsrc/vl.svg -- 23.87kb -> 13.53kb (43.3%)
/imgsrc/metadata.svg -- 6.47kb -> 3.71kb (42.63%)
/imgsrc/mimetypes/svg.svg -- 10.58kb -> 6.14kb (41.99%)
/imgsrc/font_size_larger.svg -- 8.66kb -> 5.04kb (41.84%)
/imgsrc/publisher.svg -- 7.42kb -> 4.35kb (41.34%)
/imgsrc/mimetypes/fb2.svg -- 9.00kb -> 5.49kb (39.08%)
/imgsrc/mimetypes/dir.svg -- 8.48kb -> 5.30kb (37.46%)
/imgsrc/split.svg -- 3.47kb -> 2.20kb (36.62%)
/imgsrc/mimetypes/unknown.svg -- 9.77kb -> 6.34kb (35.08%)
/imgsrc/mimetypes/pdf.svg -- 18.31kb -> 12.28kb (32.95%)
/imgsrc/mimetypes/azw2.svg -- 9.10kb -> 6.12kb (32.76%)
/imgsrc/mimetypes/azw3.svg -- 9.08kb -> 6.12kb (32.67%)
/imgsrc/tags.svg -- 14.97kb -> 10.12kb (32.41%)
/imgsrc/mimetypes/mobi.svg -- 9.32kb -> 6.37kb (31.63%)
/imgsrc/mimetypes/lrx.svg -- 27.72kb -> 19.22kb (30.65%)
/imgsrc/keyboard-prefs.svg -- 19.70kb -> 13.68kb (30.56%)
/imgsrc/devices/folder.svg -- 28.34kb -> 20.62kb (27.23%)
/imgsrc/mimetypes/bmp.svg -- 79.96kb -> 58.29kb (27.1%)
/imgsrc/column.svg -- 17.92kb -> 14.41kb (19.62%)
/imgsrc/mimetypes/html.svg -- 108.03kb -> 89.17kb (17.46%)
/imgsrc/mimetypes/rtf.svg -- 18.71kb -> 15.61kb (16.59%)
/imgsrc/srv/undo.svg -- 0.31kb -> 0.28kb (11.8%)
/imgsrc/mimetypes/txt.svg -- 130.97kb -> 116.46kb (11.08%)
/imgsrc/news.svg -- 1.86kb -> 1.66kb (10.7%)
/imgsrc/srv/redo.svg -- 0.30kb -> 0.27kb (10.16%)
/imgsrc/srv/fg.svg -- 0.72kb -> 0.68kb (6.74%)
/recipes/icons/sobesednik.png -- 2.12kb -> 2.03kb (4.2%)
/imgsrc/srv/hr.svg -- 0.43kb -> 0.41kb (4.12%)
/imgsrc/srv/help.svg -- 0.81kb -> 0.78kb (2.67%)
/imgsrc/srv/star-half.svg -- 0.73kb -> 0.72kb (1.86%)
/imgsrc/srv/chevron-left.svg -- 0.37kb -> 0.36kb (1.59%)
/imgsrc/srv/highlight.svg -- 0.44kb -> 0.44kb (1.55%)
/imgsrc/srv/library.svg -- 0.76kb -> 0.75kb (1.28%)
/imgsrc/srv/cogs.svg -- 5.12kb -> 5.06kb (1.16%)
/imgsrc/srv/justify-right.svg -- 1.20kb -> 1.19kb (1.14%)
/imgsrc/srv/justify-center.svg -- 1.20kb -> 1.19kb (1.14%)
/imgsrc/srv/toc.svg -- 0.75kb -> 0.75kb (0.78%)
/imgsrc/srv/full-screen.svg -- 0.20kb -> 0.20kb (0.49%)
/imgsrc/srv/heading.svg -- 2.88kb -> 2.87kb (0.47%)
/imgsrc/srv/window-restore.svg -- 0.34kb -> 0.33kb (0.29%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-07-25 13:45:18 +00:00
Kovid Goyal f1a560b61a more russian and ukranian news sources by bugmen00t 2022-07-25 18:46:54 +05:30
Kovid Goyal bd7aa63c14 Container: handle internal hrefs that result in ValueError when try to resolve them on windows 2022-07-25 18:45:54 +05:30
Kovid Goyal f2572a36cd more russian and ukranian news sources by bugmen00t 2022-07-24 06:07:45 +05:30
Kovid Goyal cb4d0b91c2 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-24 04:04:28 +05:30