add achats import and hardware analyse

This commit is contained in:
2026-01-22 06:33:28 +01:00
parent 2b659920c2
commit b1f611d8ee
16 changed files with 1071 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
# Etape 34 - WAL + footer versions + themes
## Backend
- Activation WAL SQLite via PRAGMA au demarrage.
- `/healthz` renvoie maintenant `version`.
## Frontend
- Footer affiche versions backend/frontend.
- Themes light/dark/monokai/gruvbox-dark via `data-theme`.
- Toggle de theme dans Settings.

View File

@@ -0,0 +1,10 @@
# Etape 35 - Imports achats CSV/JSON
## Backend
- Ajout `POST /v1/imports/achats` (multipart ou JSON).
- Parsing CSV/JSON (Amazon/AliExpress/generique) + normalisation prix/date.
- Dedoublonnage simple (nom + boutique + date + prix) + retour resume.
## Frontend
- Page `/achats` : choix boutique, upload fichier ou JSON manuel.
- Resume import (importes, crees, doublons, erreurs).

View File

@@ -0,0 +1,9 @@
# Etape 36 - Analyse hardware (lspci/lsusb)
## Backend
- Ajout `POST /v1/analyse-hardware` avec detection auto lspci/lsusb.
- Parsing des sorties (slot, classe, description, driver/module, IDs USB).
## Frontend
- Page `/analyse` : textarea + type + rendu JSON formate.
- Bouton copie du resultat.