patchcenter/app
Admin MPCZ e448d8885b feat(planning_import): canonicalisation env + domaine a l'import (Production/production/PROD -> Production)
- Tables ENV_CANONICAL et DOMAIN_CANONICAL: lookup case+accent insensible
- _canonicalize_env / _canonicalize_domain : retournent la forme canonique connue,
  sinon valeur d'origine inchangee
- Applique dans l'INSERT row au moment de l'import
- Lookup en 3 passes:
  1. lowercase exact
  2. lowercase + accents stripped
  3. lowercase + accents + espaces normalises (ex 'Flux  Libre' -> 'flux libre')

Backfill SQL one-shot pour les rows existantes (backfill_canonicalize_env_domain_20260507.sql):
- env: Production/Pré-Prod/Recette/Test/Test 1/Test 2/Développement/Qualif
- domaine: Flux Libre/Péage/Infrastructure/Trafic/DMZ/LAN/BI/EMV/Gestion
- Idempotent
2026-05-07 19:48:21 +02:00
..
data Comparaison même semaine 2026 vs 2025: barres, écart pts, objectif, données incomplètes 2026-04-06 23:47:01 +02:00
models PatchCenter v2.0 — Initial commit 2026-04-04 03:00:12 +02:00
routers feat(planning_import): canonicalisation env + domaine a l'import (Production/production/PROD -> Production) 2026-05-07 19:48:21 +02:00
scripts Qualys agents: bouton Rafraichir + cron 6h 2026-04-11 21:56:59 +02:00
services feat(prepatch): iteration multi-candidats SSH selon priorite SANEF 2026-05-07 19:31:14 +02:00
static BOC SAP corrigé, stop/start order, patch waves, DMZ zone, préférences patching 2026-04-05 03:52:46 +02:00
templates fix(patching/import): comparaison filtres case-insensitive (production == Production) 2026-05-07 19:41:22 +02:00
__init__.py PatchCenter v2.0 — Initial commit 2026-04-04 03:00:12 +02:00
auth.py PatchCenter v2.0 — Initial commit 2026-04-04 03:00:12 +02:00
config.py Service iTop REST: synchro bidirectionnelle serveurs + contacts 2026-04-10 23:11:32 +02:00
database.py Mode Demo/Reel au login + base patchcenter_demo 2026-04-10 19:39:35 +02:00
dependencies.py Users/Contacts: workflow profils + LDAP + sync iTop + etat aligne 2026-04-12 18:50:43 +02:00
main.py feat(patching): import planning xlsx (etape 1) - tables patch_planning_imports + rows, page upload + selecteur semaine + tableau 2026-05-04 12:57:35 +02:00