Commit Graph

  • e11652412f fix(imports): correct import paths for auth module in admin user routes Nils-Johan Gynther 2026-04-18 09:37:45 +02:00
  • c5ccef2313 feat(auth): implement role-based access control and user management features Nils-Johan Gynther 2026-04-18 09:34:22 +02:00
  • 20330f6410 feat(matplan): enhance shopping list with inventory status indicators and summary Nils-Johan Gynther 2026-04-18 09:13:35 +02:00
  • 10bb96dae8 feat(dtos): add IsInt validation to productId in CreateInventoryDto and UpdateInventoryDto Nils-Johan Gynther 2026-04-18 09:03:38 +02:00
  • fd188a3f95 refactor(inventory): remove unused fields from InventoryItem and update related DTOs Nils-Johan Gynther 2026-04-18 09:01:14 +02:00
  • 6cec7ca6dd feat(seeds): add seed_product_categories.sql for product-category mapping Nils-Johan Gynther 2026-04-18 08:41:57 +02:00
  • 84b49bc186 feat(docs): update NEXT_STEPS, README, and TEKNISK_BESKRIVNING with new features and improvements Nils-Johan Gynther 2026-04-17 23:20:21 +02:00
  • 470763715d fix(deploy): wait for db to be ready before running category seed Nils-Johan Gynther 2026-04-17 23:06:24 +02:00
  • a7fb9a585a feat(products): add UpsertNutritionDto import to products controller Nils-Johan Gynther 2026-04-17 23:01:41 +02:00
  • 5a5c593eac refactor(AdminProductList): remove unused product details and clean up JSX structure Nils-Johan Gynther 2026-04-17 22:58:50 +02:00
  • a763f65654 feat(categories): add category seeding functionality and update deployment script Nils-Johan Gynther 2026-04-17 22:57:53 +02:00
  • 21dc06829a feat(meal-plan): add servings field to MealPlanEntry and update related functionality Nils-Johan Gynther 2026-04-17 22:50:41 +02:00
  • a81bd6b460 docs: update README, NEXT_STEPS, and technical description for category feature and auth Nils-Johan Gynther 2026-04-17 22:39:57 +02:00
  • adcfa97c06 refactor(categories): change controller route from 'api/categories' to 'categories' fix(products): update category fetch logic to ensure data is an array refactor(products): simplify GET handler by integrating authentication directly Nils-Johan Gynther 2026-04-17 22:13:16 +02:00
  • 543059f405 feat(products): restore seed data for product initialization Nils-Johan Gynther 2026-04-17 21:30:53 +02:00
  • ce8e561c03 feat(products): change reset-all endpoint method from DELETE to POST Nils-Johan Gynther 2026-04-17 21:25:42 +02:00
  • e41ee760b9 feat(products): add reset functionality to delete all products and related data Nils-Johan Gynther 2026-04-17 21:22:54 +02:00
  • befa15609a feat(database): add script to reset product data and related tables Nils-Johan Gynther 2026-04-17 21:20:45 +02:00
  • cc8be88462 feat(categories): implement category management with hierarchical structure and update product association Nils-Johan Gynther 2026-04-17 21:16:58 +02:00
  • a9e83544c5 feat(profile): add user profile management with first and last name fields Nils-Johan Gynther 2026-04-17 20:44:23 +02:00
  • 68b29f6d8e feat(recipes): add CreateRecipeClient component for quick recipe import refactor(recipes): integrate Navigation component into various recipe pages Nils-Johan Gynther 2026-04-17 20:37:48 +02:00
  • 28e938e66e feat(api): use dynamic import for auth headers in fetchJson function Nils-Johan Gynther 2026-04-17 20:29:52 +02:00
  • 8b9ec31dee fix(api): handle 401 responses by redirecting to login Nils-Johan Gynther 2026-04-17 20:26:28 +02:00
  • 5179e5c5be feat(api): enhance fetchJson to include authentication headers for server requests Nils-Johan Gynther 2026-04-17 20:19:42 +02:00
  • 5bc2b60176 feat(user): add ownedProducts relation to User model Nils-Johan Gynther 2026-04-17 20:06:44 +02:00
  • 06438b77e5 fix(auth): update backend URL and API endpoint for authentication Nils-Johan Gynther 2026-04-17 20:05:18 +02:00
  • 7afa1ee3c4 feat(login): implement LoginForm component with improved error handling and styling Nils-Johan Gynther 2026-04-17 20:01:25 +02:00
  • 6e94f1f7a8 fix(login): safely access callbackUrl from searchParams Nils-Johan Gynther 2026-04-17 19:59:37 +02:00
  • e06d05e8db feat(auth): refactor sign-out functionality and update import paths Nils-Johan Gynther 2026-04-17 19:58:45 +02:00
  • ce0cc6fbf0 feat(auth): implement user authentication with JWT and NextAuth Nils-Johan Gynther 2026-04-17 19:57:08 +02:00
  • 4c0411a7f2 feat: enhance RecipeDetailClient with portion section and instructions styling Nils-Johan Gynther 2026-04-17 19:05:09 +02:00
  • 8d1584cdb8 feat: add API routes for GET, PATCH, and DELETE operations on recipes Nils-Johan Gynther 2026-04-17 19:01:09 +02:00
  • 8e0aed032c feat: add servings field to Recipe model and implement inventory comparison functionality Nils-Johan Gynther 2026-04-17 18:48:08 +02:00
  • 8a86b0aebd refactor: remove unused inputStyle and clean up EditProductForm component Nils-Johan Gynther 2026-04-17 18:25:10 +02:00
  • 11de0191be feat: add container naming conventions and usage examples to technical documentation Nils-Johan Gynther 2026-04-17 18:20:50 +02:00
  • a4ea9be7a1 feat: enhance product model with subcategory, brand, tags, and nutrition; update related DTOs and services Nils-Johan Gynther 2026-04-17 18:11:06 +02:00
  • a05d907608 feat: update NEXT_STEPS.md with status overview and prioritized improvements Nils-Johan Gynther 2026-04-17 16:21:19 +02:00
  • 4474c4da01 feat: implement import functionality with tab navigation for receipts and invoices Nils-Johan Gynther 2026-04-16 21:39:23 +02:00
  • 2a0da005ff feat: add receiptName field to InventoryItem model and update related DTOs and service Nils-Johan Gynther 2026-04-16 21:22:34 +02:00
  • af88a0dc81 feat: implement receipt alias functionality with CRUD operations and integrate with receipt import Nils-Johan Gynther 2026-04-16 21:06:16 +02:00
  • b8744f625b feat: enhance receipt import to support PDF files with updated UI and backend processing Nils-Johan Gynther 2026-04-16 20:22:27 +02:00
  • a12abe0402 feat: add receipt import functionality with UI and backend integration Nils-Johan Gynther 2026-04-16 20:02:57 +02:00
  • 88d3c4ad73 fix: correct import paths in MealPlanPage component Nils-Johan Gynther 2026-04-16 19:38:25 +02:00
  • 1b82b02021 feat: implement meal planning feature with CRUD operations and UI integration Nils-Johan Gynther 2026-04-16 19:37:09 +02:00
  • 8b12df4aa4 feat: update NEXT_STEPS.md with unit test details and add npm test to Dockerfile Nils-Johan Gynther 2026-04-16 19:30:01 +02:00
  • 3d610fa4ec fix: add missing newline at end of package.json Nils-Johan Gynther 2026-04-16 19:25:33 +02:00
  • 9292e30abc feat: add tests for normalizeName and RecipesService methods, including unit conversion and alias normalization Nils-Johan Gynther 2026-04-16 19:22:14 +02:00
  • 1b9df4d20d feat: add API route for serving images with path validation Nils-Johan Gynther 2026-04-16 19:10:06 +02:00
  • 3f4fe890df feat: update Recipe model to use TEXT type for description and add seed data for products Nils-Johan Gynther 2026-04-16 18:53:48 +02:00
  • 66003f2485 feat: enhance PantryList and BaslagerPage to support inventory display and improve recipe grid layout Nils-Johan Gynther 2026-04-16 18:44:44 +02:00
  • 1ddce5f48c feat: initialize state for image URL in WriteRecipePage component Nils-Johan Gynther 2026-04-16 18:26:09 +02:00
  • 195d1ddbc6 feat: add support for prefilled image URL in recipe creation and display Nils-Johan Gynther 2026-04-16 18:24:44 +02:00
  • d5b360fd62 Refactor logging in IcaRecipeParser and QuickImportService to use NestJS Logger Nils-Johan Gynther 2026-04-16 18:18:27 +02:00
  • 3f6d32ae44 docs: uppdatera README/TEKNISK_BESKRIVNING och lagg till NEXT_STEPS Nils-Johan Gynther 2026-04-15 22:19:37 +02:00
  • 719c291e36 fix: TS2322 null not assignable to string | undefined i products.service Nils-Johan Gynther 2026-04-15 22:13:37 +02:00
  • 940c8b52ee fix: saknad POST /api/recipes proxy och revalidatePath for admin/products Nils-Johan Gynther 2026-04-15 22:11:57 +02:00
  • 47d1aafd9e feat: PantryItem (Baslager) - tabell, backend-modul och frontend-sida Nils-Johan Gynther 2026-04-15 22:06:40 +02:00
  • 65ec74ac7d feat: redigeringsformulär för produkter i admin med namn, canonical name, kategori och mjukradering Nils-Johan Gynther 2026-04-15 22:02:58 +02:00
  • 3d279bb78c data: lägg till matvaror_sverige.csv och seed_products.sql Nils-Johan Gynther 2026-04-15 21:46:01 +02:00
  • 5f6b9261f2 fix: ersätt partial migration med fullständigt initial schema Nils-Johan Gynther 2026-04-15 21:32:16 +02:00
  • ed732ea4e6 fix: använd NEXT_PUBLIC_API_URL_INTERNAL i quick-import-proxy Nils-Johan Gynther 2026-04-15 21:25:20 +02:00
  • 2932e58531 fix: nedgradera Prisma till 6.12.0, Prisma 7 kräver driver adapters för MySQL Nils-Johan Gynther 2026-04-15 21:20:35 +02:00
  • 1844368cf8 fix: återställ url i schema.prisma, ta bort ogiltig datasourceUrl från constructor Nils-Johan Gynther 2026-04-15 21:14:48 +02:00
  • d5cb8d27e0 fix: add type assertion for datasourceUrl in PrismaService constructor Nils-Johan Gynther 2026-04-15 21:10:44 +02:00
  • 3bfd7640cb fix: remove global npm installation from Dockerfiles Nils-Johan Gynther 2026-04-15 21:08:07 +02:00
  • 649f76fa72 fix: update PrismaService constructor to include datasourceUrl configuration Nils-Johan Gynther 2026-04-15 21:07:00 +02:00
  • 67aa89ba7e chore: add npm install command in Dockerfiles for both backend and frontend Nils-Johan Gynther 2026-04-15 21:05:22 +02:00
  • ba6ac036b5 fix: remove datasource configuration from PrismaService constructor Nils-Johan Gynther 2026-04-15 21:03:24 +02:00
  • 5d80dfef6f fix: update PrismaService constructor to use correct datasource format and include prisma.config.ts in Dockerfile Nils-Johan Gynther 2026-04-15 21:01:49 +02:00
  • c9ef587eb1 feat: add Prisma configuration file and update Dockerfile to include it Nils-Johan Gynther 2026-04-15 20:53:45 +02:00
  • 944a670a84 chore: städa .env, uppdatera Prisma till 7.7.0 Nils-Johan Gynther 2026-04-15 20:46:36 +02:00
  • 9ae263e77e chore: add .env for server bottstrap Nils-Johan Gynther 2026-04-15 20:21:33 +02:00
  • 2e7c849687 fix: update Dockerfile CMD to retry Prisma migration on failure Nils-Johan Gynther 2026-04-15 20:15:08 +02:00
  • 29d4cef688 feat: update Docker Compose configuration and add deployment script Nils-Johan Gynther 2026-04-15 20:06:20 +02:00
  • 8efd9f6e1e fix: update parameter type in POST function to use Promise for id Nils-Johan Gynther 2026-04-15 19:53:15 +02:00
  • c20391bf2a refactor: simplify EditRecipeRedirect component by removing unused code Nils-Johan Gynther 2026-04-15 19:51:51 +02:00
  • 73bf5193c4 feat: add image handling to recipes Nils-Johan Gynther 2026-04-15 19:46:50 +02:00
  • a2038ffbec feat: Enhance recipe import functionality with support for PDF, image, and URL inputs Nils-Johan Gynther 2026-04-14 22:48:57 +02:00
  • ea5f97ab82 chore: Add missing image and pull_policy configurations for frontend and API services in Docker Compose Nils-Johan Gynther 2026-04-14 22:44:25 +02:00
  • f50b4901f5 feat: Add health checks for frontend, API, and database services in Docker Compose Nils-Johan Gynther 2026-04-14 22:39:06 +02:00
  • a118a2ff11 chore: Update Dockerfile paths and add .dockerignore files for backend and frontend Nils-Johan Gynther 2026-04-14 22:35:10 +02:00
  • 4a241c1cb9 refactor: Remove PDF parser and quick import controller/service implementations Nils-Johan Gynther 2026-04-14 22:28:37 +02:00
  • 1ce1318bf5 feat: Implement PDF recipe parser and quick import service for file and URL inputs Nils-Johan Gynther 2026-04-14 22:24:28 +02:00
  • e90fd2d670 feat: Enhance README and technical description with quick-import module details and parser architecture Nils-Johan Gynther 2026-04-12 17:09:40 +02:00
  • 8fe9a7a4d2 fix: Adjust grid layout for review step to maintain consistent column structure Nils-Johan Gynther 2026-04-12 11:12:45 +02:00
  • b795bbfc71 feat: Update ingredient units and improve layout responsiveness across various components Nils-Johan Gynther 2026-04-12 11:08:15 +02:00
  • 3d4994f24d feat: Enhance ingredient parsing to support mixed fractions and add description extraction in recipe parsers Nils-Johan Gynther 2026-04-12 10:50:59 +02:00
  • 9ca7fcce96 feat: Add optional note field to ingredient parsing and update related components Nils-Johan Gynther 2026-04-12 10:30:05 +02:00
  • 03727ee3c5 feat: Implement auto-parsing of markdown in WriteRecipePage with error handling Nils-Johan Gynther 2026-04-12 10:06:51 +02:00
  • a028b8ce3a feat: Enhance recipeToMarkdown to include source URL in output Nils-Johan Gynther 2026-04-12 09:47:09 +02:00
  • 0e18f382c8 fix: Add type annotations for better type safety in recipe parsers Nils-Johan Gynther 2026-04-12 09:41:35 +02:00
  • 4e2616fe2e feat: Implement site-specific recipe parsers for ICA and generic fallback Nils-Johan Gynther 2026-04-12 09:39:32 +02:00
  • 2c92e07d39 fix: Update backend URL in QuickImportProxy to use the correct API endpoint Nils-Johan Gynther 2026-04-12 09:29:15 +02:00
  • 4d3873c9e4 refactor: Clean up and standardize JSX structure in MergePreviewForm component Nils-Johan Gynther 2026-04-12 09:08:24 +02:00
  • a76fc5ecc5 fix: Correct structure of expandable section in MergePreviewForm component Nils-Johan Gynther 2026-04-12 09:01:42 +02:00
  • c814fbdddf refactor: Enhance logging in QuickImportProxy for better debugging Nils-Johan Gynther 2026-04-12 08:48:27 +02:00
  • ea307e6a6c feat: Add expandable section for creating products with integrated product form Nils-Johan Gynther 2026-04-12 08:29:28 +02:00
  • f84ee39197 refactor: Simplify Dockerfile by removing recipe-document-converter build stage and update package.json to remove its dependency Nils-Johan Gynther 2026-04-12 08:15:55 +02:00
  • 730168d237 refactor: Update Dockerfile to copy built recipe-document-converter for proper dependency resolution Nils-Johan Gynther 2026-04-12 08:06:50 +02:00
  • ddfb126b98 refactor: Adjust Dockerfile to copy recipe-document-converter before npm install for proper dependency resolution Nils-Johan Gynther 2026-04-12 07:59:28 +02:00