Commit Graph
23 Commits
Author SHA1 Message Date
Gaurav Soni 2ea716aea4 [OCISDEV-492] Space image not uploaded if larger than 7MB (#12701)
fix(graph): [OCISDEV-492] reject space images too large to be rendered

Setting a space image larger than the thumbnails service accepts appeared
to succeed but never changed the space image. Uploading the file and
assigning it as the space image are two separate requests, and both
completed successfully, so clients reported success. Only a later preview
request, which the assigning client never observes, was rejected because
the image exceeded THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE. As space images
are rendered exclusively as thumbnails, the image was not merely degraded,
it was invisible with no error anywhere in the UI.

The graph service now stats the file when a space image is assigned and
rejects the request with 413 Request Entity Too Large instead of storing a
reference which cannot be displayed. The previous space image is left
untouched. The limit is read from the new GRAPH_MAX_IMAGE_FILE_SIZE
setting, which defaults to the value of
THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE so that a single setting keeps both
services in agreement. A limit of zero disables the check. Space
descriptions (readme) are not affected.
2026-08-04 14:29:11 +02:00
Jones Jankovic ff13468d8f fix: correct typo in readme (#12263) 2026-04-28 11:13:22 +00:00
Martin Mattel 31e728af10 [docs-only] Add libvips build dependencies for macOS 2024-10-28 11:33:19 +01:00
Ralf HaferkampandMartin 2feb1ab0cf Apply suggestions from proof reading
Co-authored-by: Martin <github@diemattels.at>
2024-10-17 14:05:27 +02:00
Ralf Haferkamp eb7168ddb5 Changelog entry and Readme updates related to libvips 2024-10-17 14:05:27 +02:00
Martin b9a1dc1943 Update thumbnail README.md with respect to SecureView
Referencing: owncloud/ocis#9299 (Thumbnailer respect secure view)

Adding a short sentence about the thumbnail behavior when using SecureView.
2024-06-05 11:34:05 +02:00
mmattel c1c0037a75 [docs-only] fix two service readme's 2024-06-03 11:55:46 +02:00
Martin 82e614ec50 Update thumbnails README.md
References: #9199 (feat: limit concurrent processing of thumbnail requests)

Content fix:
- If NO thumbnail is available, we return 404 (and not if it is avaialble)
- Make the resolution list multi-lined again for improved readbility
2024-06-03 09:25:42 +02:00
Thomas Müller e79d63208e feat: limit concurrent processing of thumbnail requests 2024-05-21 14:12:50 +02:00
Michael Stingl 72825ddae4 Added scalingup thumbnail parameter
(used by web + iOS app)
2023-12-04 17:35:59 +01:00
Michael Stingl 478960455f Explain processor behavior
Based on:
https://pkg.go.dev/github.com/disintegration/imaging
2023-12-04 17:28:54 +01:00
Michael Stingl a87eeda1cd clarify thumbnail processor default in table 2023-12-04 17:18:05 +01:00
Michael Stingl ab9893bc46 clarified thumbnail “c” parameter 2023-12-04 17:01:30 +01:00
Michael Stingl f26165910d [docs-only] Adding thumbnail query parameters to thumbnail README.md
Observed with ownCloud Web UI 7.1.0 (Spaces overview):

```
scalingup: 0
preview: 1
a: 1
c: ce88e69a448ab8acf7ff554be5bb5521
x: 1000
y: 1000
```
2023-11-30 10:07:18 +01:00
Martin a268b3dd0c Apply suggestions from code review 2023-11-03 11:29:15 +01:00
Martin ce6e65f8c4 [docs-only] Text fix for thumbnail README.md
References: #7409 (feature(thumbnails): add the ability to define custom image processors)
The `Thumbnail Processor` section needed an update to clarify the usecase and behaviour. In addition, the list of sizes above now shows as in a single line each and not in one line.
2023-11-03 11:26:25 +01:00
Florian SchadeandMartin 9abcd8a7f3 feature(thumbnails): add the ability to define custom image processors (#7409)
* feature(thumbnails): add the ability to define custom image processors

* fix(ci): add exported member comment

* docs(thumbnails): mention processors in readme

* fix: codacy and code review feedback

* fix: thumbnail readme markdown

Co-authored-by: Martin <github@diemattels.at>

---------

Co-authored-by: Martin <github@diemattels.at>
2023-10-17 09:44:44 +02:00
mmattel b2504035e0 fix readme service names 2023-04-12 18:40:41 +02:00
Martin c67b457308 Update services/thumbnails/README.md 2022-10-26 09:17:14 +02:00
Edith Parzefall 152967320d Update services/thumbnails/README.md 2022-10-26 09:16:05 +02:00
Edith ParzefallandPhil Davis 9436dfe4d1 Apply suggestions from code review
Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-10-26 09:10:18 +02:00
mmattel 2836395a29 update and text restructuring 2022-10-25 17:21:50 +02:00
David Christofas 778c84cf17 add a readme file for the thumbnails service 2022-10-25 15:01:11 +02:00