Antoine Aflalo
7ad0256b46
chore: cleanup deps
2025-09-09 20:15:35 -04:00
Antoine Aflalo and GitHub
f08e8dad7b
fix: releasing app
2025-09-09 19:36:05 -04:00
Antoine Aflalo
54de9bcdeb
perf: use default for unlock the mutex
2025-09-09 16:59:11 -04:00
Antoine Aflalo
0a7cc506fd
fix: possible race condition
2025-09-09 16:58:42 -04:00
Antoine Aflalo
fe8c5606fc
chore: update deps
2025-09-09 16:49:24 -04:00
Antoine Aflalo
9a8a9693fb
fix(webp): fix installing newer version of webp
2025-09-09 11:37:13 -04:00
Antoine Aflalo
7047710fdd
test: no need for timeout for integration test
2025-09-09 10:13:56 -04:00
Antoine Aflalo
88786d4e53
fix(webp): fix using the right version
2025-09-09 10:12:38 -04:00
Antoine Aflalo
e0c8bf340b
ci: add test preparation
2025-09-09 09:58:50 -04:00
Antoine Aflalo
36b9ddc80f
fix(webp): fix issue with concurrent preparation of encoder.
2025-09-09 09:31:31 -04:00
Antoine Aflalo
a380de3fe5
ci: improve testing workflow
2025-09-09 09:19:07 -04:00
Antoine Aflalo
e47e21386f
tests: update testing suite with more use cases
...
Actually try to convert existing chapters.
2025-09-09 09:14:40 -04:00
Antoine Aflalo
44a919e4f3
test: add test with webp
2025-09-08 17:21:41 -04:00
Antoine Aflalo and GitHub
ddc5121216
Merge pull request #110 from Belphemur/renovate/actions-setup-go-6.x
...
chore(deps): update actions/setup-go action to v6
2025-09-04 08:12:50 -04:00
Antoine Aflalo
d245b80c65
fix: naming issue
2025-09-03 22:21:37 -04:00
Antoine Aflalo and GitHub
011f7a7a7f
Merge pull request #109 from Belphemur/feat/gif
...
Feat/gif
2025-09-03 22:19:07 -04:00
Antoine Aflalo
f159d3d0d0
fix: keep the error
2025-09-03 22:17:41 -04:00
Antoine Aflalo
ede8d62572
fix: Keep page as they are if we can't decode them and disable conversion
2025-09-03 22:15:10 -04:00
Antoine Aflalo
a151a1d4f8
tests(corruption): add test for corrupt pages
2025-09-03 21:38:21 -04:00
Antoine Aflalo
30ea3d4583
test: add test for page type
2025-09-03 21:34:39 -04:00
Antoine Aflalo
6205e3ea28
feat(gif): support gif file
...
See .gif file extension support and more exception handling
Fixes #105
2025-09-03 21:04:51 -04:00
Antoine Aflalo and GitHub
f6bdc3cd86
Merge pull request #106 from Belphemur/dependabot/go_modules/go_modules-004c5295e3
2025-09-03 11:01:04 -04:00
Antoine Aflalo and GitHub
70257a0439
Merge pull request #107 from Belphemur/renovate/actions-attest-build-provenance-3.x
...
chore(deps): update actions/attest-build-provenance action to v3
2025-09-03 08:40:01 -04:00
Antoine Aflalo and GitHub
9a29b6b45c
fix: rollback dockerfile changes
2025-08-27 09:27:11 -04:00
Antoine Aflalo
fcc4ac57ca
fix(ci): rollback to docker config instead of docker_v2
2025-08-26 23:08:08 -04:00
Antoine Aflalo
4cc33db553
fix(goreleaser): fix ci
2025-08-26 23:03:47 -04:00
Antoine Aflalo
d36c5cf0f1
fix: ci issue with goreleaser
2025-08-26 23:00:53 -04:00
Antoine Aflalo
ed70eb81cd
ci: update to new setup for docker images
2025-08-26 22:59:13 -04:00
Antoine Aflalo
419edbce7b
fix: ci config for goreleaser
2025-08-26 22:50:14 -04:00
Antoine Aflalo
4524e94b17
ci: fix goreleaser
2025-08-26 22:47:36 -04:00
Antoine Aflalo
c6823168af
fix: add attestations
2025-08-26 22:45:35 -04:00
Antoine Aflalo
9bca0ceaf4
fix: add autocomplete defintion for log level
2025-08-26 22:39:23 -04:00
Antoine Aflalo
c2a6220fde
fix(logging): fix logging parameter not taken into account
2025-08-26 22:36:23 -04:00
Antoine Aflalo
e26cf7a26a
fix: test
2025-08-26 21:37:51 -04:00
Antoine Aflalo
4e5180f658
feat: add timeout option for chapter conversion to prevent hanging on problematic files
...
fixes #102
2025-08-26 21:34:52 -04:00
Antoine Aflalo
e7bbae1c25
chore: bump webp
2025-08-26 21:20:56 -04:00
Antoine Aflalo
32c009ed9b
feat: integrate zerolog for enhanced logging across multiple components
2025-08-26 21:16:54 -04:00
Antoine Aflalo
94fb60c5c6
feat: enhance logging capabilities with zerolog integration and command-line support
2025-08-26 21:07:48 -04:00
Antoine Aflalo
dfee46812d
feat: use Zerolog for logging.
2025-08-26 20:55:34 -04:00
Antoine Aflalo and GitHub
d0e4037e15
Merge pull request #101 from Belphemur/dependabot/go_modules/go_modules-e1b2e84e8b
2025-08-26 20:38:53 -04:00
Antoine Aflalo and GitHub
43d9550e6e
Merge pull request #95 from Belphemur/renovate/actions-checkout-5.x
2025-08-11 20:33:18 -04:00
Antoine Aflalo and GitHub
117206e0ee
Merge pull request #83 from Belphemur/dependabot/go_modules/go_modules-3464edad9a
2025-06-27 15:48:52 -04:00
Antoine Aflalo and GitHub
29f7fbbc0d
Merge pull request #77 from Belphemur/Belphemur/issue75
2025-06-12 09:26:34 -04:00
Antoine Aflalo
1258b06210
docs: update README to include CBR file support and clarify features
2025-06-12 09:24:02 -04:00
Antoine Aflalo
8a6ddc668e
feat: enhance optimization logic for CBR/CBZ file handling and add tests
2025-06-12 09:23:00 -04:00
Antoine Aflalo
989ca2450d
feat: support CBR files in optimize and watch commands
...
Fixes #75
2025-06-12 09:18:06 -04:00
Antoine Aflalo
970b9019df
feat: load CBR files
2025-06-12 09:11:22 -04:00
Antoine Aflalo
c87fde31c4
chore: Removes unused import
...
Removes the `image/jpeg` import, as it is already imported via blank identifier.
2025-02-14 10:55:39 -05:00
Antoine Aflalo
23eb43c691
fix(chapter): fix chapter conversion.
...
Still need to figure out the memory issues
Consolidates image conversion logic into a dedicated method.
This change streamlines the conversion process by centralizing the
setting of converted image data, extension, and size. It also
introduces a flag to track whether an image has been converted.
The old resource cleanup has been removed since it is not needed anymore.
2025-02-14 10:03:35 -05:00
Antoine Aflalo
4d3391273c
ci: Sets up QEMU for cross-platform builds
...
Configures QEMU to enable emulation of different architectures,
allowing for cross-platform builds and testing in the release workflow.
2025-02-13 20:18:14 -05:00
Antoine Aflalo
2da3bae04a
Updates build configuration for multi-platform support
...
Configures the build process to support multiple platforms (Linux, Darwin, Windows) and architectures (amd64, arm64).
Disables CGO to simplify cross-compilation.
Updates Docker image creation to produce separate images for amd64 and arm64, and creates manifest lists for `latest` and versioned tags.
2025-02-13 20:12:49 -05:00
Antoine Aflalo
a3dfec642c
test: add webp converter test
2025-02-13 20:05:08 -05:00
Antoine Aflalo
0303c80feb
test: fix path
2025-02-13 20:04:33 -05:00
Antoine Aflalo
efe1696bfa
fix(memory): fix possible memory leak and add better tests
2025-02-13 20:02:45 -05:00
Antoine Aflalo
25cd4585b7
feat: revert to use webp executable
2025-02-13 19:47:13 -05:00
Antoine Aflalo
dd7b6a332c
refactor: update import paths to use internal package
2025-02-13 19:43:18 -05:00
Antoine Aflalo
ecc561263f
fix: move image to debian
2024-12-06 18:00:24 -05:00
Antoine Aflalo
fb1056e5e7
ci: remove bash completion
2024-12-06 17:40:42 -05:00
Antoine Aflalo
07bc88bb04
fix: v2 versioning
2024-12-06 17:28:09 -05:00
Antoine Aflalo
8c3665fa53
ci: fix dockerfile
2024-12-06 17:26:25 -05:00
Antoine Aflalo
8dce346997
ci: debug release 2
2024-12-06 17:22:27 -05:00
Antoine Aflalo
4646789e4e
ci: debug release
2024-12-06 17:21:12 -05:00
Antoine Aflalo
22ca56c98b
ci: fix building
2024-12-06 17:18:28 -05:00
Antoine Aflalo
f45a1d4ed0
ci: remove arm64
2024-12-06 17:10:52 -05:00
Antoine Aflalo
ee53fddf02
ci: fix version
2024-12-06 17:03:42 -05:00
Antoine Aflalo
f416f1ff32
feat: replace webp lib by C libwebp
...
Avoid having to download anything
2024-12-06 17:01:00 -05:00
Antoine Aflalo and GitHub
35cfe41aa6
Merge pull request #24 from Belphemur/renovate/codecov-codecov-action-5.x
...
chore(deps): update codecov/codecov-action action to v5
2024-11-18 14:37:12 -05:00
Antoine Aflalo and GitHub
1d3a8396f2
Merge pull request #20 from Belphemur/renovate/anchore-sbom-action-0.x
2024-11-05 09:49:07 -05:00
Antoine Aflalo and GitHub
103d38c74b
Merge pull request #18 from Belphemur/renovate/anchore-sbom-action-0.x
2024-10-22 10:23:05 -04:00
Antoine Aflalo and GitHub
2de7bc7a04
Merge pull request #17 from Belphemur/renovate/anchore-sbom-action-0.x
2024-10-15 14:29:56 -04:00
Antoine Aflalo and GitHub
449b57b14e
Merge pull request #13 from Belphemur/renovate/golang.org-x-image-0.x
...
fix(deps): update module golang.org/x/image to v0.21.0
2024-10-04 14:25:05 -04:00
Antoine Aflalo and GitHub
33ae460caf
Merge pull request #12 from Belphemur/renovate/sigstore-cosign-installer-3.x
...
chore(deps): update sigstore/cosign-installer action to v3.7.0
2024-10-04 09:57:48 -04:00
Antoine Aflalo
e798a59a43
perf: fix any unhandled errors
2024-09-10 15:10:40 -04:00
Antoine Aflalo
72086d658e
refactor: clean up
2024-09-10 13:58:52 -04:00
Antoine Aflalo
a7bca7ee05
ci(qodana): add qodana
2024-09-10 13:54:08 -04:00
Antoine Aflalo and GitHub
ba82003b53
Merge pull request #11 from Belphemur/renovate
...
perf(error): better deal with deferred errors
2024-09-09 14:47:12 -04:00
Antoine Aflalo
5f7e7de644
ci(tests): fix possible error with tests
2024-09-09 14:45:30 -04:00
Antoine Aflalo
5b183cca29
perf(error): better deal with deferred errors
2024-09-09 14:45:30 -04:00
Antoine Aflalo and GitHub
d901be14fa
Merge pull request #9 from Belphemur/renovatebot
...
ci(renovate): auto merge digest
2024-09-09 14:11:56 -04:00
Antoine Aflalo
a80997835a
chore(deps): update deps
2024-09-09 14:09:39 -04:00
Antoine Aflalo
37bb12fd61
ci(renovate): auto merge digest
2024-09-09 14:09:23 -04:00
Antoine Aflalo and GitHub
c19afb9f40
Merge pull request #7 from Belphemur/renovate/golang.org-x-exp-digest
...
fix(deps): update golang.org/x/exp digest to 701f63a
2024-09-09 14:06:57 -04:00
Antoine Aflalo and GitHub
a10d589b67
Merge pull request #8 from Belphemur/fix-ci
...
ci: always generate and upload test results
2024-09-09 14:05:05 -04:00
Antoine Aflalo
da508fcb3f
ci: always generate and upload test results
2024-09-09 14:03:28 -04:00
Antoine Aflalo
57f5282032
ci(renovate): add automerge
2024-09-09 09:27:33 -04:00
Antoine Aflalo
d4f8d8b5ff
ci(test): fix the report xml file
2024-09-09 09:25:46 -04:00
Antoine Aflalo
1b026b9dbd
fix(watch): add missing split option in log
2024-09-09 09:11:45 -04:00
Antoine Aflalo and GitHub
12cc8d4e25
Merge pull request #6 from Belphemur/renovate/golang.org-x-exp-digest
...
fix(deps): update golang.org/x/exp digest to e7e105d
2024-09-06 17:10:42 -04:00
Antoine Aflalo and GitHub
b9a1fb213a
Merge pull request #5 from Belphemur/renovate/golang.org-x-image-0.x
...
fix(deps): update module golang.org/x/image to v0.20.0
2024-09-06 17:07:40 -04:00
Antoine Aflalo
5357ece2b7
perf: use comment of the zip to know if it's converted instead of txt file
2024-08-29 09:38:39 -04:00
Antoine Aflalo
dbef43d376
fix(watch): fix watch command not using proper path
2024-08-28 15:06:47 -04:00
Antoine Aflalo
7c63ea49c0
fix(docker): fix docker image config folder
2024-08-28 14:36:14 -04:00
Antoine Aflalo and GitHub
8a067939af
Merge pull request #4 from Belphemur/renovate/major-github-artifact-actions
...
chore(deps): update actions/upload-artifact action to v4
2024-08-28 14:24:57 -04:00
Antoine Aflalo
f89974ac79
ci: Another attempt at reducing
2024-08-28 14:22:25 -04:00
Antoine Aflalo
ce365a6bdf
ci: reduce size of page to pass tests
...
Fix failing test
2024-08-28 14:16:51 -04:00
Antoine Aflalo
63a1b592c3
ci: add test result to pipeline
2024-08-28 13:55:33 -04:00
Antoine Aflalo
673484692b
perf(webp): improve the error message for page too tall
2024-08-28 13:52:27 -04:00
Antoine Aflalo
ad35e2655f
feat(webp): add partial success to conversion
...
So we only keep images that couldn't be optimized and return the chapter
2024-08-28 13:49:14 -04:00
Antoine Aflalo
d7f55fa886
fix(webp): improve error message in page not convertible
2024-08-28 12:09:40 -04:00
Antoine Aflalo
62638517e4
test: improve testing suite for expected failure
2024-08-28 12:03:33 -04:00