10 Commits

Author SHA1 Message Date
Fam Zheng
719ccd6477 Convert verification_model to ForeignKey with data migration
- Convert CodeBatch.verification_model from TextField to ForeignKey(VerificationModel)
- Add ForeignKey relationship to CodeBatchResource API
- Update QrVerifyView to use verification_model.name instead of string
- Create data migration to:
  - Rename old TextField temporarily
  - Add new ForeignKey field
  - Migrate existing model names to VerificationModel entries
  - Link batches to VerificationModel records
  - Remove old TextField
- GenericManager will now show dropdown/selector UI automatically
2025-11-25 22:38:57 +00:00
Fam Zheng
2c74d59d37 Add admin configuration for verification model per batch
- Add verification_model field to CodeBatch model (TextField)
- Add verification_model field to ScanData model to track model used
- Update QrVerifyView to pass model parameter to v5 QR verify endpoint
- Create VerificationModel table to track available models
- Add VerificationModelResource API endpoint (admin only)
- Add verification-model Vue component with GenericManager
- Add verification-model route and sidebar navigation entry
- Add migrations for all database changes
- Add analysis document for feature design
2025-11-25 22:32:02 +00:00
Fam Zheng
d7cfb68587 models: Add product to chat session 2025-10-29 21:27:29 +00:00
Fam Zheng
5d93ac5a32 add Article.is_platform_knowledge_base 2025-10-29 21:27:29 +00:00
Fam Zheng
bd2d2eb358 models: Add chat tables 2025-10-29 21:27:29 +00:00
Fam Zheng
7e81451140 add labeling page 2025-04-25 22:09:24 +01:00
Fam Zheng
4ea0b515be drop detection 2025-04-24 09:06:51 +01:00
Fam Zheng
93c93db997 fix test 2025-03-02 14:52:18 +00:00
Fam Zheng
80cc4242e4 Fix default value of mini_prog_entry_path 2025-03-02 09:54:42 +00:00
Fam Zheng
361be2ac19 move api/api to api 2025-03-01 20:40:38 +00:00