You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add OCS capability to advertise whether a server allows public links #13673
If/when we get a fix, can we get a backport to 8.0 and 7.0.5 please? This is key for the mobile and desktop - as well as the info on whether a password is required for public links.
Yes, and if we allow public uploads. The rest can be added as well (default expire date etc).
However there was some discussion where it had to be placed in the capabilitie
Sorry, Matt, we messed this a bit before. From the client POV would be great to have this backported, but is not really necessary for the problem we talked about.
@dragotin I'll add 3-6 when I have some time (hopefully tonight but otherwise during the weekend)
As for 7 and 8 I agree they are probably mostly usefull in a seperate API since a client can't do anything with that info. But I have a PR #13587 for that well.
Still leaves the issue where to place it in the capabilities? Is the files section good or should it be more global?
Too many tickets on this problem, and 1.8 is waiting on this.
Well… maybe this should have then be better communicated before relying in the client on some API that does not yet exist… – I thought we agreed on only backporting critical bugfixes once…
To be honest and precise: if we agree on walking this path - I'm not yet fully convinced. Just started to think about this and talk to people.
Please understand that ANY change to ANY-thing which is API-like has big impact on our maintenance effort. The best API to support and maintain is the one we never need/use/implement (e.g. no need to have capabilities for thumbnails)
I think I should also be clear...
I don't mean we need this API to solve this, maybe we do something different - owncloud/client@4849c31 .
Bottom line is we just need some fix.
I don't want to prescribe an answer, and this particular issue is a technical prescription, I just work with priorities and requirements.
@DeepDiver1975 well I'm fine with any other implementation really. Could also be a new function in the share API. However this approach looked cleaner to me.
Activity
PVince81 commentedon Jan 26, 2015
CC @rperezb @dragotin as this info can be interesting for the mobile and desktop clients
There's a PR from @rullzer here: #13692
rperezb commentedon Feb 4, 2015
Thanks @PVince81, indeed it is.
MTRichards commentedon Feb 4, 2015
If/when we get a fix, can we get a backport to 8.0 and 7.0.5 please? This is key for the mobile and desktop - as well as the info on whether a password is required for public links.
rullzer commentedon Feb 4, 2015
@MTRichards I did not test it (yet) but I think my PR can be trivially backported to 7.0.5.
As for 8.0 it works against the current master.
MTRichards commentedon Feb 4, 2015
Awesome sauce. Does it also advertise if a public link requires a password?
rullzer commentedon Feb 4, 2015
Yes, and if we allow public uploads. The rest can be added as well (default expire date etc).
However there was some discussion where it had to be placed in the capabilitie
davivel commentedon Feb 4, 2015
Sorry, Matt, we messed this a bit before. From the client POV would be great to have this backported, but is not really necessary for the problem we talked about.
The key point is in my comment in owncloud/client#2774 (comment) .
Thanks.
dragotin commentedon Feb 5, 2015
I think the capabilities API should provide the followiing information, based on @rullzer s pull request:
No. 7. and 8. could also be handled by a server API that returns the list of users/groups that the client is allowed to share to.
We will currently not need the public upload information.
rullzer commentedon Feb 5, 2015
@dragotin I'll add 3-6 when I have some time (hopefully tonight but otherwise during the weekend)
As for 7 and 8 I agree they are probably mostly usefull in a seperate API since a client can't do anything with that info. But I have a PR #13587 for that well.
Still leaves the issue where to place it in the capabilities? Is the files section good or should it be more global?
MTRichards commentedon Feb 9, 2015
Ok - so this is for ownCloud 8.0.1 right?
NOT 8.1? Tag says 8.1.
Too many tickets on this problem, and 1.8 is waiting on this.
LukasReschke commentedon Feb 9, 2015
Well… maybe this should have then be better communicated before relying in the client on some API that does not yet exist… – I thought we agreed on only backporting critical bugfixes once…
MTRichards commentedon Feb 9, 2015
This happens sometimes. :/
The important thing is we have a bug/feature (is that a fug?) and it is relatively important to fix.
Client issues:
PVince81 commentedon Feb 9, 2015
Next time I will be careful to not advertise ideas that late before the release.
karlitschek commentedon Feb 9, 2015
@MTRichards @craigpg We have to discuss and merge something like that way earlier in the cycle. aka FeatureFreeze
MTRichards commentedon Feb 9, 2015
Ok.
Still, 8.0.1?
😄
DeepDiver1975 commentedon Feb 9, 2015
To be honest and precise: if we agree on walking this path - I'm not yet fully convinced. Just started to think about this and talk to people.
Please understand that ANY change to ANY-thing which is API-like has big impact on our maintenance effort. The best API to support and maintain is the one we never need/use/implement (e.g. no need to have capabilities for thumbnails)
MTRichards commentedon Feb 9, 2015
I think I should also be clear...
I don't mean we need this API to solve this, maybe we do something different - owncloud/client@4849c31 .
Bottom line is we just need some fix.
I don't want to prescribe an answer, and this particular issue is a technical prescription, I just work with priorities and requirements.
karlitschek commentedon Feb 10, 2015
@DeepDiver1975 do you think we can come up with a pull request for an API like that?
We can discuss tomorrow if you want.
rullzer commentedon Feb 10, 2015
@DeepDiver1975 well I'm fine with any other implementation really. Could also be a new function in the share API. However this approach looked cleaner to me.
rullzer commentedon Apr 12, 2015
This is fixed with #13964. So closing.
The info is now exposed. The info might be extended in the future. But that should go in a different issue.