Commit Graph

50775 Commits

Author SHA1 Message Date
unkn0w7n c0d9a2da4e ... 2025-02-13 09:14:31 +05:30
unkn0w7n fcd921e0b5 ... 2025-02-13 09:13:18 +05:30
unkn0w7n 8cf9531f73 Update science_advances.recipe 2025-02-13 09:10:45 +05:30
unkn0w7n c9a05cefd6 Update science_journal.recipe 2025-02-13 09:08:30 +05:30
Kovid Goyal 662d5ba809 string changes 2025-02-13 07:47:23 +05:30
Kovid Goyal e485c2a50d Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #2098133 [Setting custom icon for category doesn't work](https://bugs.launchpad.net/calibre/+bug/2098133)
2025-02-13 07:44:59 +05:30
Charles Haley f92971b513 Bug #2098133: Setting custom icon for category doesn't work 2025-02-12 21:47:57 +00:00
Charles Haley 2787b65310 Add a note to the L&F / Book Details custom author url tooltip that the author is already URL-encoded. 2025-02-12 20:40:40 +00:00
Kovid Goyal 711edc6c7c string changes 2025-02-12 22:00:25 +05:30
Kovid Goyal 08cb4f7eae Merge branch 'master' of https://github.com/cbhaley/calibre 2025-02-12 22:00:02 +05:30
Charles Haley 5cbb284ada Document how templates can be used with the calibre:: URL scheme. 2025-02-12 13:56:27 +00:00
Charles Haley 1b70314705 Improvements to the documentation, and allow the "authority" in make_url_extended() to be empty. 2025-02-12 13:55:54 +00:00
Charles Haley 749b421066 Add to the item context menu in book details the ability to copy custom URL links 2025-02-12 13:54:50 +00:00
Kovid Goyal b906db229c Merge branch 'lazy-grid-rule-editor' of https://github.com/un-pogaz/calibre 2025-02-12 16:24:05 +05:30
un-pogaz 56ae7183a3 move "Grid rule editor" to its own widget 2025-02-12 08:45:36 +01:00
Kovid Goyal 746bb829e8 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-12 09:57:30 +05:30
unkn0w7n 81544b2b20 Update barrons.recipe
add bolds
2025-02-12 09:54:48 +05:30
Kovid Goyal de0b3b99b5 Fix #2097947 [series mapping rules dont save](https://bugs.launchpad.net/calibre/+bug/2097947) 2025-02-12 09:38:35 +05:30
Kovid Goyal cfad6bcf39 pep8 2025-02-12 08:02:31 +05:30
Kovid Goyal 6ddac37855 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-02-12 08:02:16 +05:30
Charles Haley 33af676b11 The template functions for the new custom column search template feature. There are 4 new functions:
* make_url(path, [query_name, query_value]+). This is the easiest to use.
* make_url_extended(...). This gives the user more control over constructing the URL, including user-built query strings.
* query_string([query_name, query_value, how_to_encode]+). Constructs a query string, giving more control over how the values are encoded.
* encode_for_url(value, use_plus). URL-encodes a single value.

As you said earlier, most people will use make_url(). However, I have seen cases where query values must be inserted into the path, and make_url_extended() helps with that. I have also seen cases where query args must not be encoded. And so on. These 4 functions plus other text functions like re() let the user do whatever is necessary.

Note that 'item_value' is no longer encoded. There are two more values available: 'item_value_quoted' and 'item_value_no_plus'. I'm not convinced these are particularly useful but it doesn't hurt anything to have them.
2025-02-11 19:21:19 +00:00
Kovid Goyal 3be9172c51 Add shortcuts for edit metadata and show book details to the standalone cover browser window 2025-02-11 17:33:30 +05:30
Kovid Goyal d407cdb045 Fix main interface tab not expanding to use available width 2025-02-11 16:03:19 +05:30
Kovid Goyal f68bc23853 Fix infinite loop when tabbing past last cell 2025-02-10 10:20:25 +05:30
Kovid Goyal 0ff4424a64 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-10 10:10:14 +05:30
unkn0w7n d9c02b3238 Update barrons.recipe
fix for multiple hyperlinks
2025-02-10 10:08:51 +05:30
Kovid Goyal 249052d6e7 Move delegate dependent code to base class 2025-02-10 10:00:56 +05:30
Kovid Goyal 8f44ab81df ... 2025-02-10 09:47:41 +05:30
Kovid Goyal a7a00de9c7 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-10 09:42:58 +05:30
Kovid Goyal c02b3182ee Simplify db retrieval when creating editor 2025-02-10 09:41:19 +05:30
unkn0w7n ff8e342269 Update barrons.recipe 2025-02-10 09:37:39 +05:30
Kovid Goyal 5da6c49d8f Multiple inheritance makes me nervous 2025-02-10 09:34:57 +05:30
Kovid Goyal 773a5206b3 Fix the root cause of all the book list edit cell problems
The root cause was that Qt doesnt support sharing a delegate between
multiple views. So give the main view and pin view their own delegate
instances. Hopefully I didnt break anything else.
2025-02-10 09:27:26 +05:30
Kovid Goyal 3a64034055 Tabbing should move to next/previous row automatically when editing 2025-02-10 08:10:22 +05:30
Kovid Goyal f6167d7f0e Better fix for the Qt book list phantom edits issue
The phantom edits are happening because of the mirroring with the pin
view. Apparently in some update Qt has started triggering edits on
currentChanged events. Sigh.

For the moment we disable editing of cells in the mirrored view when it
is hidden this worksaround the problem for most people, need a better
fix for when the view is being used.
2025-02-10 07:52:16 +05:30
Kovid Goyal b56849623f ... 2025-02-09 19:37:52 +05:30
Kovid Goyal ec259a4b78 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-09 19:35:21 +05:30
unkn0w7n 6e85714db8 Update barrons.recipe 2025-02-09 19:26:53 +05:30
Kovid Goyal dfb0308e5a Book list: Fix a regression that caused editing cells in a split book list not working in the second split. Fixes #2097677 [Calibre v7.25 List View no longer allow direct edit of fields in Split Window](https://bugs.launchpad.net/calibre/+bug/2097677)
Note that tabbing in the split list also isnt working, will look at that
next.
2025-02-09 18:37:03 +05:30
Kovid Goyal 4b6d6560f2 Fix DeprecationWarning 2025-02-09 10:04:49 +05:30
Kovid Goyal c4cca578e4 Merge branch 'fix-variable-cc_url' of https://github.com/un-pogaz/calibre 2025-02-09 09:29:47 +05:30
un-pogaz 5ff898af7b DRY
also fix regresion of displaying search terms
2025-02-08 10:41:22 +01:00
un-pogaz b84daddb74 never reached code 2025-02-08 10:35:14 +01:00
un-pogaz b5094f2f5d fix UnboundLocalError
cannot access local variable 'x' where it is not associated with a value
2025-02-08 10:33:00 +01:00
Kovid Goyal 2575737679 Kobo driver: Fix a regression that broke working with very old Kobo devices. Fixes #2092732 [Tolino device detection bug with my Kobo](https://bugs.launchpad.net/calibre/+bug/2092732) 2025-02-08 13:13:04 +05:30
Kovid Goyal 496a9630f1 Add a no-plus quoted value variant 2025-02-08 13:06:14 +05:30
Kovid Goyal a632436c60 URL quote item_value in CC web search templates 2025-02-08 12:56:54 +05:30
Kovid Goyal 65f89bda7a Content server: Get custom column web search templates as well 2025-02-08 12:52:23 +05:30
Kovid Goyal 0efd8c7b6d Content server: When clicking on author names in the book details page perform the same action as clicking it in the calibre program's book details panel 2025-02-08 12:32:52 +05:30
Kovid Goyal ae15a85e73 Refactor book details web search link generating code to make it re-useable in server 2025-02-08 10:37:19 +05:30