encryptic-team / encryptic

An encryption-focused open source note taking application
Mozilla Public License 2.0
347 stars 40 forks source link

Fix the Laverna import when unencrypted #81

Closed jfsigrist closed 5 years ago

jfsigrist commented 5 years ago

55 Fix the Laverna import when the backup is unencrypted.

I still have work to do to import the attached files who arent imported in this case.

Maks-s commented 5 years ago

Hi 😺 Nice ! It seems to work fine with my Laverna 0.7.51 backups. Only file imports left and it should be good to merge 😸

daed commented 5 years ago

I'm actually going to have some time tonight to spend on Encryptic. I'll give this a test run and merge after if all is well. I'll probably even cut a new release so that some of the people reporting issues can give it a shot and hopefully we can kill a few issues off.

Thanks for the help!

jfsigrist commented 5 years ago

I've tried to import the files attached to a note.

But I can't find any of those file within the exported laverna-backup.zip, whether it's encrypted or not. I have the feeling that laverna 0.5.0 isn't backuping those files.

Which is also confirmed by the laverna exportProfile function here where the files are missing: https://github.com/Laverna/laverna/blob/master/app/scripts/modules/importExport/controller.js#L179