-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add product to version in capabilities response #39851
Conversation
a2d95c4
to
d42b4f7
Compare
Should we add a data item called Then clients can find this called PR #39857 is my example. |
Note: it would be good to have a test somewhere for the |
I do like that! Added a commit to this PR. Let's see if someone disagrees. 😁 |
This has been introduced by oCIS recently to announce oCIS with a proper product name. The web ui (as just another API client) defaults to "ownCloud" if the property is not set. With this enhancement we show the product name for ownCloud Server as well so that clients don't have to guess a sane default.
91e1c30
to
42cfc17
Compare
51d343a
to
dd2e7cc
Compare
I added the test code. Hopefully it passes. I will enhance the test for the "version" data items so that it also checks the major/minor/micro values for reasonableness. |
Test has been enhanced so it validates the major-minor-micro values. A capabilities response has a version section like:
The test finds the string with "10.9.2" at the start and checks that the major, minor and micro data items have the matching values. |
💥 Acceptance tests pipeline apiAuth-mariadb10.2-php7.4 failed. The build has been cancelled. |
Kudos, SonarCloud Quality Gate passed! |
@micbar IMO this is ready to merge. Are you (or anyone) OK with this capabilities enhancement? |
Confirmed fixed in 10.10.0 rc2
The 'edition' normally is 'Community' -- it changes to 'Enterprise', as soon as a license is added. |
Description
Add product to version in capabilities response
This has been introduced by oCIS recently to announce oCIS with a proper
product name. The web ui (as just another API client) defaults to
"ownCloud" if the property is not set. With this enhancement we show the
product name for ownCloud Server as well so that clients don't have to
guess a sane default.
Motivation and Context
Handle all clients equally.
How Has This Been Tested?
... manually with a capabilities request 👀
Types of changes
Checklist: