Charles Haley
265f2d51ef
Enhancement: add a "Copy all links" option to book details
2023-04-01 22:21:38 +01:00
Charles Haley
72ea69f8d9
Fix links for series and custom series columns being confounded
2023-04-01 21:55:27 +01:00
Charles Haley
fe60fd8125
Big oops. I broke the category editor.
2023-04-01 11:50:29 +01:00
Charles Haley
e11b8c8b46
If a show-details link references the current library, use the current db instead of opening it again.
2023-04-01 08:59:45 +01:00
Kovid Goyal
e16179c9da
Fix #2012066 [Add "Restart Now" button when installing plugin from file]( https://bugs.launchpad.net/calibre/+bug/2012066 )
2023-04-01 11:00:26 +05:30
Kovid Goyal
5df12a6434
A new tweak in Preferences->Tweaks to control what program is run when clicking on URLs in calibre
2023-04-01 10:29:26 +05:30
Kovid Goyal
9aa239b3a8
...
2023-04-01 09:33:36 +05:30
Kovid Goyal
86126438ad
Book details popup: Fix fields for external libraries not using the correct preference
2023-04-01 07:56:14 +05:30
Kovid Goyal
aaa4d223d1
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-04-01 07:51:25 +05:30
Charles Haley
ee09a85cf4
Add context menu item to get a book-details link
2023-03-31 19:11:10 +01:00
Charles Haley
8e22dd8822
Remake a change that shouldn't have been reverted.
2023-03-31 17:05:17 +01:00
Charles Haley
ecb22f5e61
Revert "Simplify code for managing multiple book info dialogs"
...
This reverts commit 5d6664b00250f9ce174a88cf0982e1a9dc774bf0.
2023-03-31 15:31:12 +01:00
Kovid Goyal
5f515131a5
Content server: Add support for link_maps
...
Only URLs of type http(s) are allowed
2023-03-31 14:38:38 +05:30
Kovid Goyal
899ffb4e61
Fix typo causing book specific link map to contain entries for all items
2023-03-31 14:01:17 +05:30
Kovid Goyal
00832ca25b
Final minor cleanup for previous PR
2023-03-31 13:38:32 +05:30
Kovid Goyal
5d6664b002
Simplify code for managing multiple book info dialogs
2023-03-31 13:33:06 +05:30
Kovid Goyal
b89de1ccf1
Use the library broker for showing book info popups for non-current libraries
...
Also use an icon for the external links
2023-03-31 10:39:57 +05:30
Kovid Goyal
866c15f233
When adding a book import its link map for any items that dont have an existing link
2023-03-30 17:20:07 +05:30
Kovid Goyal
8447e8791f
Add a test for restoring library
2023-03-30 14:37:58 +05:30
Kovid Goyal
f2445ad87a
Get rid of author_link_map
...
Also implement support for link_maps metadata in EPUB3 and PDF.
Reading proceeds by returning the link_maps if present, otherwise look
for a legacy author_link_map and return a link_maps constructed from it.
Writing simply sets link_maps, which as per the sceme above takes
precedence anyway.
2023-03-30 13:41:20 +05:30
Kovid Goyal
44001e2c60
Some link map micro optimizations I missed in my previous review
2023-03-30 13:25:54 +05:30
Kovid Goyal
6ddef11819
Use a getter for link_maps in ProxyMetadata
...
Also allow is_null() to work with it.
2023-03-30 08:56:19 +05:30
Kovid Goyal
aabd29c571
Clean up DB code from previous PR
...
Note that string literals in SQLITE should be single quoted.
https://sqlite.org/quirks.html#dblquote
2023-03-30 08:37:17 +05:30
Kovid Goyal
b3aafddf5a
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-03-30 07:27:11 +05:30
Charles Haley
a4e49d85c1
Changes as discussed. Tests improved to check that the cache is cleared and that ProxyMetadata returns the link map
2023-03-27 12:53:26 +01:00
Charles Haley
26d88d1d65
Improved tests for link maps. Includes a fix for a problem the test found.
2023-03-26 11:25:01 +01:00
Kovid Goyal
6f6da27160
Similar books: Fix changing the search to be over a custom column not working. Fixes #2012803 ["Similar Books" does not search using column lookups names specified in settings]( https://bugs.launchpad.net/calibre/+bug/2012803 )
2023-03-26 10:03:41 +05:30
Charles Haley
d95d7f4048
Fixes: the UI didn't properly delete links
2023-03-25 17:03:51 +00:00
Charles Haley
ff4ed26896
This is a large commit.
...
DB changes:
1) Add link columns to "normalized" tables. All such in-memory tables have an attribute self.link_map.
2) Add API to set and get links for fields
3) get_metadata now includes an attribute giving the link maps for the book. Book link maps are cached.
4) ProxyMetadata can return link maps
5) Added a test for the API.
URL Scheme:
1) Added a "book-details" URL that asks calibre to open a book info window on a book in some library
Book Details:
1) You can now have multiple book info windows.
2) If an item as an associated link then that link is made available using "(item link)" link text.
3) Book info windows on books in other libraries have no links
UI:
1) the Manage Category editor presents a fourth column for links.
OPF:
1) The OPF used for backing up (metadata.opf) contains the link map for the book. Currently this isn't used, but it should be used in recover_database. I didn't do anything with OPF3.
2023-03-25 16:46:14 +00:00
Kovid Goyal
b55dd98bce
Tag mapper: Ensure tag rules are unicode normalized before matching
2023-03-21 15:46:27 +05:30
Charles Haley
762c1c0a19
calibre show-book URL: clear the current search if the book to be shown is not in the search results.
2023-03-19 14:22:44 +00:00
Kovid Goyal
3a43e6bb0a
version 6.14.1
2023-03-16 06:23:38 +05:30
Kovid Goyal
42a4e729ca
...
2023-03-15 11:51:59 +05:30
Kovid Goyal
102427ddb8
Pass dbpath as a param to SQLite
2023-03-14 19:47:10 +05:30
Kovid Goyal
6be2cc69a8
Forgot that the ToC editor in the edit book tool uses a different code path. Copy over the macOS workaround.
2023-03-14 09:42:56 +05:30
Charles Haley
6a0654c9e4
Bug reported in https://www.mobileread.com/forums/showthread.php?t=352726
2023-03-13 21:25:06 +00:00
Charles Haley
baa80730e4
Bug #2011345 : QuickView: Two errors
2023-03-12 21:12:18 +00:00
Kovid Goyal
70cfb56e1f
version 6.14.0
2023-03-10 05:44:41 +05:30
Kovid Goyal
26d7e65e66
pep8
2023-03-09 17:45:06 +05:30
Kovid Goyal
e4e199e213
Check book: Nicer handling of line offsets
...
Apparently some errors from the CSS checker library reference line
numbers, so rather than using an offset prepend extra newlines. Fixes #2009735 [Private bug](https://bugs.launchpad.net/calibre/+bug/2009735 )
2023-03-09 17:34:34 +05:30
Kovid Goyal
491ee6ad98
Fix #2008538 [Content Server: Better message for non-readable formats]( https://bugs.launchpad.net/calibre/+bug/2008538 )
2023-03-09 16:02:09 +05:30
Kovid Goyal
b529a975e9
Content server viewer: Fix searching only showing results from the current chapter onwards. Fixes #2009268 [search in book on content server only returns results beyond current location]( https://bugs.launchpad.net/calibre/+bug/2009268 )
2023-03-09 15:44:54 +05:30
Kovid Goyal
7e8dc39ff8
Edit metadata: When setting a cover from comic files allow choosing which page to use as the cover. Fixes #2007765 [Set cover from format: Image selection for comic files]( https://bugs.launchpad.net/calibre/+bug/2007765 )
2023-03-09 14:58:37 +05:30
Kovid Goyal
60e8a67dcf
Function to get headers from RAR files
2023-03-09 11:51:15 +05:30
Kovid Goyal
5725b1cd2c
Make find_pages useable with things other than directories
2023-03-09 11:40:06 +05:30
Kovid Goyal
7c81951153
Fix #2008537 [Content Server: is_tag_browser editable]( https://bugs.launchpad.net/calibre/+bug/2008537 )
2023-03-09 09:23:20 +05:30
Kovid Goyal
e5cbf7d340
Fix #2008427 [another ampersand escape bug]( https://bugs.launchpad.net/calibre/+bug/2008427 )
2023-03-09 09:19:07 +05:30
Charles Haley
15de218afd
Fix the tooltip for the new 'put composites with comments' check box.
2023-03-08 19:11:29 +00:00
Charles Haley
dea427ce8c
I forgot the tooltip
2023-03-06 20:00:14 +00:00
Charles Haley
4a3f3a6562
Fix using an integer constant for Qt.CheckState.Checked
2023-03-06 15:43:59 +00:00