Commit Graph

39 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Scott Dutton b12a390220
Always try and show pre rendered preview 5 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 6 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
Roeland Jago Douma 743132650a
Move to AppData 9 years ago
Roeland Jago Douma 958c1289b1
New preview generator 9 years ago