Commit Graph
53 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer 0d969c3179 thumbnails: drop the enable_vips build flag
The thumbnails service now always resizes in pure Go. Deployments that
want more formats, webp output or an attention crop run a real imagor
and point WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in service
stays as a minimal fallback that keeps working when imagor or libvips
have to be taken out, for example during a security issue.

Without cgo dependencies the docker images link statically again and no
longer need the vips packages. The vips parity run in CI goes away, the
regular test run already covers the pure Go build.

The preview fixtures of the acceptance tests were rendered by libvips,
so they are regenerated with the pure Go build. Text previews now lose
their left edge: the 640x480 text canvas is filled into a square box
and the pure Go build crops the centre, where libvips' attention crop
kept the left side with the text.

part of https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-12 15:41:35 +01:00
Dominik Schmidt c6ac8748d8 refactor: name the thumbnail settings after the service, THUMBNAILS
The service is thumbnails and its released variables say so; the new ones said THUMBNAIL. None of them has shipped yet, so they are renamed rather than aliased. The input file size gains the shared OC_THUMBNAILS_ name, because webdav and the generator have to agree on it.
2026-10-20 18:08:34 +02:00
Dominik Schmidt 3572410fc4 fix: answer the review, and read imagor's path the way imagor does
The push endpoint takes an empty filters segment, ignores an image key behind the box and computes a side given as 0 from the other one, all measured against both imagors and pinned in the parity suite. Plus the review leftovers: no em dashes, the request test on ginkgo, comments that contradicted the code, one stat for Head and generate, one thumbnail handler, the gif fit-in rounding of vips, and the new env names last so they win.
2026-10-19 14:57:35 +02:00
Dominik Schmidt 70002306a8 docs: describe the push endpoint and the preview settings as they are
The fixtures are named after what they are, and the leftovers of the
deleted grpc service are gone.
2026-10-19 14:57:35 +02:00
Jörn Friedrich Dreyer c99342318f merge ocdav into frontend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-01-07 15:04:34 +01:00
Jörn Friedrich Dreyer 580cbd45a3 update launch.json
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-11-12 11:29:57 +01:00
Viktor Scharf 52c72c852f add auth app to ocm test setup 2025-03-25 09:52:08 +01:00
André Duffeck f106e848bf Some more naming fixes 2025-01-21 15:49:40 +01:00
Viktor Scharf 503bd8d826 fix preview tests 2025-01-20 15:31:45 +01:00
Jörn Friedrich Dreyer a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
Saw-jan c3b442491d tests: update ocm setup and docs
docs: separate provider config

tests: substitution for local and remote server urls

tests: create local configs

tests: fix vscode debugger config

tests: separate federation share steps
2024-11-11 14:37:52 +05:45
amrita 65bf1048d6 add environment for ocm 2024-10-25 10:06:15 +05:45
Jörn Friedrich Dreyer f679a5cfb0 add buildFlags comment
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-17 14:05:27 +02:00
Jörn Friedrich Dreyer d61e2c18b7 remove runtime changes for OCIS_ENABLE_OCM
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 16:53:56 +02:00
Jörn Friedrich Dreyer f960ae4d64 add OCIS_ENABLE_OCM env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 13:48:23 +02:00
Viktor Scharf e1143dc791 fix after review 2024-06-27 12:03:39 +02:00
Viktor Scharf 74d55f17f6 add testing docs to ocm test 2024-06-27 11:36:56 +02:00
Jörn Friedrich Dreyer 955c195411 incorporate feedback
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-24 14:53:02 +02:00
Jörn Friedrich Dreyer 972adafd29 verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-29 15:51:37 +01:00
Roman Perekhod f1ccaa7e98 added ability to debug the ocis in a docker compose stack via delve 2024-01-31 17:59:00 +01:00
Christian Richter 02ae42ffe7 change launch.json
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Michael Barz a2e26534ae add missing env var to vscode launch config 2023-01-17 09:12:02 +01:00
Michael Barz 7e6b57e138 make storage users mount id configurable (#5091) 2022-11-25 13:47:41 +01:00
David Christofas 3babaf1a4d remove the graph-explorer servier from ocis (#4733) 2022-10-04 15:55:30 +02:00
Ralf Haferkamp 5d121b4bad Do not start auth-bearer service by default
The auth-bearer service is currently not needed by ocis. Reva tookens
for oidc authenticated clients are currently minted via the auth-machine
service.  This commit does not completely remove the service as we shoud
consider to rework the proxy's oidc middleware to use the auth-bearer
service in the future (see #4701)

Fixes: #4692
2022-09-28 12:11:06 +02:00
Viktor ScharfandSaw-jan 84f8f797c9 [test-only]Api test. check that link or share exist for space members (#4348)
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2022-08-18 15:08:57 +05:45
Christian Richter f8f1320501 refactor extensions -> services
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:05:36 +02:00
Christian Richter fc3737f0cf add groups to /users endpoint
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-09 14:35:14 +02:00
Ralf Haferkamp d25aa7b20f Remove "accounts" service 2022-05-11 15:29:34 +02:00
Ralf Haferkamp 5ba1b8f2c1 Remove "glauth" service
The "glauth" service is no longer used. After we switched to
libregraph/idm.
2022-05-11 15:29:34 +02:00
Jörn Friedrich Dreyer 51e1aa2978 rename users and groups extensions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-05 09:14:27 +00:00
Christian Richter 403b16a5e8 fix missing system user api key
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-05 08:59:52 +02:00
Jörn Friedrich Dreyer 6193c4a1f6 use uuid length user ids
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 12:17:41 +00:00
Jörn Friedrich Dreyer 3f5f4865c1 set OCIS_SYSTEM_USER_ID
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 12:05:27 +00:00
Ralf Haferkamp d6bf26c744 Rename ADMIN_USER_ID env var to OCIS_ADMIN_USER_ID
Also let the top-level ocis config validator error out if admin_user_id
is unset at start.
2022-05-04 12:42:28 +02:00
Michael Barz 905bbe53ac Add ADMIN_USER_ID to launch.json 2022-05-04 12:42:28 +02:00
Jörn Friedrich Dreyer 565548ebce storage-metadata -> storage-system
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 08:14:13 +00:00
Jörn Friedrich Dreyer 449a0169f6 approvider -> app-provider
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 06:39:28 +00:00
Michael Barz b08eb44c5b fix env variable for metadata user ID 2022-05-02 17:44:21 +02:00
Willy Kloucek 4e531ca442 fix ocis startup with debugging config / environment variables only 2022-04-28 16:28:12 +02:00
Willy Kloucek 83f75bf089 fix ginko testsuite 2022-04-28 10:05:51 +02:00
Willy Kloucek 9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Jörn Friedrich Dreyerandjkoberg 0e88cb1bec Use embeddable ocdav go micro service (#3397)
* allow proxy to route to micro service

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use go micre ocdav service instead of reva frontend

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add missing gateway default config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva branch for testing

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add missing comands

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump reva version

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* tidy

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump reva again

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* a blind mans config change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* add ocdav to must start extensions

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* fail when neither backend nor service is set

Signed-off-by: jkoberg <jkoberg@owncloud.com>

Co-authored-by: jkoberg <jkoberg@owncloud.com>
2022-04-12 11:27:24 +02:00
Michael Barz b1a05c3aac adjust the docs 2022-04-09 16:32:58 +02:00
Willy Kloucek f681f91abd start only needed services and set up sharing driver 2022-01-31 09:58:36 +01:00
A.Unger 9b8c3838e8 Merge branch 'master' into try-gookikt-config 2021-11-11 13:04:38 +01:00
Willy Kloucek 6590565a2f introduce OCIS_INSECURE option 2021-11-10 16:55:12 +01:00
Willy Kloucek e35d4fd0ac remove GRPC insecure config options, since it always needs to be set to insecure 2021-11-10 16:12:29 +01:00
Willy Kloucek 69cc11dbe6 make more insecure options configurable and change insecure defaults from true to false 2021-11-10 15:45:55 +01:00
David Christofas 0ec64fe99f make insecure options configurable 2021-11-10 14:19:27 +01:00