Commit Graph
39 Commits
Author SHA1 Message Date
renovate[bot] 1382698d54 chore(deps): update dependency org.freemarker:freemarker to v2.3.34 (#1861)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-14 01:58:14 -07:00
renovate[bot] 55eddf4063 chore(deps): update dependency org.assertj:assertj-core to v3.27.6 (#1859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-13 23:42:52 -07:00
CounterClops 3ce8d496e0 Fix issues with library scans and file moves with a focus on SMB usage (#1744)
* fix: add retry and retry delays to handle smb lag

* fix: issue with importing cb7 files. missing required dependency. Scan would fail prematurely if a cb7 file was present

* fix: cleanup empty subdirectories when cleaning up parent folders

* fix: update folder cleanup to account for SMB delays

* chore: cleanup redundant and weak tests from auto-generated unit tests

* fix: make sleep function name more descriptive

* fix: minor optimisation around path matching

* fix: update xz package to latest version
2025-12-10 12:52:37 -07:00
Muppetteer cc38079c40 Enable java remote debug on dev docker stack (#1808)
* Enable java remote debug on dev stack

* Enable java remote debug on dev stack

* Update docs with info on docker development stack

* Update dev docs
2025-12-10 12:49:58 -07:00
Aditya Chandel ff17b74adb Downgrade Java, Spring Boot and Gradle (#1696)
* Revert Spring Boot 4

* Downgrade Java from 25 to 21 and Gradle from 9 to 8
2025-11-30 16:39:56 -07:00
CounterClopsandAditya Chandel dfb73d50d9 Feature: Add EPUB conversion support for CBX files to Kobo Sync (#1538)
* Feature/kobo sync cbx support (#3)

* Feature: Add CBX syncing support to Kobo sync (#2)

* feat: add cbx sync support

* fix: phrasing of setting description to align with CBX terminology

* fix: resolve issue with CBX setting persistence

* fix: updated dev docker compose to align with Dockerfile

* feat: add cbx files as allowed entitlements

* fix: relax tomcat query characters for kobo sync

* fix: remove hardcoded epub restrictions

* fix: reduce image size and resolve relative content paths

* fix: resolve issues with the image file encoding

* feat: add rar and cb7 support

* feat: bring generated epub more in line with epub standard

* fix: resolve issues with extra metadata fields

* fix: make css background colour white to improve e-ink performance

* cleanup: code comments

* feat: add cbx unit tests

* fix: update zipfile to use builder pattern as current method is deprecated

* fix: remove comments

* fix: replace regex pattern to a simpler check

* fix: remove unused imports

* fix: update epub template to use standard language string

* fix: missing line end on css

* fix: remove duplicate query characters

* fix: grammer issue

* fix: resolve typo in the entitlement service test

* fix: redundant imports and update long types

* chore: update test descriptions for cbx conversion

* fix: add check for larger images in archive files. unlikely to occur.

* fix: merge temp dir logic for the book download

* fix: update kobo entitlement to always report the format as epub3

* fix: implement suggested changes around javadocs and some edge cases to handle gracefully

* chore: cleanup variable names to be clearer in download service

* feat: change function to extract to disk instead of storing images in memory

* fix: add temp file clean up into the conversion service

* fix: add visual divider to seperate CBX and EPUB settings

* fix: update lambdas to use method references

* fix: reword setting description for cbx to epub sync

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-11-30 09:53:26 -07:00
Aditya Chandel d647fe401e Upgrade Spring Boot to version 4.0.0 (#1667)
* Upgrade Spring Boot to version 4.0.0

* Fix flyway config
2025-11-28 14:10:14 -07:00
Aditya Chandel 46225a3c0e Upgrade Spring Boot to version 4.0.0 (#1666) 2025-11-28 13:35:40 -07:00
Aditya Chandel d90cb73148 Unify TasksV1 and TasksV2 implementations (#1358) 2025-10-15 19:59:30 -06:00
Aditya Chandel 7133ef1a69 Upgrade project environment to Java 25 and Gradle 9 (#1277) 2025-10-06 12:53:34 -06:00
Ruben GMandCopilot 2e537bb2a1 feat: ComicInfo.xml support for CBX files (#1073)
* write, read ComicInfo.xml for CBZ files

* updated with recommendations from previous PR https://github.com/booklore-app/booklore/pull/1069

* read ComicInfo.xml on CBR, extract first image for CBZ/CBR files, save CBR metadata in ComicInfo.xml as CBZ

* Delete CBR file after CBZ conversion. Update DB

* Backs up file before updating. Restores back up if errored

* Test classes

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/BookMetadataUpdater.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/writer/CbxMetadataWriter.java

Updating RAR binary availability check

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/extractor/CbxMetadataExtractor.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/extractor/CbxMetadataExtractor.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Code updates from PR suggestions

* Support to extract ComicInfo.xml for .cb7 files

* Writer extension for .cb7 files

* Adding com.github.junrar to build.gradle (forgot in previous commit)

* Settings toggle to control CBR/CB7 to CBZ conversion

* indentation complains

* removed duplicated junrar inport

* Restore comicinfo.xml metadata in edit view

* retrieve ComicInfo.xml metadata for new files in library scan

* private class definition was missed after merge

* Delete 

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-09 08:16:29 -06:00
Alexander Puzynia b81a8d1422 Book additional files support (1/3) (#868)
* feat(api/model): add new entity BookAdditionalFileEntity

* feat(api/db): add book additional file repository

* feat(api/db): add migration

* test(api/db): add book additional file repository test

* test(api/db): add book additional file repository tests for hash uniqueness

* feat(api/domain): add support to additional file model

* feat(api): add additional files controller

* refactor(api): move addAdditionalFile to FileUploadService as uploadAdditionalFile method

* feat(service): search book by additional file

* feat(services): process deleted additional files with ability to promote alternative formats to book instead of deleting them

* refactor(util): use common code to resolve patter for entity and domain object

* feat(service): move additional files

* test(service): test move additional files along with book itself
2025-08-27 08:11:04 -06:00
aditya.chandel e9cbc36768 Update Frontend and Backend Dependencies - August 2025 2025-08-09 01:04:18 -06:00
aditya.chandel 177528e640 Implement Bookdrop: Watch folder for file drops and auto-process uploads 2025-07-19 11:05:59 -06:00
aditya.chandel 841e359b92 Support File Move Operations with Watcher Refactor for Accurate Tracking 2025-07-04 11:19:23 -06:00
aditya.chandel b155f567a4 Deleting books now cleans up empty directories left behind 2025-06-30 17:31:34 -06:00
aditya.chandel 86dfc515a7 Support writing metadata directly into PDF files 2025-06-27 14:48:49 -06:00
aditya.chandel 32bf75dcfe Update Spring Boot Stack to Latest Stable Versions (June 2025) 2025-06-04 18:29:40 -06:00
aditya.chandel 204a155582 feat: Leverage fuzzy logic for more accurate metadata resolution and support Amazon cookies
- Improved metadata matching using fuzzy string comparison with threshold-based author validation
- Added support for optional Amazon session cookie to enhance data retrieval and bypass rate limiting
2025-05-30 12:29:00 -06:00
aditya.chandel ff64362edb Implement support for comic book files (CBZ, CBR and CB7) 2025-05-23 22:58:23 -06:00
adityachandelgit 817b572c08 Implement OIDC authentication 2025-05-14 14:58:20 -06:00
adityachandelgit 09ee9ec357 Suppress noisy Spring boot logs, Hikari warnings, and clean Quartz/Hibernate startup output 2025-04-30 21:51:40 -06:00
adityachandelgit 4546d3e232 Update Angular and Spring Boot dependencies (April 2025) 2025-04-15 13:34:48 -06:00
aditya.chandel c957f56b86 Implement functionality for sending books via email 2025-03-19 05:39:36 -06:00
aditya.chandel 093592179d Prepare for open source and stopped tracking application-local.yaml 2025-03-11 18:17:23 -06:00
aditya.chandel c10f046c5b Update BE dependencies 2025-03-11 13:21:23 -06:00
aditya.chandel d3627a2d3f Checkpoint: Authentication 2025-02-15 21:43:06 -07:00
aditya.chandel 494aba24c6 WIP: Dockerize 2025-01-22 16:05:47 -07:00
aditya.chandel f5e1c1e7c8 Switch to H2 DB 2025-01-17 10:58:42 -07:00
aditya.chandel f6f5f718af Add swagger 2025-01-16 14:44:03 -07:00
aditya.chandel c7069132b6 Implement file downloading functionality 2025-01-16 14:27:14 -07:00
aditya.chandel ceb344677c WIP: ePub support 2025-01-14 11:29:15 -07:00
aditya.chandel 7e748bb79a Some logging 2025-01-05 23:58:29 -07:00
aditya.chandel 08e1b2761d - Use quartz for metadata job management
- Improve build.gradle
2025-01-05 23:09:41 -07:00
aditya.chandel 8815ad25d1 - Use mapstruct instead of manual transformer
- Rename Entities and DTOs
- Implement refresh metadata
- Delete old unused metadata dialog
2025-01-05 17:22:20 -07:00
aditya.chandel ea2ac58f03 WIP: New metadata engine 2025-01-01 01:12:27 -07:00
aditya.chandel e175a7e255 Websocket and stuffs 2024-12-19 16:10:08 -07:00
aditya.chandel 95e0d27de4 Checkpoint 2024-12-15 18:03:31 -07:00
aditya.chandel baff376b9c Initial commit 2024-12-13 12:58:23 -07:00