Commit Graph
8 Commits
Author SHA1 Message Date
crocodilestick a978996662 Fixed [bug] Authors interface has display bugs
Fixes #298
Now on all list.html based pages, filtering elements now collapse into a drop down if there would otherwise be too many to display neatly
2025-08-12 15:56:11 +02:00
crocodilestick 4dfbcba34d Reverted unwanted changes 2025-08-09 23:42:20 +02:00
crocodilestick 0c891d259f REFACTOR - Moved audiobook.py, auto_library.py, auto_zip.py, convert_library.py, cover_enforcer.py, cwa_db.py, cwa_functions.py, cwa_schema.sql, ingest_processor.py & kindle_epub_fixer.py to the cps dir, changing dependencies as necessary 2025-08-09 20:21:58 +02:00
crocodilestick 9259658821 Fixed spdx headers 2025-08-09 16:30:04 +02:00
crocodilestick d54e34d47f Updated spdx headers to more accurately reflect the current status of the project & it's contributors 2025-08-09 16:25:35 +02:00
crocodilestick 47e8cf0d66 Major Changes -
- kindle_epub_fixer.py has been completely rewritten to more closely replicate the function of the original JS tool written by innocenat
- Auto backup of files processed by kindle_epub_fixer is now added, enabled by default and able to be turned on or off by the user in the settings panel
- Entries for Files that have been processed by kindle_epub_fixer are now automatically added to cwa.db in a new table called epub_fixes. These entries are now also available to view in the CWA Stats page accessible via the Admin Panel
- CWA Stats pages has been rearranged to have the stats for the functions users care most about at the top and a bug was fixed in the see more pages where the title for all pages was for the enforcement statistics regardless of what was being shown
- Creation of the /config/processed_books archive folders as well the setting of their permissions is now the sole responsibility of the CWA Auto Zipper service
- Major improvements to exception handling in both convert_library and ingest_processor when handling files to improve performance, reliability as well as making it much easier to diagnose user errors
- The default CWA settings are now pulled from the schema instead of being hardcoded into the CWA_DB class
- Plus general refactoring and tidying up of the codebase
2025-01-05 21:26:32 +01:00
crocodilestick 24cbe2fdb7 Cleaned up numerous python scripts and fixed numerous minor errors 2024-12-12 11:39:00 +00:00
crocodilestick 1a63a51c1f NEW FEATURE - Added Kindle-EPUB-Fixer
- Originally developed by [innocenat](https://github.com/innocenat/kindle-epub-fix), this tool corrects the following potential issues for every EPUB processed by CWA:
    - Fixes UTF-8 encoding problem by adding UTF-8 declaration if no encoding is specified
    - Fixes hyperlink problem (result in Amazon rejecting the EPUB) when NCX table of content link to `<body>` with ID hash.
    - Detect invalid and/or missing language tag in metadata, and prompt user to select new language.
    - Remove stray `<img>` tags with no source field.
- This ensures maximum comparability for each EPUB file with the Amazon Send-to-Kindle service and for those who don't use Amazon devices, has the side benefit of cleaning up your lower quality files
- This feature is on by default and is able to be toggled on and off by the user in the CWA Settings panel

Minor Changes:
- All CWA python scripts now conform to the snake_case naming convention
- Minor refactoring of ingest_processor script
2024-12-11 13:59:53 +00:00