Commit Graph

24 Commits

Author SHA1 Message Date
Nils-Johan Gynther 8b8f8b7b6f Update flyerimport. flutter timeout 300 sek
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 4m58s
Test Suite / flutter-quality (push) Failing after 1m41s
2026-05-19 20:53:39 +02:00
Nils-Johan Gynther 4d2942a8e5 chore(infra): add AI flyer parsing configuration and retry logic
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 2m9s
Test Suite / flutter-quality (push) Failing after 1m19s
- Add FLYER_AI_TIMEOUT_MS and FLYER_AI_RETRIES environment variables
- Configure timeout and retry settings in compose.yml
- Update AiFlyerParserService with configurable timeout and retry logic
- Add text window reduction strategy for retry attempts
- Update documentation in TEKNISK_BESKRIVNING.md
- Fix ESLint configuration in app.security.spec.ts
2026-05-19 20:13:59 +02:00
Nils-Johan Gynther f6ccdd859f ci(github): add linting and improve CI workflow
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 5m14s
Test Suite / flutter-quality (push) Failing after 1m36s
- Add ESLint configuration for backend TypeScript code
- Include linting step in backend quality checks
- Add linting step to GitHub Actions CI workflow
- Enable configurable Prisma query logging via PRISMA_LOG_QUERIES environment variable
- Update PrismaService to support dynamic log levels based on PRISMA_LOG_QUERIES
- Replace BadRequestException with UnauthorizedException in receipt import security tests
2026-05-18 23:01:29 +02:00
Nils-Johan Gynther 6dfd4c372d feat: add recipe-api service definition to docker-compose
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 20:17:24 +02:00
Nils-Johan Gynther ffe50e5151 feat: add TypeScript definitions for next-auth session with accessToken and user details
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 20:09:21 +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 797241f262 feat: migrate import functionality to microservice-importer for quick-import, receipt parsing, and markdown parsing 2026-04-30 20:00:32 +02:00
Nils-Johan Gynther e370062b5c feat: enhance CORS configuration and implement throttling for API endpoints; add admin role checks in controllers 2026-04-21 08:17:44 +02:00
Nils-Johan Gynther f3db5ba51a feat(ai): implement AI models management and configuration in admin panel 2026-04-19 11:07:15 +02:00
Nils-Johan Gynther e55d45c2bf fix(compose): correct indentation for volumes section in recipe-frontend service 2026-04-18 09:47:59 +02:00
Nils-Johan Gynther c4807afc29 fix(compose): correct environment variable formatting and add missing variables 2026-04-18 09:47:16 +02:00
Nils-Johan Gynther ce0cc6fbf0 feat(auth): implement user authentication with JWT and NextAuth
- Added user registration and login functionality with JWT authentication.
- Created auth controller, service, and module in the backend.
- Implemented user model and user products management.
- Integrated NextAuth for session management on the frontend.
- Added middleware for protecting routes and handling public access.
- Updated frontend API routes to include authorization headers.
- Enhanced recipe and user product models to support ownership and visibility.
- Created registration and login pages in the frontend.
- Added necessary types for NextAuth session management.
2026-04-17 19:57:08 +02:00
Nils-Johan Gynther a12abe0402 feat: add receipt import functionality with UI and backend integration 2026-04-16 20:02:57 +02:00
Nils-Johan Gynther 66003f2485 feat: enhance PantryList and BaslagerPage to support inventory display and improve recipe grid layout 2026-04-16 18:44:44 +02:00
Nils-Johan Gynther 29d4cef688 feat: update Docker Compose configuration and add deployment script 2026-04-15 20:06:20 +02:00
Nils-Johan Gynther 73bf5193c4 feat: add image handling to recipes
- Implemented image downloading and optimization in QuickImportService.
- Added imageUrl field to CreateRecipeDto for recipe creation.
- Created an endpoint in RecipesController to update recipe images.
- Enhanced RecipesService to handle image URL updates and optimizations.
- Updated Docker Compose to mount a volume for recipe images.
- Refactored frontend to display images in recipe grids and detail views.
- Added a new utility function for downloading and optimizing images.
- Created a new API route for handling image uploads.
- Introduced RecipeGrid component for better recipe display.
- Updated RecipeDetailClient to manage image updates and display.
- Added migration for new imageUrl column in the Recipe table.
2026-04-15 19:46:50 +02:00
Nils-Johan Gynther ea5f97ab82 chore: Add missing image and pull_policy configurations for frontend and API services in Docker Compose 2026-04-14 22:44:25 +02:00
Nils-Johan Gynther f50b4901f5 feat: Add health checks for frontend, API, and database services in Docker Compose 2026-04-14 22:39:06 +02:00
Nils-Johan Gynther a118a2ff11 chore: Update Dockerfile paths and add .dockerignore files for backend and frontend 2026-04-14 22:35:10 +02:00
Nils-Johan Gynther 2c92e07d39 fix: Update backend URL in QuickImportProxy to use the correct API endpoint 2026-04-12 09:29:15 +02:00
Nils-Johan Gynther 5448da1b98 New import in version 0.1 2026-04-11 15:38:24 +02:00
Nils-Johan Gynther fb68f926b1 Update recipe-api service in compose.yml to use pre-built image instead of build context. ex. recipe-api:local 2026-04-10 17:20:59 +02:00
Nils-Johan Gynther b9d5d87235 Remove unused trace file from the frontend build directory. Updated compose.yml 2026-04-10 17:16:34 +02:00
nilsjohan 962f4e4be5 Recipe-app main 2026-04-09 09:14:39 +02:00