50867 Commits

Author SHA1 Message Date
un-pogaz
c56393d242 move tb_quickview.py to quickview.py 2025-01-31 19:40:20 +01:00
Kovid Goyal
d9845f1f45
Bump version for preview release 2025-01-31 20:03:04 +05:30
Kovid Goyal
6f8f15cd01
pep8 2025-01-31 20:00:31 +05:30
Kovid Goyal
dce5f748ed
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-31 19:59:58 +05:30
Charles Haley
566138984b Several things:
* Add ability to change the value in a rule if that value doesn't exist in the library.
* Clean up tooltips.
* Clean up when buttons are enabled & disabled.
2025-01-31 14:19:08 +00:00
Charles Haley
55a168b57e Rename an icon rule when the value is renamed in the tag browser. 2025-01-31 14:11:47 +00:00
Kovid Goyal
7a48a1ad3f
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-31 19:36:12 +05:30
Charles Haley
62d73ba57d My last commit didn't work for hierarchical nodes that don't exist at items in their own right, using "None" as the id. 2025-01-31 09:46:24 +00:00
Kovid Goyal
58d13cc63f
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-31 09:02:43 +05:30
Kovid Goyal
f70641c5fa
string changes 2025-01-31 08:52:39 +05:30
Charles Haley
b831f139d4 icon rules: fix sometimes creating identical names when items contain special characters. Example: currently aaa:/b and aaa:?b generate the same name. Disambiguate them by including the item id. 2025-01-30 21:09:38 +00:00
Kovid Goyal
e98e5c863d
Merge branch 'fix-icon_rules-only-current-library-filter' of https://github.com/un-pogaz/calibre 2025-01-31 01:04:37 +05:30
un-pogaz
1237f103c5 fix parent of hierarchical categories disappear 2025-01-30 18:39:03 +01:00
un-pogaz
35ce75e29c fix a exception when trying to edit a rule recently created
when commiting the change, TypeError: 'tuple' object does not support item assignment

this only occurs if the rule was create during the current session
but not in a new session
2025-01-30 17:35:34 +01:00
j-howell
45d7c87462 Allow import of KFX files from MTP Kindle devices rev 2 2025-01-30 08:01:29 -05:00
Kovid Goyal
27feac817d
Merge branch 'icon_rules-only-category-current-library' of https://github.com/un-pogaz/calibre 2025-01-30 07:57:01 +05:30
un-pogaz
80afeac321 reapply sort after filter library change 2025-01-29 23:52:51 +01:00
un-pogaz
9a20755d70 extend to filter also the values 2025-01-29 23:42:34 +01:00
un-pogaz
01610583cf add option to show only category in current library 2025-01-29 22:55:50 +01:00
un-pogaz
2c68207773 add a note in the ui about the icon value rules 2025-01-29 22:24:15 +01:00
Kovid Goyal
fb58ebdea4
Merge branch 'fix-icon_rules-initialize-fail' of https://github.com/un-pogaz/calibre 2025-01-29 18:13:48 +05:30
un-pogaz
c4d25cdaa7 fix exception in icon rulers for custom columns
if their don't exist in the current library, fail to initialize the contents
2025-01-29 13:25:16 +01:00
Kovid Goyal
ea4aebf878
Cleanup previous PR
There was a leftover str(id).
2025-01-29 17:09:54 +05:30
Kovid Goyal
8dc6a4ea9d
Merge branch 'master' of https://github.com/cbhaley/calibre
Template dialog: Respect the tweak for title/series when editing save to
disk and send to device templates.

Fixes #2096841 [Export template not working as shown in preview](https://bugs.launchpad.net/calibre/+bug/2096841)
2025-01-29 17:08:40 +05:30
Charles Haley
7496a39d6f Enhancement #2096841: in save to disk and send to device, use the customized metadata in the template editor. 2025-01-29 11:27:30 +00:00
Kovid Goyal
062cd1a647
pep8 2025-01-29 06:08:04 +05:30
Kovid Goyal
04ab86e607
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-29 06:07:00 +05:30
Charles Haley
95bfb6c1b2 Add editing of icons, templates, and for_children to the tag browser / icon rule viewer. 2025-01-28 21:25:13 +00:00
Charles Haley
9dd67cd7e8 Make partitioning icons respect the "Show value icons" option instead of the "show category icons" one 2025-01-28 21:24:08 +00:00
Kovid Goyal
0b4a3a8661
.format() to f-string from previous PR 2025-01-28 23:52:11 +05:30
Kovid Goyal
9c5e88c332
Merge branch 'flint-conversion' of https://github.com/un-pogaz/calibre 2025-01-28 23:41:59 +05:30
un-pogaz
c15f118a5d Additional safe conversion of % format 2025-01-28 17:23:21 +01:00
un-pogaz
e5a65f69ec Automated conversion of % format specifiers
Using flint. Change has been filtred
because even on safe mode, flint can be too aggressive.
2025-01-28 17:23:13 +01:00
Kovid Goyal
c8d9e0c24e
Nicer error message when get_properties fails 2025-01-28 19:20:11 +05:30
Kovid Goyal
7d0bba4ca7
Add code to MTP test for putting a file 2025-01-28 11:00:28 +05:30
Kovid Goyal
186cf59ec4
... 2025-01-28 09:54:36 +05:30
Kovid Goyal
31afd1c9aa
... 2025-01-27 11:20:33 +05:30
Kovid Goyal
8fa56620df
Remove unneeded exclusions 2025-01-27 11:15:47 +05:30
Kovid Goyal
25ed9a53f9
Remove unneeded exclusion 2025-01-27 11:13:41 +05:30
Kovid Goyal
024b9cc0fd
Remove unneeded exclusion 2025-01-27 11:12:08 +05:30
Kovid Goyal
82796bccd5
Manually fix long lines created by automated format string conversion 2025-01-27 11:09:48 +05:30
Kovid Goyal
5c7dc9613b
Automated conversion of % format specifiers
Using ruff. Does not change any translatable strings.
There are still several thousand usages of % left that ruff wont
auto-convert. Get to them someday.
2025-01-27 10:58:48 +05:30
Kovid Goyal
39f7f616bc
More uneeded exclusions 2025-01-27 10:29:00 +05:30
Kovid Goyal
ddd580c85c
Remove more exclusions 2025-01-27 10:26:01 +05:30
Kovid Goyal
68f8d4925e
Remove unneeded exclusion 2025-01-27 09:44:16 +05:30
Kovid Goyal
1715558c8f
Bump openssl version
Bump to latest in 3.1 series. There are apparently some silly security
scanners that complain about the DLLs even though there are no actual
bugs in them that impact their usage in calibre. Oh well.

Fixes #2096749 [Private bug](https://bugs.launchpad.net/calibre/+bug/2096749)
2025-01-27 09:39:53 +05:30
Kovid Goyal
e13e07a660
... 2025-01-26 11:13:26 +05:30
Kovid Goyal
fd75807a9b
Output the hresult when getting properties fails 2025-01-26 11:11:27 +05:30
Kovid Goyal
43f9daff11
... 2025-01-26 11:00:14 +05:30
Kovid Goyal
4de8ffb6f7
... 2025-01-26 10:38:00 +05:30