You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add comprehensive ebook library management system
This commit includes multiple related changes:
feat: add ebook library management with admin UI
- Add Libraries CRUD UI at /admin/libraries for managing library directories
- Support three scan modes: manual, auto_watch (filesystem monitoring), scheduled (cron)
- Include directory tree picker component for intuitive path selection
- Implement LibraryWatcher GenServer for automatic filesystem change detection
- Implement LibraryScheduler GenServer for cron-based scheduled scanning
- Add comprehensive test coverage (341 tests passing)
feat: display all books regardless of collection status
- Switch from INNER JOIN to LEFT JOIN on collection_items
- Make media types informational only, not governing visibility
- Add delete book button with proper confirmation
fix: resolve PDF processing hanging on large files
- Switch from in-memory pdf_info library to command-line pdfinfo
- Resolve 8+ hour hangs on 50MB+ PDF files
- Process large PDFs in sub-second timeframes
fix: handle semicolon-separated tags to prevent overflow
- Add normalize_tags/1 to split and process delimited tag strings
- Prevent varchar(255) overflow errors from long concatenated tags
fix: support namespaced XML elements in EPUB parsing
- Handle container.xml and OPF files with namespace prefixes
- Support various EPUB XML format variations
refactor: migrate EPUB parsing from erlang :zip to zstream
- Use zstream library for more flexible ZIP handling
- Add fallback to erlang :zip for unsupported ZIP formats
refactor: replace xmerl with Saxy for XML parsing
- Rewrite OpfParser to use Saxy instead of xmerl
- Improve parsing reliability and performance
chore: update dependencies and Docker configuration
- Add zstream, file_system, saxy dependencies
- Remove pdf_info dependency
- Add poppler-utils to Dockerfile for pdfinfo command
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments