Commit Graph
2258 Commits
Author SHA1 Message Date
brios 9c3ecc58d4 fix(metadata): update book retrieval methods to fix lazy init exception when removing some authors/retrieving metadata from file (#560) 2026-04-22 17:27:39 -04:00
brios c06dc95668 fix(metadata): support multiple roles for the same creator in EPUB metadata extraction (#561) 2026-04-22 17:27:39 -04:00
brios bf4fab3785 fix(upload): add ChangeDetectorRef calls to ensure UI updates during file upload process (#557) 2026-04-22 17:27:38 -04:00
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
brios 1f5f99d958 refactor(ebook-reader): optimize destruction handling and improve reactive subscriptions (#478) 2026-04-22 17:27:38 -04:00
brios e26df36a33 fix(collapse-series): fix series collapsing (#541) 2026-04-22 17:27:38 -04:00
brios f292a3e683 refactor: migrate library-creator component state to signals and enable component unit tests (#476) 2026-04-22 17:27:38 -04:00
Zach 5a6b70262c feat(brand): update app to use the Grimmory brand identity (#550) 2026-04-22 17:27:37 -04:00
dependabot[bot] 7f47b51d79 chore(deps): bump dompurify from 3.3.3 to 3.4.0 in /frontend (#536)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.3.3...3.4.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.0
  dependency-type: direct:production
...

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:37 -04:00
Zach 2c6509e7e7 docs: add AI usage policy for contributors (#547) 2026-04-22 17:27:37 -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
dependabot[bot] 91989b522b chore(deps): bump hono from 4.12.12 to 4.12.14 in /frontend (#535)
Bumps [hono](https://github.com/honojs/hono) from 4.12.12 to 4.12.14.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.12...v4.12.14)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.14
  dependency-type: indirect
...

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:36 -04:00
Zach 4c56e108e2 docs: add code of conduct (#546) 2026-04-22 17:27:36 -04:00
Allie f2b35070a0 chore(github): update bug report template with build selection (#529) 2026-04-22 17:27:36 -04:00
Zach 8fde43391e docs: remove frontend test architecture plans (#543) 2026-04-22 17:27:36 -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
Alex 6f2b86a7c5 fix(ui): properly scale placeholder artwork text with smaller sizes (#531)
* chore(ui): scale down placeholder text sizes

* chore(ui): switch to inline-size
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
James Ward 27db18ae80 fix(ui): enable all OIDC permissions when admin is granted (#517)
* fix(ui): enable all OIDC permissions when admin is granted

* fix(ui): only turn on all permissions when admin is on
2026-04-22 17:27:14 -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 39de8e31ac fix(ui): add missing OIDC group permissions (#487)
* fix(ui): support all permissions for oidc groups

* fix(i18n): use users permissions translations

* chore(i18n): drop unused `settingsAuth.perms` keys

* fix(i18n): use settingsUsers prefix for all permissions
2026-04-22 17:27:14 -04:00
James Ward 6541d41bf7 fix(ui): use RFC3330 format for date picker (#491) 2026-04-22 17:27:14 -04:00
3ddec09578 docs(readme): add DISK_TYPE to example compose file (#272) (#477)
DISK_TYPE is set in the .env file then passed into the container by the compose file

Co-authored-by: altotin <email>
Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
2026-04-22 17:27:13 -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 a63328b9c7 fix(ui): improve audible metadata provider detection (#456)
audible metadata also has an ASIN so it kept getting detected
as amazon metadata, then showing up incorrectly in the UI
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
brios 846a4b29dd fix(pdf-viewer): convert component properties to signals for improved reactivity (#475)
* fix(pdf-viewer): convert component properties to signals for improved reactivity

* fix(pdf-viewer): improve image quality and improve rendering stability
2026-04-22 17:27:12 -04:00
Zach cefa3ac434 feat(ui): allow copying non-release app version from sidebar (#472) 2026-04-22 17:27:12 -04:00
Zach da7fa4bc14 fix(pdf-reader): localize embedpdf viewer to active app language (#466)
* fix(pdf-reader): localize embedpdf viewer to active app language

* fix(pdf-reader): use runtime locale fallback for embedpdf translations

* fix(pdf-reader): clarify document viewer save info copy
2026-04-22 17:27:12 -04:00
Zach 0eb4c8e3df fix(book-card): prefer audiobook covers for square mixed-format cards (#467) 2026-04-22 17:27:12 -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 7abac02b0c refactor(settings): replace unsubscribe logic with takeUntilDestroyed for better resource management (#443)
* refactor(settings): replace unsubscribe logic with takeUntilDestroyed for better resource management

* refactor(settings): streamline saveSettings method and improve error handling

* fix(settings): improve error handling in saveSetting method

* refactor(settings): update tab structure

* refactor(settings): implement OnDestroy interface and clean up unused destroyRef instances
2026-04-22 17:27:11 -04:00
brios 85e8d235b6 fix(dashboard): improve performance with OnPush change detection (#440)
* 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
2026-04-22 17:27:11 -04:00
brios a779de8f57 fix(reader): implement signal-based state management and cleanup in EbookReaderComponent (#435) 2026-04-22 17:27:11 -04:00
brios 376ac6ff60 fix(reader): optimize memory management for canvas and image handling in infinite scrolling (#433)
* fix(reader): optimize memory management for canvas and image handling in infinite scrolling

* fix(reader): improve image loading management and optimize memory usage in infinite scrolling
2026-04-22 17:27:10 -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
2c26bd26fd fix(lazy-loading): improve image loading performance with lazy loading and low priority fetch (#431)
* fix(lazy-loading): improve image loading performance with lazy loading and low priority fetch

* fix(styles): update intrinsic size for virtual scroller items to use CSS variable

* refactor(book-card): simplify redundant cover width binding

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

---------

Co-authored-by: Zach <zachyale@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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