Skip to content

Direct access versions in the web UI #7196

Closed

Description

@michaelstingl

This might help while #4556 isn’t designed and implemented yet.

It needs only a new entry in the context menu, that opens a private link in the default system web browser, with a special parameter at the end.

There’s also a new capability available in the 10.2.

Technical docs

Activity

  1. added this to the 2.6.0 milestone on May 20, 2019
  2. added
    p2-high
    on May 29, 2019
  3. self-assigned this
    on Jun 4, 2019
  4. ckamm commented on Jun 4, 2019

    @ckamm
    Contributor

    QA:

    • Verify that the new "Show file versions in browser" right-click menu item shows up when the server supports it (privateLinksDetailsParam capability)
    • That it doesn't show up for older servers.
    • That using the item opens the browser and shows the "versions" pane for the correct file/dir
  5. added
    ReadyToTest
    and removed on Jun 4, 2019
  6. michaelstingl commented on Jun 14, 2019

    @michaelstingl
    ContributorAuthor

    Just found folders have no versions. That would be cool to change. Sorry, my fault.

  7. michaelstingl commented on Jun 14, 2019

    @michaelstingl
    ContributorAuthor

    occ app:disable files_versions on the ownCloud server should also disable this.

    occ app:enable files_versions ==>

    $ curl --silent -u admin:password 'https://example.cloud/ocs/v1.php/cloud/capabilities?format=json' | json_pp
    {
    …
                "files" : {
                   "versioning" : true,
                   "privateLinksDetailsParam" : true,
                   "undelete" : true,
                   "privateLinks" : true,
                   "blacklisted_files" : [
                      ".htaccess"
                   ],
                   "bigfilechunking" : true
                },
    

    occ app:disable files_versions

    $ curl --silent -u admin:password 'https://example.cloud/ocs/v1.php/cloud/capabilities?format=json' | json_pp
    {
    …
                "files" : {
                   "undelete" : true,
                   "privateLinksDetailsParam" : true,
                   "privateLinks" : true,
                   "blacklisted_files" : [
                      ".htaccess"
                   ],
                   "bigfilechunking" : true
                },
    

    @ckamm do we check both capabilities? ( privateLinksDetailsParam AND versioning )

  8. removed
    ReadyToTest
    on Jun 14, 2019
  9. ckamm commented on Jun 14, 2019

    @ckamm
    Contributor

    Good finds! No, I wasn't aware of the versioning capability and will add the check. And remove it for folders.

  10. added
    ReadyToTest
    and removed on Jun 16, 2019
  11. guruz commented on Jun 16, 2019

    @guruz
    Contributor

    @michaelstingl Please test

  12. HanaGemela commented on Jul 19, 2019

    @HanaGemela
    Contributor

    Tested with macOS 10.14.5, client 2.6.0alpha2 (build 12128)
    Option not shown for server 10.1.1 (stable)
    For server 10.2.1 (Stable):
    Shown for files when files_versions enabled
    Not shown for folders and when files_versions disabled

    Waiting for @michaelstingl if he wants to test himself. Otherwise this issue can be closed

  13. HanaGemela commented on Jul 24, 2019

    @HanaGemela
    Contributor

    QA done for this issue so I'm removing the ReadyToTest label

  14. removed
    ReadyToTest
    on Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Enhancementp2-high

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions