Commit Graph

65 Commits

Author SHA1 Message Date
huangping ba38897f73 feat: add M8 TodoService + TodoController 2026-05-25 01:02:46 +08:00
huangping fa2a50e755 feat(db): add M8 notification and todo tables 2026-05-25 01:01:34 +08:00
huangping 75e6d6d5ec feat: add M7 DeviceController + Callback device event linking 2026-05-25 01:00:43 +08:00
huangping f94f2b91e8 feat: add M7 DeviceService and DTOs 2026-05-25 00:59:12 +08:00
huangping 58b947a366 feat(m7): add DeviceStatus enum and PlatformDevice/PlatformDeviceSnBinding/PlatformDeviceSwapRequest entities with mappers 2026-05-25 00:57:10 +08:00
huangping b13d17702e feat(db): add M7 device management tables (device, sn_binding, swap_request) 2026-05-25 00:54:42 +08:00
huangping 0a43f8fbbe docs: add Mid prototype design spec (M7 device / M8 notification / M9 reporting) 2026-05-25 00:50:38 +08:00
huangping 339695c851 docs: add frontend framework design (10 sections: architecture, modules, layout, components, templates, dataflow, conventions) 2026-05-19 10:35:49 +08:00
huangping f0366ccc47 feat(web): add visual design system page (colors, typography, layout, components, dialog, pages) 2026-05-19 10:14:56 +08:00
huangping d3a646c325 docs: add comprehensive design system (tokens, layout, components, dialog, implementation guide) 2026-05-19 10:11:17 +08:00
huangping 3dc71de739 feat(web): add standalone HTML design demo with full layout + 3 dialog types + color tokens 2026-05-19 08:25:44 +08:00
huangping ffbb0652d9 feat(web): add LicenseList page with el-tree panel (280px), stats, filter, table, issue dialog 2026-05-19 07:25:17 +08:00
huangping 619d75453d feat(web): apply Figma design tokens to MainLayout (white sidebar, 60px header, breadcrumb, global search, theme variables) 2026-05-19 07:20:45 +08:00
huangping eefcc06a5e docs: add design specification and 6-tab comparison audit (49 items, color/layout/dialog/component/type/spec) 2026-05-19 06:29:37 +08:00
huangping 51c2598fb7 feat(web): add full dialog layout simulation (issue/create/detail/confirm/revoke) with Figma tokens 2026-05-18 23:55:57 +08:00
huangping 9f3da47574 feat(web): add full platform layout mockup with Figma tokens - all business modules interactive 2026-05-18 23:44:27 +08:00
huangping 80a6e2716b feat(web): add Figma layout structure comparison audit page (11 gaps analyzed) 2026-05-18 23:34:36 +08:00
huangping 34e15dd650 feat(web): add 3-way theme comparison (Figma / ElementPlus / Hybrid-recommended) 2026-05-18 23:21:18 +08:00
huangping 9cb2fda66a feat(web): add Figma vs Element Plus license management theme comparison page 2026-05-18 23:14:39 +08:00
huangping be772db94b chore: update Cargo.lock and crypto test import 2026-05-18 22:41:46 +08:00
huangping 5d615dd393 feat: add build.rs pubkey embedding and webhook license/v1 endpoints 2026-05-18 22:39:05 +08:00
huangping ebb3da2ad6 feat(rust): add online activation and heartbeat (HTTPS + HMAC signing) for selfhosted provider 2026-05-18 22:37:03 +08:00
huangping 6f79bb97d9 feat(platform): add LicenseSigner, LicenseService, LicenseController, and persistence entities 2026-05-18 22:27:03 +08:00
huangping 91aabb500c feat: extend Java config, Schema, and DB for selfhosted licensing SDK 2026-05-18 22:20:14 +08:00
huangping fbce298f2b feat(rust): add Provider trait + refactor C ABI to route through Provider
SelfHostedProvider implements Provider trait for offline license verification
2026-05-18 22:17:05 +08:00
huangping 8b90a71077 feat(rust): add device fingerprint and selfhosted provider (cache, license verify, offline validation) 2026-05-18 22:12:49 +08:00
huangping f9203e077e feat(rust): add crypto module (HKDF + AES-256-GCM + RSA verify) 2026-05-18 22:05:36 +08:00
huangping b7a947409a build(native): rename lib to craftlabs_auth_core, add crypto deps
feat(rust): extend error codes for selfhosted licensing (crypto/license state variants)
2026-05-18 22:02:28 +08:00
huangping 9bb5cbba64 docs: complete implementation plan for selfhosted licensing SDK (25 tasks, 4 phases) 2026-05-18 21:21:15 +08:00
huangping d7469afee9 docs: self-hosted licensing SDK design spec 2026-05-18 21:00:56 +08:00
huangping dc74c19be4 feat(native): add session management with global handle registry 2026-05-01 14:05:16 +08:00
huangping d716719428 feat(native): add LicenseError enum with BitAnswer error code mapping 2026-05-01 14:02:58 +08:00
huangping 307a019d48 plan: implement BitAnswer 1:1 refactor — 12 tasks across 4 phases
Phase 1 (infrastructure, no breaking changes):
- Rust: error.rs, session.rs, ffi/bitanswer.rs, ffi/bridge.rs
- Rust: refactor lib.rs to session-based handle management
- Java: @Deprecate AuthProvider, create 6 capability interfaces
- Java: LicenseSession skeleton, NativeBridge 30+ method stubs
- Java: CraftLicense new entry point

Phase 2-4: core API expansion, advanced features, cleanup
2026-05-01 13:57:46 +08:00
huangping 7af83b089e docs: add BitAnswer 1:1 mapping refactor design spec
Architecture audit revealed AuthProvider (8 methods) only covers
~15% of BitAnswer's 50+ C API surface. This spec proposes:
- 6 capability interfaces (LicenseLifecycle, FeatureManagement,
  DataItemStore, LicenseInfoQuery, CheckoutManager, LicenseUtility)
- 40+ JNI → Rust → BitAnswer C API mappings
- 4-phase migration path with backward compatibility
2026-05-01 13:45:43 +08:00
huangping 313315cd3f chore: archive old C++ CMake build to .deprecated-cmake/; Rust is now canonical 2026-04-28 22:47:45 +08:00
huangping b7f756bc2b feat(rust): complete M5 security hardening — dynamic API, obfuscation, libloading 2026-04-28 22:45:49 +08:00
huangping 6a92f46447 feat(rust): split core library into activate/license/heartbeat modules with build.rs and C ABI tests 2026-04-28 18:46:20 +08:00
huangping 6b3f1bdab5 chore: upgrade Spring Boot 3.4.5 -> 4.0.0 with compiler and SecurityConfig fixes
- Move maven-compiler-plugin from pluginManagement to plugins for proper release 17 inheritance
- Remove deprecated UserDetailsServiceAutoConfiguration exclude (removed in Boot 4.0)
- Switch MyBatis-Plus to boot4-starter
2026-04-28 18:39:54 +08:00
huangping 30cd1ec51a chore: update .gitignore for .env and README with docker build instructions 2026-04-28 18:32:08 +08:00
huangping d884e6bab2 feat: expand docker-compose to 8 services with monitoring stack per architecture spec 2026-04-28 18:31:49 +08:00
huangping 53c52a0b3e refactor(native): rename C API auth_* -> craft_* across header, core, JNI bridge, and smoke tests 2026-04-28 18:27:34 +08:00
huangping 5073a4193f refactor(native): rename C API auth_* -> craft_* in JNI bridge 2026-04-28 18:23:51 +08:00
huangping 650c1caffa docs(engineering): I8/I9 iteration artifacts and frontend UI specification
Add I8/I9 design and implementation review markdown, update parallel iteration
index and I7 review cross-links, and add FRONTEND_UI_SPECIFICATION for design
handoff (Figma Make).

Made-with: Cursor
2026-04-07 21:26:51 +08:00
huangping d53ddf32c8 feat(i8-i9): webhook DEAD replay, read-only delivery status, and callback UI
I8: platform proxies replay to webhook; webhook ops token filter and internal
replay endpoint; delivery service supports read/replay flows.

I9: platform GET callback webhook delivery status by inbox id; UI shows
read-only status block and handles load errors without blocking the page.

Also refresh OpenAPI, Runbook notes, test fixtures and YAML; fix Vite dev
axios baseURL so /api uses proxy; improve login error messaging.

Made-with: Cursor
2026-04-07 21:26:44 +08:00
huangping 5e051633ec docs: sync I5_I6 design with I7 (OPS, async delivery); index I7 row
Made-with: Cursor
2026-04-06 23:06:07 +08:00
huangping 5fe7181b35 feat(i7): async webhook delivery queue, OPS RBAC, UI role routing; docs and runbook
- Architect: I7_DESIGN.md, I7_IMPLEMENTATION_REVIEW.md; parallel index + track B
- Backend: @EnableMethodSecurity; OPS login; CallbackInbox PreAuthorize; IntegrationCatalog triple role
- Webhook: V2 webhook_platform_delivery; planner + scheduler + single-shot forwarder; tests
- Frontend: Pinia hasAnyRole; MainLayout/HomeView/router for OPS vs dev
- Runbook §10.5 delivery config

Made-with: Cursor
2026-04-06 23:01:10 +08:00
huangping ce49fe143c docs(i6): solidify I5_I6 design markdown; add Dependabot and ci-security (Trivy, npm audit)
Made-with: Cursor
2026-04-06 22:48:58 +08:00
huangping 499fef3c2f feat(web): VITE_API_BASE and I6 home module navigation
Made-with: Cursor
2026-04-06 22:46:31 +08:00
huangping d9536802db feat(platform): add I6 security headers for API chains
Made-with: Cursor
2026-04-06 22:46:31 +08:00
huangping 78433faa89 docs(i6): UAT closeout, architecture review, Runbook internal token
Made-with: Cursor
2026-04-06 22:46:31 +08:00