feat: add non-markdown files to metadata endpoints
- Added support for non-markdown files (images, PDFs, code, etc) in vault metadata endpoints - Implemented filesystem scanning for non-markdown files with configurable extension whitelist - Added deduplication by file path to prevent duplicates between Meilisearch and filesystem - Enhanced folder filtering and kind filtering to properly handle non-markdown files - Added validation to remove stale entries not present on disk - Improved logging to track
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
---
|
||||
titre: "Nouveau-markdown"
|
||||
auteur: "Bruno Charest"
|
||||
creation_date: "2025-10-19T21:42:53-04:00"
|
||||
modification_date: "2025-10-30T21:24:35-04:00"
|
||||
aliases: [""]
|
||||
status: "en-cours"
|
||||
publish: true
|
||||
favoris: true
|
||||
template: true
|
||||
task: true
|
||||
archive: true
|
||||
draft: true
|
||||
private: true
|
||||
toto: "tata"
|
||||
color: "#3B82F6"
|
||||
---
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ tags:
|
||||
aliases:
|
||||
- ""
|
||||
status: en-cours
|
||||
publish: false
|
||||
publish: true
|
||||
favoris: true
|
||||
template: false
|
||||
task: false
|
||||
|
||||
+7
-10
@@ -1,14 +1,10 @@
|
||||
---
|
||||
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: ""
|
||||
tags:
|
||||
- home
|
||||
- accueil
|
||||
aliases: []
|
||||
status: en-cours
|
||||
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"
|
||||
aliases: [""]
|
||||
status: "en-cours"
|
||||
publish: false
|
||||
favoris: true
|
||||
template: false
|
||||
@@ -16,6 +12,7 @@ task: false
|
||||
archive: false
|
||||
draft: false
|
||||
private: false
|
||||
color: "#22C55E"
|
||||
---
|
||||
# Page de Test Markdown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user