Commit Graph
938 Commits
Author SHA1 Message Date
brios 13f282fe72 fix(books): make "select all" actually select all not just the books loaded in (#533) 2026-04-22 17:27:38 -04:00
James Ward a32cd54163 fix(kobo): default kobo store proxy to "on" (#515) 2026-04-22 17:27:37 -04:00
Zach 719e083353 docs: consolidate application project development docs (#545)
* docs: add DEVELOPMENT.md

* docs: dedupe application project development guides

* docs: update junit version target
2026-04-22 17:27:37 -04:00
brios 928ccff5f0 fix(logging): change book added event completion log level from info to debug (#532) 2026-04-22 17:27:36 -04:00
brios 68d0b26716 fix(pdf): improve PDF blob handling and improve viewer destruction logic (#506)
* 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
2026-04-22 17:27:35 -04:00
brios 902f5f5d67 fix(user-settings): fix settings loading errors (#527)
* 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
2026-04-22 17:27:35 -04:00
brios 5bd2e9ad3f fix(streaming): rewrite file streaming with NIO and HTTP caching (#512)
* 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
2026-04-22 17:27:35 -04:00
James Ward ba6eb4f64c fix(kobo): proxy the /v1/auth/device endpoint (#511)
without this it's impossible to set up a kobo device since we won't have
a userkey yet
2026-04-22 17:27:35 -04:00
brios 3e988077e0 fix(audiobook): improve audiobook streaming and player UI (#513) 2026-04-22 17:27:34 -04:00
brios 649c485c2d fix(readers): add chapter caching and improve page rendering (#514)
* fix(readers): add chapter caching and improve page rendering

* fix(readers): simplify caching logic and remove unused methods in CbxReaderService and PdfReaderService
# Conflicts:
#	booklore-api/src/main/java/org/booklore/controller/EpubReaderController.java
2026-04-22 17:27:34 -04:00
brios 502f5738bf feat(filters): add age rating and content rating filters, improve filter options (#479)
* 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
2026-04-22 17:27:15 -04:00
brios fcee609b15 fix(metadata): refactor book metadata fetching to use fetch API and signals for state management (#495)
* 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
2026-04-22 17:27:15 -04:00
brios e2d6c1bf11 fix(dto): add DailyListeningDto and update session-related DTOs to use LocalDate (#403)
* 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
2026-04-22 17:27:14 -04:00
Alex Fair 4bca3f6674 feat: add reading progress endpoints to mobile api (#377)
* 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
2026-04-22 17:27:14 -04:00
James Ward 6a52a1a248 fix(bookdrop): clean bookdrop metadata before persisting (#462)
* fix(api): clean bookdrop metadata before persisting

* test: add tests for behaviors

* fix(api): add missing ratings + IDs

* fix(api): use `toBuilder()` to reduce risk of dropping fields
2026-04-22 17:27:13 -04:00
James Ward 28dd303e54 fix(kobo): handle missing book when pulling kobo metadata (#473)
instead of an uncaught error, missing books should be treated as
a 404 not-found in the kobo metadata endpoint
2026-04-22 17:27:13 -04:00
James Ward d4bc8407d8 fix(api): use correct field lengths for file processors (#459) 2026-04-22 17:27:13 -04:00
Zach c95b5fab87 fix(reader): resolve epub preview runtime and audiobook download failures (#463)
* fix(reader): resolve epub preview runtime and audiobook download failures

* fix(files): load book library path for additional file downloads

* fix(files): scope additional file operations to book-owned non-primary files
2026-04-22 17:27:12 -04:00
James Ward 26379606df refactor(api): use spring content disposition helper for BookDownloadService (#449) 2026-04-22 17:27:11 -04:00
brios 4a68fa28f6 fix(filter): update filter options to use CountedOption for read statuses and file types (#448)
* 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
2026-04-22 17:27:10 -04:00
brios bff20c5219 refactor(epub): migrate from documentnode to grimmory epub4j library and update related code (#334)
* 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
2026-04-22 17:27:10 -04:00
brios 3e5a6a9de8 refactor(api): optimize caching mechanisms and improve book filtering (#372)
* refactor(api): optimize caching mechanisms and improve book filtering logic

* refactor(preferences): remove unused ExternalDocLinkComponent and enhance translate function typing

* refactor(initializer): add Duration import for improved cache management

* refactor(docker): increase MaxMetaspaceSize for improved memory management

* refactor(repository): replace findAllForSummaryByIds with findAllById

* refactor(cache): implement invalidateAppBooksQueries for improved cache management

* refactor(AppBookService): increase default page size and optimize magic shelf book resolution

* refactor(AppBookSpecification, MagicShelfBookService, TaskCancellationManager, magic-shelf-component): streamline join handling and improve memory management

* refactor(AppBookService, MagicShelfBookService): enhance book retrieval logic and improve error handling

* chore: fix formatting

* chore: fix formatting
2026-04-22 17:27:10 -04:00
Zach 402c6f07c8 docs(api): normalize OpenAPI tagging and operation metadata for app + auth/task endpoints (#437)
* 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
2026-04-22 17:27:09 -04:00
Zach a0a7be43dd refactor(email): replace Booklore References In Email with Grimmory (#434) 2026-04-22 17:27:09 -04:00
James Ward 6a9f4cd112 fix(api): invert kobo book type check for downloads (#432)
* 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
2026-04-22 17:27:09 -04:00
James Ward 907ad09d5b chore(api): drop unused book download proxy (#428)
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
2026-04-22 17:27:09 -04:00
brios cbd04eec8e refactor(file): improve path handling and validation (#82)
* 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
2026-04-22 17:27:08 -04:00
brios 2ecd35296d fix(metadata): add support for audible fields in metadata refresh options (#348)
* 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
2026-04-22 17:27:08 -04:00
brios 536daa996e refactor(library): implement asynchronous book addition and cover generation with event handling (#329)
* 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
2026-04-22 17:27:08 -04:00
Zach a32ca37f23 chore(api): add the base OpenAPI metadata config (#423) 2026-04-22 17:27:07 -04:00
brios 6c8a907325 feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff (#393)
* 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
2026-04-22 17:27:07 -04:00
brios 1db1b8404a feat(cbx-viewer): add (back) infinite and long-strip modes, fixed. (#390)
* feat(cbx-viewer): add (back) infinite and long-strip modes, fixed.

* feat(reader): improve strip width controls and improve continuation affordance

* fix(cbx-reader): clear debounce timer on layout generation changes
2026-04-22 17:27:07 -04:00
brios 78099cc92c refactor(regex): replace string manipulation with Pattern matching for improved readability (#359)
* 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
2026-04-22 17:27:07 -04:00
Pedro Nave a261749b8c fix(hardcover): hardcover sync duplicates reads and doesn't update progress (#247)
* 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
2026-04-22 17:27:06 -04:00
brios cf7999044f refactor(threads): replace manual thread management with Spring lifecycle (#322)
* refactor(threads): replace manual thread management with Spring lifecycle

- Convert LibraryWatchService, LibraryFileEventProcessor,
  BookdropMonitoringService, BookdropEventHandlerService to SmartLifecycle
  for proper startup/shutdown ordering
- Replace Executors.newCachedThreadPool() in FilenamePatternExtractor
  with Spring-managed ExecutorService bean
- Delete SecurityContextVirtualThread utility class
- Add DelegatingSecurityContextRunnable task decorator to TaskExecutorConfig
  for automatic security context propagation
- Replace SecurityContextVirtualThread.runWithSecurityContext() calls in
  TaskService, BookCoverService, SendEmailV2Service, LibraryService
  with injected Executor
- Fix CbxReaderService pre-existing compile error (transferEntryTo)

* refactor(threads): improve thread management with ThreadPoolTaskExecutor and improve shutdown handling

* fix: fix broken test
2026-04-22 17:27:05 -04:00
NamLe029 9ddbe3579d refactor(SecurityFilter): Stop filters from being registered on all routes (#361)
* see pr message

* fix:
+	use PathPattern for request matching
+	include common public route to whitelist
+	logging for failed queryjwt

* forgot to remove debug code
2026-04-22 17:27:05 -04:00
James Ward 5318e10677 fix(api): use CBX Extractor in the CBX processor (#409)
* 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
2026-04-22 17:27:05 -04:00
James Ward 91c19739dc feat(api): allow disable of kobo store proxy (#337)
* 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.
2026-04-22 17:27:05 -04:00
James Ward 34042be1c9 fix(api): use ASIN instead of search if available (#369) 2026-04-22 17:27:04 -04:00
Oleh Astappiev b9a28d6b78 fix(auth): ensure case-insensitivity on reading remote auth headers (#389) 2026-04-22 17:27:03 -04:00
brios 707f0a8b9b fix(file): update file type and size retrieval to use primaryFile structure (#383) 2026-04-22 17:27:03 -04:00
brios 05185eefb0 chore(banner): add ASCII art banner (#381) 2026-04-22 17:27:03 -04:00
James Ward 7e796ec491 chore(api): fix typo on openapi doc for healthcheck (#380)
s/healch/health/
2026-04-22 17:27:02 -04:00
4ce918891b fix(file): allow physical books to be moved between libraries (#296)
* chore(release): 2.3.0 [skip ci]

## [2.3.0](https://github.com/grimmory-tools/grimmory/compare/v2.2.6...v2.3.0) (2026-03-21)

### Features

* **release:** document develop-based stable release previews ([930e526](https://github.com/grimmory-tools/grimmory/commit/930e5262285540b3b65b9ef4f7be328a05dfb5b4))

### Bug Fixes

* **api:** fix potential memory leaks in file processing ([031e8ae](https://github.com/grimmory-tools/grimmory/commit/031e8ae257c3354cacce2d17c8c6bc35ce80badb))
* **ci:** correct artifact download action pin ([37ca101](https://github.com/grimmory-tools/grimmory/commit/37ca101dd4bd08ccfe6d4d2395ecc71298cc323d))
* **ci:** publish PR test results from workflow_run ([11a76bf](https://github.com/grimmory-tools/grimmory/commit/11a76bffe12f80d0271e3626291cfbd275346727))
* **ci:** repair release preview and test result publishing ([afa5b81](https://github.com/grimmory-tools/grimmory/commit/afa5b818ebe612e66acc819aa398ac0c6184d21b))
* drop telemetry from app ([#52](https://github.com/grimmory-tools/grimmory/issues/52)) ([4d82cb7](https://github.com/grimmory-tools/grimmory/commit/4d82cb718833a2a4e08ee2f18b2ff3ab9b043dd6))
* **ui:** repair frontend compile after rebrand ([fea1ec6](https://github.com/grimmory-tools/grimmory/commit/fea1ec6930ae64445c6d7e7b38bdc4e7925b51c1))

### Refactors

* **build:** rename frontend dist output to grimmory ([ecf388f](https://github.com/grimmory-tools/grimmory/commit/ecf388f7a2086fbd1d8737a972926d70ec3190d4))
* **i18n:** rename booklore translation keys to grimmory ([eb94afa](https://github.com/grimmory-tools/grimmory/commit/eb94afa7ad600eaa2535802583f21937bd1ae2c0))
* **metadata:** move default parser from Amazon to Goodreads ([e252122](https://github.com/grimmory-tools/grimmory/commit/e252122bc5a89c75af85ddbaae66a14d368479f9))
* pull kepubify & ffprobe during build ([#50](https://github.com/grimmory-tools/grimmory/issues/50)) ([1c15629](https://github.com/grimmory-tools/grimmory/commit/1c15629a10ba2e2ad78455f118e8c937b585b157))
* **ui:** rebrand frontend surfaces to grimmory ([d786dd8](https://github.com/grimmory-tools/grimmory/commit/d786dd8ccbebaa360385dce834816bcb6aaf3b2f))

### Chores

* **api:** remove the custom startup banner ([98c9b1a](https://github.com/grimmory-tools/grimmory/commit/98c9b1ae653c2140b7b2ab86b5511be3376bfe43))
* **deps:** bump flatted from 3.4.1 to 3.4.2 in /booklore-ui ([#73](https://github.com/grimmory-tools/grimmory/issues/73)) ([c4bd0c7](https://github.com/grimmory-tools/grimmory/commit/c4bd0c779ae398968dbdea6d566693ed57eab3eb))
* **funding:** point support links at opencollective ([55c0ac0](https://github.com/grimmory-tools/grimmory/commit/55c0ac089966b8586e7d7bdef1fc469049903d08))
* **release:** 2.2.7 [skip ci] ([0b5e24c](https://github.com/grimmory-tools/grimmory/commit/0b5e24c23848c9e97b04f4221303d0b4bf0b2dd7))
* remove old verbose PR template, replace with temporary more low-key one. ([#84](https://github.com/grimmory-tools/grimmory/issues/84)) ([b868526](https://github.com/grimmory-tools/grimmory/commit/b8685268a9a9730416a209201a70c284cee590c5))
* **ui:** drop financial support dialog ([#21](https://github.com/grimmory-tools/grimmory/issues/21)) ([62be6b1](https://github.com/grimmory-tools/grimmory/commit/62be6b152cbd42910620fdeae1f35783ea258b27))

### Documentation

* updated supported file formats in README.md ([#68](https://github.com/grimmory-tools/grimmory/issues/68)) ([f912e80](https://github.com/grimmory-tools/grimmory/commit/f912e802f97263206308817acd5bab84a5321dcf))

### Style

* **i18n:** normalize translation json formatting ([#89](https://github.com/grimmory-tools/grimmory/issues/89)) ([857290d](https://github.com/grimmory-tools/grimmory/commit/857290d215b518e61c9b3a058ae5d40d5e214672))
* **ui:** simplify the topbar logo branding ([0416d48](https://github.com/grimmory-tools/grimmory/commit/0416d48a6c441792b4c9607b3e472159c879d439))

* fix(file): deduplicate bookFiles and protect source library root in FileMoveService

* fix(shelf): include public shelves in filterShelvesByUserId

* fix(shelf): centralize shelf visibility predicate and deduplicate book files by ID

* fix(shelf): controll for null userid

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: msmouse <git@dsmouse.com>
Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
2026-04-22 17:27:02 -04:00
James Ward b05d76d594 chore(api): drop unused code in AmazonBookParser and AudibleParser (#368) 2026-04-22 17:27:01 -04:00
brios 64083fe9b7 feat(pdf): integrate PDFium4j for PDF processing and metadata extraction (#281)
* 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
2026-04-22 17:27:01 -04:00
briosandcoderabbitai[bot] ad3a981ad1 fix(hibernate): improve transaction management and optimize entity fetching (#176)
* fix(hibernate): improve transaction management and optimize entity fetching

* chore(tests): clean-up comments

* chore: fix config issue in the kotlin dsl

* fix(hibernate): fix entity equality checks

* fix(hibernate): add transactional read-only support to BookService

* Update booklore-api/src/main/java/org/booklore/model/entity/BookLoreUserEntity.java

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(hibernate): remove redundant annotations in BookLoreUserEntity

* fix(hibernate): import Hibernate

* fix(tests): fix merge conflict caused errors

* refactor(book): optimize book retrieval methods and reduce cache sizes

* refactor(metadata): remove lazy loading from description field in BookMetadataEntity

* fix(build): increase max heap size for test tasks

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-22 17:27:01 -04:00
brios 390a37266c refactor(config): remove redundant Spring Boot config and fix injection patterns (#314)
* refactor(config): remove redundant Spring Boot config and fix injection patterns

- Delete TransactionConfig (Spring Boot auto-configures JpaTransactionManager)
- Delete MultipartConfig (replaced with spring.servlet.multipart.* properties)
- Delete BeanConfig (RestTemplate moved to RestClientConfig, WS stats to WebSocketConfig)
- Remove duplicate @EnableScheduling from TaskSchedulerConfig
- Fix @ConfigurationProperties: remove @Component from AppProperties, change
  @Configuration to @ConfigurationProperties on BookmarkProperties
- Move RestTemplate bean to RestClientConfig
- Add WS stats suppression to WebSocketConfig via ApplicationReadyEvent
- Remove @Autowired from KepubConversionService, GoogleParser,
  HardcoverBookSearchService (single-constructor injection)
- Remove redundant two-arg constructor from GoogleParser
- Fix CbxReaderService pre-existing compile error (transferEntryTo)

* refactor(config): add primary RestTemplate bean and include audiobook settings in persistence configuration
2026-04-22 17:27:00 -04:00
NamLe029andbrios 5495225ad5 feat(web-reader): HTTP Caching & Cache Storage for content responses (#75)
* Squashed commit of the following:

commit e799d02a1b3557fcbe9c67bd276ced9ddc783e83
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:47:08 2026 +0700

    should be done

commit d232c4d48bd97dbc7d8d800cdb3d18e85a73b8ec
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:32:49 2026 +0700

    ok done

commit 911d69c3347c6596ae0feb3261355f7b234b6171
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:32:15 2026 +0700

    dont break pls

commit 498e996bb42a74f9edda65b914a9124b15a8baea
Author: Nam Le <namle888029@gmail.com>
Date:   Sat Mar 21 11:35:32 2026 +0700

    changes:
    + avoid double caching
    + detach get & validate logic
    + error handling for cache insert

commit a215d11d6855a3381e4f2ecbca32d45d4b06869f
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 22:01:37 2026 +0700

    fix dup

commit 539b70f6f9c859bdf6d2a2557e3ba1c1fc10a601
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 21:46:43 2026 +0700

    fix
    + leaking Blob resource
    + scss lint
    + extra `}`

commit d1c8ceea944c0a25a9a2a54bb83122e0a9480b05
Author: NamLe029 <146613205+NamLe029@users.noreply.github.com>
Date:   Fri Mar 20 21:34:14 2026 +0700

    Apply suggestions from code review

    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

commit ca14572c8c6df143295ebff2acf210f3a5164ed5
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 20:25:46 2026 +0700

    wording

commit 558b0f69fe6a6736aa114f592abd87451b173ccb
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 19:51:28 2026 +0700

    remove dexie

commit 4b0750824685e70dd5a13fd9e899064fd6b009c6
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 19:22:43 2026 +0700

    use observable for pdf bookdata

commit 1c88aff7c01a51a5263aca3522797624ed794862
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:07:14 2026 +0700

    switch to cache storage

commit c766428c32b97fab339b3438b6c4e693082a07a3
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 15:13:42 2026 +0700

    error handling

commit bdbaa8f5f769fcd80f3f93aac0c52ffba8bcec27
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 14:16:49 2026 +0700

    cleanup unecessary validation

commit 56e264ee5570948cf1512c8ce4de4622430d3cdc
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:50:45 2026 +0700

    apply simpleCacheService

commit 45ef6ae5d460b27d134b696951fd613eefcb2d64
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:02:44 2026 +0700

    interface for local settings

commit 421305dbcb108647b5f0cc29c567de5daee2a93d
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:01:20 2026 +0700

    simple cache service for caching request response

commit 1aa81b4a08b006d52e398da61464527fd90e51cb
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:47:54 2026 +0700

    local settings service for device-scoped settings

commit 647b4f561336617651f5c4f14fe83dc70df3f30f
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:46:35 2026 +0700

    add dexie dependency

commit d8bfed64b0096c2d99052fceee718413b5dc8b40
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:46:00 2026 +0700

    enable HTTP Caching (Last-Modified) for PDF, EPUB, audiobook content response

* delete unused

* final touch

* move local settings

* test

* remove test case for deleted  method

* lint

---------

Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
2026-04-22 17:27:00 -04:00
dependabot[bot] 73857a81ed chore(deps): bump the gradle-dependencies group (#350)
Bumps the gradle-dependencies group in /booklore-api with 3 updates: [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j), org.flywaydb:flyway-mysql and [tools.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom).


Updates `org.mariadb.jdbc:mariadb-java-client` from 3.5.7 to 3.5.8
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.5.7...3.5.8)

Updates `org.flywaydb:flyway-mysql` from 12.2.0 to 12.3.0

Updates `tools.jackson:jackson-bom` from 3.1.0 to 3.1.1
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-3.1.0...jackson-bom-3.1.1)

---
updated-dependencies:
- dependency-name: org.mariadb.jdbc:mariadb-java-client
  dependency-version: 3.5.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: org.flywaydb:flyway-mysql
  dependency-version: 12.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gradle-dependencies
- dependency-name: tools.jackson:jackson-bom
  dependency-version: 3.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 17:27:00 -04:00