-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
feat(CloudFederationApi): Start implementation of 1.1.0 of OCM spec #47199
base: master
Are you sure you want to change the base?
Conversation
This patchset implements the /invite-accepted endpoint https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post Signed-off-by: Micke Nordin <[email protected]>
If someone wants to join the fun, I can add them to the SUNET repo on request. Ping @ArtificialOwl and @provokateurin 😄 |
Nice to see someone starting to implement it. Given the PR cs3org/OCM-API#89 it seems like a v1.2 implementation will be necessary too in the near future. Do you think it makes sense to tackle them both at once or at least in series? Otherwise Nextcloud will continue to lack support for the latest version :/ |
The openapi.json is generated from our source code and should not be overwritten by the real specification (CI will fail). In this case though it's a nice tool to verify that the specs match. |
Ooops. will revert that. |
I think it makes sense to do 1.1 first. It will be easier to do 1.2 in direct succession to that. |
By diffing the 1.0.0 version of the spec and the 1.1.0 version, this is what we can find:
|
@provokateurin do you think we can ha a ocm room/chat at cloud.nextcloud.com's talk instance? It would be good if we could chat about things, as there comes up questions when you start to look at the code :) |
I think https://cloud.nextcloud.com/call/4606076295 already fits, then others can easily join the conversation as well. |
Also, we have a Matrix room for the OCM working group at: https://matrix.to/#/%23cs3org_OCM%3Agitter.im?via=gitter.im&via=matrix.org&via=matrix.datenschmutz.space&via=hu-berlin.de |
This patchset also updates ICloudFederationFactory and ICloudFedarationShare to accomdate the new format of a share. This should be backwards compatible. Signed-off-by: Micke Nordin <[email protected]>
…ept OCM 1.1.0 shares Signed-off-by: Micke Nordin <[email protected]>
… 1.0 Signed-off-by: Micke Nordin <[email protected]>
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Seems to me notifications were allready compliant with 1.1, development version of the spec is more strict on notification types, but it is not released yet. |
Unlike Reva which used to put the shareSecret in the url path or query, I think what the WebDAV API currently does is accept the sharedSecret as the username in http basic auth. So in a sense it's in the url, but on the wire it will look like an |
Do you know @ArtificialOwl ? If that is the case, it should be ok for 1.1 and we switch to shortlived bearer token in 1.2 then. |
Should we merge #45979 into this so that @MahdiBaghbani and @shokri-navid can start working on the tests for the use of http signatures in OCM? |
I think we should keep them separate, as signatures will be a feature of 1.2.
Michiel de Jong ***@***.***> skrev: (20 september 2024 11:39:02 CEST)
…Should we merge #45979 into this so that @MahdiBaghbani and @shokri-navid can start working on the tests for the use of http signatures in OCM?
--
Reply to this email directly or view it on GitHub:
#47199 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Signed-off-by: Micke Nordin <[email protected]>
Summary
This is a VIP implementation of OCM 1.1.0
https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org
Notes
/shares
/notifications
server/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
Line 209 in 46340d1
TODO