Ahmed Darrazi
51a76ef944
fix: Remove .env copy and fix TypeScript errors in worker build
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-09 13:38:13 +01:00
Ahmed Darrazi
75979e7995
chore(worker): add structured logging, job events, worker health endpoint and health-check script
2025-12-09 12:22:16 +01:00
Ahmed Darrazi
434f33ac8f
feat: Improve policy type badge system with definitive mapping
...
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
- Create PolicyTypeBadge component for consistent badge rendering
- Add POLICY_TYPE_MAP with explicit labels for all 7 policy types:
- configurationProfile → 'Settings Catalog'
- deviceConfiguration → 'Device Configuration'
- compliancePolicy → 'Compliance Policy'
- endpointSecurity → 'Endpoint Security'
- windowsUpdateForBusiness → 'Windows Update'
- enrollmentConfiguration → 'Enrollment'
- appConfiguration → 'App Configuration'
- Update PolicyTable and PolicyDetailSheet to use new component
- Maintain fallback heuristic matching for unknown types
2025-12-08 11:31:45 +01:00
Ahmed Darrazi
f592e5f55b
feat: Policy Explorer UX Upgrade (003)
...
Implemented MVP with all core features:
- Browse 50 newest policies on load with null filtering
- Click row to view details in slide-over sheet
- JSON detection and pretty formatting
- Search with real-time filtering
- Badge colors for policy types (Security=red, Compliance=blue, Config=gray, App=outline)
- Navigation consolidated to 'Policy Explorer'
New components:
- PolicyTable.tsx - table with badges and hover effects
- PolicySearchContainer.tsx - search state management
- PolicyDetailSheet.tsx - JSON detail view with formatting
- PolicyExplorerClient.tsx - client wrapper
- lib/utils/policyBadges.ts - badge color mapping
Updated:
- lib/actions/policySettings.ts - added getRecentPolicySettings() with null filtering
- app/(app)/search/page.tsx - converted to Server Component
- config/nav.ts - renamed Search to Policy Explorer, removed All Settings
- components/search/EmptyState.tsx - updated messaging
Tasks complete: 36/47 (MVP ready)
- Phase 1-7: All critical features implemented
- Phase 8: Core polish complete (T041), optional tasks remain
TypeScript: ✅ No errors
Status: Production-ready MVP
2025-12-07 02:28:15 +01:00
Ahmed Darrazi
2592b89bc6
feat: Add settings overview page with getAllPolicySettings
...
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
- Add new /settings-overview route displaying all policy settings in table
- Implement getAllPolicySettings() server action with tenant isolation
- Add 'All Settings' navigation item with Database icon
- Use date-fns for relative time display (lastSyncedAt)
- Server-side rendering for optimal performance
2025-12-07 01:50:34 +01:00
Ahmed Darrazi
8b36902767
Fix: Add unique constraint for policy_settings upsert
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-06 23:33:43 +01:00
Ahmed Darrazi
88c1474884
Add specification for 002-manual-policy-sync feature
2025-12-06 13:35:54 +01:00
Ahmed Darrazi
c4600ba68c
Fix tenant_id not being saved to database on login
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-06 12:29:00 +01:00
Ahmed Darrazi
e0a746b29c
Add tenant_id to users table and admin tenants API endpoint
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-06 00:35:02 +01:00
Ahmed Darrazi
e1df2a98dd
Fix: Make Azure AD env vars optional for build time
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-05 23:54:03 +01:00
Ahmed Darrazi
477ac67703
Fix: Make all env vars optional for Docker build time
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-05 23:52:11 +01:00
Ahmed Darrazi
f80c3a1598
Fix: Multiple TypeScript build errors for production
...
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
- Remove unused NextAuthOptions import, use inferred types
- Add 'as const' to session strategy
- Add explicit callback parameter types with optional properties
- Update Stripe API version to 2025-11-17.clover
- Make Stripe and Resend initialization conditional for build time
- Update next-auth.d.ts type declarations
2025-12-05 23:49:00 +01:00
Ahmed Darrazi
3695f7eb0c
Fix: Import getServerSession from next-auth/next
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-05 23:42:15 +01:00
Ahmed Darrazi
8b12c3ed9e
Fix: Use type imports for NextAuth types
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-05 23:40:46 +01:00
Ahmed Darrazi
9b34f87bcb
Fix: Remove unused DefaultSession import
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
2025-12-05 23:39:18 +01:00
Ahmed Darrazi
d156244f6c
Feature: Global Search & Seed Data complete
2025-12-05 22:06:22 +01:00
Ahmed Darrazi
ad262a315c
Configured Azure AD and Dockerfile
2025-12-05 21:00:49 +01:00
Ahmed Darrazi
85f20147ed
Initial Setup für Dokploy
2025-11-18 23:24:41 +01:00