Kovid Goyal
bf6efc1abf
Easily manage the extra data files associated with a book by right clicking the edit metadata button and choose "Manage data files". Fixes #2023509 [[Enhancement] Simple extra files manager]( https://bugs.launchpad.net/calibre/+bug/2023509 )
2023-08-02 20:35:37 +05:30
Kovid Goyal
c419c58c97
string changes
2023-07-25 08:45:52 +05:30
Charles Haley
1807998cc8
Follow the string change made in commit a1a8c92
2023-07-23 09:10:14 +05:30
un-pogaz
59bd2bc260
optimize images
2023-06-24 21:40:11 +02:00
un-pogaz
dda3c97a66
optimize images
2023-06-23 19:07:26 +02:00
ImgBotApp
d1516d6186
[ImgBot] Optimize images
...
*Total -- 76.60kb -> 60.63kb (20.84%)
/recipes/icons/taz.png -- 3.74kb -> 0.71kb (80.93%)
/recipes/icons/sn_dk.png -- 3.65kb -> 1.28kb (64.93%)
/recipes/icons/prekshaa.png -- 3.55kb -> 1.33kb (62.6%)
/recipes/icons/taipei.png -- 3.94kb -> 1.57kb (60.11%)
/recipes/icons/sfbg.png -- 2.08kb -> 1.43kb (31.24%)
/manual/images/python_template_example.png -- 13.47kb -> 10.50kb (22.02%)
/recipes/icons/piratske_noviny.png -- 1.10kb -> 0.86kb (21.98%)
/recipes/icons/thecodelesscode.png -- 1.06kb -> 0.87kb (17.97%)
/recipes/icons/id_pixel.png -- 0.37kb -> 0.32kb (13.79%)
/recipes/icons/the_insider.png -- 0.41kb -> 0.36kb (12.5%)
/recipes/icons/tjournal.png -- 0.43kb -> 0.38kb (11.9%)
/recipes/icons/nature.png -- 0.81kb -> 0.72kb (11.66%)
/recipes/icons/unian_net.png -- 0.44kb -> 0.39kb (11.61%)
/recipes/icons/pravda_uk.png -- 0.44kb -> 0.39kb (11.61%)
/recipes/icons/pravda_ukraine_ru.png -- 0.44kb -> 0.39kb (11.61%)
/recipes/icons/pravda_ukraine.png -- 0.44kb -> 0.39kb (11.61%)
/recipes/icons/snopes.png -- 2.89kb -> 2.57kb (11.15%)
/recipes/icons/old_games.png -- 0.44kb -> 0.39kb (10.51%)
/recipes/icons/monbiot.png -- 0.73kb -> 0.65kb (10.5%)
/recipes/icons/ukraiyns_tizhdien.png -- 0.56kb -> 0.51kb (8.6%)
/recipes/icons/habr.png -- 0.69kb -> 0.64kb (7.38%)
/recipes/icons/habr_ru.png -- 0.69kb -> 0.64kb (7.38%)
/recipes/icons/kleinezeitung.png -- 2.09kb -> 1.96kb (6.4%)
/imgsrc/srv/fts.svg -- 2.98kb -> 2.79kb (6.35%)
/recipes/icons/n_plus_one.png -- 0.63kb -> 0.60kb (4.98%)
/recipes/icons/the_clinic_online.png -- 0.61kb -> 0.58kb (4.97%)
/recipes/icons/piratska_strana.png -- 0.84kb -> 0.81kb (4.39%)
/imgsrc/folder_saved_search.svg -- 2.26kb -> 2.18kb (3.88%)
/recipes/icons/7x7.png -- 1.43kb -> 1.38kb (3.54%)
/recipes/icons/quanta_magazine.png -- 1.38kb -> 1.34kb (3.12%)
/recipes/icons/unperiodico.png -- 1.22kb -> 1.18kb (3.05%)
/recipes/icons/smith.png -- 0.56kb -> 0.55kb (2.27%)
/recipes/icons/newz_dk.png -- 1.88kb -> 1.84kb (2.23%)
/recipes/icons/thairath.png -- 1.30kb -> 1.28kb (2.03%)
/recipes/icons/novaya_gazeta_europe.png -- 2.62kb -> 2.57kb (1.94%)
/recipes/icons/novaya_gazeta_europe_en.png -- 2.62kb -> 2.57kb (1.94%)
/imgsrc/context_menu.svg -- 1.61kb -> 1.58kb (1.52%)
/imgsrc/external-link.svg -- 0.43kb -> 0.43kb (0.91%)
/recipes/icons/skeptical_enquirer.png -- 2.73kb -> 2.72kb (0.47%)
/imgsrc/srv/fit-to-screen.svg -- 0.29kb -> 0.28kb (0.34%)
/imgsrc/srv/external-link.svg -- 0.42kb -> 0.41kb (0.24%)
/imgsrc/external-link-for-dark-theme.svg -- 0.43kb -> 0.43kb (0.23%)
/recipes/icons/spectator_magazine.png -- 1.46kb -> 1.45kb (0.2%)
/recipes/icons/tagespost.png -- 3.00kb -> 3.00kb (0.16%)
/imgsrc/width.svg -- 1.46kb -> 1.46kb (0.07%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-06-19 20:48:10 +00:00
Kovid Goyal
bb3bb53270
string changes
2023-05-30 19:35:12 +05:30
Charles Haley
942bceaa61
Improvements to template function identifier_in_list()
2023-05-09 18:29:30 +01:00
Kovid Goyal
5ed24807e7
string changes
2023-04-30 15:18:57 +05:30
Kovid Goyal
e17454d4fe
string changes
2023-04-30 12:34:43 +05:30
Charles Haley
6760f58385
Improvements to new formatter functions has_extra_files() and extra_file_names().
...
Provide the option of using a regular expression to filter the files before counting or returning the names.
2023-04-27 15:47:40 +01:00
Charles Haley
d0ba1ada16
Fix for the string changes fix for this file. Both the original and the changed file were incorrect.
2023-04-24 21:05:01 +01:00
Kovid Goyal
8a450c458a
String changes
2023-04-24 23:07:32 +05:30
Charles Haley
cdc4a0a4d3
The formatter functions to support extra book files.
2023-04-24 11:31:40 +01:00
Kovid Goyal
4982620da4
...
2023-04-19 12:12:43 +05:30
Kovid Goyal
dc9da6b2e8
Allow adding arbitrary files to a book record stored as auxiliary data by right clicking the add books button and choosing "Add data files"
2023-04-18 22:31:58 +05:30
Kovid Goyal
b044e70439
string changes
2023-04-14 05:55:16 +05:30
Kovid Goyal
96b58acc8f
A GUI to manage the new trash can
2023-04-13 20:03:55 +05:30
chocolatechipcats
47d446f799
Plugboard section in template_lang
...
Moved the plugboard section up (just below the custom column section) and clarified that all modes can be used for it.
2023-04-07 17:13:40 -03: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
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
8df18d2d21
...
2023-03-14 09:55:26 +05:30
Kovid Goyal
2d244e8996
Mention the sort by tool in the manual
2023-03-14 09:53:33 +05:30
Kovid Goyal
d2158d75b9
string changes
2023-01-31 12:24:18 +05:30
Kovid Goyal
f56708d11b
string changes
2023-01-24 20:59:58 +05:30
Charles Haley
ba79438b31
1) Maintain compatibility with URLS that don't specify a virtual library.
...
2) Documentation.
2023-01-23 20:24:26 +00:00
Kovid Goyal
21994332d6
...
2023-01-18 07:40:39 +05:30
Charles Haley
21e8b06813
New template function: switch_if()
2023-01-06 15:38:29 +00:00
Charles Haley
f33f902a52
Small correction to the GPM language grammar.
2022-12-19 11:01:37 +00:00
Kovid Goyal
c24f59151c
Edit book: File browser: Allow using keyboard shortcuts to re-order the spine
2022-12-17 15:01:10 +05:30
Kovid Goyal
7f9bcd4288
Fix #1997985 [Developer documentation refers to deprecated git:// protocol]( https://bugs.launchpad.net/calibre/+bug/1997985 )
2022-11-25 22:04:52 +05:30
Kovid Goyal
7947010d73
Edit book: Allow using ctrl+shift+t in addition to ctrl+alt+t for selecting the contents of a tag
2022-11-13 22:17:50 +05:30
Charles Haley
096579e13b
Formatter: Quick pass over messages and documentation.
2022-10-17 16:51:51 +01:00
Kovid Goyal
dd8d3bfeef
Cleanup previous PR
2022-10-17 20:11:16 +05:30
Kovid Goyal
8b270da20f
Merge branch 'python_template_introspection' of https://github.com/un-pogaz/calibre
2022-10-17 19:58:34 +05:30
un-pogaz
02b2811892
chaley recommandation
2022-10-17 14:22:19 +02:00
Kovid Goyal
1de95a2897
...
2022-10-16 21:05:55 +05:30
un-pogaz
e7cc30b3a9
add doc
2022-10-16 15:01:39 +02:00
Kovid Goyal
623b1d69f2
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-10-12 16:06:08 +05:30
Kovid Goyal
2d6fe7a8b5
string changes
2022-10-12 15:58:02 +05:30
Charles Haley
9b68f5c89a
Three changes to template processing:
...
1) If the user presses ESC, ask "are you sure" if the template has changed.
2) Fix syntax highlighting of comments
3) Improve the python template example in the template docs, better using the new_api.
2022-10-12 11:24:49 +01:00
Charles Haley
594e152242
Changed python templates to use a context object. Updated the documentation and the tests.
2022-10-11 17:11:40 +01:00
Kovid Goyal
ffea14db35
cleanup previous PR
2022-10-11 20:13:02 +05:30
Charles Haley
42726c5e0f
Python templates, as discussed at length in https://www.mobileread.com/forums/showthread.php?t=349525 .
...
I think this is stable, usable, and very close to finished, but I will probably need to react fo feedback.
2022-10-10 16:54:21 +01:00
Kovid Goyal
616290b17e
Cleanup previous PR
...
Tag browser: When searching the Tag browser allow also filtering the book list to show only books that match one of the categories currently shown in the Tag browser. To use enable the two Preferences: Preferences->Look & feel->Tag browser->Hide empty categories and Find shows all items that match. Then when searching the Tag browser, press Ctrl+Alt+Shift+F to restrict the displayed books.
Fixes #1989813
2022-09-20 07:32:49 +05:30
Charles Haley
16c2d73037
Enhancement #1989813 : Option to quickly select filtered tag browser categories
...
Done using a new Virtual Field, in_tag_browser that is searchable using 'in_tag_browser:true' (or false or ...).
The feature is discoverable through a new menu item in Configure tag browser: Filter book lists. This menu item can be 'clicked' using a shortcut key.
2022-09-18 14:08:58 +01:00
Charles Haley
5cc86cd138
New formatter function to_hex(): returns a calibre-compliant hex representation of a string.
2022-09-15 22:37:09 +01:00
un-pogaz
6e5bf799c2
add strcmpcase()
2022-09-14 09:05:46 +02:00
Kovid Goyal
8304e5911e
...
2022-09-12 12:38:53 +05:30
Kovid Goyal
2554ab467b
Cater to winblows
2022-09-08 10:38:26 +05:30