Commit Graph
37 Commits
Author SHA1 Message Date
ACXandacx10 3f334202b6 Introduce multi-format book support, including audiobooks (#2486)
* fix: support reading alternative book formats using bookType query param

* feat: add streaming reader support for alternative EPUB formats

* refactor: extract tabs section into MetadataTabsComponent

* feat: implement per-file reading progress tracking

* feat: add configurable format priority with cascading fallback

* refactor: redesign library creator with single-page layout

* refactor: unify reading progress into ReadingProgressService

* refactor: improve delete options with clearer file format and book deletion

* refactor: improve book format matching with normalization and fuzzy fallback

* feat: add folder-based audiobook support with ZIP downloads and preparing state

* fix: display unique format types in metadata viewer

* refactor: auto-attach files to single book in folder during rescan

* feat: implement folder-centric book file grouping with fuzzy matching

* refactor: consolidate book grouping with organization mode support

* fix: use folder hash for folder-based audiobooks in auto-attach

* fix: delete only BookFileEntity on file removal, not entire book

* fix: set folderBased flag and correct file size for auto-attached audiobook folders

* fix: use count query to avoid lazy initialization in file delete handler

* fix: preserve book metadata when file is moved by detecting hash match

* fix: skip books with no files in restoration to avoid NPE

* fix: round all progress percentages to one decimal place before sending to UI

* style: improve library creator dialog spacing and layout

* fix: migrate FOLDER_AS_BOOK to BOOK_PER_FOLDER for backwards compatibility

* fix: FileMoveService now handles multi-file BookEntity properly

* style: redesign metadata-picker and file-mover UI components

* style: redesign file-naming-pattern UI and improve theme contrast

* style: relax spacing in library-creator component

* style: tighten directory-picker layout for consistency

* fix: PathPatternResolver now respects folderBased flag for audiobooks

* style: move checkmark column to left side and add pending status in file-mover

* refactor: consolidate BookFileType into BookType and add audiobook styling

* feat: show 'Continue Reading' button for in-progress books

* fix: preserve dots in folder names during grouping and prevent duplicate attachments

* style: reduce gap between download-all button and primary file section

* style: shorten 'Continue Reading' button to 'Read' on mobile

* feat: add DISK_TYPE config to disable file moves on network storage

* style: standardize settings pages with shared styles and consistent spacing

* style: revamp settings pages with modern card-based layouts

* style: revamp OPDS, auth, and task management settings layouts

* fix: update FileMoveService tests to include AppProperties parameter

* fix: derive BookFileType from extension when uploading additional book files

* feat: show format type and size in download button with dropdown for alternatives

* feat: add audiobook streaming player with HTTP Range support

* feat: add M4B chapter extraction and chapter navigation

* feat: add audiobook bookmarks and sleep timer

* refactor: split AudiobookReaderService into focused services

* feat: add Media Session API for background audio playback

* feat: display file extensions in format tags with distinct colors and add audiobook upload support

* feat: require bookFileId for viewer settings API

* fix: show split button for audiobooks with readable alternatives

* feat: improve reading sessions table with book type badges and better formatting

* feat: add audiobook play button in files tab

* feat: use file extension for format display and meaningful tab values

* feat: add extension field to BookFile DTO

* feat: use extension field for book card format pill

* fix: use mixed orientation for format priority drag-drop to support multi-line layout

* feat: add attach book files feature to consolidate single-file books

* fix: increase drag handle size for format priority chips

* fix: add missing BookFileRepository mock to BookServiceDeleteTests

* feat: add delete buttons to files tab and move shelf to other items menu

* feat: add physical books support for cataloging books without digital files

* refactor: redesign icon-picker component with improved styling

* refactor: redesign metadata-picker component with improved layout and alignment

* refactor: move Add Physical Book to top of library menu

* refactor: use p-autoComplete for authors/categories in add-physical-book dialog

* feat: add square cover search and display support for audiobooks

* fix: navigate to first page when opening unread ebooks

* fix: exclude API requests from service worker interception

* feat: support fileless books with automatic file attachment

* fix: bypass service worker for audiobook streaming requests

* refactor: remove alphabetical filter sorting, default to count, limit filters to 100

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-27 10:12:50 -07:00
ACXandacx10 020bca7feb Introduced additional library charts to surface meaningful insights (#2390)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-21 22:31:53 -07:00
ACXandacx10 c20b1972f8 Remove support for the legacy ePub reader (#2287)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-15 21:12:13 -07:00
ACXandacx10 8c35f2415c Introduce a new eBook reader with support for EPUB, MOBI, AZW3, and FB2 formats (#2258)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-15 20:39:52 -07:00
Balázs Szücs ab96eee5bc refactor(types): replace most usages of 'any' with 'unknown' and improve type safety across services and components (#2050)
* refactor(types): replace most usages of 'any' with 'unknown' and improve type safety across services and components

- Update method signatures, variables, and interfaces to use 'unknown' instead of 'any'
- Refine event and observable typings for better type inference
- Add or adjust explicit types for function parameters and return values
- Update Chart.js tooltip and context typings for chart services
- Improve type safety in Book, BookState, and related models
- Adjust template bindings and method calls to match stricter typings
- Add SecureSrcDirective for secure image loading with fallback and error handling

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* chore(angular): remove proxy configuration from development build settings

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(book-browser): streamline entity and book state management with reactive streams

- Refactor entity type and entity fetching logic to use observables and combine route params
- Simplify book state handling by consolidating filtering and fetching into a single reactive pipeline
- Remove redundant applySortOption logic and related subscriptions
- Fix book card index binding in template for improved rendering performance
- Ensure proper cleanup of epub rendition in epub-reader component

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(book-browser, book-uploader): improve permission checks and enhance file upload handling

- Use optional chaining for user permission checks in book-browser.component.html to prevent runtime errors when user data is undefined
- Refactor book-uploader.component.ts to pass destination and IDs explicitly to uploadBatch, reconstruct files for strict type handling, and ensure proper upload flow and UI feedback

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(charts, services): improve type safety for book state validation and update form field checks

- Refactor isValidBookState methods across chart components and services to use type predicates and stricter type checks for BookState
- Update metadata-picker.component to simplify array field checks for authors, categories, moods, and tags
- Adjust magic-shelf-utils to remove unnecessary fallback in object spread
- Update notification-event.service to use correct timeout type for highlightTimeout

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(theme): ensure safe merging of theme properties and improve type definition for themesMap

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(epub-reader): streamline book and rendition initialization logic

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-02 18:22:54 -07:00
ACXandacx10 b8fb843b7a Introduce more granular permission controls and update the user management UI (#1965)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-22 11:24:54 -07:00
ACXandacx10 b5ada2fff0 Introduce reading session tracking with visual insights (#1957)
* Introduce reading session tracking with visual insights (#1957)

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-21 21:14:42 -07:00
aditya.chandel be925de5da Fix LoginGuard 2025-11-21 00:23:04 -07:00
Benjamin Jackson c74ed5b846 Init. (#1524) 2025-11-20 21:14:38 -07:00
Aditya Chandel 814650bed9 Restrict access to Bookdrop and Metadata Manager pages for unauthorized users (#1363) 2025-10-16 10:22:03 -06:00
aditya.chandel a7622f1df1 Organize code some more 2025-10-12 02:13:10 -06:00
Aditya Chandel 7c9bd56f63 Improve Angular project structure and code organization (#1328) 2025-10-12 02:01:59 -06:00
Aditya Chandel 28081a1681 Add Metadata Manager for organizing and standardizing metadata (#1312) 2025-10-10 09:08:42 -06:00
Ruben GMandCopilot 99c21eb5ac feat: Series Enhancements (#1086)
* show active comic in the series banner

* Hide pi-info button in series banner when book is active

* When collapsed series: displays series title instead of book title, substitutes series number overlay by series count

* New series page w/ redirections from other pages

* Update booklore-ui/src/app/book/components/book-card-lite/book-card-lite-component.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-ui/src/app/book/components/series-page/series-page.component.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* removed commented unused status

* cleaned minor warnings

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-09 08:17:18 -06:00
Aditya Chandel f5e084d09c Implement comprehensive library stats and charts (#1089)
* Implement comprehensive library stats and charts

* fix(stats): handle null or unknown readStatus consistently

* Fix readStatus in AuthorPopularityChartService

* Fix missing x-axis label in chart

* Add radar charts

* Increase css budget

* Chart positioning and subscription improvements

* Add data labels

* Increase budgets
2025-09-05 13:06:53 -06:00
aditya.chandel 63518b7eb8 Implement magic shelves with dynamic rule-based filters 2025-07-28 07:59:00 -06:00
aditya.chandel 177528e640 Implement Bookdrop: Watch folder for file drops and auto-process uploads 2025-07-19 11:05:59 -06:00
aditya.chandel 116f0c950e Implement interactive metadata review for batch updates, with progress tracking and a unified notification system 2025-07-13 23:32:08 -06:00
aditya.chandel ff64362edb Implement support for comic book files (CBZ, CBR and CB7) 2025-05-23 22:58:23 -06:00
adityachandelgit 6a8561080f Enable editing existing admin users, creating new admins, and deleting other admin users 2025-05-17 01:23:02 -06:00
adityachandelgit 5d1dd1576c - Add option to sort sidebar shelf and library
- Move user settings to a separate table
- Make settings tabs' elements more consistent
2025-05-16 20:34:05 -06:00
adityachandelgit 4cb82d2ba7 Add “Unassigned” shelf view for books not in any shelf 2025-05-15 21:11:33 -06:00
adityachandelgit 817b572c08 Implement OIDC authentication 2025-05-14 14:58:20 -06:00
adityachandelgit 866daced58 Remove profile component 2025-04-28 16:19:18 -06:00
Oleh Astappiev afb4c86c83 feat: add profile screen 2025-04-28 09:32:11 -06:00
Aditya Chandelandadityachandelgit 6fa394e1ed Transition book metadata center from dynamic dialog to routed view (#146)
Co-authored-by: adityachandelgit <>
2025-04-19 23:05:12 -06:00
adityachandelgit 2ef67f450a Add checkbox to enable or disable automatic book match search on opening book details 2025-04-14 11:42:58 -06:00
aditya.chandel c957f56b86 Implement functionality for sending books via email 2025-03-19 05:39:36 -06:00
aditya.chandel a8c9d1324c - Implement change password on first login
- Implement admin can reset other users' password
2025-03-12 14:11:09 -06:00
aditya.chandel ef1dc6444b Move files around 2025-03-11 13:50:59 -06:00
aditya.chandel 3cc605b923 WIP: Create settings tab 2025-02-16 02:59:35 -07:00
aditya.chandel d3627a2d3f Checkpoint: Authentication 2025-02-15 21:43:06 -07:00
aditya.chandel f0123c9776 WIP: App Settings 2025-01-15 17:38:45 -07:00
aditya.chandel c2c2b8d6b8 Tie BE and UI for epub viewing 2025-01-14 14:27:49 -07:00
aditya.chandel ebea3890af WIP: Process ePubs 2025-01-14 12:48:34 -07:00
aditya.chandel ceb344677c WIP: ePub support 2025-01-14 11:29:15 -07:00
aditya.chandel ce1e02f173 Migration to standalone complete 2025-01-12 19:58:59 -07:00