-
Notifications
You must be signed in to change notification settings - Fork 184
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
status.php version not useful. #3788
Comments
The iOS SDK requires these fields to pass a couple of checks before it connects:
That should work.
IIRC the product string can be customized in OC10, so I wouldn't depend on the contents of Instead, I'd suggest that clients should simply check for the existence of |
@dragotin Can we change the name to |
@felix-schwarz is it possible/feasible to check for presence of certain capabilities instead of the doing a version check? Or to check a combination of |
Enhancement: |
Ok, @jnweiger thanks for the suggestion, i added that route. Now we need a decision on the naming. 2 PRs are ready. |
No, it is not possible to check for a product name and version combination, because already released and running clients do not do that, and ignore the productname (when checking the version) and thus fail to run, because the version would be too small. |
And I think that it is possible to override the product name in oC10 with theming, so some installations that are themed may not reveal that they are oC10. Is that correct? So, will future "theming" in oCIS mean that clients cannot rely on i.e. |
@phil-davis Puh we need another round trip to core and back for the testing pipelines. |
@micbar you may as well decide in the same core PR if oC10 is going to start advertising And do we want to add |
no, we do not want this in oc10 |
This does not sound correct to me, as Is that common sense? |
@kulmann: Looking at future versions of clients, anything is possible. To achieve compatibility with older versions of clients, however, there's no alternative to fulfilling the requirements of those old versions. In this case: return a @phil-davis Yeah, IIRC the initial implementation of the iOS SDK was checking for ownCloud in the |
My thought is that:
|
Quick summary / brain dump of how the server software / server version info could be shared via
Personally, I'd prefer option 4, because it allows for custom |
@phil-davis Yeah, clients should use supported capabilities instead of Only exceptions I can see:
|
Maybe my initial assumption was wrong (@dragotin for confirmation/disproof): I assumed that we don't need older client versions to support oCIS. I.e. if we would find a good solution now how to let new client versions across all platforms work with the
Good-to-know context, thank you for that! 😇 |
The new client will not have any version checks determining its behavior. As I expected we would fix the version number issue. PS: |
@kulmann oh no, your assumption is wrong: Old clients (desktop and mobile) need to run with oCIS. They will not support spaces of course, but should continue to sync the existing sync connects (desktop). That has always been the goal. And that is the reason why we have to kind of "protect" the |
An old "friend" is raising up again: The version/product strings in status.php do need a rework.
Currently uses the
version
field in the status.php to report the "real" ocis version. Unfortunately, at least the desktop clients use the version from that field to enable and disable certain functions, or refuse to work with the server at all. There is one exception to that: If the version string is0.0.0.0
, the client does not refuse it, but it might disable some features. If the ocis version string is2.0.0.0
all released desktop clients will refuse to work with that server.The suggested solution is to
version
to a recent value of oC10, for example10.11.0.0
.ocisversion
and set that to the real ocis versionThat way, future clients can check the
product
string to use the right version. "Old" clients use the version string by default and continue to work.@micbar @TheOneRing @felix-schwarz @hosy please double check.
The text was updated successfully, but these errors were encountered: