1231 Commits

Author SHA1 Message Date
Kovid Goyal
c1b3340d37
Bump version for beta release
string changes
2025-01-17 08:19:36 +05:30
Kovid Goyal
06186cd93d
string changes 2025-01-16 20:53:46 +05:30
Charles Haley
f65b874d1a Stuff for value icons:
- Documentation
- bug fixes in icon template evaluation
- Better enabling/disabling of menu lines in the tag browser context menu
2025-01-16 15:09:17 +00:00
Kovid Goyal
e2fff1fa3c
Fix #2092794 [Calibre Manual links to HTML Tutorial and CSS Tutorial don't work](https://bugs.launchpad.net/calibre/+bug/2092794) 2025-01-01 15:36:55 +05:30
un-pogaz
8c9d880f41 pep8
improvement of Ruff settings
2024-12-15 13:17:49 +01:00
Kovid Goyal
d2839c7aaa
... 2024-12-10 05:33:45 +05:30
chocolatechipcats
db004d842b
Update faq.rst
Added note about third-party updaters sneaking Calibre updates behind the user's back.
2024-12-04 21:17:16 +05:30
Kovid Goyal
e6bf1a6d86
... 2024-11-29 09:08:15 +05:30
Kovid Goyal
262cc42c5a
Ignore errors in translations of template lang docs 2024-11-29 09:06:09 +05:30
Kovid Goyal
b0df90d00c
Update Read Aloud manual entry 2024-11-24 14:14:20 +05:30
un-pogaz
4943ba7c8b Dont include :ffsum: in .po file 2024-11-21 09:20:40 +01:00
Kovid Goyal
4e097f7e4b
Implement ffsum 2024-11-21 08:08:32 +05:30
Kovid Goyal
681c50ed08
Merge branch 'master' of https://github.com/cbhaley/calibre 2024-11-21 07:48:49 +05:30
Kovid Goyal
93b47505e7
string changes 2024-11-21 07:45:26 +05:30
Charles Haley
258f1ca250 Now use :ffsum: 2024-11-20 13:37:51 +00:00
Charles Haley
87d63a6d44 Various improvements 2024-11-20 13:36:16 +00:00
Kovid Goyal
c68620f7b0
string changes 2024-11-20 08:12:55 +05:30
Kovid Goyal
a87442b78c
Fix some refs 2024-11-19 08:29:00 +05:30
Charles Haley
bef0bf712a Changes to the template documentation.
I took out the inline documentation, changing it to reference the generated documentation. I also added a lot of :ref:.

I'm unable to verify that the changes work or that I didn't break something.
2024-11-18 17:55:45 +00:00
Kovid Goyal
98a36a42f9
Update consent manager tag for manual 2024-11-18 21:18:53 +05:30
Kovid Goyal
6a6704303a
Add sunshine to the FAQ for calibre not starting on windows 2024-11-18 08:32:01 +05:30
Charles Haley
45516e9803 Changes to/involving template_lang.rst
1. Alphabetize the function list in Single Function Mode
2. Add some text explaining why the documentation have 'value' as the first parameter but the calls don't.
3. Change the first parameter of some functions to 'value' and add them to the list of SFM functions.
2024-11-15 10:43:41 +00:00
Kovid Goyal
a70e028fb6
Use ffdoc in template_lang.rst
Also dont include :ffdoc: in .po file
2024-11-15 12:01:12 +05:30
Kovid Goyal
7a3571cf56
Use the new indent parameter instead of indenting manually 2024-11-12 09:57:55 +05:30
Kovid Goyal
ec445d6c32
Implement indentation for :ffdoc: 2024-11-11 11:12:50 +05:30
Kovid Goyal
c55e66a40a
Check how :ffdoc: works for more complex functions
We need to add a parameter to set output indentation otherwise
sub lists and code blocks break the outer list.
2024-11-11 10:48:24 +05:30
Kovid Goyal
6458b10f4b
Add a new RST role :ffdoc: to insert the generated RST markup for a formatter function
Needs testing to ensure that it works when called in contexts likea
bulleted list, not sure how well the generated markup works when place
after a bullet.
2024-11-11 10:29:39 +05:30
Kovid Goyal
617b7f146d
... 2024-11-11 09:44:49 +05:30
Kovid Goyal
96b521a1ff
Port the generation of template language function reference to new code
Note that in other documentation, the function reference can be linked
to using

:ref:`ff_function_name`  for example, :ref:`ff_add`
2024-11-11 09:38:14 +05:30
Kovid Goyal
723eabfc53
string changes 2024-11-10 08:34:37 +05:30
Charles Haley
7998e6993d Enhancement #2086801: Add note about non-English dates to format_date() documentation. 2024-11-06 20:15:55 +00:00
Kovid Goyal
b7f31ef58b
... 2024-11-04 09:03:15 +05:30
Kovid Goyal
21f4efb892
Add a FAQ entry about the ColorSoft
The trajectory of these "tech" companies is so damn predictable.
2024-11-03 22:38:43 +05:30
Kovid Goyal
c74dd657d4
string changes 2024-10-29 05:29:54 +05:30
Charles Haley
3f53434867 Improvements to the has_notes() template function:
- Return the list of item values with notes if the empty string is passed as the value
- Add documentation to the template language page.
2024-10-28 13:15:32 +00:00
Charles Haley
8b756df123 Ooops -- forgot to change field_inlist to inlist_field in the template tester's highlighter and in a few places in the documentation. 2024-10-23 16:39:03 +01:00
Charles Haley
1e766f8843 Changes to use a suffix instead of a prefix for 'field' functions and operators. 2024-10-22 13:56:34 +01:00
Charles Haley
0e3f821cbb We're starting to get several functions and operators that directly operate on fields. I decided to use a naming convention where they begin with "field_". This commit changes the existing function format_date_field() to field_format_date(), adding an alias for the original name for compatibility. 2024-10-21 23:24:55 +01:00
Charles Haley
b938f2500f New template operator 'field_inlist'. It operates directly on data in a multi-valued field instead of converting the field to a string then splitting it. 2024-10-21 16:47:43 +01:00
Kovid Goyal
c99c8714b4
Clarify wording 2024-10-21 09:19:50 +05:30
Kovid Goyal
1440a49cda
string changes 2024-10-20 13:57:35 +05:30
Charles Haley
4f46ae4707 New formatter function 'field_list_count('lookup_name')': returns the length of the multi-valued field 'lookup_name' without first converting it to a string. This is much faster than the existing function list_count() 2024-10-18 18:17:15 +01:00
Kovid Goyal
864a759ff6
PDF Output: Add _WIDTH_PIXELS_ and _HEIGHT_PIXELS_ variables to know the width and height of the header/footer area in templates 2024-10-11 14:39:22 +05:30
Kovid Goyal
97d476811a
Windows: Use calibre's bundled SSL certificates instead of the system store by default
I am tired of all the bug reports about SSL cerificate verify failures
on windows caused by the windows certificate store not having needed
intermediate certificates. So use the bundled certificates instead which
are the set of certificates trusted by Firefox and curl.

Can be turned off via CALIBRE_USE_SYSTEM_CERTIFICATES=1 env var
2024-10-08 15:06:35 +05:30
Kovid Goyal
591ae6413f
... 2024-09-30 10:17:16 +05:30
Charles Haley
903f08d50b Add is_dark_mode() template function 2024-09-24 19:27:57 +01:00
Charles Haley
8e3c936833 1) Fix plain_text not working in template get_note() function
2) Add documentation for get_note()
2024-09-12 11:24:55 +01:00
Kovid Goyal
abe8c8b2a8
... 2024-09-09 10:02:42 +05:30
Kovid Goyal
729ade5066
Add a FAQ entry about another installer failure mode 2024-09-09 09:43:45 +05:30
Kovid Goyal
96a89fe13a
string changes 2024-09-02 19:18:15 +05:30