Releases: owncloud/ocis-settings
0.3.1
0.3.0
Changes in 0.3.0
Summary
- Change - Filter settings by permissions: #99
Details
-
Change - Filter settings by permissions: #99
BundleService.GetBundle
andBundleService.ListBundles
are now filtered by READ
permissions in the role of the authenticated user. This prevents settings from being visible
to the user when their role doesn't have appropriate permissions.
0.2.0
Changes in 0.2.0
Summary
- Change - Add role service: #110
- Change - Rename endpoints and message types: #36
- Change - Use UUIDs instead of alphanumeric identifiers: #46
Details
-
Change - Add role service: #110
We added service endpoints for registering roles and maintaining permissions.
owncloud/product#110
https://github.com/owncloud/ocis-settings/issues/10
#47 -
Change - Rename endpoints and message types: #36
We decided to rename endpoints and message types to be less verbose. Specifically,
SettingsBundle
becameBundle
,Setting
(inside a bundle) kept its name and
SettingsValue
becameValue
. -
Change - Use UUIDs instead of alphanumeric identifiers: #46
Bundles
,Settings
andValues
were identified by a set of alphanumeric identifiers so
far. We switched to UUIDs in order to achieve a flat file hierarchy on disk. Referencing the
respective entities by their alphanumeric identifiers (as used in UI code) is still
supported.
0.1.0
Changes in 0.1.0
Summary
- Bugfix - Adjust UUID validation to be more tolerant: #41
- Bugfix - Fix runtime error when type asserting on nil value: #38
- Bugfix - Fix multiple submits on string and number form elements: #745
- Bugfix - Build docker images with alpine:latest instead of alpine:edge: #39
- Change - Dynamically add navItems for extensions with settings bundles: #25
- Change - Introduce input validation: #22
- Change - Use account uuid from x-access-token: #14
- Change - Use server config variable from ocis-web: #34
- Enhancement - Remove paths from Makefile: #33
- Enhancement - Extend the docs: #11
- Enhancement - Update ocis-pkg/v2: #42
Details
-
Bugfix - Adjust UUID validation to be more tolerant: #41
The UUID now allows any alphanumeric character and "-", "_", ".", "+" and "@" which can also
allow regular user names. -
Bugfix - Fix runtime error when type asserting on nil value: #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. -
Bugfix - Fix multiple submits on string and number form elements: #745
We had a bug with keyboard event listeners triggering multiple submits on input fields. This
was recently fixed in the ownCloud design system (ODS). We rolled out that bugfix to the
settings ui as well.owncloud/owncloud-design-system#745
owncloud/owncloud-design-system#768
https://github.com/owncloud/ocis-settings/pulls/31 -
Bugfix - Build docker images with alpine:latest instead of alpine:edge: #39
ARM builds were failing when built on alpine:edge, so we switched to alpine:latest instead.
-
Change - Dynamically add navItems for extensions with settings bundles: #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. -
Change - Introduce input validation: #22
We set up input validation, starting with enforcing alphanumeric identifier values and UUID
format on account uuids. As a result, traversal into parent folders is not possible anymore. We
also made sure that get and list requests are side effect free, i.e. not creating any folders. -
Change - Use account uuid from x-access-token: #14
We are now using an ocis-pkg middleware for extracting the account uuid of the authenticated
user from thex-access-token
of the http request header and inject it into the Identifier
protobuf messages wherever possible. This allows us to useme
instead of an actual account
uuid, when the request comes through the proxy. -
Change - Use server config variable from ocis-web: #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. -
Enhancement - Remove paths from Makefile: #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. -
Enhancement - Extend the docs: #11
We have extended the documentation by adding a chapter about settings values.
#11
https://github.com/owncloud/ocis-settings/pulls/28 -
Enhancement - Update ocis-pkg/v2: #42
Update to ocis-pkg/v2 v2.2.2-0.20200812103920-db41b5a3d14d