51925 Commits

Author SHA1 Message Date
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
Kovid Goyal
2dd12298fa
Bump some dependency versions that have security advisories 2025-09-16 22:35:24 +05:30
Kovid Goyal
c036356789
Move python dependencies into pyproject.toml
Integrates better with external tooling
2025-09-16 20:36:44 +05:30
Kovid Goyal
4b07fe00c9
Have the default AI provider for text to text be Google 2025-09-16 08:20:41 +05:30
Kovid Goyal
26a88ba47f
Try running CodeQL on windows to increase C coverage 2025-09-16 08:04:21 +05:30
Kovid Goyal
b4618df18b
Run CodeQL analysis for different languages in parallel 2025-09-16 07:13:28 +05:30
Kovid Goyal
e57ae9979b
Merge branch 'dependabot/github_actions/actions-a331d3ec2d' of https://github.com/kovidgoyal/calibre 2025-09-15 22:53:34 +05:30
dependabot[bot]
77884e27ed
Bump actions/checkout from 3 to 5 in the actions group
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 3 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 17:16:39 +00:00
Kovid Goyal
edf73c2118
Make CodeQL happy 2025-09-15 19:16:21 +05:30
Kovid Goyal
e8868c8e83
certgen: Use AES 256 as the CBC when serializing RSA keys
That is the current standard recommendation
2025-09-15 19:03:43 +05:30
Kovid Goyal
57dc9a0bcb
Make CodeQL happy 2025-09-15 18:54:19 +05:30
Kovid Goyal
1acde49ce5
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-09-15 18:41:11 +05:30
Charles Haley
dd880c8dea Update the template language documentation to include the new 'with' statement 2025-09-15 13:20:35 +01:00
Kovid Goyal
9622ce41a8
Turn on scanning of C code in CodeQL
Because I want to spend the next half a day of my life swatting false
positives.
2025-09-15 17:21:03 +05:30
Kovid Goyal
d1ec4a2b91
PDB Input: Ignore malformed ExceptioNCharSets headers in plucker files. Fixes #2123829 [PDB to EPUB conversion Python error](https://bugs.launchpad.net/calibre/+bug/2123829)
The data from the header was unused anyway
2025-09-15 17:10:59 +05:30