feat: add backup file management settings

- Added settings UI to enable/disable .bak file creation when saving files
- Created settings storage in .obsidian/obsiviewer.json to persist backup preferences
- Added API endpoints to read/write backup settings (/api/settings)
- Implemented automatic cleanup of existing .bak files when disabling backups
- Modified file save operations to respect backup setting across notes, bookmarks and graph files
- Removed existing .bak files from version control
This commit is contained in:
2025-10-31 07:35:39 -04:00
parent cbdb000d4b
commit 57da40f25f
35 changed files with 184 additions and 468 deletions
-15
View File
@@ -1,15 +0,0 @@
---
titre: "Nouvelle note 11"
auteur: "Bruno Charest"
creation_date: "2025-10-26T14:55:56.550Z"
modification_date: "2025-10-26T14:55:56.550Z"
status: "en-cours"
publish: false
favoris: false
template: false
task: false
archive: false
draft: false
private: false
---
-15
View File
@@ -1,15 +0,0 @@
---
titre: "Nouvelle note 12"
auteur: "Bruno Charest"
creation_date: "2025-10-26T14:55:57.870Z"
modification_date: "2025-10-26T14:55:57.870Z"
status: "en-cours"
publish: false
favoris: false
template: false
task: false
archive: false
draft: false
private: false
---
-15
View File
@@ -1,15 +0,0 @@
---
titre: "Nouvelle note 7"
auteur: "Bruno Charest"
creation_date: "2025-10-26T13:17:42.008Z"
modification_date: "2025-10-26T13:17:42.008Z"
status: "en-cours"
publish: false
favoris: false
template: false
task: false
archive: false
draft: false
private: false
---
-15
View File
@@ -1,15 +0,0 @@
---
titre: "Nouvelle note 8"
auteur: "Bruno Charest"
creation_date: "2025-10-26T14:55:08.540Z"
modification_date: "2025-10-26T14:55:08.540Z"
status: "en-cours"
publish: false
favoris: false
template: false
task: false
archive: false
draft: false
private: false
---
-15
View File
@@ -1,15 +0,0 @@
---
titre: "Nouvelle note 9"
auteur: "Bruno Charest"
creation_date: "2025-10-26T14:55:54.071Z"
modification_date: "2025-10-26T14:55:54.071Z"
status: "en-cours"
publish: false
favoris: false
template: false
task: false
archive: false
draft: false
private: false
---
-15
View File
@@ -1,15 +0,0 @@
---
titre: "Nouvelle note"
auteur: "Bruno Charest"
creation_date: "2025-10-26T13:14:53.395Z"
modification_date: "2025-10-26T13:14:53.395Z"
status: "en-cours"
publish: false
favoris: false
template: false
task: false
archive: false
draft: false
private: false
---
-52
View File
@@ -1,52 +0,0 @@
---
titre: "test-add-properties"
auteur: "Bruno Charest"
creation_date: "2025-10-23T13:11:50-04:00"
modification_date: "2025-10-27T15:13:08-04:00"
status: "en-cours"
publish: false
favoris: true
template: false
task: true
archive: false
draft: false
private: true
tags:
- tagtag
---
Allo ceci est un tests
toto
# Test 1 Markdown
## Titres
# Niveau 1
#tag1 #tag2 #test #test2
# Nouveau-markdown
## sous-titre
- [ ] allo
- [ ] toto
- [ ] tata
## sous-titre 2
#tag1 #tag2 #tag3 #tag4
## sous-titre 3
## sous-titre 4
## sous-titre 5
test
## sous-titre 6
test
## sous-titre 7
test
## sous-titre 8
View File
View File