Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Started to refactor GdImageHandler * Added exceptions * Refactored interface * Refactored GD handler * Streams for all real image handlers * Adopted image handlers to file classes. * Fixed generic/automatic image handler. * A lot of work * Remove `checksum` from `Extractor` * Cleaned up MOVFormat * Refactored handling of Google Motion Pictures and finalized AddStandaloneStrategy. * Made collection of stream statistics optional on save. * Removed ImageHandler as a service. * Fixed size variant factory and interface * Use exception-free report in ImageHandler * Repaired exception handling in AddStandaloneStrategy * Fixed exception handling in RotateStrategy * Fixed exceptions and checksum in AddPhotoPartnerStrategy * Somehow unrelated refactoring of SizeVariantNamingStrategy * Follow up of unrelated fix of naming strategy. * Fixed AddVideoPartnerStrategy * New naming strategies for size variants * Switched to SizeVariantSharedPrefixRandomNamingStrategy * fix-to-squash: Fixes in AddStandaloneStrategy * Fixed unrelated error in test which suddenly fails * fix-to-squash: Repaired type errors und undefined variables in ImgagickHandler * Refactored tests * More tests * More tests * Improved tests * Remove dead code * More tests * Removed dead code * Update dependencies due to bug in Laravel * Fixed a lot of tests * More tests * Fixed test * Uses helper method `public_path` * Removed storage facade from test. * Cleaned up hard-coded paths * Make tests more pretty * Added test for rotated photo and broken motion photo * Added "Location" EXIF tag to sample * Refactored Photo Rotation Tests * Refactored upload-method * More tests for photo rotation. * Added Archive Tests * More tests for archive * Fixed SonarCloud issues * Fixed typo * Added test for import via download. * Bugfix for falsely skipped image optimization. * Added @ildyria's suggestion for a naming strategy * Moved repeated test code into traits * Refactored test for adding photos in preperation for testing GD handler. * Fixed GD handler * Added test for GD handler * Fix in GD image handler * Added different file types for test * Added rotation tests for GD handler * Added samples for all kind of auto-orientation. * Removed dead code * Removed absolute path from FlysystemFile. * Bug fix for naming strategies wrt. raw variants, part I. * Added negative test for unsupported raw. * Bug fix for naming strategies wrt. raw variants, part II. * Added positive tests for raw upload. * Quick fix to track down error which only occurs with Github workflows * Exchanged PDF with XCF as raw test case, because Githib workflows forbid PDF due to security concerns. * Revert "Quick fix to track down error which only occurs with Github workflows" This reverts commit 00e2c09. * Exchanged XCF with TIFF as raw test case, because Githib craches for XCF. * Test for import of supported/unsupported raw file via URL * Make SonarCloud happy about string constants. * Removed dead code * Split command tests and make command tests runnable (renamed to ...Test). * Fixed trivial bugs in commands * Make Sonar Cloud happy. * Make Sonar Cloud even more hapyy. * First positive test for command `lychee:generate_thumbs`. * Added test to re-create video thumbnail. * Fixed error when re-creating a subset of missing size variants * Test set creation time from file creation time. * More tests (for ghostbuster) * More tests (for ghostbuster), this time for real. * Nuked unused size variants * Fixed `makefile` as pointed out by @qwerty287 * Added stub for GD to make PHPStan happy. * Apply suggestions from code review Co-authored-by: Kamil Iskra <[email protected]> * Re-phrased comment as suggested by code review. * Remove stupid addition (sorry) * Update app/Assets/SizeVariantGroupedWithRandomSuffixNamingStrategy.php Co-authored-by: Kamil Iskra <[email protected]> * Update app/Assets/SizeVariantGroupedWithRandomSuffixNamingStrategy.php Co-authored-by: Kamil Iskra <[email protected]> * Update app/Actions/Photo/Strategies/AddStandaloneStrategy.php Co-authored-by: Matthias Nagel <[email protected]> * Update app/Actions/Photo/Strategies/RotateStrategy.php Co-authored-by: Kamil Iskra <[email protected]> * Update app/Assets/SizeVariantGroupedWithRandomSuffixNamingStrategy.php Co-authored-by: Kamil Iskra <[email protected]> * Update app/Image/GdHandler.php Co-authored-by: Kamil Iskra <[email protected]> * Apply suggestions from code review Co-authored-by: Kamil Iskra <[email protected]> * Fix comment. * Apply suggestions from code review Co-authored-by: Kamil Iskra <[email protected]> * Simplified code for compression quality * Fixed condition for creation of size variants * Updated comment on Quicktime container * Merge saveFrame and extractFrame into one and removed optimization. * Apply suggestions from code review Co-authored-by: Kamil Iskra <[email protected]> * Fixed subleties * Fixed file permissions on uploading * Fix efficiency regression for GD handler * Fixed base test class to avoid crash with chmod * Test for all size variants in simple upload * Avoid failing tests due to incorrect file owner * Efficiency boost for GD handler * Added "dry-run" to console command "fix-permissions" * better messages * fix phpstan with useless default * Update app/Console/Commands/FixPermissions.php Co-authored-by: Kamil Iskra <[email protected]> * Update app/Actions/Diagnostics/Checks/BasicPermissionCheck.php Co-authored-by: Kamil Iskra <[email protected]> * Update app/Image/GdHandler.php Co-authored-by: Kamil Iskra <[email protected]> * fix commands (because yes, I tested them, they didn't work) * nice message if nothing to fix is required * fix phpstan * fix tests * Moved command from composer to migration * Added disclaimer to end of command `fix-permissions` * Make file permissions more configurable * Added config option to `.env` file * Update app/Actions/Diagnostics/Checks/BasicPermissionCheck.php Co-authored-by: Kamil Iskra <[email protected]> * Update .env.example Co-authored-by: Kamil Iskra <[email protected]> * Update app/Console/Commands/FixPermissions.php Co-authored-by: Kamil Iskra <[email protected]> * Made permission check more robust (no silent failure); no hard-coded disk name * Repaired broken umask * Fixed `neither ... nor` vs. `not ... or` * Fixed "neither ... nor" vs. "not ... or" * Added comment about bug for world-writeable directories * Fixed unused parameter. * bump to version 4.5.2 Co-authored-by: Kamil Iskra <[email protected]> Co-authored-by: ildyria <[email protected]> Co-authored-by: Benoît Viguier <[email protected]>
- Loading branch information