feat(registratura): all 4 NAS drives (A/O/P/T) + hostnameIP fallback

- nas-paths.ts: A:\=Arhiva, O:\=Organizare, P:\=Proiecte, T:\=Transfer
- toUncPathByIp() / toFileUrlByIp() helpers for DNS failure fallback
- shareLabelFor() returns human-readable share name for badges
- UI: 'IP' fallback link on hover, badge shows share label
- Validation hints updated to show all 4 drive letters
- Docs updated: CLAUDE.md, ROADMAP.md, SESSION-LOG.md
This commit is contained in:
AI Assistant
2026-02-28 17:23:38 +02:00
parent 4f00cb2de8
commit f4b1d4b8dd
5 changed files with 144 additions and 42 deletions
+14 -1
View File
@@ -32,7 +32,7 @@
| # | Module | Version | Status | Remaining Gaps | Future Enhancements |
| --- | ------------------ | ------- | -------- | ---------------------------------------- | ------------------------------------------------- |
| 1 | Registratura | 0.2.0 | COMPLETE | — | Workflow automation, email integration, OCR |
| 1 | Registratura | 0.3.0 | COMPLETE | — | Workflow automation, email integration, OCR |
| 2 | Email Signature | 0.1.0 | COMPLETE | US/SDT addresses may need update | AD sync, branding packs, promo banners |
| 3 | Word XML | 0.1.0 | COMPLETE | — | Schema validator, visual mapper |
| 4 | Digital Signatures | 0.1.0 | COMPLETE | — | Permission layers, document insertion |
@@ -291,6 +291,19 @@
-**Generare Raport/Declarație:** Necesită integrare cross-module Registratura ↔ Word Templates
### 3.03b ✅ `[STANDARD]` Registratura — NAS Network Path Attachments (2026-02-28)
**Implementat:**
-**NAS config** (`src/config/nas-paths.ts`): 4 drive mappings (A:\=Arhiva, O:\=Organizare, P:\=Proiecte, T:\=Transfer)
-**Hostname + IP fallback**: toate funcțiile au variante `...ByIp()``toUncPathByIp()`, `toFileUrlByIp()` — pentru când DNS nu rezolvă `newamun`
-**Link NAS button** în secțiunea atașamente: input inline cu validare, preview cale scurtă
-**Visual distinct**: border albastru, HardDrive icon, badge cu numele share-ului (Proiecte/Arhiva/etc.)
-**Click deschide Explorer** via `file:///` URL, buton "IP" fallback pe hover
-**Copy path** button pe hover
-**Drive letter → UNC** normalization automată (P:\ → \\newamun\Proiecte)
-**`shareLabelFor()`** helper returns human-readable share name
### 3.04 ✅ `[ARCHITECTURE]` Autentificare & Identitate (2026-02-27)
**Cerințe noi:**