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
-55
View File
@@ -1,55 +0,0 @@
---
titre: "Nouveau-markdown"
auteur: "Bruno Charest"
creation_date: "2025-10-19T21:42:53-04:00"
modification_date: "2025-10-19T21:43:06-04:00"
status: "en-cours"
publish: true
favoris: false
template: true
task: true
archive: true
draft: true
private: true
toto: "tata"
color: "#EF4444"
---
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