Commit Graph

103 Commits

Author SHA1 Message Date
Willy Kloucek
1271b67758 switch to NATS JetStream 2022-03-23 09:56:43 +01:00
Andre Duffeck
ed417ea1c9 Add support for the cs3 metadata storage share manager (#3290)
* Add support for the cs3 share manager

* Name the cs3 storage config options generically so they can be reused

* Set default value for CS3ServiceUserIdp
2022-03-21 10:19:48 +01:00
Michael Barz
cc825d5658 Merge pull request #3283 from owncloud/drive-alias
[full-ci] add driveAlias to the graphAPI
2022-03-16 21:36:39 +01:00
Michael Barz
0773b66325 add space alias config to s3ng and ocis driver 2022-03-16 16:38:32 +01:00
Ralf Haferkamp
6abf38dd3a Fix CreateHome for external users
External users, when logging in for the first time, have no role
assigned and are unable to create their home because that requires the
create-space permission. This assigns users that don't have a role assigned
to the default user role and persists that assignment in the settings
service so that CreateHome can pick it up when checking permissions
later.

This also disables the auto creation of the user's home in the reva
auth provider (i.e. when using basic auth) as the role assignement has
not happenend at that point. So the home creation will now always happen
in the CreateHome middleware in the proxy.
2022-03-16 15:58:19 +01:00
Christian Richter
9734b000b3 Add defaultconfig to extensions 2022-03-10 14:12:26 +01:00
Jörn Friedrich Dreyer
beaac40aa6 update reva to include decomposedfs nodes-per-space (#3228)
* update reva to include decomposedfs nodes-per-space

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

* check create space with own constraint

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

* update reva

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

* unexpected passed

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

* update reva

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

* remove unused variable

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

* revert reva commit id

Co-authored-by: Florian Schade <f.schade@icloud.com>
2022-03-02 08:47:53 +01:00
Willy Kloucek
6cbdbd87f2 make events settings configurable 2022-02-22 13:55:32 +01:00
Robert Pocklington
6eb8419e90 fix: align storage metadata GPRC bind port with other variable names
Currently STORAGE_METADATA_GRPC_PROVIDER_ADDR environment variable used as the way to set the GRPC bind port for the service.  All other services use the format <SERVICE_NAME>_GRPC_ADDR for GRPC, and <SERVICE_NAME>_HTTP_ADDR for HTTP.  This change brings it in line with the others, as it's confusing why this one is different.
2022-02-21 09:20:05 +01:00
Willy Kloucek
00fd7cdba1 add STORAGE_PERMISSION_ENDPOINT env variable 2022-02-03 16:46:57 +01:00
Willy Kloucek
322be13ee7 remove the owncloud storage driver 2022-02-01 11:16:18 +01:00
Willy Kloucek
c6d2fdeb04 Merge pull request #3026 from rhafer/groupfilter-reva
Adjust UserGroupFilter default to match latest reva changes
2022-02-01 09:30:20 +01:00
Willy Kloucek
4d392250e4 Merge pull request #3053 from owncloud/fix-code-smells
Fix code smells
2022-01-28 14:40:41 +01:00
David Christofas
28496e558b fix storage code smells 2022-01-28 13:48:34 +01:00
David Christofas
29f4f49e1c first prototype of a CS3 permissions service 2022-01-27 16:56:15 +01:00
Ralf Haferkamp
4a656b8583 Adjust UserGroupFilter default to match latest reva changes
With https://github.com/cs3org/reva/pull/2436 the groupfilter setting
for the user provider was adjusted to no longer use a go-template value
as the input. Adjust our default to match those changes. For details
see:
https://github.com/cs3org/reva/blob/edge/changelog/unreleased/ldap-usergroupfilter-template.md
2022-01-24 17:01:28 +01:00
Benedikt Kulmann
a45f717d3f Make the project spaces capability configurable
Some deployments don't want to show early stages of the spaces feature
set in the clients. It can now be disabled in the capabilities.
2022-01-14 10:42:36 +01:00
Jörn Friedrich Dreyer
191b3de60a fix merge and rebase dance
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-07 19:58:42 +00:00
Willy Kloucek
23e7a8ffab simplify commands and version handling 2022-01-07 16:11:50 +00:00
Willy Kloucek
a839288212 remove supervised flag from configs 2022-01-07 16:08:14 +00:00
Willy Kloucek
3c3fc2e098 revert storage, remove tracing.service and bring back common 2022-01-07 16:06:56 +00:00
Willy Kloucek
a13df3dcf7 split **/pkg/config/config.go up to multiple files 2022-01-07 16:04:52 +00:00
Willy Kloucek
6990e7d660 switch all other services to struct tag based env config 2022-01-07 15:47:47 +00:00
Willy Kloucek
161dd949fc switch ocs to struct tag based env config 2022-01-07 15:39:01 +00:00
Jörn Friedrich Dreyer
ae21ab95b5 fix dav files default layout
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-04 19:20:15 +00:00
Jörn Friedrich Dreyer
da61a20cf1 Merge branch 'master' into spaces-registry 2021-12-15 16:33:52 +00:00
Willy Kloucek
32f7af851d add new file url of the app provider to the ocs capabilities 2021-12-15 10:43:53 +01:00
Jörn Friedrich Dreyer
5e1bfb387c fix config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-12-07 21:24:32 +00:00
Jörn Friedrich Dreyer
550b0bbfea reuse existing metadata storage
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-12-07 12:46:48 +00:00
Jörn Friedrich Dreyer
c36e99895b update to latest changes in reva PR
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-12-07 12:21:19 +00:00
David Christofas
08641a8e45 fix download helper for accounts service and indexer 2021-12-06 12:01:15 +01:00
Willy Kloucek
0fc2efadf2 rename APP_PROVIDER_BASIC_* environment variables, followup of #2811 2021-11-24 15:17:33 +01:00
Willy Kloucek
a601a2f261 ensure temporary compatiblity, so this is not a breaking PR 2021-11-24 14:15:01 +01:00
Willy Kloucek
222683d3cd fix app provider env naming 2021-11-24 14:15:00 +01:00
Willy Kloucek
e6df1e466d make *_SERVICE_USER_UUID a consistent option for all drivers 2021-11-24 13:26:58 +01:00
Willy Kloucek
98f11f31d9 apply ServiceUSERUUID also to metadata storage 2021-11-24 13:15:01 +01:00
André Duffeck
e221dfd8cb Fix using s3ng as the backend for the metadata storage
Fixes #2668
2021-11-23 14:10:42 +01:00
A.Unger
f64ca1f6ba introduce AlternativeID attribute, which needs some explanation 2021-11-19 16:21:55 +01:00
A.Unger
24347180fa use ocisConfig as struct tagname to bind config files to strucg attributes 2021-11-19 09:28:23 +01:00
A.Unger
fe61ad4154 reordered env var priorities 2021-11-17 23:08:04 +01:00
A.Unger
a34f5b6434 Revert "refactor config values to constants"
This reverts commit f53504158b.
2021-11-17 13:56:14 +01:00
A.Unger
f53504158b refactor config values to constants 2021-11-17 13:43:23 +01:00
A.Unger
ff611633f5 Revert "fixed code smells: string literal repetition + cyclomatic complexity"
This reverts commit aa4112e2e2.
2021-11-17 13:19:31 +01:00
A.Unger
aa4112e2e2 fixed code smells: string literal repetition + cyclomatic complexity 2021-11-17 12:25:21 +01:00
A.Unger
7f652ae3b4 migrate all flags to config binding mappings 2021-11-16 16:07:00 +01:00
A.Unger
d30e776deb add more OCIS_URL missing spots in storage 2021-11-16 14:54:44 +01:00
A.Unger
deba643a5b add set of env variables used on ci to the bootstrap config env parsing 2021-11-16 14:16:18 +01:00
A.Unger
2ebc0b4a41 add missing authprovider config 2021-11-16 13:11:51 +01:00
A.Unger
0d7be0d6ad set all previously set on c.StringSlice values on the bootstrap config 2021-11-16 12:22:17 +01:00
A.Unger
097c853894 populate checksum 2021-11-15 19:52:40 +01:00