* 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
* 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
* 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.
* 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
* 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>
- 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)
the `streamEntryFromArchive` helper was replaced with
`ArchiveService.transferEntryTo` and during the merge of #113
we had a conflict that was automatically resolved incorrectly
this replaces the erroneous call with the expected
to fix the build
* build: drop unrar from dockerfile
* build: add libarchive to dockerfile
* ci: add libarchive for tests
* build: try adding to the gradle build
* refactor: use nightcompress for reading CBX
* test: disable tests using nightcompress when unavailable
* ci: drop showing java information
* build: add libarchive to dev compose
* build: fix libarchive link in alpine
seems alpine doesn't create libarchive.so and this seems to be the
easiest approach to fix that
* build: use expected order for allowing java to use native libs
* fix: ensure we initialize NightCompress before using it
* fix: properly find input stream
* fix: return amount of data copied
* test: add helper to turn off tests in ArchiveService
* test: rewrite CbxMetadataExtractorTest to mock archiveService
* refactor: expose `Path` to make `CbxMetadataExtractor` easier to test
* test: drop now useless test
* test: add archiveservice to rar5 integration
* test: mock out archiveservice in cbxreader test
* test: use real archiveservice in cbxconverstionintegration
* file: the cbxconversionservicetest also seems to be integration
* test: remove unused imports from cbxmetadataextractortest
* test: cbxcomicinfocompliance is also an integration
* test: cbxmetadatawriter is also integration
* chore: drop unused properties
* test: make cbxmetadataextractortest do something for covers
before it was basically useless because of fallback
* fix: invert check
* chore: better comment
* test: fix more cbxmetadataextractor tests that never worked
* test: we only ever raise ioexception
* fix: handle `null` comicinfo when parsing
* test: properly test for no files comicinfo
* build: manual link of dev docker compose
* test: if you use any matchers, all must be
* build: drop unrar from dev compose
* test: if you use any matchers, all must be
* test: always get a fresh stream
* test: drop more toFile