Commit graph

214 commits

Author SHA1 Message Date
Karl M'muller
acdc8fe365 Merge branch '35-update-assets' into 'develop'
feat: ✨ update IAA assets

Closes #35

See merge request ldc-web/projets/ovoteam!38
2026-10-09 07:54:53 +00:00
Corentin Huet
858711fa4f feat: ✨ update IAA assets 2026-10-06 15:26:49 +02:00
Noah Lancien
ccaa4de15a fix: 🐛 added url for recipes and products pages 2026-09-28 15:14:52 +02:00
Noix
aa40b8a9e4 Merge branch 'issue-29' into 'develop'
style: 💄 wording and picto for commit page

See merge request ldc-web/projets/ovoteam!32
2026-09-25 14:12:36 +00:00
K Muller
3f5537731d style: 💄 wording and picto for commit page 2026-09-25 16:11:20 +02:00
Noah Lancien
27c3d0e87e ci: Use 8.5 + node 24 in Dockerfile 2026-09-25 15:58:31 +02:00
Jeremy Munsch
03ffaf5093
refactor: lint fixes 2026-09-25 13:25:27 +02:00
Jeremy Munsch
a9214091c7
chore: npm update 2026-09-25 12:59:50 +02:00
Noix
58b8c7d874 Merge branch 'recipes-and-products' into 'develop'
Closes #22, Closes #23

Closes #22 and #23

See merge request ldc-web/projets/ovoteam!25
2026-09-25 08:50:19 +00:00
a57b100e27
chore: composer update hooks 2026-09-21 13:03:16 +02:00
f60ccf9909
chore: vscode settings 2026-09-21 13:03:00 +02:00
1137b191c5
chore: composer update 2026-09-21 13:02:47 +02:00
79cd52bcd6
chore: eslint fixes 2026-09-21 13:00:42 +02:00
c21a9b334b
fix: add missing front breadcrumb route for recipes 2026-09-21 11:52:41 +02:00
fd5992f65f
chore: modification des traductions pour les pages {recipes,products}.index avec les éléments fournis 2026-09-21 11:52:41 +02:00
36a44f0df3
refactor(ProductController, RecipeController): simplify data handling in store and update methods
Improved clarity by introducing a variable for request data before filling the model.
2026-09-21 11:52:40 +02:00
28f447c8ec
refactor: fron and back recipe - products association 2026-09-21 11:52:40 +02:00
b6d08c8bd1
refactor(CarouselContent): reorganize imports and improve pagination logic 2026-09-21 11:51:20 +02:00
d3014b1ac8
style(MobileSlider): adjust dot indicator sizes and spacing
Updated the height and margin of dot indicators for better visibility and alignment.
2026-09-21 11:50:41 +02:00
2610f91bec
style(vscode): update eslint validation for JavaScript files
Enhanced eslint validation to include 'javascriptreact' and 'typescriptreact' for better linting support.
2026-09-21 11:50:41 +02:00
5a7230ca9a
refactor(Recipes): enhance list formatting for ingredients and preparation steps
Improved the formatList function to convert plain text into structured lists.
2026-09-21 11:50:40 +02:00
04d038a61d
refactor(Recipes): replace 'create' and 'update' with 'viewAny' permission check
Updated permission checks in Create and Edit components to use 'viewAny' instead of 'create' and 'update'.
2026-09-21 11:50:40 +02:00
c0f5ae7a77
refactor(Recipes): simplify Form component structure
Removed unnecessary div wrapper around Form component in Create and Edit pages for cleaner code.
2026-09-21 11:50:40 +02:00
3e4201cb98
style(MobileSlider): adjust dot indicator styles and translation 2026-09-21 11:50:40 +02:00
86b0b3cbe3
style(Products): update button label for product view
Removed trailing '>' from button label for clarity.
2026-09-21 11:50:39 +02:00
822d71c640
refactor: remove unused queue methods and update type hints 2026-09-21 11:50:39 +02:00
33494d0360
refactor: phpcs,phpstan fixes with pint pass 2026-09-21 11:50:39 +02:00
5a24c6c8b7
refactor(Create): remove unused ProductModel import
This change cleans up the code by removing an unused import,
improving readability and maintainability.
2026-09-21 11:50:38 +02:00
026b511015
refactor(AppSidebar): remove unused authService import
Cleaned up the AppSidebar component by removing the unused authService import.
2026-09-21 11:50:38 +02:00
8315650407
style(eslint): update no-unused-vars rules for better clarity
Refine ESLint rules for unused variables to improve code quality.
2026-09-21 11:50:38 +02:00
524cba1070
refactor: eslint fixes 2026-09-21 11:50:37 +02:00
7abc85c3e3
feat(wysiwyg): enhance styling and structure for tiptap component
Updated the tiptap class with improved styles for headings, lists, and other elements.
Applied consistent spacing and formatting to enhance readability and presentation.
2026-09-21 11:47:38 +02:00
108e26f9c0
feat(sanitize): add HTML sanitization utility functions
- Introduced DOMPurify for sanitizing HTML inputs.
- Added `sanitizeRichHtml` and `toSanitizedHtml` functions for safe HTML rendering.
- Updated various components to use the new sanitization methods to prevent XSS attacks.
2026-09-21 11:47:38 +02:00
57a9db1fd5
fix(RecipeController): ensure perPage is at least 1 for pagination
This change prevents potential issues with pagination when there are no recipes.
2026-09-21 11:44:53 +02:00
9fc2690e74
feat(products): add mobile filter functionality and UI enhancements
- Implemented mobile filter toggle and drawer for product filters.
- Added MobileFilterGroup component for better filter management.
- Enhanced UI for active filter chips and search bar.
- Improved layout and styling for better responsiveness.

feat(recipes): introduce mobile filter functionality and UI updates

- Added mobile filter toggle and drawer for recipe filters.
- Created MobileFilterGroup component for recipe filtering.
- Updated layout and styling for improved user experience.
- Enhanced responsiveness for recipe display on mobile devices.
2026-09-21 11:44:53 +02:00
b20846f731
feat(ModelActions): add external link handling for front view actions
Enhance GetAction to open specific routes in a new tab with security attributes.
2026-09-21 11:44:52 +02:00
1ad8c00241
fix(link): update rel attribute to 'noopener noreferrer' for security 2026-09-21 11:44:52 +02:00
a1f8e410fe
feat(routes): add duplicate, restore, and force destroy routes for products and recipes
This update introduces new routes for duplicating, restoring, and force deleting products and recipes, enhancing the management capabilities in the application.
2026-09-21 11:43:40 +02:00
444ee46ac0
refactor(breadcrumbs): update product and recipe edit routes
Refactor breadcrumb generation for product and recipe edit routes
to ensure proper instance checks and improve error handling.
2026-09-21 11:43:39 +02:00
1a7f321cff
refactor: initial Recipes and products implementation ok 2026-09-21 11:43:39 +02:00
1a12569395
feat(directory): update ProductDirectory to use ProductId
- Changed the find method to accept ProductId instead of int.
- Added findBySlug method to retrieve products by slug.
- Updated getCategoryProducts method to return CategoryProducts type.

feat(eloquent): implement findBySlug in EloquentProductDirectory

- Implemented findBySlug method to retrieve products by slug.
- Updated find method to handle ProductId.

feat(dto): enhance CategoryProducts to serialize product IDs

- Updated CategoryProducts to serialize product IDs as strings.

feat(controller): modify ProductController to handle search limits

- Set limitPerCategory to -1 for search functionality.

refactor(model): change Product model ID to UUID

- Changed the id field in Product model to UUID.
- Updated related methods to handle UUIDs.

feat(migration): alter products and recipes tables for UUIDs

- Updated migrations to use UUIDs for primary keys in products and recipes tables.
- Adjusted foreign key constraints in product_recipe table.

feat(route): add route model binding for products

- Implemented route model binding for products using ProductId and slug.

chore(seed): remove CSV import calls from MandatorySeeder

- Removed calls to ImportProductsCsvSeeder and ImportRecipesCsvSeeder.

feat(entity): create ProductId and RecipeId value objects

- Added ProductId and RecipeId classes to encapsulate UUIDs.

feat(frontend): update TypeScript interfaces for products

- Updated TypeScript interfaces to reflect changes in product structure.
2026-09-21 11:43:39 +02:00
1200bfea4c
refactor: product.index page with search 2026-09-21 11:43:38 +02:00
e14c43d82f
refactor(routes): correct Inertia render method for demo route
Updated the Inertia render method for the demo route to ensure consistency in code style.
2026-09-21 11:37:14 +02:00
696bd9ed66
refactor(routes): restructure demo route for production check 2026-09-21 11:37:13 +02:00
028f769dbc
feat(products): add create and edit product pages
- Implemented Create and Edit pages for products with forms.
- Added validation and permissions handling for product actions.
- Introduced new product model and related types for better structure.
- Enhanced sidebar registry to remove auth dependency for link resolution.
- Updated routes to handle precognitive requests for product forms.
2026-09-21 11:36:52 +02:00
4139c25e42
feat(middlewares): add HtmlSanitizer and AuthServiceProvider
- Introduced HtmlSanitizer middleware for input sanitization.
- Added AuthServiceProvider for managing authorization policies.
2026-09-21 11:36:52 +02:00
213d0bb568
refactor: restructure application bootstrap files 2026-09-21 11:36:52 +02:00
43c3d55b72
refactor: products.index and recipes.index pages on Bo 2026-09-21 11:36:51 +02:00
a7992f96c8
chore: npm set package name 2026-09-21 11:36:50 +02:00
e39cd1ac61
chore: no emoji on commit message 2026-09-21 11:35:41 +02:00