Commit Graph

98 Commits

Author SHA1 Message Date
TheOnlyWayUp 80be6e0b32 refactor(api): PDF Template uses Jinja2 2025-06-09 14:21:14 +00:00
TheOnlyWayUp c7cc857306 api: Add copyright logos to assets 2025-06-09 14:20:33 +00:00
TheOnlyWayUp 3810b4661c api: Move PDF Generation assets 2025-06-09 14:19:42 +00:00
AaronBenDaniel 0ec0a65afc fix(api): Remove unused import 2025-06-05 14:29:39 -04:00
AaronBenDaniel 8457d3786f fix(api): Remove redundant definition of headers 2025-06-05 14:26:39 -04:00
AaronBenDaniel 6a9b703f50 fix(api): Import fetch_image() from correct file 2025-06-05 14:22:12 -04:00
TheOnlyWayUp fec7a83d1c feat(api): Add AbstractGenerator type 2025-06-05 10:31:52 +00:00
TheOnlyWayUp 684e59cb00 refactor(api): Rewrite EPUBGenerator 2025-06-05 10:22:06 +00:00
TheOnlyWayUp fa55e6e1e9 feat(api): Parallelize image downloads 2025-06-05 03:06:57 +00:00
TheOnlyWayUp 46319507e4 feat(api): Add HTML Parser 2025-06-04 23:15:01 +00:00
TheOnlyWayUp 65eb006197 Upgrade to Python 3.13 2025-06-04 12:16:13 +00:00
TheOnlyWayUp 10d8a8f308 fix(api/linter): Ignore module imports in init 2025-06-04 11:55:23 +00:00
TheOnlyWayUp 713c8071fb api: Make create_book a module 2025-06-04 11:48:02 +00:00
AaronBenDaniel 19551b8c9f fix(api): Carry over paragraph styling (#67 - @AaronBenDaniel) 2025-05-29 10:17:21 +05:30
TheOnlyWayUp 09e1959ffc fix(api): Use 1 worker thread 2025-05-27 20:20:30 +00:00
AaronBenDaniel 174968025d fix(api): Stopped extra newlines from appearing with bold/italics 2025-04-07 15:38:09 +00:00
TheOnlyWayUp 423c62b878 fix(api): Cap download speed to 20KB/s 2024-12-26 15:59:50 +00:00
TheOnlyWayUp 8f35703265 rollback: Disable PDF Downloads 2024-12-26 15:10:28 +00:00
TheOnlyWayUp 222e07085f fix(api): PDF ToC is h1
Fixes #36
2024-12-26 15:05:57 +00:00
TheOnlyWayUp 5cfdc8f305 fix(api): PDF renders About the Author page
Fixes #35
2024-12-26 14:45:33 +00:00
TheOnlyWayUp d6c31da507 fix(dockerfile): Install add-apt-repository 2024-12-22 11:37:30 +00:00
TheOnlyWayUp 352faceb7a fix(api): Use lxml parser for PDF Template 2024-12-22 11:23:19 +00:00
TheOnlyWayUp 5215689836 Merge branch 'feature/#31-zip-downloading' into feature/#29-pdf-downloads 2024-12-22 10:58:28 +00:00
Aaron BenDaniel a1191b2600 feat(api): Make archive extraction asynchronous 2024-12-19 15:10:17 +00:00
AaronBenDaniel 82270dc770 feat(api): Download parts as .zip 2024-12-15 14:38:28 -05:00
TheOnlyWayUp 8dc7d16578 feat(api): Generate PDFs with Weasyprint! 2024-12-10 18:37:22 +00:00
TheOnlyWayUp f8ab318210 feat(api): Reconstruct tree from Content HTML, move PDF Template reads to Init 2024-12-10 18:36:23 +00:00
TheOnlyWayUp 758b14fd15 feat(api): Merge PDF Templates 2024-12-10 18:34:27 +00:00
TheOnlyWayUp 90139b190b fix(api): Remove wkhtmltopdf, add weasyprint to requirements 2024-12-10 15:56:29 +00:00
TheOnlyWayUp b4c3cfeffb Include samples in Readme 2024-12-10 15:42:27 +00:00
TheOnlyWayUp a7a26dc2b6 feat(api): Improve link styling in PDFs 2024-12-10 15:19:28 +00:00
TheOnlyWayUp 016ad6209a fix(api): Use BytesIO when dumping generated book 2024-12-10 11:12:43 +00:00
TheOnlyWayUp 097c37f24e fix(api): Error handlers accepting Request param 2024-12-08 13:14:42 +00:00
TheOnlyWayUp 5d9eefd03c fix(api): EPUB Chapters had integer IDs, now bytes 2024-12-08 13:07:33 +00:00
TheOnlyWayUp ddb1862918 fix(api): Update requirements.txt 2024-12-08 12:42:08 +00:00
TheOnlyWayUp 9747839ae9 fix(api): Add logging for PDF Generation 2024-12-08 12:04:53 +00:00
TheOnlyWayUp 7ef988ba42 fix(api): Add comments and docstrings 2024-12-08 11:51:16 +00:00
TheOnlyWayUp 692f5ad82a api: Add donation URL to PDF 2024-12-08 11:13:04 +00:00
TheOnlyWayUp ca0b59cb0c fix(api): Move copyright before TOC, Merge copyright and cover pages, Move HTML to seperate files 2024-12-08 11:08:33 +00:00
TheOnlyWayUp 1948ed67ee feat(api): Include Copyright notice in PDFs! 2024-12-08 04:46:57 +00:00
TheOnlyWayUp e30bbf40b9 feat(api): PDF includes About the Author page! 2024-12-07 15:33:44 +00:00
TheOnlyWayUp 174faafa0e api: Redirect to donate link 2024-12-07 10:31:00 +00:00
TheOnlyWayUp dd38369832 fix(api): Clean code 2024-12-07 10:00:49 +00:00
TheOnlyWayUp 14dc13029a feat(api): Add Stylesheets for PDF 2024-12-07 09:37:37 +00:00
TheOnlyWayUp 5cbef75d19 fix(api): Close and delete temp files 2024-12-07 09:32:37 +00:00
TheOnlyWayUp 96d367da27 fix(api): Remove unnecessary newlines from Text 2024-12-07 09:31:00 +00:00
TheOnlyWayUp 7b521e492a feat(api): PDF Footers!
Image only chapters aren't packaged, that's a bug. Fixed a bug with the cover image not being included when download_images was False.
2024-12-07 06:36:34 +00:00
TheOnlyWayUp c6174aa418 api: Clean code 2024-12-07 06:02:27 +00:00
TheOnlyWayUp c33c773fe7 feat(api): Include high-res cover with EPUB and PDF Downloads 2024-12-07 05:59:17 +00:00
TheOnlyWayUp 8728b215ee feat(api): PDF Image downloads are functional! 2024-12-07 04:17:01 +00:00