13 Commits

Author SHA1 Message Date
向宁
fa1f8dbef5 feat: add seed data for 14 built-in form components 2026-05-25 14:08:40 +08:00
向宁
37ca47c5ea feat: add FormComponentRegistry entity and EF configuration 2026-05-25 14:05:58 +08:00
向宁
293b23958f feat: add Node and Edge CRUD endpoints 2026-05-21 14:49:11 +08:00
向宁
1d5fd7449e feat: add Edge CRUD commands with tests 2026-05-21 14:46:32 +08:00
向宁
f18a48379f feat: add Node CRUD commands with tests 2026-05-21 14:42:51 +08:00
向宁
19399378c1 feat: complete DTOs with Config, EdgeType, Condition, Order fields 2026-05-21 14:30:02 +08:00
向宁
d9cf703615 fix: StartWorkflowInstance 调用 ProcessEngine 自动传播 Token
移除手动创建 Token 的代码,改为调用 processEngine.StartAsync(instance)
自动从 Start 节点传播 Token 到后续节点。
更新测试以注入 ProcessEngine 依赖。
2026-05-20 20:44:46 +08:00
向宁
fc4ecbbacc feat: add gRPC auth, condition comparators, seed data, EF migrations
- gRPC auth service for token validation
- Value comparator system (string, numeric, boolean, datetime, collection)
- Condition evaluator with strategy chain
- Form definition and data improvements
- Workflow instance/task endpoints updated
- Seed data and EF design-time factory
- Test coverage for comparators and handlers
2026-05-20 20:28:35 +08:00
向宁
f49e0ea1e4 feat: Implement workflow and form management endpoints
- Added endpoints for managing form definitions including:
  - GetFormDefinitionById
  - GetFormDefinitionList
  - PublishFormDefinition
  - SubmitFormData
  - UpdateFormDefinition

- Added endpoints for managing workflow definitions including:
  - CreateWorkflowDefinition
  - DeleteWorkflowDefinition
  - DisableWorkflowDefinition
  - GetWorkflowDefinitionById
  - GetWorkflowDefinitionList
  - PublishWorkflowDefinition
  - UpdateWorkflowDefinition

- Added endpoints for managing workflow instances including:
  - GetWorkflowInstanceById
  - GetWorkflowInstanceList
  - MonitorWorkflowInstances
  - ResumeWorkflowInstance
  - StartWorkflowInstance
  - SuspendWorkflowInstance
  - WithdrawWorkflowInstance

- Added endpoints for managing workflow tasks including:
  - ApproveTask
  - DelegateTask
  - GetCcTasks
  - GetHistoryTasks
  - GetOverdueTasks
  - GetPendingTasks
  - GetTaskById
  - RejectTask
  - TransferTask
  - UrgeTask

- Introduced middleware for handling API responses and global exceptions.
- Configured application settings for database connection and JWT authentication.
2026-05-17 22:51:37 +08:00
向宁
f26a20a875 chore: properly remove all bin/obj from tracking 2026-05-17 22:46:43 +08:00
向宁
fe7b5ee8a9 chore: remove all bin/obj from tracking 2026-05-17 22:46:33 +08:00
向宁
9a0a99ccc4 chore: add .gitignore, remove bin/obj from tracking 2026-05-17 22:46:29 +08:00
向宁
bc8c32b808 feat: initial work-flow project scaffold 2026-05-17 22:46:19 +08:00