A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
Merge branch 'master' into websockets-encrypted-sync
thecodrra3bc77866027
diff --cc packages/core/api/sync/collector.jsindex 942160ffc,cb4086d20..9b1d88ac7--- a/packages/core/api/sync/collector.js+++ b/packages/core/api/sync/collector.js@@@ -16,10 -16,12 +16,10 @@@ class Collectorthis._lastSyncedTimestamp = lastSyncedTimestamp;this.key = await this._db.user.getEncryptionKey();return {- notes: await this._encrypt(this._collect(this._db.notes.raw)),- notebooks: await this._encrypt(this._collect(this._db.notebooks.raw)),- content: await this._encrypt(this._collect(await this._db.content.all())),- attachments: await this._encrypt(- this._collect(this._db.attachments.syncable)- ),+ notes: this._collect(await this._db.notes.encrypted()),+ notebooks: this._collect(await this._db.notebooks.encrypted()),+ content: this._collect(await this._db.content.encrypted()),- attachments: this._collect(await this._db.attachments.encrypted()),++ attachments: this._collect(this._collect(this._db.attachments.syncable)),settings: await this._encrypt(this._collect([this._db.settings.raw])),vaultKey: await this._serialize(await this._db.vault._getKey()),};