52 Commits (f9e9cd270dc1e6a7a6a7396b2f1af03512f81738)

Author SHA1 Message Date
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
Christopher Ng 57c66bf7cb Use Image class from public API 4 years ago
Carl Schwan a5a4e0df1c Fix crop condition 4 years ago
Julius Härtl 3742b7392d Add explicit return if getSmallImagePreview fails 4 years ago
Carl Schwan 05bf8b4445 Fix cropped image generated when not asked 4 years ago
Richard Steinmetz 982c846b11
Fix preview generator trying to recreate an existing folder 4 years ago
John Molakvoæ 3d1f22f6d8
Generate small preview straight away if Imaginary is enabled 4 years ago
Vincent Petry 9b6a1cc8ae
Send images to imaginary docker to generate previews 5 years ago
John Molakvoæ (skjnldsv) 40c10ab145
Properly log errors in Movie previews generation 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
J0WI 74a7c2eefc Use correct getSystemValue type 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Scott Dutton b12a390220
Always try and show pre rendered preview 6 years ago
Morris Jobke f510da139f
Use class that actually has the destroy() method in preview generator 5 years ago
Elijah Martin-Merrill 56ed563b0c fix memory leak caused by not destroying image in Preview/Generate.php 5 years ago
Christoph Wurst cb057829f7
Update license headers for 19 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
Robin Appelman 7d386872e5
optimize batch generation of previews 6 years ago
Robin Appelman 5cd12cd7c3
allow generating multiple preview sizes for a single file at once 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
John Molakvoæ (skjnldsv) 6df44e407a
Also center vertically when cropping previews 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Robin Appelman 5e082f8946
allow keeping multiple preview "versions" of the same file 7 years ago
John Molakvoæ (skjnldsv) 4505afe184
Allow IProviderV2 for previews as well 7 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 8703df3233
If the preview is size 0 it is invalid 8 years ago
Morris Jobke e4b3ee8d8f
Fix float/integer handling in image API 8 years ago
Roeland Jago Douma e2352cc06f
Max preview size to 4096x4096 8 years ago
Roeland Jago Douma faa68b28cb
Only return 1 type 8 years ago
Roeland Jago Douma 5b21650097
Don't lie about the preview mimetype 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Roeland Jago Douma 29fb315ffc
Allow requesting the max preview 8 years ago
Morris Jobke 6aac094091
Add PHPDoc 9 years ago
Robin Appelman 4dfd90abc4
better handling of preview generation errors 9 years ago
Roeland Jago Douma 0ad4b89d41
Some code cleanup 9 years ago
Roeland Jago Douma 4cd13e7668
Don't generate max preview twice 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
Roeland Jago Douma d720a2fb57
Moved over files_versions 9 years ago
Roeland Jago Douma 5466fbf761
Move Ipreview to more of DI thingy 9 years ago
Roeland Jago Douma 8468212386
Fix name conflict 9 years ago
Roeland Jago Douma d6f1287ae6
Move file 9 years ago
Roeland Jago Douma 02525fd98b
Move preview endpoint to controller 9 years ago