Commit Graph

125 Commits

Author SHA1 Message Date
TheOnlyWayUp 5c1f3244b2 api: Remove dependency on exiftool
Use weasyprint to embed metadata
2025-10-28 04:09:14 +05:30
AaronBenDaniel 35bbb54fc2 feat(api): Report file size to user (#77 - @AaronBenDaniel) 2025-07-26 00:33:11 +05:30
AaronBenDaniel f7e22cef15 fix(api): Remove control characters from chapter titles 2025-06-25 10:33:18 -04:00
AaronBenDaniel db6c841e2f fix(api): Validate image URLs before trying to download 2025-06-22 15:50:30 -04:00
TheOnlyWayUp 551e91cb7f api: Remove toc.xsl 2025-06-10 19:57:15 +00:00
TheOnlyWayUp c132b5de18 fix(api): Use latest bs4 syntax for declaring parser 2025-06-10 19:56:56 +00:00
AaronBenDaniel 6e93f743f3 fix(api): Code formatting 2025-06-10 11:06:23 -04:00
AaronBenDaniel 1db3f82f15 fix(api): Remove debug print statement 2025-06-10 10:59:10 -04:00
AaronBenDaniel b36dc92718 fix(api): Explicitly specficy html parser 2025-06-10 10:58:42 -04:00
AaronBenDaniel 1baeb3f975 fix(api): Use correct class in ToC for chapter title 2025-06-10 10:50:51 -04:00
AaronBenDaniel 403ee8dd54 fix(api): Add support for strong and em tags 2025-06-10 10:11:37 -04:00
AaronBenDaniel db899aafde fix(api): Justify PDF ToC page numbers to the right side of the page 2025-06-10 09:55:09 -04:00
TheOnlyWayUp ddfd0dc0a9 fix(api): Iterate over parts dict in PDF Template 2025-06-09 23:47:30 +00:00
TheOnlyWayUp 86ae5eac21 api: Update typehints 2025-06-09 22:09:11 +00:00
TheOnlyWayUp 8c95632894 fix(api): Tree images passed to Generators as AsyncGenerator 2025-06-09 22:08:38 +00:00
AaronBenDaniel f328b6d5e1 fix(api): call book.compile() 2025-06-09 12:45:20 -04:00
AaronBenDaniel 9b440f3ee0 fix(api): Add .xhtml file extension to epub chapters 2025-06-09 12:43:51 -04:00
AaronBenDaniel af90adb422 fix(api): Inject id and title into chapter html template 2025-06-09 12:43:01 -04:00
AaronBenDaniel 939b4c8caa fix(api): Add default value to images variable 2025-06-09 11:42:03 -04:00
AaronBenDaniel 29216938aa fix(api): Add jinja2 to requirements.txt 2025-06-09 11:03:58 -04:00
TheOnlyWayUp da08de17a5 api: Remove old parser 2025-06-09 14:44:30 +00:00
TheOnlyWayUp 3853e0d586 feat(api): Use new Parser and Generators 2025-06-09 14:44:01 +00:00
TheOnlyWayUp a790021057 fix(api): Type errors in parser 2025-06-09 14:30:28 +00:00
TheOnlyWayUp 1fc8c59992 api: Format code 2025-06-09 14:24:11 +00:00
TheOnlyWayUp 7d7223223f fix(pdf): Add ToC to self.book 2025-06-09 14:23:54 +00:00
TheOnlyWayUp 0327a230bb refactor(api): Rewrite PDFGenerator 2025-06-09 14:23:10 +00:00
TheOnlyWayUp 7c3e02f347 fix(api): Incorrect type reference in AbstractGenerator 2025-06-09 14:21:53 +00:00
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