nextcloud/lib/public/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 +02:00
..
BeforePreviewFetchedEvent.php feat: add width, height, crop and mode to BeforePreviewFetchedEvent 2023-06-23 16:27:35 +02:00
IProvider.php Update php licenses 2021-06-04 22:02:41 +02:00
IProviderV2.php Update php licenses 2021-06-04 22:02:41 +02:00
IVersionedPreviewFile.php Update php licenses 2021-06-04 22:02:41 +02:00