Commit Graph

48 Commits

Author SHA1 Message Date
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 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 73309cb110 feat: implement alias strategy for receipt import with matchedVia tracking
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-07 14:15:45 +02:00
Nils-Johan Gynther f7446cc2df feat: enhance security with user-scoped inventory and IDOR protection
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-07 12:00:57 +02:00
Nils-Johan Gynther 943e449c97 docs: update security status in technical documentation for backend and Flutter frontend
Test Suite / test (24.15.0) (push) Has been cancelled
- Added detailed security status section in backend documentation, outlining implemented security features and remaining risks as of 2026-05-07.
- Included security features implemented in Flutter, emphasizing auth-gating, token storage, and limitations regarding web security.
2026-05-07 10:48:35 +02:00
Nils-Johan Gynther 3e27423f24 feat: update migration documentation and remove obsolete file; enhance Prisma recovery instructions
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-06 09:42:45 +02:00
Nils-Johan Gynther 8200045438 feat: enhance user-scoped AI functionality with admin toggles and premium features
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-06 09:29:16 +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 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 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 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 f983458ff0 feat: implement two-step category and product picker with private product creation support 2026-05-01 02:44:30 +02:00
Nils-Johan Gynther 8bc1bd3e21 feat: add user-scope design rules for new functionality in documentation 2026-05-01 02:33:48 +02:00
Nils-Johan Gynther 9417d30574 Update to .md-files 2026-05-01 00:28:09 +02:00
Nils-Johan Gynther 575d984129 feat: update technical documentation to emphasize avoiding absolute Windows paths for compatibility with Linux/Ubuntu 2026-04-24 15:20:17 +02:00
Nils-Johan Gynther 931336f048 feat: update technical documentation and remove unnecessary logout icon from profile screen 2026-04-24 08:17:48 +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 b31af6181c Refactor next_steps_flutter and teknisk_beskrivning_flutter for user-scope implementation
- Updated next_steps_flutter.md to reflect completed tasks for user-scoped PantryItem and MealPlanEntry, including API contract publication and migration application.
- Enhanced the prioritization plan with clear completion dates and added localization tasks.
- Expanded teknisk_beskrivning_flutter.md with details on inventory filtering, sorting, and user-scoped backend changes, including migration notes and localization setup.
- Improved error handling documentation and localization usage guidelines.
2026-04-22 19:37:12 +02:00
Nils-Johan Gynther 2e117718a7 feat(localization): Implement Swedish localization and error messages
- Added localization support for Swedish and English languages.
- Integrated localized strings for user messages in the API error mapper.
- Updated UI components to use localized strings for labels and messages.
- Ensured all error messages are context-aware and utilize the localization framework.
- Created regression test to prevent common ASCII fallbacks in Swedish UI text.
2026-04-22 19:16:23 +02:00
Nils-Johan Gynther 2acf66e4c4 feat: enhance pantry management with new features and UI improvements 2026-04-21 16:09:33 +02:00
Nils-Johan Gynther 69f05e6b43 feat: update Caddy routing documentation to include pantry API endpoint and emphasize useAuthFetch for client components 2026-04-21 14:52:20 +02:00
Nils-Johan Gynther 8e9b90028f docs: update TEKNISK_BESKRIVNING.md to reflect changes in authentication middleware and role-based access control; remove obsolete middleware.ts file 2026-04-21 10:30:30 +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 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 30fb8b265b docs: enhance technical description with detailed development environment and deployment workflow 2026-04-20 10:26:18 +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 068e8a58e5 feat(docs): add architecture principles for using API routes over Server Actions in Next.js 2026-04-19 18:32:54 +02:00
Nils-Johan Gynther f12d881395 feat(api): add create and update product routes with authentication
refactor(admin): integrate router refresh after product updates in forms
fix(imports): update fetch paths for product creation and update in ReceiptImportClient
2026-04-19 18:12:29 +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 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 84b49bc186 feat(docs): update NEXT_STEPS, README, and TEKNISK_BESKRIVNING with new features and improvements 2026-04-17 23:20:21 +02:00
Nils-Johan Gynther a763f65654 feat(categories): add category seeding functionality and update deployment script 2026-04-17 22:57:53 +02:00
Nils-Johan Gynther a81bd6b460 docs: update README, NEXT_STEPS, and technical description for category feature and auth 2026-04-17 22:39:57 +02:00
Nils-Johan Gynther 11de0191be feat: add container naming conventions and usage examples to technical documentation 2026-04-17 18:20:50 +02:00
Nils-Johan Gynther 3f6d32ae44 docs: uppdatera README/TEKNISK_BESKRIVNING och lagg till NEXT_STEPS 2026-04-15 22:19:37 +02:00
Nils-Johan Gynther a2038ffbec feat: Enhance recipe import functionality with support for PDF, image, and URL inputs 2026-04-14 22:48:57 +02:00
Nils-Johan Gynther e90fd2d670 feat: Enhance README and technical description with quick-import module details and parser architecture 2026-04-12 17:09:40 +02:00
Nils-Johan Gynther 4f183df711 feat: Implement quick import feature for recipes
- Added QuickImportController and QuickImportService to handle recipe imports from URLs and file paths.
- Created QuickImportModule to encapsulate the quick import functionality.
- Developed frontend ImportFilePage for users to upload files or enter URLs for recipe import.
- Integrated API proxy to communicate with the backend for quick import requests.
- Implemented WriteRecipePage for users to manually input recipes with Markdown support.
- Added page routing for the new import and write recipe functionalities.
2026-04-12 07:41:18 +02:00
Nils-Johan Gynther ea971c2f63 Enhance README and TEKNISK_BESKRIVNING with detailed features, API endpoints, and Markdown import process for Recipe App 2026-04-12 07:26:20 +02:00
Nils-Johan Gynther 5c5177432d refactor: update Dockerfile stages for improved build process and add converter dependency 2026-04-11 17:43:34 +02:00
Nils-Johan Gynther 5448da1b98 New import in version 0.1 2026-04-11 15:38:24 +02:00
Nils-Johan Gynther a63e84ce06 Add technical documentation for Recipe App, including overview, version info, frontend and backend features, infrastructure, and API endpoint 2026-04-10 2026-04-10 19:26:06 +02:00