Author: Pascal Wengerter <pwengerter@owncloud.com>
Date:   Tue Oct 26 19:23:59 2021 +0100

    [full-ci] Update web v4.4.0 (#2681)

    * Sort out dependencies in accounts, idp, settings, reorder package files, bump ODS to v11.0.0

    * Update web to v4.4.0, update release docs for accounts, settings, web

    * Remove redundant pull-always & bump Ubuntu img 16->20 in CI config

    * Switch to frozen lockfiles for yarn install in CI

    * Update expected failures file with web's current state
This commit is contained in:
Pascal Wengerter committed 2021-10-26 18:27:36 +00:00
1 parent 1ab1653f48
commit 10f435d08f
17 files changed
+4612 -4621

No files matched your search

+198 -198
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:20+0000"
date: "2021-10-26T18:24:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,132 +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.
### 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
@@ -617,11 +491,11 @@ Usage: `accounts server [command options] [arguments...]`
### accounts version
### accounts update
Print the versions of the running instances
Make changes to an existing account
Usage: `accounts version [command options] [arguments...]`
Usage: `accounts update [command options] [arguments...]`
@@ -657,6 +531,114 @@ Usage: `accounts version [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...]`
@@ -701,6 +683,60 @@ Usage: `accounts version [command options] [arguments...]`
: 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.
@@ -872,11 +908,40 @@ Usage: `accounts remove [command options] [arguments...]`
### accounts update
### accounts version
Print the versions of the running instances
Usage: `accounts version [command options] [arguments...]`
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
@@ -927,71 +992,6 @@ Usage: `accounts update [command options] [arguments...]`
: 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.
+2 -6
View File
@@ -10,14 +10,10 @@ geekdocFilePath: releasing.md
## Requirements
You need a working installation of [the Go programming language](https://golang.org/) installed to build the assets for a working release.
You need a working installation of [the Go programming language](https://golang.org/), [the Node runtime](https://nodejs.org/) and [the Yarn package manager](https://yarnpkg.com/) installed to build the assets for a working release.
## Releasing
After adding changes to the accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary.
To achieve this, you have to run a Go command and add the results to your PR. The preferred way to do this is to run `make generate` in the root
of the repository and then commit the resulting changes to your branch/PR.
The accounts service doesn't have a dedicated release process. Simply commit your changes, make sure linting and unit tests pass locally and open a pull request.
### Package Hierarchy
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+32 -32
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -74,37 +74,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
@@ -187,3 +156,34 @@ 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-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+71 -71
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -34,6 +34,76 @@ 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.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9134"`.
### idp ocis-idp
@@ -415,74 +485,4 @@ Usage: `idp version [command options] [arguments...]`
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9134"`.
+124 -124
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -34,6 +34,129 @@ 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.
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
### ocs health
Check health status
Usage: `ocs health [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9114"`.
### ocs ocis-ocs
Serve OCS API for oCIS
Usage: `ocs ocis-ocs [command options] [arguments...]`
### ocs server
@@ -157,129 +280,6 @@ Usage: `ocs server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode.
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
### ocs health
Check health status
Usage: `ocs health [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9114"`.
### ocs ocis-ocs
Serve OCS API for oCIS
Usage: `ocs ocis-ocs [command options] [arguments...]`
+54 -54
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,6 +35,59 @@ 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.
### proxy version
Print the versions of the running instances
Usage: `proxy version [command options] [arguments...]`
-service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`.
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
### proxy health
Check health status
@@ -305,56 +358,3 @@ Usage: `proxy server [command options] [arguments...]`
### proxy version
Print the versions of the running instances
Usage: `proxy version [command options] [arguments...]`
-service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`.
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
+2 -5
View File
@@ -10,14 +10,11 @@ geekdocFilePath: releasing.md
## Requirements
You need a working installation of [the Go programming language](https://golang.org/) installed to build the assets for a working release.
You need a working installation of [the Go programming language](https://golang.org/), [the Node runtime](https://nodejs.org/) and [the Yarn package manager](https://yarnpkg.com/) installed to build the assets for a working release.
## Releasing
After adding changes to the settings package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary.
To achieve this, you have to run a Go command and add the results to your PR. The preferred way to do this is to run `make generate` in the root
of the repository and then commit the resulting changes to your branch/PR.
The settings service doesn't have a dedicated release process. Simply commit your changes, make sure linting and unit tests pass locally and open a pull request.
### Package Hierarchy
File diff suppressed because it is too large. Load diff
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:12:03+0000"
date: "2021-10-26T18:26:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
@@ -35,6 +35,46 @@ 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 ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
-config-file | $STORE_CONFIG_FILE
: Path to config file.
-log-level | $STORE_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $STORE_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $STORE_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### store server
Start integrated server
@@ -173,43 +213,3 @@ Usage: `store health [command options] [arguments...]`
### store ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
-config-file | $STORE_CONFIG_FILE
: Path to config file.
-log-level | $STORE_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $STORE_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $STORE_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+36 -36
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:12:06+0000"
date: "2021-10-26T18:26:54+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -34,6 +34,41 @@ 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.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9189"`.
### thumbnails ocis-thumbnails
@@ -205,39 +240,4 @@ Usage: `thumbnails version [command options] [arguments...]`
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9189"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:12:09+0000"
date: "2021-10-26T18:26:56+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+4 -6
View File
@@ -31,9 +31,7 @@ and take note of its release tag name.
1. Create a branch `update-web-$version` in the [ocis repository](https://github.com/owncloud/ocis)
2. Change into web package folder via `cd web`
3. Inside `web/`, update the `Makefile` so that the WEB_ASSETS_VERSION variable references the currently released version of https://github.com/owncloud/web
4. Inside `web/`, replace the current assets with newly released ones by running `make pull-assets`
5. Inside `web/`, run `make generate`. The output should look something like this: `web: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...`
6. Move to the changelog (`cd ../changelog/`) and add a changelog file to the `unreleased/` folder (You can copy an old web release changelog item as a template)
7. Move to the repo root (`cd ..`)and update the WEB_COMMITID in the `/.drone.env` file to the commit id from the released version (unless the existing commit id is already newer)
8. **Optional:** Test the changes locally by running `cd ocis && go run cmd/ocis/main.go server`, visiting [https://localhost:9200](https://localhost:9200) and confirming everything renders correctly
9. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls)
4. Move to the changelog (`cd ../changelog/`) and add a changelog file to the `unreleased/` folder (You can copy an old web release changelog item as a template)
5. Move to the repo root (`cd ..`)and update the WEB_COMMITID in the `/.drone.env` file to the commit id from the released version (unless the existing commit id is already newer)
6. **Optional:** Test the changes locally by running `cd ocis && go run cmd/ocis/main.go server`, visiting [https://localhost:9200](https://localhost:9200) and confirming everything renders correctly
7. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls)
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:12:09+0000"
date: "2021-10-26T18:26:56+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+109 -109
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-26T15:11:57+0000"
date: "2021-10-26T18:26:49+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -111,6 +111,35 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis list
@@ -141,11 +170,11 @@ Usage: `ocis list [command options] [arguments...]`
### ocis kill
### ocis run
Kill an extension by name
Runs an extension
Usage: `ocis kill [command options] [arguments...]`
Usage: `ocis run [command options] [arguments...]`
@@ -222,35 +251,6 @@ Usage: `ocis server [command options] [arguments...]`
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis health
@@ -288,10 +288,86 @@ 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 thumbnails
Start thumbnails server
#### ocis version
Lists running services with version
#### ocis webdav
Start webdav server
#### ocis glauth
Start glauth server
#### ocis idp
Start idp server
#### ocis storage-public-link
Start storage public link storage
#### ocis accounts
Start accounts server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis store
Start a go-micro store
#### ocis proxy
Start proxy server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-frontend
Start storage frontend
#### ocis storage-gateway
Start storage gateway
#### ocis ocs
Start ocs server
#### ocis settings
Start settings server
#### ocis web
Start web server
@@ -304,79 +380,3 @@ Start storage auth-basic service
Start storage and data service for metadata
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis accounts
Start accounts server
#### ocis storage-public-link
Start storage public link storage
#### ocis version
Lists running services with version
#### ocis idp
Start idp server
#### ocis proxy
Start proxy server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-userprovider
Start storage userprovider service
#### ocis store
Start a go-micro store
#### ocis webdav
Start webdav server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis thumbnails
Start thumbnails server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-gateway
Start storage gateway
#### ocis settings
Start settings server
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis glauth
Start glauth server