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:
@@ -1,56 +0,0 @@
|
||||
---
|
||||
titre: "test-add-properties"
|
||||
auteur: "Bruno Charest"
|
||||
creation_date: "2025-10-23T13:11:50-04:00"
|
||||
modification_date: "2025-10-23T13:11:50-04:00"
|
||||
aliases: [""]
|
||||
status: "en-cours"
|
||||
publish: false
|
||||
favoris: true
|
||||
template: false
|
||||
task: true
|
||||
archive: false
|
||||
draft: false
|
||||
private: true
|
||||
color: "#22C55E"
|
||||
tags:
|
||||
- tag1
|
||||
- accueil
|
||||
- tag3
|
||||
---
|
||||
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
|
||||
@@ -1,19 +0,0 @@
|
||||
---
|
||||
titre: test-new-file
|
||||
auteur: Bruno Charest
|
||||
creation_date: 2025-10-19T12:15:21-04:00
|
||||
modification_date: 2025-10-19T12:15:21-04:00
|
||||
catégorie: ""
|
||||
aliases: []
|
||||
status: en-cours
|
||||
publish: false
|
||||
favoris: false
|
||||
template: false
|
||||
task: false
|
||||
archive: false
|
||||
draft: false
|
||||
private: false
|
||||
tags:
|
||||
- home
|
||||
- accueil
|
||||
---
|
||||
@@ -1,15 +0,0 @@
|
||||
---
|
||||
titre: "Nouvelle note 3"
|
||||
auteur: "Bruno Charest"
|
||||
creation_date: "2025-10-24T15:44:07.120Z"
|
||||
modification_date: "2025-10-24T15:44:07.120Z"
|
||||
status: "en-cours"
|
||||
publish: false
|
||||
favoris: false
|
||||
template: false
|
||||
task: false
|
||||
archive: false
|
||||
draft: false
|
||||
private: false
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user