[owncloud-devel] External search for oc

Christian Ludwig cl at viazenetti.de
Thu Jun 30 09:30:22 GMT 2016


Hi,

Thank you, good news.
So when will v9.1 be released?

Christian

> -----Original Message-----
> From: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org] On
> Behalf Of Vincent Petry
> Sent: Thursday, June 30, 2016 10:17 AM
> To: List for Developers of ownCloud <devel at owncloud.org>
> Subject: Re: [owncloud-devel] External search for oc
> 
> Hello,
> 
> In 9.1 there will be a new URL format for the web UI to point to a
> file/folder by file id: "http://host/owncloud/f/$fileid".
> See https://github.com/owncloud/core/pull/24434#issue-152956911
> 
> When opening such links, the web UI will redirect to the correct folder
> depending on which user opened it.
> For files it only scrolls to the file, there is no mechanism to
> automatically open a file with a viewer.
> 
> In previous versions of ownCloud there is no such mechanism.
> 
> Hope this helps.
> 
> Cheers,
> 
> Vincent
> 
> 
> On 29.06.2016 22:44, Christian Ludwig wrote:
> > Hi,
> >
> > In our application we use Solr search that is feed with oc data adding
> access rights so that only files will be found that the user has access
> to. The search is completely external and we deeplink into ownCloud.
> >
> > Now I am looking for a solution to generate the deeplinks to shared
> files where the path can be different to the one in file_cache.path. In
> the search results I have the fileid and path (more data can be stored in
> Solr if necessary). So is there a way to use ownCloud functions to get
> the individual path to files?
> >
> > Problems while using the search could be:
> > * user might not be logged in jet to oc
> > * the user is connected by our oc backend_users and backend_groups app.
> So it could be that the user might get results for files where no
> oc_mounts.mount_points exist.
> >
> > Thanks for any ideas.
> >
> > One additional thing:
> > Is it possible to open the gallery view by deep linking using hashtags?
> > Oc generates links like these
> (https://my.cloud/apps/files/?dir=Datan#Datan/image.png) but they do not
> open the gallery nor do they highlight the file.
> >
> > Greets
> > Christian
> >
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at owncloud.org
> > http://mailman.owncloud.org/mailman/listinfo/devel
> 



More information about the Devel mailing list