48140 Commits

Author SHA1 Message Date
Kovid Goyal
bf723cd34d
Start on GUI for editing notes 2023-11-13 19:21:29 +05:30
Kovid Goyal
d7c88aaf01
Increase wait time for restore test 2023-11-13 19:21:28 +05:30
Kovid Goyal
fe4292c3cc
Implement database rebuild for notes data 2023-11-13 19:21:28 +05:30
Kovid Goyal
6017bafe48
Use hashes as primary key for resources
This will allow rebuild of database as the backup documents will refer
to resource hashes not ids (its very difficult to restore resources with
ids unchanged). Also this allows docs to be migrated between databases
easily.
2023-11-13 19:21:28 +05:30
Kovid Goyal
713f1af61e
Implement vacuuming for notes db 2023-11-13 19:21:28 +05:30
Kovid Goyal
bdcd3b6203
Handle reopen in the notes backend
Also dont use colons in filenames as they cause problems on windows
2023-11-13 19:21:28 +05:30
Kovid Goyal
08116c8c88
See if explicitly closing importers fixes CI failure on windows 2023-11-13 19:21:28 +05:30
Kovid Goyal
611356ddb0
Bloody windows and its insane file semantics 2023-11-13 19:21:28 +05:30
Kovid Goyal
5d67c74add
Implement ex/im for notes 2023-11-13 19:21:28 +05:30
Kovid Goyal
cfadc5fc4d
... 2023-11-13 19:21:28 +05:30
Kovid Goyal
bff37a8054
Delete notes when deleting a custom column
Also change the data dir name
2023-11-13 19:21:28 +05:30
Kovid Goyal
4d7f5b18d1
Implement FTS API for notes 2023-11-13 19:21:28 +05:30
Kovid Goyal
a0b9a799d9
custom ratings tables should not support notes 2023-11-13 19:21:28 +05:30
Kovid Goyal
53bfdd6ecf
Implement unretiring of notes when setting values 2023-11-13 19:21:28 +05:30
Kovid Goyal
1ae94801e6
Implement retiring of notes when setting a field on a book causes an item to be deleted 2023-11-13 19:21:28 +05:30
Kovid Goyal
45f7599eee
... 2023-11-13 19:21:28 +05:30
Kovid Goyal
0bd1137fa1
Implement retiring of notes 2023-11-13 19:21:28 +05:30
Kovid Goyal
35b7bd3fe8
Store a name for every resource 2023-11-13 19:21:27 +05:30
Kovid Goyal
0b18f30392
Add more tests for the notes API 2023-11-13 19:21:27 +05:30
Kovid Goyal
3aee660656
More work on notes 2023-11-13 19:21:27 +05:30
Kovid Goyal
7eefd96970
Start work on per category item notes 2023-11-13 19:21:27 +05:30
Kovid Goyal
049253f8d7
Catalogs: Do not erase any tags the user adds to a catalog book entry when the catalog is re-generated. Fixes #1262875 [Enhancement request: Ability to customize epub catalogue tag](https://bugs.launchpad.net/calibre/+bug/1262875) 2023-11-13 16:38:12 +05:30
Kovid Goyal
416237a2a5
Edit book: Fix changing the color scheme not changing background color in Qt 6.5 2023-11-13 13:38:07 +05:30
Kovid Goyal
9741a12e02
Edit book: Fix highlighting for special characters not visible when the cursor is on the line with the special character 2023-11-13 13:22:44 +05:30
Kovid Goyal
3badcba7b1
Fix xgettext barfing on non-ascii in text 2023-11-13 08:11:45 +05:30
Kovid Goyal
88f630cc54
Merge branch 'fix-print' of https://github.com/lyzlisa/calibre 2023-11-13 07:36:45 +05:30
Lisa Y. Zhu
39171a6ac6
Change print statements to print functions 2023-11-12 18:19:16 -05:00
Kovid Goyal
717e080584
add special chars to sample text 2023-11-12 08:28:53 +05:30
Kovid Goyal
5457ae4b9f
Merge branch 'error_line_numbers' of https://github.com/salty-horse/calibre 2023-11-11 15:20:57 +05:30
Ori Avtalion
934821a6ab Fix #2043200 [Include line numbers when copying ebook editor error messages to clipboard](https://bugs.launchpad.net/calibre/+bug/2043200) 2023-11-11 11:24:13 +02:00
Kovid Goyal
ec6918a790
Fix #2043248 [Embed metadata spawns infinite error popups](https://bugs.launchpad.net/calibre/+bug/2043248) 2023-11-11 12:22:11 +05:30
Kovid Goyal
d266fe5447
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-11 11:48:50 +05:30
unkn0w7n
b3486b0c07 Nat Geo update
fix cover
2023-11-11 10:23:29 +05:30
Kovid Goyal
dc7667d02d
Fix #2043221 [Wrong instructions in docs on how to debug ebook editor?](https://bugs.launchpad.net/calibre/+bug/2043221) 2023-11-10 22:45:45 +05:30
Kovid Goyal
1909fbcbb6
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-10 12:43:12 +05:30
unkn0w7n
c70b6992fa Update hamilton_spectator.recipe 2023-11-10 12:36:48 +05:30
Kovid Goyal
3eb7f21fde
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-08 11:56:41 +05:30
unkn0w7n
8f1573b628 TOI Print update 2023-11-08 10:37:49 +05:30
Kovid Goyal
cb1f70e816
Better error message for malformed wrap rules in Transform HTML 2023-11-08 08:32:58 +05:30
Kovid Goyal
292e4c9da8
A couple more places with dt -> qdt conversion needed 2023-11-07 19:52:50 +05:30
Kovid Goyal
f3b37944c4
Fix editing dates with days sometimes off by one day. Fixes #2042815 [problems with dates](https://bugs.launchpad.net/calibre/+bug/2042815)
The problem seems to be some change in PyQt that causes auto-conversion
of python datetime objects to QDateTime to lose timezone information.
So we convert manually preserving that information.
2023-11-07 19:34:02 +05:30
Kovid Goyal
378e21b907
E-book viewer: Read aloud: Fix clicking on empty spaces causing read aloud to restart from beginning of chapter. Fixes #2042791 [ebook-viewer read aloud click no text area return to first page](https://bugs.launchpad.net/calibre/+bug/2042791) 2023-11-06 16:50:20 +05:30
Kovid Goyal
64289d3260
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-06 13:58:57 +05:30
unkn0w7n
584f05e11c FT cover 2023-11-06 13:18:52 +05:30
unkn0w7n
97959c7eef wsj - get cover 2023-11-06 13:16:35 +05:30
Kovid Goyal
ca1a05ce43
pep8 2023-11-06 07:51:40 +05:30
Kovid Goyal
ff63cbb75e
Cleanup previous PR
We cant use walrus operator in recipes as they can potentially run on
very old versions of python.
2023-11-05 08:21:23 +05:30
Kovid Goyal
5ee4bc6d9a
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-05 08:20:47 +05:30
Kovid Goyal
b1aad38a4b
Linux installer: Fix downloading of signatures for older versions
Fixes #2042748 [Unable to install previous version in isolated mode](https://bugs.launchpad.net/calibre/+bug/2042748)
2023-11-05 08:18:56 +05:30
unkn0w7n
b89cd3566e MIT Tech Review update 2023-11-04 22:18:22 +05:30