Googol Lee
92e438122e
Add jpeg-xl example file. ( #1266 )
2025-07-27 15:22:08 +03:00
Googol Lee
b55a80f5b9
Improve *TestMain to handle the exit code. ( #1258 )
2025-07-22 21:14:20 +02:00
Googol Lee
701e3379ea
Add orientation tests. ( #1249 )
2025-07-19 16:29:42 +02:00
Googol Lee
06d2e05ae4
Non-fork face detection, avoiding a race condition. ( #1243 )
...
* Non-fork face detection, avoiding a race condition.
* Update scanner test.
2025-07-11 11:16:41 +02:00
Googol Lee
6aca4fe2f9
Fix scanner test. ( #1241 )
2025-07-09 22:25:44 +02:00
Googol Lee
535f8e57fd
Use Magickwand to handle images. ( #1212 )
...
* Add MagickWand perf test.
* Use MagickWand.
* Calculate the right thumbnail dimension.
* Remove magick bin file.
* Add building dependencies.
* Build images.
* Add --no-install-recommends
* Remove unused field.
* Fix typo
* Use uint in the worker.
* Add guard
* Always update apt.
* Fix EncodeJpeg() with the quality
* Rename the local error with a better name.
* Add worker.Terminate()
* Fix typo
* Rebase with master and rollback the build workflow.
2025-06-03 22:04:03 +02:00
Googol Lee
a378522af4
Use magick generating thumbnails.
...
Fix #1204
* Add bad medias to scanner_test.
* Fix the script.
* Add GenerateThumbnail function.
* Add identify dimension
* Use new API. Cover json condition.
* Use magick to generate thumbnails.
* Update go mod.
* Remove dependency of executable_worker -> test_utils
* Reduce dependency of magick.
* Use magick to get dimension.
* Remove almost all code around `image` package.
* Fix thumbnailing with multi-frame gif.
* Remove the struct in wrapper.
* Fix typo.
* Build images.
* Update logs
* Add jpeg decoder.
* Remove code dependency.
* Add log to confirm scan in parallel.
* Update log
* Add reformat image perf tests.
* Rollback the build workflow.
2025-05-22 09:01:43 +02:00
Googol Lee
07be0af1c2
Add more real media files to scanner_test ( #1195 )
...
* Add real_media to scanner tests.
* Fix tests.
* Remove old test files.
* Fix with reviews.
2025-04-28 11:10:32 +02:00
Googol Lee
e4d5345d56
scan_test now checks title and face groups explicitly instead of only lengths. (#1180 )
2025-03-11 20:20:07 +01:00
Googol Lee
f1b523a27e
Include a group of small but real media files for testing. ( #1131 )
...
* Move scanner/test_data/* to a stand-alone directory.
* Include real medias.
* Rename testdata to test_data
* Rename test_data/scanner -> test_data/library
* Clean tests to avoid depneding env.
* Rename: scanner/test_data -> scanner/test_media
* Rename: test_data/bin -> test_data/mock_bin
* Fix paths in tests.
2024-11-23 09:02:11 +01:00
Kostiantyn
d1193c5ca4
Refactoring part 1: Fix some annoying linter warnings in API code ( #1064 )
...
* names, constants of reusable strings, removed unneeded `if`, replaced deprecated imports
* more deprecated imports replaced
* What is this?))
* Fix a path and quote a var in Dockerfile
* Addressing review comments
---------
Co-authored-by: Konstantin Koval <kkb@ukr.net >
2024-09-30 14:45:02 +02:00
viktorstrate
b467f2ca61
Add failing test for #198
2021-11-06 12:23:47 +01:00
viktorstrate
1029b61a4c
Fix faces not getting scanned
...
- This fixes #344
- Add integration tests for face recognition
- Properly check that the user own the queried album
2021-04-26 12:21:15 +02:00
viktorstrate
761db0639d
Add simple scanner integration test
2021-04-24 18:51:21 +02:00
viktorstrate
60f8a68bf6
Implement database integration tests
2021-04-23 15:10:23 +02:00