Commit Graph

10 Commits

Author SHA1 Message Date
Bernt (LandveX AI) 0b4f160af1 LINUS ROUND 5: RS256 default auth, middleware, full integration
- main.go: RS256Service with AAMOS public key, fallback to HS256
- auth/rs256.go: Middleware() for RS256 Bearer validation
- auth/rs256_test.go: 6 RS256 tests (middleware + validation)
- 27/27 auth tests passing, 82.6% coverage
- Build passes, all services operational
2026-07-14 17:52:23 +00:00
Bernt (LandveX AI) be2aba3919 LINUS ROUND 4: RS256 auth + ouroboros-identity integration
- auth/rs256.go: RS256 JWT validation with AAMOS public key
- auth/rs256_test.go: 4 RS256 tests (success, invalid sig, expired, HS256 reject)
- auth/integration_test.go: Real AAMOS identity service integration test
- Copied jwt-public.pem from /opt/amos/data/keys/
- ouroboros-identity running on port 3208
2026-07-14 17:40:13 +00:00
Bernt (LandveX AI) 6bb355ce17 LINUS ROUND 3: Unified AAMOS auth system for BOC
- auth/auth.go: AAMOS-standard JWT claims (sub, org_id, roles, scopes)
- auth/auth_test.go: 18 tests (login, validation, middleware, roles)
- Compatible with ouroboros-identity RS256 tokens
- Middleware: Bearer validation + RequireRole
- AAMOS_AUTH_AUDIT_REPORT.md: Full auth audit across all systems
2026-07-14 16:33:54 +00:00
Bernt (LandveX AI) a31f79c22a LINUS ROUND 2: Tests for automation + CRM handlers, fix vet errors
- automation/engine_test.go: 8 tests (cron parser, actions, start/stop)
- handlers/crm_test.go: 6 tests (CRUD + not-found)
- backend/main_test.go: config validation test
- Fixed websocket unreachable code
- Deleted events/kafka.go placeholder
2026-07-14 12:41:44 +00:00
Bernt (LandveX AI) c2b10347b1 LINUS ROUND 1: Delete dead code (rust/c), generic Store[T], tests, slim main.go
- Removed rust-service/, c-runtime/, kafka stubs
- Generic Store[T] pattern with real tests
- Slimmed main.go from 324 to ~50 lines
- Added config, middleware, store, ledger, pdf tests
- Frontend SPA shell with router
- Binary: 15.5MB -> 12MB
2026-07-14 12:31:55 +00:00
Bernt (LandveX AI) 95b581e8c5 fix(security): JWT require env, remove *** token, WS auth disabled
fix(automation): implement all 6 actions + real cron parser
fix(db): pq.Array for TEXT[], add sqlmock tests
fix(schema): single source migrations
docs: v2 architecture + frontend refactor proposals
2026-07-14 11:46:06 +00:00
Bernt (LandveX AI) 77465ee9eb feat(boc): Complete module pages with enterprise design
- All 9 module pages: Dashboard, CRM, Sales, Finance, HR, Legal, Marketing, Support, Automation
- Shared boc.js with API utilities
- Landvex enterprise design: dark sidebar, light content
- SVG icons, no emojis
- Tables with real data loading
- Consistent navigation and auth
2026-07-12 18:26:17 +00:00
Bernt (LandveX AI) 7f73e8f03f fix(dashboard): Fix JavaScript syntax errors in token handling
- Fixed Authorization header: '***' -> 'Bearer ' + token
- Fixed WebSocket URL: *** ->
- Dashboard should now load data correctly
2026-07-12 18:06:37 +00:00
Bernt (LandveX AI) 37a1af4a1f style(boc): Landvex design system — no emojis, light theme, professional
- Replaced all emojis with SVG icons (Lucide-style)
- Changed color scheme to Landvex blue (#0066FF)
- Light theme background (#f5f5f7)
- Professional typography (Inter, JetBrains Mono)
- Clean, minimal design following Design Constitution
- No decorative elements — information first
- Consistent with Landvex Enterprise platform
2026-07-12 17:17:26 +00:00
Bernt (LandveX AI) 67a69ab073 feat(boc): v1.0 - Complete Business Operations Center
- Go backend API with full CRUD for all modules
- Rust analytics service with parallel processing
- C runtime with POSIX shared memory IPC
- PostgreSQL schema with 30+ tables
- Redis cache, Kafka event streaming
- WebSocket hub, automation engine
- PDF generation, Resend email integration
- JWT auth, multi-tenant
- Docker Compose deployment
- Nginx reverse proxy

Refs: BOC-001
2026-07-12 13:21:10 +00:00