Releases: owncloud/ocis
1.5.0-rc1
Changes in 1.5.0
Summary
- Bugfix - Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM: #1888
- Change - Make Protobuf package names unique: #1875
- Change - Update ownCloud Web to v3.0.0: #1938
- Enhancement - Change default path for thumbnails: #1892
- Enhancement - Parse config on supervised mode with run subcommand: #1931
- Enhancement - Update ODS in accounts & settings extension: #1934
- Enhancement - Add config for public share SQL driver: #1916
- Enhancement - Remove dead runtime code: #1923
- Enhancement - Add option to reading registry rules from json file: #1917
- Enhancement - Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2: #1872
Details
-
Bugfix - Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM: #1888
Sync/cache had uint64s that were not 64-bit aligned causing panics on 32-bit systems during
atomic access -
Change - Make Protobuf package names unique: #1875
Introduce unique
package
andgo_package
names for our Protobuf definitions -
Change - Update ownCloud Web to v3.0.0: #1938
Tags: web
We updated ownCloud Web to v3.0.0. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Change default path for thumbnails: #1892
Changes the default path for thumbnails from
<os tmp dir>/ocis-thumbnails
to
/var/tmp/ocis/thumbnails
-
Enhancement - Parse config on supervised mode with run subcommand: #1931
Currenntly it is not possible to parse a single config file from an extension when running on
supervised mode. -
Enhancement - Update ODS in accounts & settings extension: #1934
The accounts and settings extensions were updated to reflect the latest changes in the
ownCloud design system. In addition, a couple of quick wins in terms of accessibility are
included. -
Enhancement - Add config for public share SQL driver: #1916
-
Enhancement - Remove dead runtime code: #1923
When moving from the old runtime to the new one there were lots of files left behind that are
essentially dead code and should be removed. The original code lives here
github.com/refs/pman/ if someone finds it interesting to read. -
Enhancement - Add option to reading registry rules from json file: #1917
-
Enhancement - Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2: #1872
- enforce quota (cs3org/reva#1557)
- Make additional info attribute configureable (cs3org/reva#1588)
- check ENOTDIR for readlink (cs3org/reva#1597)
- Add wrappers for EOS and EOS Home storage drivers (cs3org/reva#1624)
- eos: fixes for enabling file sharing (cs3org/reva#1619)
- implement checksums in the owncloud storage driver (cs3org/reva#1629)
1.4.0 Tech Preview
Changes in 1.4.0
Summary
- Bugfix - Fix thumbnail generation for jpegs: #1785
- Change - Update ownCloud Web to v2.1.0: #1870
- Enhancement - Add focus to input elements on login page: #1792
- Enhancement - Improve accessibility to input elements on login page: #1794
- Enhancement - Add new build targets: #1824
- Enhancement - Clarify expected failures: #1790
- Enhancement - Replace special character in login page title with a regular minus: #1813
- Enhancement - File Logging: #1816
- Enhancement - Runtime Hostname and Port are now configurable: #1822
- Enhancement - Generate thumbnails for .gif files: #1791
- Enhancement - Tracing Refactor: #1819
- Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: #1683
Details
-
Bugfix - Fix thumbnail generation for jpegs: #1785
Images with the extension
.jpeg
were not properly supported. -
Change - Update ownCloud Web to v2.1.0: #1870
Tags: web
We updated ownCloud Web to v2.1.0. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Add focus to input elements on login page: #1792
-
Enhancement - Improve accessibility to input elements on login page: #1794
-
Enhancement - Add new build targets: #1824
Make build target
build
used to build a binary twice, the second occurrence having symbols
for debugging. We split this step in two and addedbuild-all
andbuild-debug
targets.build-all
now behaves as the previousbuild
target, it will generate 2 binaries, one for
debug. -build-debug
will build a single binary for debugging.
-
Enhancement - Clarify expected failures: #1790
Some features, while covered by the ownCloud 10 acceptance tests, will not be implmented for
now: - blacklisted / ignored files, because ocis does not need to blacklist.htaccess
files -
OC-LazyOps
support was removed from the
clients. We are thinking about a state
machine for uploads to properly solve that scenario and also list the state of files in progress
in the web ui. The expected failures
files now have a dedicated Won't fix section for these items. -
Enhancement - Replace special character in login page title with a regular minus: #1813
-
Enhancement - File Logging: #1816
When running supervised, support for configuring all logs to a single log file:
OCIS_LOG_FILE=/Users/foo/bar/ocis.log MICRO_REGISTRY=etcd bin/ocis server
Supports directing log from single extensions to a log file:
PROXY_LOG_FILE=/Users/foo/bar/proxy.log MICRO_REGISTRY=etcd bin/ocis proxy
-
Enhancement - Runtime Hostname and Port are now configurable: #1822
Without any configuration the ocis runtime will start on
localhost:9250
unless specified
otherwise. Usage:OCIS_RUNTIME_PORT=6061 bin/ocis server
- overrides the oCIS runtime and starts on port
6061 -OCIS_RUNTIME_PORT=6061 bin/ocis list
- lists running extensions for the runtime on
localhost:6061
All subcommands are updated and expected to work with the following environment variables:
OCIS_RUNTIME_HOST OCIS_RUNTIME_PORT
-
Enhancement - Generate thumbnails for .gif files: #1791
Added support for gifs to the thumbnails service.
-
Enhancement - Tracing Refactor: #1819
Centralize tracing handling per extension.
-
Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: #1683
- quota querying and tree accounting cs3org/reva#1405
- Fix webdav file versions endpoint bugs cs3org/reva#1526
- Fix etag changing only once a second cs3org/reva#1576
- Trashbin API parity cs3org/reva#1552
- Signature authentication for public links cs3org/reva#1590
1.4.0-rc1
Changes in 1.4.0
Summary
- Bugfix - Fix thumbnail generation for jpegs: #1785
- Change - Update ownCloud Web to v2.1.0: #1870
- Enhancement - Add focus to input elements on login page: #1792
- Enhancement - Improve accessibility to input elements on login page: #1794
- Enhancement - Add new build targets: #1824
- Enhancement - Clarify expected failures: #1790
- Enhancement - Replace special character in login page title with a regular minus: #1813
- Enhancement - File Logging: #1816
- Enhancement - Runtime Hostname and Port are now configurable: #1822
- Enhancement - Generate thumbnails for .gif files: #1791
- Enhancement - Tracing Refactor: #1819
- Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: #1683
Details
-
Bugfix - Fix thumbnail generation for jpegs: #1785
Images with the extension
.jpeg
were not properly supported. -
Change - Update ownCloud Web to v2.1.0: #1870
Tags: web
We updated ownCloud Web to v2.1.0. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Add focus to input elements on login page: #1792
-
Enhancement - Improve accessibility to input elements on login page: #1794
-
Enhancement - Add new build targets: #1824
Make build target
build
used to build a binary twice, the second occurrence having symbols
for debugging. We split this step in two and addedbuild-all
andbuild-debug
targets.build-all
now behaves as the previousbuild
target, it will generate 2 binaries, one for
debug. -build-debug
will build a single binary for debugging.
-
Enhancement - Clarify expected failures: #1790
Some features, while covered by the ownCloud 10 acceptance tests, will not be implmented for
now: - blacklisted / ignored files, because ocis does not need to blacklist.htaccess
files -
OC-LazyOps
support was removed from the
clients. We are thinking about a state
machine for uploads to properly solve that scenario and also list the state of files in progress
in the web ui. The expected failures
files now have a dedicated Won't fix section for these items. -
Enhancement - Replace special character in login page title with a regular minus: #1813
-
Enhancement - File Logging: #1816
When running supervised, support for configuring all logs to a single log file:
OCIS_LOG_FILE=/Users/foo/bar/ocis.log MICRO_REGISTRY=etcd bin/ocis server
Supports directing log from single extensions to a log file:
PROXY_LOG_FILE=/Users/foo/bar/proxy.log MICRO_REGISTRY=etcd bin/ocis proxy
-
Enhancement - Runtime Hostname and Port are now configurable: #1822
Without any configuration the ocis runtime will start on
localhost:9250
unless specified
otherwise. Usage:OCIS_RUNTIME_PORT=6061 bin/ocis server
- overrides the oCIS runtime and starts on port
6061 -OCIS_RUNTIME_PORT=6061 bin/ocis list
- lists running extensions for the runtime on
localhost:6061
All subcommands are updated and expected to work with the following environment variables:
OCIS_RUNTIME_HOST OCIS_RUNTIME_PORT
-
Enhancement - Generate thumbnails for .gif files: #1791
Added support for gifs to the thumbnails service.
-
Enhancement - Tracing Refactor: #1819
Centralize tracing handling per extension.
-
Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: #1683
- quota querying and tree accounting cs3org/reva#1405
- Fix webdav file versions endpoint bugs cs3org/reva#1526
- Fix etag changing only once a second cs3org/reva#1576
- Trashbin API parity cs3org/reva#1552
- Signature authentication for public links cs3org/reva#1590
1.3.0 Tech Preview
Changes in 1.3.0 Tech Preview
Summary
- Bugfix - Purposely delay accounts service startup: #1734
- Bugfix - Add missing gateway config: #1716
- Bugfix - Fix accounts initialization: #1696
- Bugfix - Fix the ttl of the authentication middleware cache: #1699
- Change - Update ownCloud Web to v2.0.1: #1683
- Change - Update ownCloud Web to v2.0.2: #1776
- Enhancement - Remove the JWT from the log: #1758
- Enhancement - Update go-micro to v3.5.1-0.20210217182006-0f0ace1a44a9: #1670
- Enhancement - Update reva to v1.6.1-0.20210223065028-53f39499762e: #1683
- Enhancement - Add initial nats and kubernetes registry support: #1697
Details
-
Bugfix - Purposely delay accounts service startup: #1734
As it turns out the race condition between
accounts <-> storage-metadata
still remains.
This PR is a hotfix, and it should be followed up with a proper fix. Either:- block the accounts' initialization until the storage metadata is ready (using the registry)
or - allow the accounts service to initialize and use a message broker to signal the accounts the
metadata storage is ready to receive requests.
- block the accounts' initialization until the storage metadata is ready (using the registry)
-
Bugfix - Add missing gateway config: #1716
The auth provider
ldap
andoidc
drivers now need to be able talk to the reva gateway. We added
thegatewayscv
to the config that is passed to reva. -
Bugfix - Fix accounts initialization: #1696
Originally the accounts service relies on both the
settings
andstorage-metadata
to be up
and running at the moment it starts. This is an antipattern as it will cause the entire service to
panic if the dependants are not present.We inverted this dependency and moved the default initialization data (i.e: creating roles,
permissions, settings bundles) and instead of notifying the settings service that the
account has to provide with such options, the settings is instead initialized with the options
the accounts rely on. Essentially saving bandwith as there is no longer a gRPC call to the
settings service.For the
storage-metadata
a retry mechanism was added that retries by default 20 times to
fetch thecom.owncloud.storage.metadata
from the service registry every500
miliseconds. If this retry expires the accounts panics, as its dependency on the
storage-metadata
service cannot be resolved.We also introduced a client wrapper that acts as middleware between a client and a server. For
more information on how it works further read here -
Bugfix - Fix the ttl of the authentication middleware cache: #1699
The authentication cache ttl was multiplied with
time.Second
multiple times. This
resulted in a ttl that was not intended. -
Change - Update ownCloud Web to v2.0.1: #1683
Tags: web
We updated ownCloud Web to v2.0.1. Please refer to the changelog (linked) for details on the web
release. -
Change - Update ownCloud Web to v2.0.2: #1776
Tags: web
We updated ownCloud Web to v2.0.2. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Remove the JWT from the log: #1758
We were logging the JWT in some places. Secrets should not be exposed in logs so it got removed.
-
Enhancement - Update go-micro to v3.5.1-0.20210217182006-0f0ace1a44a9: #1670
- We updated from go micro v2 (v2.9.1) go-micro v3 (v3.5.1 edge). - oCIS runtime is now aware of
MICRO_LOG_LEVEL
and is set toerror
by default. This decision was made because ownCloud,
as framework builders, want to log everything oCIS related and hide everything unrelated by
default. It can be re-enabled by setting it to a log level other thanerror
. i.e:
MICRO_LOG_LEVEL=info
. - Updatedprotoc-gen-micro
to the latest
version. -
We're using Prometheus wrappers from go-micro.
- We updated from go micro v2 (v2.9.1) go-micro v3 (v3.5.1 edge). - oCIS runtime is now aware of
-
Enhancement - Update reva to v1.6.1-0.20210223065028-53f39499762e: #1683
- quota querying and tree accounting cs3org/reva#1405
-
Enhancement - Add initial nats and kubernetes registry support: #1697
We added initial support to use nats and kubernetes as a service registry using
MICRO_REGISTRY=nats
andMICRO_REGISTRY=kubernetes
respectively. Multiple nodes can
be given withMICRO_REGISTRY_ADDRESS=1.2.3.4,5.6.7.8,9.10.11.12
.
1.3.0-rc1
Changes in 1.3.0
Summary
- Bugfix - Purposely delay accounts service startup: #1734
- Bugfix - Add missing gateway config: #1716
- Bugfix - Fix accounts initialization: #1696
- Bugfix - Fix the ttl of the authentication middleware cache: #1699
- Change - Update ownCloud Web to v2.0.1: #1683
- Change - Update ownCloud Web to v2.0.2: #1776
- Enhancement - Remove the JWT from the log: #1758
- Enhancement - Update go-micro to v3.5.1-0.20210217182006-0f0ace1a44a9: #1670
- Enhancement - Update reva to v1.6.1-0.20210223065028-53f39499762e: #1683
- Enhancement - Add initial nats and kubernetes registry support: #1697
Details
-
Bugfix - Purposely delay accounts service startup: #1734
As it turns out the race condition between
accounts <-> storage-metadata
still remains.
This PR is a hotfix, and it should be followed up with a proper fix. Either:- block the accounts' initialization until the storage metadata is ready (using the registry)
or - allow the accounts service to initialize and use a message broker to signal the accounts the
metadata storage is ready to receive requests.
- block the accounts' initialization until the storage metadata is ready (using the registry)
-
Bugfix - Add missing gateway config: #1716
The auth provider
ldap
andoidc
drivers now need to be able talk to the reva gateway. We added
thegatewayscv
to the config that is passed to reva. -
Bugfix - Fix accounts initialization: #1696
Originally the accounts service relies on both the
settings
andstorage-metadata
to be up
and running at the moment it starts. This is an antipattern as it will cause the entire service to
panic if the dependants are not present.We inverted this dependency and moved the default initialization data (i.e: creating roles,
permissions, settings bundles) and instead of notifying the settings service that the
account has to provide with such options, the settings is instead initialized with the options
the accounts rely on. Essentially saving bandwith as there is no longer a gRPC call to the
settings service.For the
storage-metadata
a retry mechanism was added that retries by default 20 times to
fetch thecom.owncloud.storage.metadata
from the service registry every500
miliseconds. If this retry expires the accounts panics, as its dependency on the
storage-metadata
service cannot be resolved.We also introduced a client wrapper that acts as middleware between a client and a server. For
more information on how it works further read here -
Bugfix - Fix the ttl of the authentication middleware cache: #1699
The authentication cache ttl was multiplied with
time.Second
multiple times. This
resulted in a ttl that was not intended. -
Change - Update ownCloud Web to v2.0.1: #1683
Tags: web
We updated ownCloud Web to v2.0.1. Please refer to the changelog (linked) for details on the web
release. -
Change - Update ownCloud Web to v2.0.2: #1776
Tags: web
We updated ownCloud Web to v2.0.2. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Remove the JWT from the log: #1758
We were logging the JWT in some places. Secrets should not be exposed in logs so it got removed.
-
Enhancement - Update go-micro to v3.5.1-0.20210217182006-0f0ace1a44a9: #1670
- We updated from go micro v2 (v2.9.1) go-micro v3 (v3.5.1 edge). - oCIS runtime is now aware of
MICRO_LOG_LEVEL
and is set toerror
by default. This decision was made because ownCloud,
as framework builders, want to log everything oCIS related and hide everything unrelated by
default. It can be re-enabled by setting it to a log level other thanerror
. i.e:
MICRO_LOG_LEVEL=info
. - Updatedprotoc-gen-micro
to the latest
version. -
We're using Prometheus wrappers from go-micro.
- We updated from go micro v2 (v2.9.1) go-micro v3 (v3.5.1 edge). - oCIS runtime is now aware of
-
Enhancement - Update reva to v1.6.1-0.20210223065028-53f39499762e: #1683
- quota querying and tree accounting cs3org/reva#1405
-
Enhancement - Add initial nats and kubernetes registry support: #1697
We added initial support to use nats and kubernetes as a service registry using
MICRO_REGISTRY=nats
andMICRO_REGISTRY=kubernetes
respectively. Multiple nodes can
be given withMICRO_REGISTRY_ADDRESS=1.2.3.4,5.6.7.8,9.10.11.12
.
1.2.0 Tech Preview
Changelog for 1.2.0 (2021-02-17)
The following sections list the changes for 1.2.0.
Summary
- Bugfix - Check if roles are present in user object before looking those up: #1388
- Bugfix - Fix etcd address configuration: #1546
- Bugfix - Remove unimplemented config file option for oCIS root command: #1636
- Bugfix - Fix thumbnail generation when using different idp: #1624
- Change - Initial release of graph and graph explorer: #1594
- Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: #1483
- Change - Update ownCloud Web to v2.0.0: #1661
- Enhancement - Make use of new design-system oc-table: #1597
- Enhancement - Use a default protocol parameter instead of explicitly disabling tus: #1331
- Enhancement - Functionality to map home directory to different storage providers: #1186
- Enhancement - Introduce ADR: #1042
- Enhancement - Switch to opencontainers annotation scheme: #1381
- Enhancement - Migrate ocis-graph-explorer to ocis monorepo: #1596
- Enhancement - Migrate ocis-graph to ocis monorepo: #1594
- Enhancement - Enable group sharing and add config for sharing SQL driver: #1626
- Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: #1482
Details
-
Bugfix - Check if roles are present in user object before looking those up: #1388
-
Bugfix - Fix etcd address configuration: #1546
The etcd server address in
MICRO_REGISTRY_ADDRESS
was not picked up when etcd was set as
service discovery registryMICRO_REGISTRY=etcd
. Therefore etcd was only working if
available on localhost / 127.0.0.1. -
Bugfix - Remove unimplemented config file option for oCIS root command: #1636
-
Bugfix - Fix thumbnail generation when using different idp: #1624
The thumbnail service was relying on a konnectd specific field in the access token. This logic
was now replaced by a service parameter for the username. -
Change - Initial release of graph and graph explorer: #1594
Tags: graph, graph-explorer
We brought initial basic Graph and Graph-Explorer support for the ownCloud Infinite Scale
project.#1594
https://github.com/owncloud/ocis-graph-explorer/pull/3 -
Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: #1483
Tags: ocis, runtime
Currently, the runtime is under the private account of an oCIS developer. For future-proofing
we don't want oCIS mission critical components to depend on external repositories, so we're
including refs/pman module as an oCIS package instead. -
Change - Update ownCloud Web to v2.0.0: #1661
Tags: web
We updated ownCloud Web to v2.0.0. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Make use of new design-system oc-table: #1597
Tags: ui, accounts
The design-system table component has changed the way it's used. We updated accounts-ui to use
the new 'oc-table-simple' component. -
Enhancement - Use a default protocol parameter instead of explicitly disabling tus: #1331
-
Enhancement - Functionality to map home directory to different storage providers: #1186
We added a parameter in reva that allows us to redirect /home requests to different storage
providers based on a mapping derived from the user attributes, which was previously not
possible since we hardcode the /home path for all users. For example, having its value as
/home/{{substr 0 1 .Username}}
can be used to redirect home requests for different users to
different storage providers. -
Enhancement - Introduce ADR: #1042
We will keep track of Architectual Decision Records using
Markdown in/docs/adr
. -
Enhancement - Switch to opencontainers annotation scheme: #1381
Switch docker image annotation scheme to org.opencontainers standard because
org.label-schema is depreciated. -
Enhancement - Migrate ocis-graph-explorer to ocis monorepo: #1596
Tags: ocis, ocis-graph-explorer
Ocis-graph-explorer was not migrated during the monorepo conversion.
-
Enhancement - Migrate ocis-graph to ocis monorepo: #1594
Tags: ocis, ocis-graph
Ocis-graph was not migrated during the monorepo conversion.
-
Enhancement - Enable group sharing and add config for sharing SQL driver: #1626
This PR adds config to support sharing with groups. It also introduces a breaking change for the
CS3APIs definitions since grantees can now refer to both users as well as groups. Since we store
the grantee information in a json file,/var/tmp/ocis/storage/shares.json
, its previous
version needs to be removed as we won't be able to unmarshal data corresponding to the previous
definitions. -
Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: #1482
- initial checksum support for ocis cs3org/reva#1400
- Use updated etag of home directory even if it is cached cs3org/reva#1416
- Indicate in EOS containers that TUS is not supported cs3org/reva#1415
- Get status code from recycle response cs3org/reva#1408
#1482
cs3org/reva#1400
cs3org/reva#1416
cs3org/reva#1415
cs3org/reva#1408
1.2.0-rc1
Changes in 1.2.0
Summary
- Bugfix - Check if roles are present in user object before looking those up: #1388
- Bugfix - Fix etcd address configuration: #1546
- Bugfix - Remove unimplemented config file option for oCIS root command: #1636
- Bugfix - Fix thumbnail generation when using different idp: #1624
- Change - Initial release of graph and graph explorer: #1594
- Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: #1483
- Change - Update ownCloud Web to v2.0.0: #1661
- Enhancement - Make use of new design-system oc-table: #1597
- Enhancement - Use a default protocol parameter instead of explicitly disabling tus: #1331
- Enhancement - Functionality to map home directory to different storage providers: #1186
- Enhancement - Introduce ADR: #1042
- Enhancement - Switch to opencontainers annotation scheme: #1381
- Enhancement - Migrate ocis-graph-explorer to ocis monorepo: #1596
- Enhancement - Migrate ocis-graph to ocis monorepo: #1594
- Enhancement - Enable group sharing and add config for sharing SQL driver: #1626
- Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: #1482
Details
-
Bugfix - Check if roles are present in user object before looking those up: #1388
-
Bugfix - Fix etcd address configuration: #1546
The etcd server address in
MICRO_REGISTRY_ADDRESS
was not picked up when etcd was set as
service discovery registryMICRO_REGISTRY=etcd
. Therefore etcd was only working if
available on localhost / 127.0.0.1. -
Bugfix - Remove unimplemented config file option for oCIS root command: #1636
-
Bugfix - Fix thumbnail generation when using different idp: #1624
The thumbnail service was relying on a konnectd specific field in the access token. This logic
was now replaced by a service parameter for the username. -
Change - Initial release of graph and graph explorer: #1594
Tags: graph, graph-explorer
We brought initial basic Graph and Graph-Explorer support for the ownCloud Infinite Scale
project.#1594
https://github.com/owncloud/ocis-graph-explorer/pull/3 -
Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: #1483
Tags: ocis, runtime
Currently, the runtime is under the private account of an oCIS developer. For future-proofing
we don't want oCIS mission critical components to depend on external repositories, so we're
including refs/pman module as an oCIS package instead. -
Change - Update ownCloud Web to v2.0.0: #1661
Tags: web
We updated ownCloud Web to v2.0.0. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Make use of new design-system oc-table: #1597
Tags: ui, accounts
The design-system table component has changed the way it's used. We updated accounts-ui to use
the new 'oc-table-simple' component. -
Enhancement - Use a default protocol parameter instead of explicitly disabling tus: #1331
-
Enhancement - Functionality to map home directory to different storage providers: #1186
We added a parameter in reva that allows us to redirect /home requests to different storage
providers based on a mapping derived from the user attributes, which was previously not
possible since we hardcode the /home path for all users. For example, having its value as
/home/{{substr 0 1 .Username}}
can be used to redirect home requests for different users to
different storage providers. -
Enhancement - Introduce ADR: #1042
We will keep track of Architectual Decision Records using
Markdown in/docs/adr
. -
Enhancement - Switch to opencontainers annotation scheme: #1381
Switch docker image annotation scheme to org.opencontainers standard because
org.label-schema is depreciated. -
Enhancement - Migrate ocis-graph-explorer to ocis monorepo: #1596
Tags: ocis, ocis-graph-explorer
Ocis-graph-explorer was not migrated during the monorepo conversion.
-
Enhancement - Migrate ocis-graph to ocis monorepo: #1594
Tags: ocis, ocis-graph
Ocis-graph was not migrated during the monorepo conversion.
-
Enhancement - Enable group sharing and add config for sharing SQL driver: #1626
This PR adds config to support sharing with groups. It also introduces a breaking change for the
CS3APIs definitions since grantees can now refer to both users as well as groups. Since we store
the grantee information in a json file,/var/tmp/ocis/storage/shares.json
, its previous
version needs to be removed as we won't be able to unmarshal data corresponding to the previous
definitions. -
Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: #1482
- initial checksum support for ocis cs3org/reva#1400
- Use updated etag of home directory even if it is cached cs3org/reva#1416
- Indicate in EOS containers that TUS is not supported cs3org/reva#1415
- Get status code from recycle response cs3org/reva#1408
#1482
cs3org/reva#1400
cs3org/reva#1416
cs3org/reva#1415
cs3org/reva#1408
1.1.0 Tech Preview
Changes in 1.1.0
Summary
- Change - Disable pretty logging by default: #1133
- Change - Add "volume" declaration to docker images: #1375
- Change - Add "expose" information to docker images: #1366
- Change - Generate cryptographically secure state token: #1203
- Change - Move k6 to cdperf: #1358
- Change - Update go version: #1364
- Change - Update ownCloud Web to v1.0.1: #1191
- Enhancement - Add OCIS_URL env var: #1148
- Enhancement - Use sync.cache for roles cache: #1367
- Enhancement - Add named locks and refactor cache: #1212
- Enhancement - Update reva to v1.5.1: #1372
- Enhancement - Update reva to v1.4.1-0.20210111080247-f2b63bfd6825: #1194
Details
-
Change - Disable pretty logging by default: #1133
Tags: ocis
Disable pretty logging default for performance reasons.
-
Change - Add "volume" declaration to docker images: #1375
Tags: docker
Add "volume" declaration to docker images. This makes it easier for Docker users to see where
oCIS stores data. -
Change - Add "expose" information to docker images: #1366
Tags: docker
Add "expose" information to docker images. Docker users will now see that we offer services on
port 9200. -
Change - Generate cryptographically secure state token: #1203
Replaced Math.random with a cryptographically secure way to generate the oidc state token
using the javascript crypto api.#1203
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random -
Change - Move k6 to cdperf: #1358
Tags: performance, testing, k6
The ownCloud performance tests can not only be used to test ocis. This is why we have decided to
move the k6 tests to https://github.com/owncloud/cdperf -
Change - Update go version: #1364
Tags: go
Update go from 1.13 to 1.15
-
Change - Update ownCloud Web to v1.0.1: #1191
Tags: web
We updated ownCloud Web to v1.0.1. Please refer to the changelog (linked) for details on the web
release. -
Enhancement - Add OCIS_URL env var: #1148
Tags: ocis
We introduced a new environment variable
OCIS_URL
that expects a URL including protocol,
host and optionally port to simplify configuring all the different services. These existing
environment variables still take precedence, but will also fall back toOCIS_URL
:
STORAGE_LDAP_IDP
,STORAGE_OIDC_ISSUER
,PROXY_OIDC_ISSUER
,
STORAGE_FRONTEND_PUBLIC_URL
,KONNECTD_ISS
,WEB_OIDC_AUTHORITY
, and
WEB_UI_CONFIG_SERVER
.Some environment variables are now built dynamically if they are not set: -
STORAGE_DATAGATEWAY_PUBLIC_URL
defaults to<STORAGE_FRONTEND_PUBLIC_URL>/data
,
also falling back toOCIS_URL
-WEB_OIDC_METADATA_URL
defaults to
<WEB_OIDC_AUTHORITY>/.well-known/openid-configuration
, also falling back to
OCIS_URL
Furthermore, the built in konnectd will generate an
identifier-registration.yaml
that
uses theKONNECTD_ISS
in the allowedredirect_uris
andorigins
. It simplifies the
defaulthttps://localhost:9200
and remote deployment withOCIS_URL
which is evaluated
as a fallback ifKONNECTD_ISS
is not set.An OCIS server can now be started on a remote machine as easy as
OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server
.Note that the
OCIS_DOMAIN
environment variable is not used by ocis, but by the docker
containers. -
Enhancement - Use sync.cache for roles cache: #1367
Tags: ocis-pkg
Update ocis-pkg/roles cache to use ocis-pkg/sync cache
-
Enhancement - Add named locks and refactor cache: #1212
Tags: ocis-pkg, accounts
We had the case that we needed kind of a named locking mechanism which enables us to lock only
under certain conditions. It's used in the indexer package where we do not need to lock
everything, instead just lock the requested parts and differentiate between reads and
writes.This made it possible to entirely remove locks from the accounts service and move them to the
ocis-pkg indexer. Another part of this refactor was to make the cache atomic and write tests for
it.- remove locking from accounts service - add sync package with named mutex - add named locking to
indexer - move cache to sync package
- remove locking from accounts service - add sync package with named mutex - add named locking to
-
Enhancement - Update reva to v1.5.1: #1372
Summary -------
- Fix #1401: Use the user in request for deciding the layout for non-home DAV requests
- Fix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
- Fix #1399: Fix ocis trash-bin purge
- Enh #1397: Bump the Copyright date to 2021
- Enh #1398: Support site authorization status in Mentix
- Enh #1393: Allow setting favorites, mtime and a temporary etag
- Enh #1403: Support remote cloud gathering metrics
Details -------
- Bugfix #1401: Use the user in request for deciding the layout for non-home DAV requests
For the incoming /dav/files/userID requests, we have different namespaces depending on
whether the request is for the logged-in user's namespace or not. Since in the storage drivers,
we specify the layout depending only on the user whose resources are to be accessed, this fails
when a user wants to access another user's namespace when the storage provider depends on the
logged in user's namespace. This PR fixes that.For example, consider the following case. The owncloud fs uses a layout {{substr 0 1
.Id.OpaqueId}}/{{.Id.OpaqueId}}. The user einstein sends a request to access a resource
shared with him, say /dav/files/marie/abcd, which should be allowed. However, based on the
way we applied the layout, there's no way in which this can be translated to /m/marie/.Https://github.com/cs3org/reva/pull/1401
- Bugfix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
And git SHA to the release tool.
Https://github.com/cs3org/reva/pull/1413
- Bugfix #1399: Fix ocis trash-bin purge
Fixes the empty trash-bin functionality for ocis-storage
Https://github.com/owncloud/product/issues/254
cs3org/reva#1399- Enhancement #1397: Bump the Copyright date to 2021
Https://github.com/cs3org/reva/pull/1397
- Enhancement #1398: Support site authorization status in Mentix
This enhancement adds support for a site authorization status to Mentix. This way, sites
registered via a web app can now be excluded until authorized manually by an administrator.Furthermore, Mentix now sets the scheme for Prometheus targets. This allows us to also support
monitoring of sites that do not support the default HTTPS scheme.Https://github.com/cs3org/reva/pull/1398
- Enhancement #1393: Allow setting favorites, mtime and a temporary etag
We now let the ocis driver persist favorites, set temporary etags and the mtime as arbitrary
metadata.Https://github.com/owncloud/ocis/issues/567
cs3org/reva#1394
cs3org/reva#1393- Enhancement #1403: Support remote cloud gathering metrics
The current metrics package can only gather metrics either from json files. With this feature,
the metrics can be gathered polling the http endpoints exposed by the owncloud/nextcloud
sciencemesh apps. -
Enhancement - Update reva to v1.4.1-0.20210111080247-f2b63bfd6825: #1194
- Enhancement: calculate and expose actual file permission set cs3org/reva#1368
- initial range request support cs3org/reva#1326
1.1.0-rc1
v1.1.0-rc1 Automated changelog update [skip ci]
1.0.0 Tech Preview
Changes in 1.0.0 Tech Preview
Summary
- Bugfix - Enable scrolling in accounts list: #909
- Bugfix - Add missing env vars to docker compose: #392
- Bugfix - Don't enforce empty external apps slice: #473
- Bugfix - Lower Bound was not working for the cs3 api index implementation: #741
- Bugfix - Accounts config sometimes being overwritten: #808
- Bugfix - Make settings service start without go coroutines: #835
- Bugfix - Fix button layout after phoenix update: #625
- Bugfix - Fix choose account dialogue: #846
- Bugfix - Fix id or username query handling: #745
- Bugfix - Fix konnectd build: #809
- Bugfix - Fix path of files shared with me in ocs api: #204
- Bugfix - Use micro default client: #718
- Bugfix - Allow consent-prompt with switch-account: #788
- Bugfix - Mint token with uid and gid: #737
- Bugfix - Serve index.html for directories: #912
- Bugfix - Don't create account if id/mail/username already taken: #709
- Bugfix - Fix director selection in proxy: #521
- Bugfix - Permission checks for settings write access: #1092
- Bugfix - Fix minor ui bugs: #1043
- Bugfix - Disable public link expiration by default: #987
- Bugfix - Build docker images with alpine:latest instead of alpine:edge: #416
- Change - Accounts UI shows message when no permissions: #656
- Change - Cache password validation: #958
- Change - Filesystem based index: #709
- Change - Rebuild index command for accounts: #748
- Change - Add the thumbnails command: #156
- Change - CS3 can be used as accounts-backend: #1020
- Change - Use bcrypt to hash the user passwords: #510
- Change - Replace the library which scales the images: #910
- Change - Choose disk or cs3 storage for accounts and groups: #623
- Change - Enable OpenID dynamic client registration: #811
- Change - Integrate import command from ocis-migration: #249
- Change - Improve reva service descriptions: #536
- Change - Initial release of basic version: #2
- Change - Add cli-commands to manage accounts: #115
- Change - Start ocis-accounts with the ocis server command: #25
- Change - Properly style konnectd consent page: #754
- Change - Make all paths configurable and default to a common temp dir: #1080
- Change - Move the indexer package from ocis/accounts to ocis/ocis-pkg: #794
- Change - Switch over to a new custom-built runtime: #287
- Change - Move ocis default config to root level: #842
- Change - Remove username field in OCS: #709
- Change - Account management permissions for Admin role: #124
- Change - Update phoenix to v0.18.0: #651
- Change - Default apps in ownCloud Web: #688
- Change - Proxy allow insecure upstreams: #1007
- Change - Make ocis-settings available: #287
- Change - Start ocis-proxy with the ocis server command: #119
- Change - Theme welcome and choose account pages: #887
- Change - Bring oC theme: #698
- Change - Unify Configuration Parsing: #675
- Change - Update phoenix to v0.20.0: #674
- Change - Update phoenix to v0.21.0: #728
- Change - Update phoenix to v0.22.0: #757
- Change - Update phoenix to v0.23.0: #785
- Change - Update phoenix to v0.24.0: #817
- Change - Update phoenix to v0.25.0: #868
- Change - Update phoenix to v0.26.0: #935
- Change - Update phoenix to v0.27.0: #943
- Change - Update phoenix to v0.28.0: #1027
- Change - Update phoenix to v0.29.0: #1034
- Change - Update reva config: #336
- Change - Update reva to v1.4.1-0.20201209113234-e791b5599a89: #1089
- Change - Clarify storage driver env vars: #729
- Change - Update ownCloud Web to v1.0.0-beta3: #1105
- Change - Update ownCloud Web to v1.0.0-beta4: #1110
- Change - Settings and accounts appear in the user menu: #656
- Enhancement - Add tracing to the accounts service: #1016
- Enhancement - Add the accounts service: #244
- Enhancement - Add basic auth option: #627
- Enhancement - Document how to run OCIS on top of EOS: #172
- Enhancement - Add the glauth service: #244
- Enhancement - Add k6: #941
- Enhancement - Add the konnectd service: #244
- Enhancement - Add the ocis-phoenix service: #244
- Enhancement - Add the ocis-pkg package: #244
- Enhancement - Add the ocs service: #244
- Enhancement - Add the proxy service: #244
- Enhancement - Add the settings service: #244
- Enhancement - Add the storage service: #244
- Enhancement - Add the store service: #244
- Enhancement - Add the thumbnails service: #244
- Enhancement - Add a command to list the versions of running instances: #226
- Enhancement - Add the webdav service: #244
- Enhancement - Better adopt Go-Micro: #840
- Enhancement - Add permission check when assigning and removing roles: #879
- Enhancement - Create OnlyOffice extension: #857
- Enhancement - Show basic-auth warning only once: #886
- Enhancement - Add glauth fallback backend: #649
- Enhancement - Tidy dependencies: #845
- Enhancement - Launch a storage to store ocis-metadata: #602
- Enhancement - Add a version command to ocis: #915
- Enhancement - Create a proxy access-log: #889
- Enhancement - Cache userinfo in proxy: #877
- Enhancement - Update reva to v1.4.1-0.20201125144025-57da0c27434c: #1320
- Enhancement - Runtime Cleanup: #1066
- Enhancement - Update OCIS Runtime: #1108
- Enhancement - Simplify tracing config: #92
- Enhancement - Update glauth to dev fd3ac7e4bbdc93578655d9a08d8e23f105aaa5b2: #834
- Enhancement - Update glauth to dev 4f029234b2308: [#786](https://github.co...