Commit Graph

59 Commits

Author SHA1 Message Date
Nils-Johan Gynther 47c89c9915 docs: update deployment workflow documentation
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 1m49s
Test Suite / flutter-quality (push) Failing after 1m14s
- Replace references to removed `--migrate` flag with new migration behavior
- Document automatic migration execution during `--clean-database` deployments
- Add details about Prisma Client generation output visibility in deploy logs
- Correct maintenance SQL file usage and table references
2026-05-21 14:30:28 +02:00
Nils-Johan Gynther 740e8e5897 chore(docs): update project documentation with deployment and maintenance changes
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 1m33s
Test Suite / flutter-quality (push) Failing after 1m24s
Updated three documentation files to reflect recent deployment and maintenance improvements:

- NEXT_STEPS.md: Added completed steps for 2026-05-20 including deploy script updates, Prisma integration, standardized database cleaning, and production fixes
- README.md: Added new deployment flags and maintenance file information for 2026-05-20 release
- TEKNISK_BESKRIVNING.md: Added technical details about new deploy flow, database cleaning process, and production hotfix resolution
2026-05-20 21:34:08 +02:00
Nils-Johan Gynther 996f0d774b Updatede documentation
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 3m35s
Test Suite / flutter-quality (push) Failing after 1m29s
2026-05-19 22:01:44 +02:00
Nils-Johan Gynther e658f2e6f1 chore(ci): update project documentation and flyer import features
Update project documentation with recent CI improvements and flyer import enhancements:

- Add ESLint configuration for backend and Dart lints for Flutter
- Document Prisma query logging via PRISMA_LOG_QUERIES environment variable
- Update NEXT_STEPS.md, README.md, and TEKNISK_BESKRIVNING.md with new features
- Add isOffer, offerLimitText, comparisonPrice, comparisonUnit, parseConfidence, and parseReasons fields to FlyerImportItem
- Update FlyerImportResponse type to include new fields
- Extend file picker to support image formats (png, jpg, jpeg, webp)
- Add offer badge display and price formatting in Flutter UI
- Implement PDF preview functionality for flyer import
2026-05-18 23:27:20 +02:00
Nils-Johan Gynther 50816a6844 feat: add central help text system, Prisma migration, and Flutter help button
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 1m2s
Test Suite / flutter-quality (push) Successful in 1m40s
2026-05-13 17:04:44 +02:00
Nils-Johan Gynther 0da4bbf4cf feat: implement alias-scope management for admin, enhance category chip handling, and upgrade dependencies
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 1m40s
Test Suite / flutter-quality (push) Successful in 1m44s
2026-05-12 22:24:26 +02:00
Nils-Johan Gynther d75fd00666 feat: Update documentation with recent changes, including Flutter build fixes and deployment guidelines
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-11 17:21:17 +02:00
Nils-Johan Gynther edf9c74e75 feat: update MVP plan and close previous inventory IDOR risk, ensuring user-scope implementation and focus on regression testing
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-10 00:35:23 +02:00
Nils-Johan Gynther ca8987d9e4 Add comprehensive documentation for Flutter frontend migration and backend review
Test Suite / test (24.15.0) (push) Has been cancelled
- Introduced user guide for Flutter frontend in README.md, detailing user flows and recent improvements.
- Created next steps roadmap for Flutter migration in next_steps_flutter.md, outlining current tasks and priorities.
- Developed technical description for Flutter frontend in teknisk_beskrivning_flutter.md, covering architecture and security status.
- Removed outdated migration documentation for Prisma P3009 and added recovery steps for failed migrations in migrering-MSI.md.
- Established a release checklist for product launches in produktlansering.md, ensuring security and stability measures are met.
- Formulated a systematic backend review and optimization plan in review_backend.md, focusing on reducing complexity and improving performance.
2026-05-10 00:28:59 +02:00
Nils-Johan Gynther 1709bb1dad Implement admin inventory management features including CRUD operations, merging, filtering, sorting, previewing, and security enhancements. Update documentation and add comprehensive test coverage for security and validation.
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-10 00:20:25 +02:00
Nils-Johan Gynther 65137b41fb feat: implement alias strategy for receipt import with user-scoped and global fallback, enhance validation and normalization, and update UI components
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 23:41:42 +02:00
Nils-Johan Gynther b342de906e feat: implement alias strategy for receipt import with user-scoped and global fallback aliases
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 23:31:17 +02:00
Nils-Johan Gynther ae6d7aad1a feat: implement product rename and merge endpoints for users and admins, optimize receipt import UI, and enhance deploy script
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 23:20:52 +02:00
Nils-Johan Gynther 97e7b09bcd feat: simplify receipt import matching logic and enhance trace logging
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 15:17:00 +02:00
Nils-Johan Gynther d92272e554 feat: implement matchedVia tracking for receipt items and enhance user alias management
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-07 13:57:41 +02:00
Nils-Johan Gynther dba3c63ec4 feat: enhance recipe creation process; add editable fields for ingredients and support for alternative ingredients in review step
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 22:29:29 +02:00
Nils-Johan Gynther 2c8d6b69ae feat: add support for alternative ingredients; implement JSON storage and parsing logic
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 22:06:57 +02:00
Nils-Johan Gynther d73ea5ef7c feat: enhance PDF processing and error handling; add Node.js version tracking
Test Suite / test (24.15.0) (push) Has been cancelled
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 22:29:47 +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 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 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 d823143611 feat(receipt-import): expand deterministic category rules and AI contradiction guards 2026-05-02 20:28:40 +02:00
Nils-Johan Gynther 4e568b4d2e feat(migration): enforce ownerId requirement in Product table
- Removed all products without an owner to maintain data integrity.
- Updated ownerId column to be non-nullable.
- Modified foreign key constraint for ownerId to use ON DELETE CASCADE.
2026-05-02 19:05:33 +02:00
Nils-Johan Gynther 2563738fcf Add Swedish localization for various app actions and inventory management strings 2026-05-02 15:42:00 +02:00
Nils-Johan Gynther 9161de5d52 feat(receipt-import): enhance package handling with new fields and UI adjustments 2026-05-02 10:11:31 +02:00
Nils-Johan Gynther d6fef0145c feat: implement hybrid alias model for receipt import and enhance alias learning in UI 2026-05-02 00:24:30 +02:00
Nils-Johan Gynther d3dac61765 feat: separate AI and product suggestion chips, normalize product names, and validate AI categories 2026-05-01 23:59:16 +02:00
Nils-Johan Gynther 73d653aef9 feat: complete receipt import phase 6b with review flow, editing, and destination selection 2026-05-01 01:33:55 +02:00
Nils-Johan Gynther 9417d30574 Update to .md-files 2026-05-01 00:28:09 +02:00
Nils-Johan Gynther 2411906682 feat(docs): update NEXT_STEPS, README, and technical descriptions with recent improvements and known limitations
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 22:19:04 +02:00
Nils-Johan Gynther 44b4e7ad73 feat: update pantry and meal plan to be user-specific; outline required backend changes 2026-04-22 18:17:41 +02:00
Nils-Johan Gynther 82c3dc3fee feat: update API method from POST to PATCH for backfill-canonical endpoint with necessary frontend adjustments 2026-04-21 13:57:00 +02:00
Nils-Johan Gynther 83722123d2 feat: enhance error handling with user-friendly messages and improve response parsing 2026-04-21 13:38:59 +02:00
Nils-Johan Gynther 60f6064664 docs: update NEXT_STEPS.md with latest notes on role protection, rate limiting, and PII encryption tasks 2026-04-21 10:27:35 +02:00
Nils-Johan Gynther 7748ad311f feat: implement security headers and rate limiting; update environment variables and documentation 2026-04-21 08:06:21 +02:00
Nils-Johan Gynther eb7adda612 docs: enhance NEXT_STEPS.md with AI logging and audit requirements; update TEKNISK_BESKRIVNING.md with Caddy configuration details 2026-04-20 17:14:04 +02:00
Nils-Johan Gynther b140fb71f0 docs: add product launch plan with key areas and action steps 2026-04-20 15:36:43 +02:00
Nils-Johan Gynther 361847b337 Ta bort alla referenser till recipe-document-converter från dokumentation och kodbas
Lägg till riktlinje att båda microservices (importer och shopping/todo-lista) ska använda SQLite för portabilitet och enkelhet
Förtydliga att microservices ska dela teknisk grund med recipe-app: JWT-baserad autentisering, rollhantering och API-design
2026-04-20 15:24:15 +02:00
Nils-Johan Gynther 41a5170ed2 docs: update NEXT_STEPS.md and TEKNISK_BESKRIVNING.md with seed script instructions and path corrections 2026-04-20 10:32:28 +02:00
Nils-Johan Gynther 1131745666 fix: update seed documentation to clarify source and process for categories and products 2026-04-19 23:21:46 +02:00
Nils-Johan Gynther a3bf4b1337 fix: update NEXT_STEPS and TEKNISK_BESKRIVNING with completed features and authentication details 2026-04-19 22:00:13 +02:00
Nils-Johan Gynther 054a19ed7c MAJOR UPPDATE: "First Ai"
feat: add AI categorization for products and enhance user management

- Integrated AI service for category suggestions in receipt import and product management.
- Added premium subscription feature for users with corresponding API endpoints.
- Implemented admin interface for managing pending product suggestions.
- Enhanced user management to include premium status and corresponding UI updates.
- Updated database schema to support new fields for premium status and product status.
2026-04-19 10:34:21 +02:00
Nils-Johan Gynther 0286ab0991 docs: update documentation links for AI features and next steps 2026-04-19 09:44:15 +02:00
Nils-Johan Gynther 0598e027ac fix(profil): update user ID retrieval and improve fetch request error handling 2026-04-18 14:58:52 +02:00
Nils-Johan Gynther 537a4f8ab6 feat: Implement admin user management features
- Added adminCreateUser endpoint and corresponding DTO for creating users.
- Implemented deleteUser and resetPassword functionalities for admin users.
- Introduced updateEmail functionality for admin users.
- Updated UsersService to handle user creation, deletion, password reset, and email updates.
- Modified UsersController to include new admin routes with appropriate role checks.
- Refactored frontend navigation to link to user management under profile.
- Created new profile tabs for user management and database management.
- Developed AnvandareClient component for user management, including user creation, deletion, role changes, and password resets.
- Added DatabsTab for managing product listings and merging duplicates.
- Enhanced MinProfilTab for user profile management with form handling.
2026-04-18 14:49:02 +02:00
Nils-Johan Gynther 00dc0d6c69 fix(docs): update NEXT_STEPS, README, and TEKNISK_BESKRIVNING with user role management details and new category structure 2026-04-18 14:41:04 +02:00
Nils-Johan Gynther 20330f6410 feat(matplan): enhance shopping list with inventory status indicators and summary 2026-04-18 09:13:35 +02:00
Nils-Johan Gynther fd188a3f95 refactor(inventory): remove unused fields from InventoryItem and update related DTOs 2026-04-18 09:01:14 +02:00