nextcloud-server/tests/lib/Preview
Daniel Kesselberg 440f882322
feat: add width, height, crop and mode to BeforePreviewFetchedEvent
user_usage_report keeps a counter for files read.

The app uses

- OC_Filesystem::read hook
- Event listener (the legacy one) for IPreview::EVENT

Request for previews do not trigger the hook, hence the additional event listener.
The thumbnails for a list or grid view should not count, so we need the width and height.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-23 16:27:35 +07:00
..
BackgroundCleanupJobTest.php Fix BackgroundCleanupJobTest 2023-03-20 10:21:44 +07:00
BitmapTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
GeneratorTest.php feat: add width, height, crop and mode to BeforePreviewFetchedEvent 2023-06-23 16:27:35 +07:00
HEICTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
ImageTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
MP3Test.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
MovieTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
OfficeTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Provider.php composer run cs:fix 2023-01-20 11:45:08 +07:00
SVGTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
TXTTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00