[FEATURE REQUEST] Comments over files/folders (oC10)
Actual behaviour
-There is not a method to add a comment in the app
Expected behaviour
-Need to be able to go to file info and add a comment - this is not possible
Steps to reproduce
- Upload a file
- Go to file info
- There should be a place to add a comment - this is not
Can this problem be reproduced with the official owncloud server? (url: https://ocis.ocis.master.owncloud.works, user: einstein, password: relativity)
Environment data
Android version:
Device model: Samsung phone
Stock or customized system:
ownCloud app version:
ownCloud server version:
Logs
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
Insert your ownCloud log here
hi @mikeborschow . First, thanks for sharing your thoughts!
I guess you use ownCloud 10.x as backend, where comments over items are allowed. I don't know if the comments could be accesible via webdav with a propfind or there is any other available API with such purpose (@jvillafanez ¿?)
In oCIS backends, afaik, the feature is not available yet.
Moving to backlog
@DeepDiver1975 is this still interesting at this point?
OC10 has an API for retrieving comments: https://doc.owncloud.com/server/10.15/developer_manual/webdav_api/comments.html I'm not sure if the info is complete though. The web interface uses a "REPORT" request which isn't documented.
await fetch("https://octest1.jp.solidgear.prv/remote.php/dav/comments/files/11/", {
"credentials": "include",
"headers": {
"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0",
"Accept": "*/*",
"Accept-Language": "en-US,en;q=0.5",
"X-Requested-With": "XMLHttpRequest",
"requesttoken": "VhAoEwcOAxMACE8oHz4AMTAYRRcRVWwwG0M4URpjCAc=:9tKW2DQDq8zeyLCgAW4FucTqlwn41Uf7jEJ65jlgSuc=",
"Content-Type": "application/xml",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin",
"Priority": "u=0"
},
"body": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<oc:filter-comments xmlns:D=\"DAV:\" xmlns:oc=\"http://owncloud.org/ns\">\n <oc:limit>21</oc:limit>\n <oc:offset>0</oc:offset>\n</oc:filter-comments>\n",
"method": "REPORT",
"mode": "cors"
});
Regarding oCIS, comments aren't implemented.
Some file formats such as "docx" and "pdf" allows comments as part of the format, and any specialized editor can read and write those comments. Taking this into account, I'm not sure if ownCloud should implement comments on its own because the solution would be ownCloud-only.
thanks!!