Commit Graph

51939 Commits

Author SHA1 Message Date
Kovid Goyal e1c702e26b Fix error when trying to add the first icon rule to the Tag browser. Fixes #2125438 [cannot set value icon rules](https://bugs.launchpad.net/calibre/+bug/2125438) 2025-09-23 07:02:43 +05:30
Kovid Goyal 98b6a0e175 Bump versions of some deps with CVEs 2025-09-23 00:42:04 +05:30
Kovid Goyal 8e6616e5d4 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-09-22 21:20:47 +05:30
Charles Haley a4096e6a64 Fix problem with f_string() calling local functions. Remove print statement. 2025-09-22 16:45:22 +01:00
Kovid Goyal 5067e48eac Also retry downloads used during bootstrap 2025-09-22 12:42:05 +05:30
Kovid Goyal d3571561cc Retry tx download in CI script 2025-09-22 12:24:14 +05:30
Kovid Goyal 9d363b30a8 Only check if name is present in container once
Apparently on some windows systems the check fails when run in a thread
for mysterious reasons. I cant replicate the failure, but no real harm
in this, maybe a very tiny performance decrease at worst.
2025-09-22 10:24:42 +05:30
Kovid Goyal 051c25f1fa Add a retry when stripping files on Linux 2025-09-21 14:07:20 +05:30
Kovid Goyal 461ec48174 Avoid extra interpreter startup in hook 2025-09-21 12:31:49 +05:30
Kovid Goyal 8d8580973d ... 2025-09-21 11:03:08 +05:30
Kovid Goyal 1e8ffb3025 Fix #2125279 [Lack of KEPUB icon](https://bugs.launchpad.net/calibre/+bug/2125279) 2025-09-21 09:23:38 +05:30
Kovid Goyal 6da6d6192e Bump version of lxml
Needed to rebuild it anyway because of the libxml2 version bump
2025-09-21 08:54:29 +05:30
Kovid Goyal 95f9cd9584 Add test for poppler build and include lcms2 dll 2025-09-21 08:22:58 +05:30
Kovid Goyal f138d60a40 Bump some dependencies that have CVEs
poppler now requires lcms2
2025-09-21 07:09:57 +05:30
Kovid Goyal 89652f81f0 Fix pre-commit hook filter 2025-09-21 06:13:02 +05:30
Kovid Goyal cf725bee8c handle missing follow_symlinks on windows 2025-09-21 06:06:17 +05:30
Kovid Goyal 74662373cb Cleanup previous PR
Run the hooks using calibre-debug directly no need to go through sh
2025-09-20 16:51:15 +05:30
Kovid Goyal d2009d036c Merge branch 'git-hooks' of https://github.com/un-pogaz/calibre 2025-09-20 16:09:19 +05:30
Kovid Goyal 9fcfd14c6b Bump version of node as it has some CVEs
Doesnt matter for us since its a build time dep but keeps the scanner
output clean.
2025-09-20 16:05:03 +05:30
un-pogaz 2458e20dba add pre-commit git hook 2025-09-20 11:11:41 +02:00
un-pogaz a589785ad2 support passing a file as argument for check
and quiet ruff
2025-09-20 11:11:41 +02:00
un-pogaz 5fed12a0ca windows want its executable as first parameter 2025-09-20 11:11:41 +02:00
un-pogaz e7e1f86183 setup.py git_hooks
Install/uninstall git hooks
2025-09-20 11:11:41 +02:00
Kovid Goyal 4fe9fe2974 Viewer Ask AI: Option to have the AI respond in the current user interface language instead of English 2025-09-20 06:05:01 +05:30
Kovid Goyal e3f2e374dd Turn of CodeQL TRAP caching
It was using up all github action cache of 10GB
2025-09-19 22:54:33 +05:30
Kovid Goyal 1f6afb8e63 Bump preview version 2025-09-19 22:44:19 +05:30
Kovid Goyal c8ef39009f Fix bugs with custom Ask AI actions 2025-09-19 22:43:43 +05:30
Kovid Goyal 748e9e270c Fix incorrect default value for llm_quick_actions
Guess I forgot to remove that from the original PR
2025-09-19 17:01:24 +05:30
Kovid Goyal 243cf03deb Bump version for beta release 2025-09-19 09:22:31 +05:30
Kovid Goyal 460bef6487 string changes 2025-09-19 08:10:37 +05:30
Kovid Goyal dcc60d7df4 ... 2025-09-18 22:54:23 +05:30
Kovid Goyal 4e9c60a536 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-09-18 22:11:22 +05:30
Charles Haley 4887d6990b Add the function "f_string()", similar to python's 'f strings', to the template language. 2025-09-18 17:38:15 +01:00
Kovid Goyal 6e20528004 Merge branch 'refactor-iterations' of https://github.com/un-pogaz/calibre 2025-09-18 21:36:50 +05:30
un-pogaz 015d0c1e3f refactor iterations 2025-09-18 17:56:54 +02:00
Kovid Goyal 0976c55c24 Go back to using old expiring certificate
It's good till Oct 2nd so at least the next calibre release
is doable.
2025-09-18 20:04:12 +05:30
Kovid Goyal 4d5671496d Turn off signing of exe and dll files on windows
Now only the installers are signed. This is needed because
DigiCert now only allows a thousand files to be a signed a year.
And charges $800 per year for the privilege. There is an alternative of
using a HSM (hardware security module) but that doesnt work with
my remote VM based signing workflow.

There are over 200 exes and dlls in a single calibre install.
Until a better provider is found, dont sign them.
2025-09-18 18:47:26 +05:30
Kovid Goyal f423804d3d Merge branch 'fix-pyproject.toml' of https://github.com/un-pogaz/calibre 2025-09-18 17:21:43 +05:30
un-pogaz e4fda73348 ... 2025-09-18 12:37:47 +02:00
un-pogaz 7ac8017524 fix pyproject.toml 2025-09-18 12:37:38 +02:00
Kovid Goyal b32e33777a Rename git hook script
Its a commit message hook not a pre commit hook
2025-09-18 14:52:25 +05:30
Kovid Goyal b03dbbe128 Migrate to using new Digicert keylocker cert for authenticode signing
The old one is about to expire. The new keylocker based service is
highway robbery some 800 dollars a year. Migrate to Azure Trust based
signing once that leaves beta for $120 a year instead, assuming it was
not designed by incompetent buffoons, which is always a possibility.
2025-09-18 14:40:17 +05:30
Kovid Goyal 20dcc7331a License info has now been centralised in bypy 2025-09-18 11:15:08 +05:30
Kovid Goyal fc61a33d10 ... 2025-09-18 11:02:43 +05:30
Kovid Goyal 9712309783 Use sqlite version in dotted notation 2025-09-17 23:02:13 +05:30
Kovid Goyal 93f2261eda Fix incorrect dep migration 2025-09-17 10:46:00 +05:30
Kovid Goyal 622c6eb09b Increase timeout for all other backends to 120 secs 2025-09-17 08:02:22 +05:30
Kovid Goyal f87e6f574d Ollama backend: Add configurable timeout 2025-09-17 07:58:31 +05:30
Kovid Goyal 5459b51ee3 Run CodeQL on GitHub actions as well 2025-09-17 07:50:54 +05:30
Kovid Goyal d309f1ae4a ... 2025-09-16 22:44:21 +05:30