50725 Commits

Author SHA1 Message Date
Kovid Goyal
4d6066163d
Add int() calls in some places where they might be needed in the translation of %d to f-string 2025-02-01 12:48:28 +05:30
Kovid Goyal
18d57d6298
automated translation to f-strings using flynt with --aggressive and patched to not pointlessly call int() 2025-02-01 12:40:34 +05:30
Kovid Goyal
5c95a0ad18
pep8 2025-02-01 09:49:49 +05:30
Kovid Goyal
732f09cd2b
Merge branch 'master' of https://github.com/j-howell/calibre 2025-02-01 09:49:29 +05:30
Kovid Goyal
245a5ae5d3
Merge branch 'fix-displayed-metadata-not-show' of https://github.com/un-pogaz/calibre 2025-02-01 09:38:29 +05:30
Kovid Goyal
24c4ca72ce
Merge branch 'move-quickview-tab' of https://github.com/un-pogaz/calibre 2025-02-01 09:37:47 +05:30
Kovid Goyal
9920446eb8
Update spektrum.de 2025-02-01 09:23:29 +05:30
un-pogaz
f557b8dba0 fix regresion: displayed metadata are not show in book details 2025-02-01 00:37:01 +01:00
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