Commit Graph

29 Commits (b00a9a6eaeeafce11e0141199f37d8a105050cce)

Author SHA1 Message Date
Daniel Kesselberg 440f882322
feat: add width, height, crop and mode to BeforePreviewFetchedEvent 3 years ago
Glandos 384a1d34a8 adapt test to new workflow 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
szaimen f9e9cd270d
Limit-number-of-concurrent-preview-generations 3 years ago
Julius Härtl 07e94eca6f
Emit typed event when preview is requested 3 years ago
Carl Schwan 19a36b58a6 Add typing to SimpleFS 4 years ago
Morris Jobke 8e249569af
Fix existing test and add a specific one for the new case 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Elijah Martin-Merrill 56ed563b0c fix memory leak caused by not destroying image in Preview/Generate.php 5 years ago
Christoph Wurst a7c8d26d31
Add visibility to all properties and move static keyword 6 years ago
Robin Appelman 8f9bac26f8
fix preview generation tests 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Robin Appelman 6150614374
Add new Provider interface for preview providers 7 years ago
Roeland Jago Douma ce10f8b8c4
Only generate previews in powers of 4 and set min 7 years ago
Roeland Jago Douma 5b103744c8
Check if a preview provider is available before using it 7 years ago
Roeland Jago Douma 14acded171
Make sure the file is readable before attempting to create a preview 8 years ago
Roeland Jago Douma 5b21650097
Don't lie about the preview mimetype 8 years ago
Robin Appelman 2847e9f2e3
fix preview tests 9 years ago
Roeland Jago Douma a1f46db793
Fix tests 9 years ago
Roeland Jago Douma 99ada40df4
Dispatch event on preview request 9 years ago
Roeland Jago Douma 87855aa97b
Added genertor helper & tests 9 years ago