Commit Graph

50866 Commits

Author SHA1 Message Date
Kovid Goyal fce03aaa38 Add support for viewing and converting KEPUB files 2025-02-24 09:50:07 +05:30
Kovid Goyal 91731ab5b8 unkepubify: Remove kobo-style comments 2025-02-23 20:10:19 +05:30
Kovid Goyal 9199cb6905 Kobo driver: Automatically unkepubify books when exporting from the device
Also, allow adding the virtual books since nowadays some of them are DRM
free. DRMed books will still give an error when attempting to add them
to the library.
2025-02-23 20:01:43 +05:30
Kovid Goyal 249c2d11a1 Edit book: Download external resources: Fix incorrect filename if the server returns a generic Content-Type header
Fix #2099754 [Private bug](https://bugs.launchpad.net/calibre/+bug/2099754)
2025-02-23 18:34:28 +05:30
Kovid Goyal 85e930555c Another kobo <style> tag type to remove 2025-02-23 15:12:09 +05:30
Kovid Goyal 7fb8fad292 Add kobo js to dummy title page 2025-02-23 14:12:46 +05:30
Kovid Goyal 644f6701c6 Only wrap leading whitespace if parent has no children 2025-02-23 13:43:15 +05:30
Kovid Goyal 4ff64c0b21 wrap pure whitespace 2025-02-23 13:21:36 +05:30
Kovid Goyal ee44d2ccd4 Allow running kepubify/unkepubify via calibre-debug 2025-02-23 13:05:24 +05:30
Kovid Goyal c9a4bb9525 Fix kepub renaming in device driver 2025-02-23 12:47:53 +05:30
Kovid Goyal 92c2691680 ... 2025-02-23 12:37:23 +05:30
Kovid Goyal 5bd7c8a9a7 Kobo driver: Add hyphenation config support 2025-02-23 12:21:17 +05:30
Kovid Goyal d17c59f695 kepubify: Add the useless JS script that Kobo includes in KEPUB it generates
This script is obviously better injected by firmware and I assume
modern firmware does that but Kobo's KEPUBification process has not been
updated to leave it out. So mirror it on the off chance that they
actually think this is the right way to do this.
2025-02-23 11:00:16 +05:30
Kovid Goyal 46480ad83b Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-23 09:47:41 +05:30
unkn0w7n 3357c23ef6 Update frontline.recipe 2025-02-23 09:44:30 +05:30
Kovid Goyal 2f44a2bf80 string changes 2025-02-23 08:52:36 +05:30
Kovid Goyal 1adcbd02a7 Smart device driver: Avoid exception when using OPT_COLLECTIONS
Needs proper root cause analysis and fix but at least dont fail in the
meantime.
2025-02-23 08:15:57 +05:30
Kovid Goyal 18bd4f4703 Forgot to pass in extra_css 2025-02-22 16:25:05 +05:30
Kovid Goyal 24e52319d6 Fix kepubified files not being renamed to .kepub 2025-02-22 16:15:07 +05:30
Kovid Goyal afc88ad4f8 ... 2025-02-22 15:53:49 +05:30
Kovid Goyal d5845852f6 ... 2025-02-22 15:53:15 +05:30
Kovid Goyal c40f271c4b Kobo driver: Automatically convert EPUB to KEPUB when sending to device. Can be turned off via an option in the device configuration 2025-02-22 15:45:19 +05:30
Kovid Goyal c2d52efbcd Implement unkepublify 2025-02-22 13:50:41 +05:30
Kovid Goyal c64588bee4 kepubify: Generate a default cover image if input document has no cover image 2025-02-22 09:51:39 +05:30
Kovid Goyal a8c9c6095b More work on kepubify 2025-02-22 09:38:42 +05:30
Kovid Goyal 7bc4030276 kepubify: Implement CSS filtering 2025-02-21 22:41:04 +05:30
Kovid Goyal 23323e3ecd More work on kepubify 2025-02-21 15:34:28 +05:30
Kovid Goyal 42f4676771 Add some type annotations 2025-02-21 14:46:51 +05:30
Kovid Goyal 08524e760b Add support for setting metadata in KEPUB files 2025-02-21 10:51:15 +05:30
Kovid Goyal 30bcd86634 Support reading metadata from KEPUB files 2025-02-21 10:44:50 +05:30
Kovid Goyal e23dcffe43 More work on kepubify 2025-02-21 10:27:40 +05:30
Kovid Goyal 9c5d1c0f4f Bump version for preview release 2025-02-21 06:07:21 +05:30
Kovid Goyal f54682f24b More work on kepubify 2025-02-21 06:04:28 +05:30
Charles Haley 9097d797d7 More refactoring. Make Cancel work for newly added rules. Improvement in icon handling. 2025-02-20 19:10:23 +05:30
Kovid Goyal 5e9f0cc563 Code to unwrap kobo spans 2025-02-20 14:45:54 +05:30
Kovid Goyal c7557b23b2 More work on kepubify 2025-02-20 13:07:54 +05:30
Kovid Goyal d8a744ceea DRYer 2025-02-20 12:58:28 +05:30
Kovid Goyal d5aa4da720 More work on kepubify 2025-02-20 12:56:14 +05:30
Kovid Goyal 25e7a5bb74 DRYer 2025-02-20 12:21:31 +05:30
Kovid Goyal 142c2b0314 kepubify: Fix handling of images 2025-02-20 10:55:35 +05:30
Kovid Goyal 4faf5fb9e5 More work on kepubify 2025-02-20 10:17:27 +05:30
Kovid Goyal 1dc92ac423 pep8 2025-02-20 09:26:46 +05:30
Kovid Goyal bd156baa36 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-02-20 09:26:13 +05:30
Charles Haley 4939aa7948 Refactor L&F / Tag browser / icon rules editor. Allow adding new rules. To avoid lots of problems don't allow changing lookup names and values for existing rules. The user can use delete & add to fix "dead" rules. 2025-02-19 22:02:56 +00:00
Kovid Goyal 0941278e93 Increase size of cover rendered from HTML 2025-02-19 19:30:56 +05:30
Kovid Goyal 03cc258c25 pep8 2025-02-17 22:54:55 +05:30
Kovid Goyal f76b8307a5 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-02-17 22:54:27 +05:30
unkn0w7n 0c7c9b041d Update zaobao.recipe
articles from front page
2025-02-17 22:45:19 +05:30
Kovid Goyal 41b0ca1461 More work on kepubify 2025-02-17 20:56:32 +05:30
Kovid Goyal f5ff33a926 Add a test for single value tag mapping 2025-02-17 20:49:00 +05:30