-
Notifications
You must be signed in to change notification settings - Fork 186
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
Support for favorites #1228
Comments
In #354 we'll add a capability, so we'll need to enable it once favorites are fully implemented.
|
@individual-it can we close #724 and #1263 in favor of this issue (which provides the context of communicating favorites inside the |
This still reflects the current state. I enabled the
The list stated by Vincent is still valid. REPORT request for favorites needs to be implemented. |
@C0rby what's the current status here? :) |
|
I believe the tests are already in the expected failures file |
the core api tests in ocis are now using a new file https://github.com/owncloud/ocis/blob/master/tests/acceptance/expected-failures-graphAPI-on-OCIS-storage.md |
favorites REPORT was implemented in cs3org/reva#2086
|
This ticket is still open but I suppose the functionality has been provided so it could be closed? But I just found out that there's a conflict between the REPORT used by the favorites and the REPORT used by the new search functionality... If web requests favorites, the backend fails with Do you want me to open a new ticket or we follow here? |
The REPORT for ocis is not yet implemented. In reva, we have the Favorites Manager. There are currently two implementations: @fschade FYI |
Please open again if the ticket is still relevant |
Yes, still relevant. We want to have the favorites feature in oCIS. The web UI has everything we need already done from the oc10 implementation. The oCIS backend also already has everything we need (favorites state in file metadata, REPORT webdav request for listing favorites), but it only has an in memory implementation for storing the favorites index. The favorites index needs to be persisted. |
thanks, i add the housekeeping label for the moment, then we can discuss those older issues and plan hot to proceed. |
Currently when enabling favorites (FRONTEND_ENABLE_FAVORITES=true), then request returns curl -XREPORT https://localhost:9200/remote.php/dav/files/admin
-d'<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
<d:prop>
<oc:permissions/>
...
</d:prop>
<oc:filter-rules>
<oc:favorite>1</oc:favorite>
</oc:filter-rules>
</oc:filter-files>'
-uadmin:admin -vk 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>missing search-files tag</s:message>
</d:error> |
Add support for favorite APIs in ocis.
Currently in OCIS the favorites information is already stored in the storage arbitrary metadata.
We should also implement the Webdav API (I believe it was a REPORT endpoint) for retrieving all favorites across all storages. This will require implementing some lookup cache to avoid having to traverse all storage trees to find the favorites.
@butonic @pmaier1 FYI
The text was updated successfully, but these errors were encountered: