From a1ee33231d7e1f9310c88c83f47819b86c8d3fec Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:02:28 +0000 Subject: [PATCH 1/4] Initial plan From c91e692be29d5282e2c2b4d213a713d65ec2ec82 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:05:51 +0000 Subject: [PATCH 2/4] Remove obsolete version field from docker-compose files Co-authored-by: aiulian25 <17886483+aiulian25@users.noreply.github.com> --- docker-compose.build.yml | 2 -- docker-compose.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/docker-compose.build.yml b/docker-compose.build.yml index 33f3ac9..04d545f 100644 --- a/docker-compose.build.yml +++ b/docker-compose.build.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: masina-dock: build: diff --git a/docker-compose.yml b/docker-compose.yml index a3fddd1..db437bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: masina-dock: image: ghcr.io/aiulian25/masina-dock:latest From cbc2806f1b6761829e9f50cb851851b1ba5cbb4c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:15:31 +0000 Subject: [PATCH 3/4] Initial plan From d1fd1fd7629cf7f1cec435bb534d0084675ea656 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:20:32 +0000 Subject: [PATCH 4/4] Fix fuel records and service records to support document_path in POST/PUT Co-authored-by: aiulian25 <17886483+aiulian25@users.noreply.github.com> --- backend/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index 2c3e217..0c3b66e 100644 --- a/backend/app.py +++ b/backend/app.py @@ -576,7 +576,8 @@ def fuel_records(vehicle_id): distance=distance, fuel_economy=fuel_economy, unit=data.get('unit', 'MPG'), - notes=data.get('notes') + notes=data.get('notes'), + document_path=data.get('document_path') ) db.session.add(record) db.session.commit() @@ -865,6 +866,7 @@ def service_record_operations(vehicle_id, record_id): record.category = data.get('category', record.category) record.cost = data.get('cost', record.cost) record.notes = data.get('notes', record.notes) + record.document_path = data.get('document_path', record.document_path) db.session.commit() return jsonify({'message': 'Service record updated successfully'})