We re-introduced support for mounting project files via WebDAV.
Currently you can not mount webdav in applications (not via davfs2 and also not as a docker-compose volume).
We will add support for mounting projects via docker-compose as soon as possible!
Currently using webdav is most valuable for users needing easy access to their project files.
Below you find instructions to use webdav for your own machine, beware this is currently requiring some manual steps. We will improve this with a frontend in the future.
The path to mount is https://webdav.calponia.com/$PROJECT_ID
(replace $PROJECT_ID
with the project uuid, e.g. 024eca26-4153-11ec-bbf3-4364ef31de96
), you authorize with a random username and a token which has full permissions on files and directories.
To obtain a dedicated (and longer living) token you can use the storage-tokens route we introduced: https://api.calponia.com/v2/storage-tokens
. Those tokens have full permissions on files and directories of the given project.
Windows
- Open Windows Explorer
- Type into the address bar:
\\webdav.calponia.com\$PROJECT_ID
- Enter any username and the token (storage-token or user-token) as password
Linux
- Head over to your file manager (e.g.
nautilus
) - Choose “Other Locations”
- Type:
davs://webdav.calponia.com/$PROJECT_ID
- Enter any username and the token (storage-token or user-token) as password
Create a storage-token
Here is how you can create a storage-token via curl
and parse it with jq
:
curl -X POST \
'https://api.calponia.com/v2/storage-tokens' \
-H 'Content-Type: application/json' \
-H 'Cookie: calponia-token=$USER_TOKEN;' \
-d '{
"ttl": 1576800000,
"project": {
"id": "$PROJECT_ID"
}
}' | jq -r .data.token
You can also install davfs2
via your distributions package-manager and automatically re-mount the webdav volume on boot via fstab
.