From 1c0db1956e7177f0c46f029d469239ede3aa511a Mon Sep 17 00:00:00 2001 From: JackGruber <24863925+JackGruber@users.noreply.github.com> Date: Tue, 26 Dec 2023 12:47:11 +0100 Subject: [PATCH 1/2] Fix: #64 With single JEX backups, some notebooks were backuped/exported twice --- CHANGELOG.md | 2 ++ src/Backup.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abb0447..11d2dcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## not released +- Fix: #64 With single JEX backups, some notebooks were backuped/exported twice + ## v1.3.4 (2023-12-04) - Fix: #61 On Jex backup, do not overwrite already exported notebooks if the notebooks name differs only in special characters diff --git a/src/Backup.ts b/src/Backup.ts index 7f65162..2c0c174 100644 --- a/src/Backup.ts +++ b/src/Backup.ts @@ -802,7 +802,7 @@ class Backup { private async selectNotebooks(): Promise { const noteBookInfo = {}; const noteBooksIds = []; - let pageNum = 0; + let pageNum = 1; this.log.info("Select notebooks for export"); do { var folders = await joplin.data.get(["folders"], { From c8e3188485cfd9b2b7c4478e332d817a90980a40 Mon Sep 17 00:00:00 2001 From: JackGruber <24863925+JackGruber@users.noreply.github.com> Date: Tue, 26 Dec 2023 12:52:57 +0100 Subject: [PATCH 2/2] bump version 1.3.5 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- src/manifest.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d2dcb..49132eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## not released +## v1.3.5 (2023-12-26) + - Fix: #64 With single JEX backups, some notebooks were backuped/exported twice ## v1.3.4 (2023-12-04) diff --git a/package-lock.json b/package-lock.json index 8c15033..f7726f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "joplin-plugin-backup", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "joplin-plugin-backup", - "version": "1.3.4", + "version": "1.3.5", "license": "MIT", "dependencies": { "@types/i18n": "^0.13.6", diff --git a/package.json b/package.json index 122cdc8..1a0de0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "joplin-plugin-backup", - "version": "1.3.4", + "version": "1.3.5", "scripts": { "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive", "prepare": "npm run dist && husky install", diff --git a/src/manifest.json b/src/manifest.json index 0a5cb99..4da9e70 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 1, "id": "io.github.jackgruber.backup", "app_min_version": "2.1.3", - "version": "1.3.4", + "version": "1.3.5", "name": "Simple Backup", "description": "Plugin to create manual and automatic backups.", "author": "JackGruber",