Commit fcf12081 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Resurrect owncloud dav-storage service

Allows automatically setting up an owncloud entry in Dophin etc. Same conceptually as the existing nextcloud service.
parent e81ce1ac
......@@ -227,6 +227,8 @@ void OwncloudController::finish(bool contactsEnabled)
carddavUrl.setPath(carddavUrl.path() + QString("/remote.php/carddav/addressbooks/%1").arg(m_username));
data.insert("carddavUrl", carddavUrl);
data.insert("dav/storagePath", QStringLiteral("/remote.php/webdav"));
Q_EMIT wizardFinished(m_username, m_password, data);
......@@ -12,8 +12,5 @@
<setting name="method">password</setting>
<setting name="mechanism">password</setting>
<group name="dav">
<setting name="host"></setting>
<?xml version="1.0" encoding="UTF-8"?>
<service id="owncloud-storage">
<!-- ownCloud's Storage - Service name being displayed as a checkbox label to enable/disable this service
Would be nice to use the localized name of this service if it exists/makes sense -->
......@@ -10,7 +8,8 @@
<group name="dav">
<setting name="path">/remote.php/webdav/</setting>
<setting name="host"></setting>
<setting name="storagePath"></setting>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment