Commit Graph

467 Commits

Author SHA1 Message Date
nilsjohan 941c5f5915 chore: add package-lock.json and allow tracking in .gitignore for npm ci
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-03 22:03:03 +02:00
Nils-Johan Gynther 0922af57a4 Merge branch 'main' of ssh://gitea.gynther.se:2222/nilsjohan/recipe-app
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-03 21:48:28 +02:00
Nils-Johan Gynther dd74d8b7eb feat(docker): update Node.js version to 24.15.0 in Dockerfile and test workflow 2026-05-03 21:48:25 +02:00
nilsjohan c2b9c76ce7 chore: pin Node 24.15.0 in Docker and CI
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-03 21:47:55 +02:00
Nils-Johan Gynther 6278825f0a feat(docs): update main priorities in NEXT_STEPS to reflect new focus on Node.js version parity
Test Suite / test (24.x) (push) Has been cancelled
2026-05-03 21:38:00 +02:00
Nils-Johan Gynther 700eb2c851 feat(docs): update NEXT_STEPS and TEKNISK_BESKRIVNING with new categories and improved rules
Test Suite / test (24.x) (push) Has been cancelled
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 19:58:12 +02:00
Nils-Johan Gynther 5b6d44b555 feat(receipt-import): enhance receipt processing with new category rules and add unit tests
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 19:55:32 +02:00
Nils-Johan Gynther 85b41f8587 ci: add automated test workflow
Test Suite / test (24.x) (push) Has been cancelled
2026-05-03 19:55:05 +02:00
Nils-Johan Gynther 6abedff07a feat(seed): add new categories for Delikatesschark, Sylt, mos & marmelad, and Hårdost lagrad 2026-05-03 18:20:09 +02:00
Nils-Johan Gynther a555e74201 feat(receipt-import): add function to ignore specific receipt names and filter out ignored items
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 18:18:07 +02:00
Nils-Johan Gynther 6c3e391582 fix(receipt-import): remove unused file extension from file metadata
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 17:05:57 +02:00
Nils-Johan Gynther 1320f936ec Refactor technical documentation for clarity and updates
- Updated "teknisk_beskrivning_flutter.md" to streamline content and remove outdated sections, focusing on architecture, environment, and recent technical additions.
- Enhanced "migrering-MSI.md" with post-migration updates and clarifications for target audience.
- Revised "produktlansering.md" to serve as a release checklist, ensuring it complements existing documentation without duplication.

Co-authored-by: Copilot <copilot@github.com>
2026-05-03 17:03:20 +02:00
Nils-Johan Gynther fa7f225ee5 feat(receipt-import): enhance bread category detection and improve session management
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 16:34:15 +02:00
Nils-Johan Gynther a1c4a2f24d feat(receipt-import): add multipack count extraction from raw name and update package fields inference 2026-05-03 16:16:02 +02:00
Nils-Johan Gynther 87eff6a37f refactor(products): remove brand field from Product model and update related DTO and service
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 16:01:09 +02:00
Nils-Johan Gynther dbd8c6d849 refactor(products): remove subcategory from Product model and related queries 2026-05-03 15:54:23 +02:00
Nils-Johan Gynther 5864a6f111 refactor(receipt-import): streamline category tree loading and enhance error handling
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 15:47:35 +02:00
Nils-Johan Gynther 046dad870f refactor(receipt-import): update CategoryLookup initialization and improve imports
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 15:29:58 +02:00
Nils-Johan Gynther c26d5a4e1d feat: add EditDialog for receipt item editing and product creation
- Implemented EditDialog widget to facilitate editing of parsed receipt items.
- Added functionality for selecting existing products or creating new ones.
- Integrated category selection for products with a category picker.
- Included utility functions for receipt import, including quantity conversion and package size extraction.
- Enhanced product name normalization and category path lookup for improved user experience.

Co-authored-by: Copilot <copilot@github.com>
2026-05-03 15:25:56 +02:00
Nils-Johan Gynther dc74a9448b refactor(edit-dialog): improve category selection handling in AI suggestion
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 15:03:17 +02:00
Nils-Johan Gynther 842561d2b8 refactor(categories-service): optimize path building in findFlattened method 2026-05-03 14:11:30 +02:00
Nils-Johan Gynther a5a179a7f2 feat(rebuild-script): add script to rebuild and restart Flutter service with Docker 2026-05-03 14:02:57 +02:00
Nils-Johan Gynther 3bfcf63a53 refactor(category-picker): streamline category selection flow in product picker 2026-05-03 14:01:28 +02:00
Nils-Johan Gynther 98e065a3e2 feat(seed-script): enhance category mapping with dynamic subcategory checks 2026-05-03 12:44:51 +02:00
Nils-Johan Gynther 00ec332136 refactor(init-script): simplify initialization script for Prisma migrations 2026-05-03 12:40:25 +02:00
Nils-Johan Gynther 4eeaef9435 feat(reset-script): add option to rebuild images during full database reset 2026-05-03 11:52:12 +02:00
Nils-Johan Gynther 6762100619 fix(reset-script): improve error handling and skip logic for git pull in reset script 2026-05-03 11:47:25 +02:00
Nils-Johan Gynther fe6fac8464 feat(reset-script): add script for full database reset and rebuild process 2026-05-03 11:41:49 +02:00
Nils-Johan Gynther d47d6466a8 fix(deploy): update seed script references to use full seed_all.sql 2026-05-03 11:38:38 +02:00
Nils-Johan Gynther 70645232ab feat(profile): add admin tools for manual category updates in backend cache 2026-05-03 11:19:50 +02:00
Nils-Johan Gynther 2612a64ca5 fix(receipt-import): add missing UseGuards import in receipt-import.controller.ts
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 10:54:36 +02:00
Nils-Johan Gynther b2eb870ec7 feat(receipt-import): add refresh categories endpoint and UI integration
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 10:48:06 +02:00
Nils-Johan Gynther 6503d29801 Merge branch 'main' of ssh://gitea.gynther.se:2222/nilsjohan/recipe-app 2026-05-03 08:14:39 +02:00
Nils-Johan Gynther d4769519c2 fix(receipt-import): correct regex for single pack extraction to handle unit formatting 2026-05-03 08:14:35 +02:00
nilsjohan 2da69f70b9 Merge remote-tracking branch 'origin/main' 2026-05-03 07:56:31 +02:00
nilsjohan 1bba4d92f8 Loggar och chmod +x på skripts 2026-05-03 07:54:35 +02:00
Nils-Johan Gynther f108034742 fix(receipt-import): upgrade confidence level for next suggestion based on rule application 2026-05-02 23:36:19 +02:00
Nils-Johan Gynther b7d68afd58 chore(receipt-import): include quantity and package details in decision trace 2026-05-02 23:12:24 +02:00
Nils-Johan Gynther 5286db4385 fix(receipt-import): harden bacon signal detection with pork category fallback chain 2026-05-02 23:09:45 +02:00
Nils-Johan Gynther fa34a3a16d feat(receipt-tracing): add scripts to enable and disable receipt trace decisions 2026-05-02 23:02:10 +02:00
Nils-Johan Gynther 1c73261c0b chore(compose): add RECEIPT_TRACE_DECISIONS env toggle for recipe-api 2026-05-02 22:59:53 +02:00
Nils-Johan Gynther 4345547cbf chore(receipt-import): add decision-path tracing for category pipeline 2026-05-02 22:58:45 +02:00
Nils-Johan Gynther 60056b94bf fix(receipt-import): infer size from raw name when unit is missing 2026-05-02 22:52:21 +02:00
Nils-Johan Gynther 60ab2465aa fix(receipt-import): add hard bacon override to pork category 2026-05-02 22:51:17 +02:00
Nils-Johan Gynther f45ec08c58 fix(receipt-import): replace invalid isNotEmpty string check 2026-05-02 22:47:07 +02:00
Nils-Johan Gynther 2cf0372eef fix(receipt-import): strengthen bacon detection with OCR-tolerant rule signals 2026-05-02 21:01:38 +02:00
Nils-Johan Gynther a88d6e2452 feat(receipt-import): run rules and AI for all users with trust-aware overrides 2026-05-02 20:48:47 +02:00
Nils-Johan Gynther 6733a50cfb fix(receipt-import): route egg items away from allergy dairy 2026-05-02 20:32:50 +02:00
Nils-Johan Gynther d9113bb89a fix(receipt-import): map standard milk away from lactose-free branch 2026-05-02 20:32:29 +02:00
Nils-Johan Gynther d2567e158c fix(receipt-import): classify vispgradde under dairy matlagning rules 2026-05-02 20:31:07 +02:00