Skip to content
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

Add TUS global capabilities #775

Merged
merged 1 commit into from
May 27, 2020
Merged

Add TUS global capabilities #775

merged 1 commit into from
May 27, 2020

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented May 26, 2020

Advertise global TUS capabilities so that clients can check whether they
should load their TUS functionality.

This is in addition to the existing advertisement using headers on
Webdav PROPFINDS or OPTIONS depending on the underlying storage.

Note that storages could have different TUS capabilities so in the
future we should look into ways to aggregate the capabilities from
configured storages in these global capability attributes.

For owncloud/ocis-reva#177

Advertise global TUS capabilities so that clients can check whether they
should load their TUS functionality.

This is in addition to the existing advertisement using headers on
Webdav PROPFINDS or OPTIONS depending on the underlying storage.

Note that storages could have different TUS capabilities so in the
future we should look into ways to aggregate the capabilities from
configured storages in these global capability attributes.
@PVince81
Copy link
Contributor Author

fixed lint issue

when connecting through ocis-reva, the result looks like this:

...
        "files": {
          "privateLinks": false,
          "bigfilechunking": false,
          "undelete": true,
          "versioning": true,
          "blacklisted_files": [
            
          ],
          "tus_support": {
            "version": "1.0.0",
            "resumable": "1.0.0",
            "extension": "creation,creation-with-upload",
            "max_chunk_size": 0,
            "http_method_override": ""
          }
        },
...

@labkode labkode merged commit a384685 into cs3org:master May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants