Merge: e5488947 1ccc5682
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Thu Oct 21 09:45:08 2021 +0200

    Merge pull request #2656 from owncloud/glauth_v2

    use glauth v2
This commit is contained in:
Willy Kloucek committed 2021-10-21 07:47:38 +00:00
1 parent e318908636
commit 16f7d244c5
14 files changed
+4246 -4246

No files matched your search

+436 -436
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:11:14+0000"
date: "2021-10-21T07:45:36+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -34,6 +34,83 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts ocis-accounts
@@ -119,6 +196,330 @@ Usage: `accounts ocis-accounts [command options] [arguments...]`
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
@@ -294,249 +695,6 @@ Usage: `accounts server [command options] [arguments...]`
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
@@ -623,128 +781,6 @@ Usage: `accounts version [command options] [arguments...]`
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
### accounts inspect
Show detailed data on an existing account
@@ -828,11 +864,42 @@ Usage: `accounts inspect [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts update
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
@@ -878,72 +945,5 @@ Usage: `accounts update [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+31 -31
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -73,36 +73,6 @@ Usage: `graph-explorer [global options] command [command options] [arguments...]
## Sub Commands
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9136"`.
### graph-explorer server
Start integrated server
@@ -181,3 +151,33 @@ Usage: `graph-explorer server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9136"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
+97 -97
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -35,102 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### settings server
Start integrated server
Usage: `settings server [command options] [arguments...]`
-config-file | $SETTINGS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $SETTINGS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $SETTINGS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $SETTINGS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $SETTINGS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $SETTINGS_TRACING_SERVICE
: Service name for tracing. Default: `"settings"`.
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9194"`.
-debug-token | $SETTINGS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $SETTINGS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $SETTINGS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $SETTINGS_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9190"`.
-http-namespace | $SETTINGS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-root | $SETTINGS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $SETTINGS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-addr | $SETTINGS_GRPC_ADDR
: Address to bind grpc server. Default: `"127.0.0.1:9191"`.
-asset-path | $SETTINGS_ASSET_PATH
: Path to custom assets. Default: `""`.
-grpc-namespace | $SETTINGS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $SETTINGS_NAME
: service name. Default: `"settings"`.
-data-path | $SETTINGS_DATA_PATH
: Mount path for the storage. Default: `flags.OverrideDefaultString(cfg.Service.DataPath, path.Join(defaults.BaseDataPath(), "settings"))`.
-jwt-secret | $SETTINGS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### settings version
Print the versions of the running instances
@@ -245,6 +149,102 @@ Usage: `settings ocis-settings [command options] [arguments...]`
### settings server
Start integrated server
Usage: `settings server [command options] [arguments...]`
-config-file | $SETTINGS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $SETTINGS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $SETTINGS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $SETTINGS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $SETTINGS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $SETTINGS_TRACING_SERVICE
: Service name for tracing. Default: `"settings"`.
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9194"`.
-debug-token | $SETTINGS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $SETTINGS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $SETTINGS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $SETTINGS_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9190"`.
-http-namespace | $SETTINGS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-root | $SETTINGS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $SETTINGS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-addr | $SETTINGS_GRPC_ADDR
: Address to bind grpc server. Default: `"127.0.0.1:9191"`.
-asset-path | $SETTINGS_ASSET_PATH
: Path to custom assets. Default: `""`.
-grpc-namespace | $SETTINGS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $SETTINGS_NAME
: service name. Default: `"settings"`.
-data-path | $SETTINGS_DATA_PATH
: Mount path for the storage. Default: `flags.OverrideDefaultString(cfg.Service.DataPath, path.Join(defaults.BaseDataPath(), "settings"))`.
-jwt-secret | $SETTINGS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
File diff suppressed because it is too large. Load diff
+32 -32
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:15+0000"
date: "2021-10-21T07:46:35+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
@@ -35,6 +35,37 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9464"`.
### store ocis-store
Service to store values for ocis extensions
@@ -182,34 +213,3 @@ Usage: `store version [command options] [arguments...]`
-name | $STORE_NAME
: Service name. Default: `"store"`.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9464"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:22+0000"
date: "2021-10-21T07:46:39+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:27+0000"
date: "2021-10-21T07:46:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+34 -34
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:27+0000"
date: "2021-10-21T07:46:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -66,6 +66,39 @@ Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9119"`.
### webdav server
@@ -195,37 +228,4 @@ Usage: `webdav version [command options] [arguments...]`
-service-name | $WEBDAV_SERVICE_NAME
: Service name. Default: `"webdav"`.
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9119"`.
+119 -119
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-20T15:12:08+0000"
date: "2021-10-21T07:46:30+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -137,64 +137,6 @@ Usage: `ocis list [command options] [arguments...]`
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
@@ -280,6 +222,64 @@ Usage: `ocis health [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
@@ -288,95 +288,95 @@ Usage: `ocis health [command options] [arguments...]`
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis proxy
Start proxy server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis version
Lists running services with version
#### ocis settings
Start settings server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis webdav
Start webdav server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-sharing
Start storage sharing service
#### ocis web
Start web server
#### ocis idp
Start idp server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis store
Start a go-micro store
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis thumbnails
Start thumbnails server
#### ocis glauth
Start glauth server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-gateway
Start storage gateway
#### ocis storage-app-provider
#### ocis storage-groupprovider
Start storage app-provider service
Start storage groupprovider service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis accounts
#### ocis storage-app-provider
Start accounts server
Start storage app-provider service
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-sharing
Start storage sharing service
#### ocis settings
Start settings server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-public-link
Start storage public link storage
#### ocis webdav
Start webdav server
#### ocis idp
Start idp server
#### ocis ocs
Start ocs server
#### ocis proxy
Start proxy server
#### ocis thumbnails
Start thumbnails server
#### ocis web
Start web server
#### ocis accounts
Start accounts server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis version
Lists running services with version