Skip to content

[FEATURE REQUEST] Comments over files/folders (oC10) #4593

Open

Description

@mikeborschow

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

  1. Upload a file
  2. Go to file info
  3. 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

Activity

  1. jesmrec commented on Jun 11, 2025

    @jesmrec
    Member

    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?

  2. added this to the Backlog milestone on Jun 11, 2025
  3. changed the title [-][BUG] No Comments[/-] [+][FEATURE REQUEST] Comments over files/folders (oC10)[/+] on Jun 11, 2025
  4. DeepDiver1975 commented on Jun 11, 2025

    @DeepDiver1975
    Contributor

    @DeepDiver1975 is this still interesting at this point?

    very low prio .....

  5. added
    p4-low
    on Jun 11, 2025
  6. jvillafanez commented on Jun 11, 2025

    @jvillafanez
    Member

    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.

  7. jesmrec commented on Jun 11, 2025

    @jesmrec
    Member

    thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions