Commit Graph

393 Commits

Author SHA1 Message Date
Willy Kloucek c35a388a17 add gateway address to publishare provider 2022-04-01 19:00:51 +02:00
Willy Kloucek dc9eed8228 configure reva gateway endpoint for sharing driver 2022-04-01 19:00:51 +02:00
Jörn Friedrich Dreyer 9ba463012d add owncloudsql config to authbasic
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-03-31 13:43:56 +00:00
Willy Kloucek e224ce03cf use yaml tag instead of ocisConfig 2022-03-29 15:06:58 +02:00
Willy Kloucek 4578f5cd5a move ocs config host logic to reva cs3org/reva#2692 2022-03-29 12:44:15 +02:00
Willy Kloucek d85e5dee8a ensure the same data on /ocs/v?.php/config like oC10 2022-03-29 11:43:29 +02:00
Willy Kloucek 7f65dfba34 remove example config files 2022-03-28 12:54:28 +02:00
Willy Kloucek 90d5ef3c9d Merge branch 'master' into nats-check-for-error 2022-03-24 12:27:15 +01:00
Jörn Friedrich Dreyer 1024fe3e88 use publicstorage rewrite (#3349)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-03-24 10:57:13 +01:00
Willy Kloucek 1271b67758 switch to NATS JetStream 2022-03-23 09:56:43 +01:00
André Duffeck fd6b0016b4 Add support for the cs3 publicshare manager 2022-03-22 18:35:12 +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
kobergj fd99aef90b File events audit logging (#3332)
* use feature reva & file config

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

* pre-implementation

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

* add changelog

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

* prerequesists for unit tests

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

* file created event

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

* remaining tests & events

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

* use edge reva

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

* improvements from manual testing

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

* use utils package to generate itemID

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-18 11:53:50 +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 3a34e64dde Fix tests 2022-03-11 08:08:33 +01:00
Christian Richter 9734b000b3 Add defaultconfig to extensions 2022-03-10 14:12:26 +01:00
Michael Barz b15db1794a update reva to version 2.0.0 (#3258) 2022-03-03 19:56:04 +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
Florian Schade f519b4965e add spa fileserver to the web service (#3109)
* add spa fileserver to the web service
2022-02-23 19:31:24 +01:00
Willy Kloucek 6cbdbd87f2 make events settings configurable 2022-02-22 13:55:32 +01:00
kobergj 5f4ed8908a bump reva and change nats port (#3210)
* bump reva and change nats port

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

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-22 11:17:58 +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
kobergj 889a42c964 [full-ci] Events (#3146)
* initial events draft

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

* start nats server with ocis

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

* use feature reva and add config

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

* remove unneeded files

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

* edge reva and fix pipeline

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

* configure nats server via ocis

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

* update expected failures

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

* add nats to parallel deployment

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

* more expected failures

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

* use NATS instead of cp SETTINGS

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

* remove more configuration options

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-11 17:14:48 +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
Jörn Friedrich Dreyer 419f9e2109 Merge pull request #2958 from owncloud/remove-storage-home
remove STORAGE_HOME_* references and unused configuration doc templates
2022-01-14 11:50:54 +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
Willy Kloucek 6927cfd0dc remove unused templates 2022-01-13 11:32:32 +01:00
Willy Kloucek 6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +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 6de48a8cd4 switch to http.StatusOK instead of 200 2022-01-07 19:19:19 +00:00
Willy Kloucek 1e38150276 improve command description 2022-01-07 19:19:16 +00:00
Willy Kloucek 23e7a8ffab simplify commands and version handling 2022-01-07 16:11:50 +00:00
Willy Kloucek 5b70d46213 remove build flags, add debug server to accounts 2022-01-07 16:08:14 +00:00
Willy Kloucek a839288212 remove supervised flag from configs 2022-01-07 16:08:14 +00:00
Willy Kloucek 342da01c9b bring back missing commands 2022-01-07 16:07:01 +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
Willy Kloucek 3b5a33590e add missing commands and unify service / namespace options 2022-01-07 15:38:56 +00:00
Jörn Friedrich Dreyer 66491b94c9 Merge branch 'master' into spaces-registry 2022-01-04 19:30:00 +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