diff --git a/CHANGELOG.md b/CHANGELOG.md index dc2b1f9767..9ab1611f11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,37 @@ ## Summary +* Bugfix - Adjust UUID validation to be more tolerant: [#41](https://github.com/owncloud/ocis-settings/issues/41) +* Bugfix - Fix runtime error when type asserting on nil value: [#38](https://github.com/owncloud/ocis-settings/pull/38) * Bugfix - Fix multiple submits on string and number form elements: [#745](https://github.com/owncloud/owncloud-design-system/issues/745) +* Bugfix - Build docker images with alpine:latest instead of alpine:edge: [#39](https://github.com/owncloud/ocis-settings/pull/39) +* Change - Dynamically add navItems for extensions with settings bundles: [#25](https://github.com/owncloud/ocis-settings/pull/25) * Change - Introduce input validation: [#22](https://github.com/owncloud/ocis-settings/pull/22) * Change - Use account uuid from x-access-token: [#14](https://github.com/owncloud/ocis-settings/pull/14) +* Change - Use server config variable from ocis-web: [#34](https://github.com/owncloud/ocis-settings/pull/34) +* Enhancement - Remove paths from Makefile: [#33](https://github.com/owncloud/ocis-settings/pull/33) * Enhancement - Extend the docs: [#11](https://github.com/owncloud/ocis-settings/issues/11) +* Enhancement - Update ocis-pkg/v2: [#42](https://github.com/owncloud/ocis-settings/pull/42) ## Details +* Bugfix - Adjust UUID validation to be more tolerant: [#41](https://github.com/owncloud/ocis-settings/issues/41) + + The UUID now allows any alphanumeric character and "-", "_", ".", "+" and "@" which can also + allow regular user names. + + https://github.com/owncloud/ocis-settings/issues/41 + + +* Bugfix - Fix runtime error when type asserting on nil value: [#38](https://github.com/owncloud/ocis-settings/pull/38) + + Fixed the case where an account UUID present in the context is nil, and type asserting it as a + string would produce a runtime error. + + https://github.com/owncloud/ocis-settings/issues/37 + https://github.com/owncloud/ocis-settings/pull/38 + + * Bugfix - Fix multiple submits on string and number form elements: [#745](https://github.com/owncloud/owncloud-design-system/issues/745) We had a bug with keyboard event listeners triggering multiple submits on input fields. This @@ -20,6 +44,22 @@ https://github.com/owncloud/ocis-settings/pulls/31 +* Bugfix - Build docker images with alpine:latest instead of alpine:edge: [#39](https://github.com/owncloud/ocis-settings/pull/39) + + ARM builds were failing when built on alpine:edge, so we switched to alpine:latest instead. + + https://github.com/owncloud/ocis-settings/pull/39 + + +* Change - Dynamically add navItems for extensions with settings bundles: [#25](https://github.com/owncloud/ocis-settings/pull/25) + + We now make use of a new feature in ocis-web-core, allowing us to add navItems not only through + configuration, but also after app initialization. With this we now have navItems available + for all extensions within the settings ui, that have at least one settings bundle registered. + + https://github.com/owncloud/ocis-settings/pull/25 + + * Change - Introduce input validation: [#22](https://github.com/owncloud/ocis-settings/pull/22) We set up input validation, starting with enforcing alphanumeric identifier values and UUID @@ -42,6 +82,22 @@ https://github.com/owncloud/ocis-settings/pull/14 +* Change - Use server config variable from ocis-web: [#34](https://github.com/owncloud/ocis-settings/pull/34) + + We are not providing an api url anymore but use the server url from ocis-web config instead. This + still - as before - requires that ocis-proxy is in place for routing requests to ocis-settings. + + https://github.com/owncloud/ocis-settings/pull/34 + + +* Enhancement - Remove paths from Makefile: [#33](https://github.com/owncloud/ocis-settings/pull/33) + + We have a variable for the proto files path in our Makefile, but were not using it. Changed the + Makefile to use the PROTO_SRC variable where possible. + + https://github.com/owncloud/ocis-settings/pull/33 + + * Enhancement - Extend the docs: [#11](https://github.com/owncloud/ocis-settings/issues/11) We have extended the documentation by adding a chapter about settings values. @@ -49,3 +105,10 @@ https://github.com/owncloud/ocis-settings/issues/11 https://github.com/owncloud/ocis-settings/pulls/28 + +* Enhancement - Update ocis-pkg/v2: [#42](https://github.com/owncloud/ocis-settings/pull/42) + + Update to ocis-pkg/v2 v2.2.2-0.20200812103920-db41b5a3d14d + + https://github.com/owncloud/ocis-settings/pull/42 + diff --git a/go.mod b/go.mod index 26643388d3..cb0fdd09c3 100644 --- a/go.mod +++ b/go.mod @@ -16,10 +16,8 @@ require ( github.com/golang/protobuf v1.4.2 github.com/gomodule/redigo v2.0.0+incompatible // indirect github.com/grpc-ecosystem/grpc-gateway v1.14.4 - github.com/haya14busa/goverage v0.0.0-20180129164344-eec3514a20b5 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/imdario/mergo v0.3.11 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/mholt/certmagic v0.9.3 // indirect github.com/micro/cli/v2 v2.1.2 github.com/micro/go-micro v1.18.0 // indirect @@ -37,7 +35,6 @@ require ( go.opencensus.io v0.22.4 golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de // indirect golang.org/x/lint v0.0.0-20200302205851-738671d3881b - golang.org/x/mod v0.3.0 // indirect golang.org/x/net v0.0.0-20200625001655-4c5254603344 golang.org/x/tools v0.0.0-20200811215021-48a8ffc5b207 golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect