feat(csv-parser): Implement CSV import functionality with mapping and type conversion
- Added permissions for editing and deleting CSV field mappings. - Created type converter for CSV cells to handle various data types. - Implemented database migrations for CSV field mappings and import logs. - Seeded initial system templates for nutrition and activity data imports. - Developed admin endpoints for managing system CSV templates. - Introduced user endpoints for CSV import analysis and mapping retrieval. - Added tests for core CSV parser functionalities, including delimiter detection and value conversion.
This commit is contained in:
1 parent
73963e7140
commit
4a771f6a83
16 files changed
+3252
-1
No files matched your search
+13
-1
@@ -9,7 +9,7 @@ Semantic Versioning: MAJOR.MINOR.PATCH
|
||||
|
||||
APP_VERSION = "0.9p"
|
||||
BUILD_DATE = "2026-04-09"
|
||||
DB_SCHEMA_VERSION = "20260406e" # Migration 041
|
||||
DB_SCHEMA_VERSION = "20260409a" # Migration 043 (042–043 CSV Parser)
|
||||
|
||||
MODULE_VERSIONS = {
|
||||
"auth": "1.2.0",
|
||||
@@ -31,9 +31,21 @@ MODULE_VERSIONS = {
|
||||
"membership": "2.1.0",
|
||||
"workflow": "0.6.0", # Phase 4: End Node Template Engine
|
||||
"app_dashboard": "1.11.0", # Entitlements: DB-Override widget→features (AND), sonst Katalog
|
||||
"csv_import": "0.1.0", # Issue #21: Analyse, Mappings, Limits
|
||||
"admin_csv_templates": "0.1.0", # Issue #21: System-Templates + Import-Limits (Admin)
|
||||
}
|
||||
|
||||
CHANGELOG = [
|
||||
{
|
||||
"version": "0.9p",
|
||||
"date": "2026-04-09",
|
||||
"changes": [
|
||||
"Issue #21 Phase 1: Migration 042/043 (csv_field_mappings, csv_import_log, Seeds)",
|
||||
"csv_parser: core (Decode/Delimiter/Sample), module_registry, type_converter, permissions",
|
||||
"API /api/csv: modules, limits, mappings, analyze, copy",
|
||||
"API /api/admin/csv-templates: CRUD System-Templates, import-limits (system_config)",
|
||||
],
|
||||
},
|
||||
{
|
||||
"version": "0.9n",
|
||||
"date": "2026-04-06",
|
||||
|
||||
Reference in new issue
Block a user