Pulse/internal/models
rcourtman 289d95374f feat: add multi-tenancy foundation (directory-per-tenant)
Implements Phase 1-2 of multi-tenancy support using a directory-per-tenant
strategy that preserves existing file-based persistence.

Key changes:
- Add MultiTenantPersistence manager for org-scoped config routing
- Add TenantMiddleware for X-Pulse-Org-ID header extraction and context propagation
- Add MultiTenantMonitor for per-tenant monitor lifecycle management
- Refactor handlers (ConfigHandlers, AlertHandlers, AIHandlers, etc.) to be
  context-aware with getConfig(ctx)/getMonitor(ctx) helpers
- Add Organization model for future tenant metadata
- Update server and router to wire multi-tenant components

All handlers maintain backward compatibility via legacy field fallbacks
for single-tenant deployments using the "default" org.
2026-01-22 13:39:06 +00:00
..
concurrency_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
converters.go fix: expose linkedHostAgentId and commandsEnabled to frontend 2026-01-02 20:04:20 +00:00
converters_test.go test: add regression tests for missing frontend fields 2026-01-02 20:45:35 +00:00
models.go feat: show pending apt updates for Proxmox nodes (#1083) 2026-01-21 10:53:36 +00:00
models_frontend.go fix: expose linkedHostAgentId and commandsEnabled to frontend 2026-01-02 20:04:20 +00:00
organization.go feat: add multi-tenancy foundation (directory-per-tenant) 2026-01-22 13:39:06 +00:00
profile_validation.go feat(profiles): add AI-assisted profile suggestions 2026-01-15 13:24:18 +00:00
profile_validation_test.go feat(profiles): add AI-assisted profile suggestions 2026-01-15 13:24:18 +00:00
profiles.go fix(agent): add FreeBSD platform support to agent download and UI (#1051) 2026-01-11 23:51:12 +00:00
state_docker_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
state_host_test.go fix(models): extend namespace disambiguation to SyncGuestBackupTimes (#1095) 2026-01-12 15:11:59 +00:00
state_snapshot.go fix: deduplicate Ceph clusters by FSID before sending to frontend 2025-12-27 17:03:17 +00:00