Commit Graph

14 Commits

Author SHA1 Message Date
ef3c28b141 Merge branch v20260325c into main 2026-04-03 15:14:55 +02:00
eb4136afc7 Merge branch v20260325b into main 2026-04-03 15:14:51 +02:00
32bf4a4d83 Merge branch v20260325 into main 2026-04-03 15:14:48 +02:00
39eef0a388 Add publisher to PDF and CBR/CBZ storage paths
All formats now use {publisher}/{author} consistently:
- pdf/{publisher}/{author}/{title}.pdf
- comics/{publisher}/{author}/{title}.cbr|cbz
Previously PDF and comics only had {author}, unlike EPUB.
Updated TECHNICAL.md path table accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 08:56:53 +01:00
f3f9d45d2b Fix CBZ path, add download endpoint, rewrite TECHNICAL.md
- Fix CBZ extension: common.make_rel_path now accepts ext param;
  CBZ files are stored as comics/{author}/{title}.cbz instead of .cbr;
  library.py import passes actual file suffix
- Add GET /download/{filename} endpoint (was 404, referenced in book.html)
- TECHNICAL.md fully rewritten: File Storage Paths section with exact
  path patterns per format, complete endpoint lists for all routers
  including settings.py (previously undocumented), metadata save
  behaviour table, updated Known Bugs Fixed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 08:53:50 +01:00
92cd301658 Add PDF reader/editor support, fix metadata save and dir cleanup
- PDF reader: page-image rendering via /library/pdf/{filename}?page=N;
  new /api/pdf/info/{filename} endpoint returns page count; reader.html
  branches on FORMAT (epub/pdf) injected by server
- PDF metadata edit: PATCH /library/book now updates DB for all formats;
  _sync_epub_metadata only called for .epub; non-EPUB formats skip file write
- Fix file path on metadata save: _make_rel_path now includes format prefix
  (epub/, pdf/, comics/) matching common.make_rel_path used during import;
  previously files were moved outside their format directory
- Fix empty dir cleanup: prune_empty_dirs always runs after successful
  metadata save, not only when file was moved
- Hide Edit EPUB button for non-EPUB files in book detail
- Docs: TECHNICAL.md and changelog-develop.md updated

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 08:47:01 +01:00
e60b86ea7e Standardize remaining UI/config text to English 2026-03-22 19:46:48 +01:00
601c1fbcb2 Add AI-assisted development disclaimer to README 2026-03-22 19:40:29 +01:00
ec64502265 Translate docs to English and add project README 2026-03-22 19:38:33 +01:00
58268a4906 Implement library/home/stats/backup updates and refresh docs 2026-03-22 19:34:40 +01:00
ced5b25dbe Apply review fixes for reader/editor, backup deps, and env docs 2026-03-22 16:23:42 +01:00
e7759da4ae Update gitignore for local and Python cache files 2026-03-22 16:14:05 +01:00
b8ca0c7483 Remove Python cache artifacts from repository 2026-03-22 16:13:54 +01:00
0ae181706d Bootstrap Novela 2.0 implementation and docs 2026-03-22 16:13:45 +01:00