AlephNote icon indicating copy to clipboard operation
AlephNote copied to clipboard

Webdav sync support (sync plugin)

Open void285 opened this issue 5 years ago • 1 comments
trafficstars

Hello, I tried to sync with a webdav server, for that there is no webdav sync plugin, I select netxcloud plugin(I think nextcloud note use webdav), but got the folloing error. Do you have a plan to support webdav sync?

PS. I once tried to deploy a nextcloud, but gave up when the install script reminds me that it only supports servers with more than 2GB RAM, I have no need for a server with more than 1GB RAM before, and won't buy one just for deploying nextcloud. Webdav is lightweight and good enough for documents sync, so maybe more people who want private notes sync service will need it.

The error log:

AlephNote.PluginInterface.Exceptions.RestStatuscodeException: Server example.com returned status code: 404 : Not Found
   at AlephNote.Common.Network.SimpleJsonRest.GenericDownload[TResult](String path, HttpMethod method, Int32[] allowedStatusCodes, String[] parameter)
   at AlephNote.Common.Network.SimpleJsonRest.Get[TResult](String path, Int32[] allowedStatusCodes, String[] parameter)
   at AlephNote.Common.Network.SimpleJsonRest.Get[TResult](String path, String[] parameter)
   at AlephNote.Plugins.Nextcloud.NextcloudAPI.ListNotes(ISimpleJsonRest web)
   at AlephNote.Plugins.Nextcloud.NextcloudConnection.StartSync(IRemoteStorageSyncPersistance data, List`1 localnotes, List`1 localdeletednotes)
   at AlephNote.Common.Repository.SynchronizationThread.DoSync()

void285 avatar Jan 19 '20 03:01 void285

Yeah, the nextcloud sync does not sync with the filesystem but with the nextcloud notes app, it doesn't do any webdav calls.

A webdav plugin is a good idea and should fit quite nicely in the current plugin system.
I'm adding it to my to-do list, but don't know when I will find time...

 

~ Mike

Mikescher avatar Jan 19 '20 14:01 Mikescher