Skip to content

Commit

Permalink
Add product to ocs Version struct
Browse files Browse the repository at this point in the history
The web ui will announce the backend version in the javascript console
and is supposed to include the product name as well. The version seems
to be a good location for the product field as it already includes the
software edition as well.
  • Loading branch information
kulmann committed Dec 23, 2021
1 parent cd9a6fb commit 890ae4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Product field in OCS version

We've added a new field to the OCS Version, which is supposed to announce the product name. The web ui as a client will make use of it to make the backend product and version available (e.g. for easier bug reports).

https://github.com/cs3org/reva/pull/2397
1 change: 1 addition & 0 deletions internal/http/services/owncloud/ocs/data/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,5 @@ type Version struct {
Micro int `json:"micro" xml:"micro"` // = patch level
String string `json:"string" xml:"string"`
Edition string `json:"edition" xml:"edition"`
Product string `json:"product" xml:"product"`
}

0 comments on commit 890ae4d

Please sign in to comment.