Commit Graph

47899 Commits

Author SHA1 Message Date
Kovid Goyal 705c174271 Better handling of image alignment change on right click 2023-11-13 19:21:29 +05:30
Kovid Goyal 9240af7d40 allow changing image alignment for floating images as well 2023-11-13 19:21:29 +05:30
Kovid Goyal 0be966db4a Draw a border for the image preview widget even when empty 2023-11-13 19:21:29 +05:30
Kovid Goyal e26df3b529 Allow right click to adjust image alignment 2023-11-13 19:21:29 +05:30
Kovid Goyal 6a3d7388d7 Get basic image insertion working 2023-11-13 19:21:29 +05:30
Kovid Goyal 54c43bc7ef When doing FTS on notes also match on item values 2023-11-13 19:21:29 +05:30
Kovid Goyal 00936dbafb Future proof backing up of resource metadata
Store the metadata as json instead of plain text so we can add more
fields if needed in the future.
2023-11-13 19:21:29 +05:30
Kovid Goyal d120efdced Implement link insertion 2023-11-13 19:21:29 +05:30
Kovid Goyal a52f03fa5c More work on note editing UI 2023-11-13 19:21:29 +05:30
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