Florian Schade
0671039474
enhancement: add readyz and healthz check handler
2024-10-14 08:39:42 +02:00
Florian Schade
c82a7c560e
enhancement: use global ready and health handlers
2024-10-14 08:39:42 +02:00
Ralf Haferkamp
e2d7251893
fix(thumbnails): Implement ratelimit for the grpc service
...
This moves the ratelimit ('THUMBNAILS_MAX_CONCURRENT_REQUESTS') from the
HTTP endpoint to the GRPC endpoint. The HTTP endpoint is just used for
downloading already created thumbnails. But the resource consuming part of
thumbnail generation happens in the GRPC service.
2024-10-09 14:15:54 +02:00
Ralf Haferkamp
0b53c48bd9
fix(thumbnails): don't re-create thumbnails if they already exist
...
A previous cleanup introduced a bug which caused thumbnails to be
re-created even if we already had a matching thumbnail in the storage.
2024-10-08 10:37:36 +02:00
Ralf Haferkamp
86fa6a9cde
Revert "remove obsolete var"
...
This reverts commit a145c36fd5 .
2024-10-08 10:37:36 +02:00
Juergen Weigert
0d719a7c72
fix: more colons after variables found.
...
cd owncloud/ocis/services
vi $(grep -l -r '[A-Z][A-Z][A-Z]:/')
2024-10-02 09:09:47 +02:00
Ralf Haferkamp
109b23966c
bump some jwt related go modules to current version
...
go-jwt/jwt to v5.2.1
MicahParks/keyfunc to v2.1.0
2024-08-26 15:35:15 +02:00
Jörn Friedrich Dreyer
066c4b8173
only register signal handling once
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-29 16:28:13 +02:00
Jörn Friedrich Dreyer
7999e2969b
do not force exit to let all services shutdown gracefully
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc
rely on context from app
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01
pass config context when running apps
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:30:42 +02:00
Jörn Friedrich Dreyer
7a22dfb6de
NotifyContext when running services standalone
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:26:58 +02:00
Benedikt Kulmann
6b697d77ba
feat: thumbnail service CORS config
2024-07-09 11:33:56 +02:00
Michael Barz
b04f3209d4
chore: prepare release, bump version
2024-06-19 19:45:57 +02:00
Benedikt Kulmann
6117e19d4f
fix: thumbnail max input height
...
Thumbnail max input width and height need to be the same, because images
can be portrait or landscape. See https://github.com/owncloud/ocis/issues/9234
2024-06-12 10:55:26 +02:00
Michael Barz
b892a9ab28
Merge pull request #9312 from owncloud/var-placeholders
...
docs: use placeholder for next release
2024-06-05 21:36:25 +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
Christian Richter
b3db1354ec
Merge pull request #9299 from dragonchaser/thumbnailer-respect-secure-view
...
Thumbnailer respect secure view
2024-06-04 16:26:25 +02:00
Christian Richter
a145c36fd5
remove obsolete var
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-06-04 12:10:01 +02:00
Christian Richter
db308bea5c
try to remove code duplications
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-06-04 11:24:55 +02:00
Michael Barz
5d99688161
docs: use placeholder for next release
2024-06-04 10:28:42 +02:00
Christian Richter
1012a399ae
Don't show thumbnails for secureview shares
...
Co-authored-by: Julian Koberg <jkoberg@owncloud.com >
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-06-03 14:04:46 +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
Thomas Müller
06bb8c9654
feat: add maximum image file size to be processed by the thumbnailer ( #9069 )
2024-05-08 16:28:44 +02:00
Thomas Müller
9db3fd028e
feat: add maximum image dimension to be processed by the thumbnailer ( #9035 )
...
* feat: add maximum image dimension to be processed by the thumbnailer
* chore: make golangci-lint happy
2024-05-03 12:20:27 +02:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Jörn Friedrich Dreyer
32e44a9fdc
Merge pull request #8989 from owncloud/log-and-trace-fixes
...
log and trace fixes
2024-04-29 17:13:52 +02:00
Jörn Friedrich Dreyer
e41472234f
log and trace fixes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-04-26 17:03:49 +02:00
Thomas Müller
a53a7cf8b5
fix: replace github.com/disintegration/imaging with github.com/kovidgoyal/imaging
2024-04-26 11:36:49 +02:00
Thomas Müller
bdbba929d0
feat: add CSP and other security related headers in the oCIS proxy service ( #8777 )
...
* feat: add CSP and other security related headers in the oCIS proxy service
* fix: consolidate security related headers - drop middleware.Secure
* fix: use github.com/DeepDiver1975/secure
* fix: acceptance tests
* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Thomas Müller
07f0cd5574
fix: typos, naming clashes, error messages and deprecations
2024-04-03 15:34:36 +02:00
jkoberg
a3044d1dd2
fix: pass signature and expiration through thumbnailer
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-03-11 13:54:07 +01:00
Phil Davis
9d2be66a85
chore: add introductionVersion pre5.0 to environment variable docs
2024-03-06 17:50:20 +05:45
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
Christian Richter
ba5a050ab8
incorporate requested changes
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-28 09:53:23 +01:00
Christian Richter
f3ed5ad696
add audio tests
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-27 16:26:02 +01:00
Christian Richter
497ae281ea
add tests
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-27 15:31:38 +01:00
Christian Richter
c9f6b961f9
Add geogebra previews
...
Co-authored-by: Florian Schade <fschade@owncloud.com >
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-27 15:31:38 +01:00
Christian Richter
1713041e14
Add skel for preview generator for ggs
...
Co-authored-by: Ralf Haferkamp <rhafer@owncloud.com >
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-27 15:31:38 +01:00
Christian Richter
103377e12f
add types to web and thumbnailer
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-27 15:31:38 +01:00
mmattel
5e74b50efb
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 12:22:59 +01:00
Martin
2ee459a9ac
Merge pull request #7654 from owncloud/mmattel-patch-1
...
[docs-only] Text fix for thumbnail README.md
2023-11-06 11:27:55 +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