Commit Graph

85 Commits

Author SHA1 Message Date
e731ee7a2e feat(web): add login, auth store and router guard 2026-07-07 15:25:47 +08:00
bcef04a8cc feat(web): add pinia/vue-flow deps and update API layer 2026-07-07 15:22:05 +08:00
891ded382e feat(inbound): add flow execution trace recording and query 2026-07-07 15:18:55 +08:00
ee82e6e447 feat(api): add list endpoints and dashboard stats 2026-07-07 15:12:05 +08:00
dfce1be9b2 feat(auth): return Sa-Token on login and add tenant/user list APIs 2026-07-07 15:06:13 +08:00
f50a3fd0c9 feat(auth): replace JWT with Sa-Token, add auth context and interceptor 2026-07-07 14:52:18 +08:00
14c2c3095b docs(plan): self-review admin-web auth/tenant/flow plan 2026-07-07 14:44:40 +08:00
03ba46a0a3 docs: add comprehensive admin-web auth, flow diagram and message testing design 2026-07-07 14:23:48 +08:00
d4ee166caf docs: add admin-web fill-out design 2026-07-07 14:14:50 +08:00
fa8e402b57 chore: remove unused k8s deployment manifests 2026-07-07 14:10:41 +08:00
51a373e06c chore: consolidate docker-compose and add integration tests
- Merge infrastructure/docker-compose.yml + docker-compose.app.yml into root docker-compose.yml with profiles (infra/app).
- Add healthchecks for mysql/redis/rabbitmq/mci-server/channel-service and depends_on conditions.
- Rewrite scripts/local-up.sh to use profiles and wait for healthy states.
- Add curl to mci-server and channel-service Docker images for healthchecks.
- Add npm test script to admin-web (type-check + build smoke test).
- Add scripts/test-external-api.sh covering 11 API endpoints.
- Verify Java (7/7), Python (6/6), npm build, external API (11/11), and UI flows.
2026-07-07 13:35:41 +08:00
033580aa52 docs: add compose consolidation and test plan spec 2026-07-07 13:15:18 +08:00
bef2f32cff fix(deploy): attach infra services to shared mci-network and fix mci-server Dockerfile
- Add mci-network to infrastructure services so app services can resolve mci-mysql
- Remove cross-project depends_on from docker-compose.app.yml
- Copy parent pom.xml in mci-server Dockerfile so child modules resolve sino-mci-parent
- Fix typo in local-up.sh RabbitMQ retry counter
2026-07-07 13:09:58 +08:00
91d5c29f23 feat(admin-web): add Vue 3 admin console and deployment configs
- Add admin-web/ with Vite + Vue 3 + Element Plus + Vue Router
- Add 8 management pages: dashboard, channel subject/account, conversation,
  person, tag, send record (with test send), inbound flow
- Add API client modules for account/channel/crm/send/flow
- Add Dockerfile and nginx config for admin-web
- Add Dockerfile for mci-server
- Add docker-compose.app.yml for one-command app deployment
- Add K8s deployment manifests for backend/admin-web/channel-service
- Update scripts/local-up.sh with shared network and --with-apps option
2026-07-07 12:42:17 +08:00
bd0ac464cf feat(channel-service): add Python FastAPI pywechat channel service
- Add FastAPI project under channel-service/
- Implement mock pywechat client adapter (login, send, heartbeat)
- Add /v1/wechat-personal/login/*, /v1/wechat-personal/send/* APIs
- Add /v1/heartbeat and /v1/monitor/status for client health
- Add /monitor HTML page with Web Components
- Add pytest suite and Dockerfile
- Update .gitignore for Python/Node artifacts
2026-07-07 12:36:54 +08:00
df2d253c7b feat(send): add outbound send and send record APIs
- Add mci_send_record table and entity/mapper
- Add SendService with target resolution (conversation/person/person_list/tag/rule)
- Add /api/v1/send, /api/v1/send/test, /api/v1/send/{task_id}/records
- Add test send simulation without channel dispatch
- Dispatch real sends through ChannelAdapterRegistry (placeholder until Phase 6)
- Add SendControllerTest and fix missing deleted column on account-conversation binding
2026-07-07 12:24:05 +08:00
953d36fe2c feat(inbound): add flow definition, message event, intent recognition and webhook push 2026-07-07 12:15:27 +08:00
3f2c0d7d16 feat(crm): add person, identity, conversation, tag tables and APIs 2026-07-07 12:06:19 +08:00
855f77595d feat(channel): add channel-common SPI, channel tables, subject/account APIs and WeCom callback placeholder 2026-07-07 11:55:53 +08:00
5828404418 fix(account): secure login response, add validation, global exception handler 2026-07-07 11:48:42 +08:00
4f9b3aa211 fix(test): use Spring Boot 4 AutoConfigureMockMvc package and remove stub 2026-07-07 11:25:07 +08:00
6a94f53ff0 feat(admin): implement tenant/user/role account APIs 2026-07-07 11:23:29 +08:00
56f8ab9e8e feat(admin): add MetaObjectHandler and explicit UserRole PK/auto-fill 2026-07-06 18:37:04 +08:00
63c47425e0 feat(admin): add account entities and MyBatis mappers 2026-07-06 18:31:31 +08:00
ed2390e4ad fix(db): add deleted column to mci_platform_role 2026-07-06 18:23:00 +08:00
91d96e0819 fix(db): align migrations with entity model and idempotency 2026-07-06 18:16:24 +08:00
774c0ff8dd feat(db): add account and role Flyway migrations 2026-07-06 18:06:48 +08:00
37b0a33f17 chore: activate dev profile by default in application.yml 2026-07-06 17:48:41 +08:00
0d3753fa5a chore: use docker exec for Redis readiness check in local-up.sh 2026-07-06 17:45:42 +08:00
397b9994d7 chore: align local-up.sh with spec 2026-07-06 17:41:43 +08:00
285edf9927 chore: add dev configs and local infrastructure 2026-07-06 17:37:13 +08:00
6662a572e5 feat(server): add mci-server module with Spring Boot 4.1 2026-07-06 17:12:59 +08:00
71079d4988 feat(shared): add BaseEntity and ApiResponse 2026-07-06 16:58:23 +08:00
a7ccb8299c feat(shared): add BaseEntity and ApiResponse 2026-07-06 16:36:56 +08:00
b0828f0341 chore: add Maven 4 parent POM for sino-mci 2026-07-06 16:24:20 +08:00