* fix(pdf): improve PDF blob handling and improve viewer destruction logic
* fix(pdf): PDF annotation saving logic and improve responsive design for mobile
* fix(pdf): improve PDF fetching (once again) and caching logic to improve performance and reduce network requests
* fix(pdf): hide footer and notification elements in PDF viewer
* fix(pdf): improve loading behavior and improve annotation persistence logic
* fix(pdf): improve PDF annotation persistence with retry mechanism and logging
* fix(pdf): improve PDF annotation saving with raw fetch and improved error handling
* fix(pdf): cap highlight opacity and adjust rendering for small viewports
* refactor(user): optimize detail fetching with custom repository implementation
* refactor(fonts): fix font loading and improve custom font handling
* refactor(user-data): update userSettings to use input() for better reactivity
* refactor(fonts): improve font loading logic and improve readi ness state management again
* refactor(user-data): simplify user fetching logic and improve batch loading
* refactor(custom-fonts): improve font loading logic with run ID for better state management
* fix(streaming): rewrite file streaming with NIO and HTTP caching
* fix(streaming): improve file transfer handling and enhance client disconnect detection
* fix(streaming): improve If-None-Match header evaluation for improved caching
* fix(streaming): improve chapter tracking and loading in audiobook player
* fix(streaming): remove unused imports in audiobook player component
* fix(streaming): improve chapter tracking and state management in audiobook player (again)
* fix: fix merge conflict errors and update code
* feat(filters): add age rating and content rating filters, improve filter options
* fix(book-browser): update view mode handling to use reactive properties
* fix(book-browser): update view mode handling to use getter methods
* feat(filters): improve filtering capabilities with comic creators and validate input values
* test(filters): fix AppBookServiceFilterOptionsTest with additional query mocks
* fix(filters): improve error handling for invalid filter bucket IDs and roles
* refactor(book-browser): remove unused computedFilterLabel
* fix(filters): validate shelfStatus values and throw error for invalid inputs
* test(book-browser): mock TranslocoService for language changes in tests
* fix(book-browser): ensure active language is set before syncing browser state
* fix(metadata): refactor book metadata fetching to use fetch API and signals for state management
* fix(metadata): update tests to mock fetch API for book metadata streaming
* fix(metadata): improve metadata fetching with error handling and retry logic
* fix(metadata): update author photo search to use SSE with auth headers and improve error handling
* fix(metadata): require bookId for cover fetching and improve error handling
* fix(metadata): simplify error handling in DuckDuckGo cover image fetching
* fix(metadata): refactor SSE data handling for cover image and book metadata fetching
* fix(dto): add DailyListeningDto and update session-related DTOs to use LocalDate
* refactor(metadata): fix metadata update process and improve library entity fetching
* refactor(tests): update MetadataControllerTest and update library repository method calls
* refactor(services): remove unused annotations and methods in Book services
* refactor(services): replace findById with findByIdWithPaths in BookDropService and related tests
* chore: remove bad test
* chore(sql): rename reading session booktype index migration file
* chore(sql): rename reading session booktype index migration file
* refactor(sql): simplify reading session DTOs and replace timezone-dependent queries
* fix(dashboard): improve performance with OnPush change detection
* fix(dashboard): refactor book card component for improved readability and performance
* fix(tests): mock matchMedia for improved test compatibility
* fix(tests): matchMedia mock for better CI compatibility and support
* fix(dashboard): add clearAll method to BookBrowserScrollService and update tests
* fix(dashboard): improve performance with content visibility and refactor styles
* fix(dashboard): improve scroll performance with estimated total height and refactor layout
* fix(tests): add mock for getCurrentUser in userService for improved test coverage
* fix(dashboard): implement infinite scroll for book loading and scroll restoration
* fix(tests): fix lint error
* fix(tests): mock ResizeObserver and IntersectionObserver
* fix(tests): mock ResizeObserver and IntersectionObserver (again)
* fix(dashboard): improve accessibility and performance by updating aria attributes and optimizing animations
* fix(dashboard): improve submenu accessibility and optimize virtual scroller performance
* fix(dashboard): clean up imports and improve component structure
* fix(dashboard): correct mobile check in author browser component
* fix(dashboard): add OnDestroy lifecycle hook to BookBrowserComponent
* fix(filter): update filter options to use CountedOption for read statuses and file types
* fix(specification): validate file types and read statuses, throwing APIException for invalid values
* refactor(epub): migrate from documentnode to grimmory epub4j library and update related code
* chore(deps): restore proper imports
* refactor(epub): update to epub4j version 1.0.0 and improve cover image detection
* fix(epub): validate spine indices in convertXPointerRangeToCfi method
* chore(deps): update epub4j dependencies to version 1.0.1
* chore(deps): update epub4j dependency to version 1.0.1
* feat(build): enable preview features and update epub4j dependencies in build configuration
* feat(epub): update epub4j dependencies to version 1.1.0 and refactor resource handling for improved streaming
* refactor(file): improve path handling and validation
* fix: update XML escaping to use escapeXml10 for improved compatibility
* feat(mime): integrate Apache Tika for content-based MIME detection across services
* test: enhance MultipartFile tests with input stream handling and content type validation
* fix(metadata): add support for audible fields in metadata refresh options
* fix(metadata): add support for Lubimyczytac and Audible ratings in scoring
* fix(metadata): update default audible ratings and review counts to zero
* fix(metadata): add reRenderOnLangChange to TranslocoService provider in tests
* fix(tests): update MetadataProviderFieldSelectorComponent tests for async setup and translation
* refactor(library): implement asynchronous book addition and cover generation with event handling
* fix(bookcover): handle null metadata before updating audiobook and ebook cover information
* fic(library): add library processing service and task executor
* feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff
* feat(pdf): add page number support for bookmarks and enhance mobile navigation
* feat(pdf): implement document ID tracking for search functionality
* feat(pdf): add page number column to book marks and update unique index
* feat(pdf): enhance annotation handling and improve search result scrolling
* feat(pdf): improve layout handling and enhance resize observer functionality
* feat(pdf): improve document viewer initialization and improve close button styling
* fix(pdf): remove 'form' from disabled categories
* feat(pdf): add pan mode functionality and enhance sidebar layout
* feat(pdf): improve book viewer initialization with enhanced element detection
* feat(pdf): add link handling to text selection and improve popup actions
* feat(pdf): enhance link detection and improve selection handling in event service
* feat(pdf): improve accessibility and improve resource management in PDF viewer
* feat(pdf): add resize observer for improved layout handling
* feat(pdf): error handling and improve navigation in PDF reader
* refactor(regex): replace string manipulation with Pattern matching for improved readability
* refactor(duplicate-detection): improve filename normalization using regex patterns for clarity
* refactor(oidc): replace regex trailing slash handling with utility method
* refactor(isbn): enhance ISBN extraction by normalizing case in cleaned output
* fix(reader): add fetchFreshBookDetail method to ensure up-to-date reading position across devices
* test(audiobook): enhance tests to verify queryClient interactions for progress updates
* fix(audiobook): include audiobookProgress and fileProgress in progress payload
* refactor(pdf-viewer): improve worker and blob handling for better loading of wasm PDFium workers
* feat(doc-viewer): add dismissible info banner for saved changes
* feat(pdf): integrate PDFium4j for PDF processing and metadata extraction
* feat(pdf): update PDFium4j to version 0.12.0 and optimize XMP metadata handling
* feat(pdf): update PDFium4j to version 0.13.0
* feat(pdf): enhance cross-compilation support and improve XML parsing in metadata extraction
* Delete dev.local-libs.docker-compose.yml
* feat(pdf): update PDFium4j to version 0.14.0
- Replace AppSettingService double-checked locking (volatile + ReentrantLock)
with Spring @Cacheable/@CacheEvict on appSettings cache
- Add appSettings cache name to CacheConfig
- Replace NotificationService dynamic JPQL string concatenation
with type-safe JPA Criteria API (CriteriaBuilder predicates)
* feat(reader): add document mode to the PDF viewer, overhaul PDF viewer, add different modes to CBX viewer
* feat(reader): improve reader settings with brightness, emulate book mode, and click-to-paginate options
* feat(reader): add long strip scroll mode and update related settings
* chore(dependencies): bump Spring Boot to 4.0.5 and Hibernate to 7.3.0.Final
* fix(read-status): replace String readStatus with ReadStatus enum in BookRuleEvaluatorService
* chore(deps): bump actions/setup-node from 6.2.0 to 6.3.0 (#1)
Dependabot couldn't find the original pull request head commit, ea510f40fc1855aa17a782e05b0d30547e84955e.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/setup-buildx-action from 3.12.0 to 4.0.0 (#2)
Dependabot couldn't find the original pull request head commit, faed6bf8a712c5fc793fa628157de25d97888131.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/build-push-action from 6.19.2 to 7.0.0 (#3)
Dependabot couldn't find the original pull request head commit, f110823720b6dd773df014ba288a126d8837fe28.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/login-action from 3.7.0 to 4.0.0 (#6)
Dependabot couldn't find the original pull request head commit, 9a8d7a1daf5afff06bb35e36607c3da9aa730e21.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(metadata): fix metadata fetching relying for filename "first" instead of better fields like ISBN in Goodreads/Bookdrop
* perf(ci): speed up image builds and centralize cache writes
- Image builds:
- pin frontend and backend Docker build stages to the build platform so multi-arch packaging can reuse architecture-independent work
- add an Angular build cache mount and move dynamic version metadata to the end of the runtime stage so static layers stay reusable across tags
- reduce image workflow checkout depth and keep preview builds on `linux/amd64` only to avoid unnecessary QEMU and history overhead
- Cache policy:
- make CI packaging smoke builds consume the shared image cache without writing new BuildKit cache state
- make normal preview builds consume shared GHA and registry caches without mutating the canonical cache
- keep nightly and stable release builds as the workflows that refresh the shared image cache in both GHA and registry backends
- Preview override:
- add a `refresh_shared_cache` input to the preview workflow for an explicit no-cache rebuild that repopulates the shared cache when maintainers need to bust and refresh it
- keep the default preview behavior optimized for fast disposable builds rather than cache churn
- Validation:
- keep workflow YAML parsing clean after the cache-policy changes
- keep `git diff --check` clean for the touched Docker and workflow files
* docs: Add a note about how to make a release
* chore: remove unncesary comments
---------
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Cox <james@imaj.es>
* chore(deps): bump actions/setup-node from 6.2.0 to 6.3.0 (#1)
Dependabot couldn't find the original pull request head commit, ea510f40fc1855aa17a782e05b0d30547e84955e.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/setup-buildx-action from 3.12.0 to 4.0.0 (#2)
Dependabot couldn't find the original pull request head commit, faed6bf8a712c5fc793fa628157de25d97888131.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/build-push-action from 6.19.2 to 7.0.0 (#3)
Dependabot couldn't find the original pull request head commit, f110823720b6dd773df014ba288a126d8837fe28.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/login-action from 3.7.0 to 4.0.0 (#6)
Dependabot couldn't find the original pull request head commit, 9a8d7a1daf5afff06bb35e36607c3da9aa730e21.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs(security): update security policy with reporting guidelines and hints to supported versions
---------
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump actions/setup-node from 6.2.0 to 6.3.0 (#1)
Dependabot couldn't find the original pull request head commit, ea510f40fc1855aa17a782e05b0d30547e84955e.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/setup-buildx-action from 3.12.0 to 4.0.0 (#2)
Dependabot couldn't find the original pull request head commit, faed6bf8a712c5fc793fa628157de25d97888131.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/build-push-action from 6.19.2 to 7.0.0 (#3)
Dependabot couldn't find the original pull request head commit, f110823720b6dd773df014ba288a126d8837fe28.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump docker/login-action from 3.7.0 to 4.0.0 (#6)
Dependabot couldn't find the original pull request head commit, 9a8d7a1daf5afff06bb35e36607c3da9aa730e21.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(archive): infer archive type via Magic Numbers instead of filename
* fix(archive): improve archive type detection and improve logging for cover image retrieval
---------
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor(misc): Harden request handling, tighten defaults, and pin CI dependencies
* feat(auth): normalize usernames for login rate limiting
* refactor(epub): fix XML document builder creation
* feat(http): enhance image download with redirect handling and DNS rebinding protection
* chore: upgrade Node.js version to 24 and add frontend dependency audit step
* feat(auth): refactor username normalization for login rate limiting and enhance image download security
* fix(metadata): simplify JAXB validation event handling by using direct import
* chore(pipeline): remove unnecessary --force flag from npm ci and format audit step
* chore(pipeline): streamline frontend dependency audits and add validation step
* fix(image): improve error handling for image processing and download, enforce pixel limits
* test(image): update tests
* fix(icon): update DOMPurify import and replace deprecated theme package
* fix(imports): update theme package imports and format code for consistency
* fix(cors): update allowed origins configuration to support wildcard and trim whitespace
* feat(metadata): add BookLore custom metadata support for moods, tags, ratings, and external IDs in EPUB, PDF, and CBZ
- Introduce BookLoreSchema for XMP custom fields and BookLoreMetadata for namespace constants
- Write and extract moods, tags, ratings, and external IDs (Goodreads, Amazon, Hardcover, Lubimyczytac, RanobeDB, Google) in EPUB, PDF, and CBZ metadata
- Store BookLore custom fields in ComicInfo.xml notes and Web fields for CBZ
- Add BookLore fields to XMP metadata in PDF, including moods and tags as separate fields
- Update extractors and writers to handle BookLore fields and ensure separation of categories, moods, and tags
- Add comprehensive tests for BookLore metadata extraction and writing
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* refactor(metadata): standardize hardcoverBookId as String and improve identifier handling
- Change hardcoverBookId field and related methods to use String instead of Integer for consistency across extractors and writers
- Update metadata copy helpers and tests to reflect new hardcoverBookId type
- Improve identifier prefix handling in EPUB and PDF extractors to be case-insensitive and trim whitespace
- Allow PDF keywords to be split by comma or semicolon
- Rename TaskCreateRequest#getOptions to getOptionsAs for clarity and update usages
- Adjust series number writing in EPUB metadata to preserve decimals when needed
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* refactor(metadata): standardize usage of tags over categories and improve BookLore field extraction
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): add rating and ratingLocked fields to BookMetadata and improve PDF metadata extraction
- Add rating and ratingLocked fields to BookMetadata for enhanced rating support
- Refine PDF keyword extraction to handle both comma and semicolon delimiters
- Ensure ISBN fields are only set if cleaned values are non-blank
- Use temp file only stream cache when loading PDFs for metadata writing
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): implement ComicInfo.xml writing via JAXB, ensure XSD compliance and add tests for CBX metadata persistence
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): enhance metadata extraction with additional identifiers and improve parsing logic
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): improve metadata handling by ensuring descriptions are prioritized and enhancing keyword management for PDF compatibility
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* refactor(metadata): simplify Pages class structure in ComicInfo.java
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): refine PDF metadata writing by isolating categories for legacy compatibility and removing moods and tags from keywords
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): enhance PDF metadata extraction and writing with support for additional fields and improved handling of series information
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): enhance PDF metadata extraction and writing with support for additional fields and improved handling of series information
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): implement secure XML parsing utility and enhance metadata extraction with improved GTIN validation and debug logging
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* refactor(metadata): update package structure to align with new organization naming conventions
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(epub-metadata): streamline cover image extraction logic and improve error handling
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): enhance PDF and comic metadata extraction with additional fields
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(metadata): migrate to tools.jackson for JSON processing in sidecar metadata handling
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(epub-metadata): streamline cover image extraction and enhance XML parsing security
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(epub-metadata): enhance cover extraction with heuristic fallbacks for manifest and ZIP entries
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* test(epub-metadata-extractor): add heuristic cover creation methods for EPUB files
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>