Commit graph

194 commits

Author SHA1 Message Date
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
86fdfa5560
fix: not found page 2026-09-21 11:35:41 +02:00
Jeremy Munsch
d29100bb61
refactor: add recipes and products with data migration from sharepoint doc 2026-09-21 11:35:41 +02:00
527a9f7664
chore: add vscode json elements 2026-09-21 11:35:40 +02:00
Jeremy Munsch
e365d93d1f
chore: pint, phpstanconfig phpcs changes 2026-09-21 11:35:40 +02:00
Jeremy Munsch
5e44470cf5
chore: bump to vite 8 and fix compilation issues 2026-09-21 11:35:40 +02:00
Noix
8b85165d42 Merge branch 'fixUrl' into 'develop'
fix: 🐛 url social network

See merge request ldc-web/projets/ovoteam!36
2026-09-17 14:31:33 +00:00
Abdel LAMRANI
377be050da fix: 🐛 url social network 2026-09-15 12:56:19 +02:00
Vincent BRIDIER
f880a72b93 Merge branch 'restrict-demo-route' into 'develop'
fix: 🐛 restrict demo route to local env

See merge request ldc-web/projets/ovoteam!34
2026-09-01 13:05:57 +02:00
Corentin Huet
2ec086c7d7 fix: 🐛 restrict demo route to local env 2026-09-01 12:12:38 +02:00
Karl M'muller
66be9ae6c0 Merge branch 'issue-30' into 'develop'
style: 💄 add picto to commitments

See merge request ldc-web/projets/ovoteam!33
2026-08-20 08:16:42 +00:00
K Muller
f2a59d8356 fix: 🐛 resolve conflicts 2026-08-20 10:14:16 +02:00
Karl M'muller
c3c3af0b03 Merge branch 'issue-31' into 'develop'
style: 💄 add slider product on commitment page

See merge request ldc-web/projets/ovoteam!29
2026-08-20 08:12:13 +00:00
K Muller
76edf3f575 feat: ✨ add labels to range page 2026-08-10 09:40:06 +02:00
Karl M'muller
c7ad4cb2ac Merge branch 'issue-27' into 'develop'
fix: 🐛 missing accent on 'a'

See merge request ldc-web/projets/ovoteam!31
2026-08-07 09:03:02 +00:00
K Muller
0319478cf1 fix: 🐛 missing accent on 'a' 2026-08-07 11:02:16 +02:00
Karl M'muller
af232a5fd7 Merge branch 'issue-27' into 'develop'
style: 💄 change commitments section on homepage

See merge request ldc-web/projets/ovoteam!30
2026-08-06 14:21:35 +00:00
K Muller
0d310b0f23 style: 💄 change commitments section on homepage 2026-08-06 15:09:10 +02:00
K Muller
a2da6b0cce style: 💄 add slider product on commitment page 2026-08-06 10:24:34 +02:00
Karl M'muller
999995dbad Merge branch 'ts-3788' into 'develop'
style: 💄 commitment page content change

See merge request ldc-web/projets/ovoteam!27
2026-08-05 13:39:49 +00:00
Karl M'muller
7a23a63792 Merge branch 'issue-28' into 'develop'
fix: 💄 change wording + social media order

See merge request ldc-web/projets/ovoteam!28
2026-08-05 13:39:16 +00:00