-
Notifications
You must be signed in to change notification settings - Fork 112
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 Metadata to lock #4133
Add Metadata to lock #4133
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
ee69a07
to
b718189
Compare
b718189
to
af10594
Compare
Signed-off-by: jkoberg <jkoberg@owncloud.com>
af10594
to
cd206e6
Compare
@kobergj FWIW the Lock object already features the owner as a |
@glpatcern it only contains the Both values are only needed for the client. That's why I encoded them in the opaque. The server doesn't really need them. This was the simplest solution how to get this values to the client that I could come up with. I'm happy to implement another solution if you have an idea. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the xml namespace, pls
In general I would also prefer if web would cache more information like user displaynames ... they rarely change. With the graph api we can fine tune these requests ... but not part of this PR... |
d85a1ff
to
e9485c9
Compare
I see, thanks. For the username I guess it's fine as it's essentially an optimization. For the lock time, I'd challenge the usefulness of that information, also considering that wopi apps often recreate locks ( |
Yeah, that is actually a good point. But not for me to decide unfortunately. @tbsbdr is that something we want to consider? Showing lock expiration time instead of lock creation time? |
Showing lock expiration time is totally fine for me 👍 |
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de> Signed-off-by: jkoberg <jkoberg@owncloud.com>
e9485c9
to
a80cc3e
Compare
Adds
ownername
andlocktime
to the lock information