* 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
* feat: add reading progress endpoints to mobile api
* fix(app-api): replace ReadProgressRequest with app-specific DTO for progress endpoint
* fix(app-api): missing BookService dependecy for constructor
* 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
* docs(api): add OpenAPI tags and operation metadata to controllers
* docs(api): normalize @Operation annotation formatting in OpenAPI controllers
* docs(api): align operationId values with existing controller method names
* chore(api-docs): update api docs to be enabled by default for dev builds
* fix(api): invert kobo book type check for downloads
with the previous organization of code paths this leads to an
exception being raised in the logs even though the response message
is fine
* style: drop extra newline
the book download proxy code path should never be called. this is
because the book download URL received as part of the kobo proxy points
at the Rakuten Kobo CDN rather than at grimmory. further, even if this
code could download the file from the CDN (it doesn't), it would be
pointless as we don't return it. instead of fixing the return this
drops the proxy from that code path
* 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: use ISBN to match the edition to sync
* fix: optimize fallback to default editions when ISBN is not present
* chore: added tests for hardcover sync
* fix: handle cases where hardcover does not have page count
* fix: initial fix to hardcover sync
* added some additional logic to cover the hardcover API
* feat: added tests for hardcover progress sync
* chore: code cleanup
* fix: check if the progress insert and update are actually successful before logging
* fix: ensure book edition id is being updated
* fix: updateUserBookRead returned true even if there was an error
* see pr message
* fix:
+ use PathPattern for request matching
+ include common public route to whitelist
+ logging for failed queryjwt
* forgot to remove debug code
* fix(api): use CBX Extractor in the CBX processor
instead of implementing a separate cover detection algorithm in CBX
processor, this uses the CBXMetadataExtractor to fetch the cover image.
this means we now will take into account expected file names,
`ComicInfo.xml` definitions, and fall back to correctly sorted files
* style(api): drop unused imports
* fix(api): drop placeholder for cbx
this brings the CBX metadata extractor in line
with the other metadata extractors that return
null when no cover can be found
* fix: handle no cover
* chore(api): fix typing for kobo sync service
* feat(api): add more paths for grimmory/kobo API
* fix(api): disable kobo features if kobo is unavailable
* feat(api): add proxy flag to kobo setting
* feat(api): adhere to kobo proxy enabled flag
* feat(ui): add forward requests toggle
* fix(ui): load setting
* style: use assertNotNull
* fix: reduce advertised routes
this cuts down the advertised routes - in particular to reduce the
number of auth-related requests we will be taking on. we may eventually
want to do this but I want to reduce the amount of change in this PR
* fix: undo disable of kobo features
This reverts commit 1b242fa6614084b05c58ff3b24e142adb1bcf729.