Commit graph

220 commits

Author SHA1 Message Date
Jérémy Munsch
ea2885115d
feat(timeslots): implement GetAvailableTimeslotsQuery and related classes
Added GetAvailableTimeslotsQuery, GetAvailableTimeslotsQueryInput, and GetAvailableTimeslotsQueryOutput
to handle fetching available timeslots for a shop, improving the structure and separation of concerns.
2026-10-27 09:58:37 +01:00
Jérémy Munsch
ecc03eee72
fix(filteredProduct): update nutriscore value retrieval
Ensure the nutriscore value is correctly accessed from the product's inco property.
2026-10-27 09:58:36 +01:00
Jérémy Munsch
46b5413f07
feat(basket): implement add, remove, and empty basket actions
This commit introduces new actions for adding, removing, and emptying items in the basket, along with their corresponding input classes. It also updates the BasketController to utilize these new actions, enhancing the basket management functionality.
2026-10-27 09:58:35 +01:00
Jérémy Munsch
b36d070db1
feat(crm): implement customer password update functionality
Adds the ability for customers to update their passwords through a new action and input/output classes.
2026-10-27 09:58:35 +01:00
Jérémy Munsch
5037154108
feat(crm): implement customer update functionality
Adds UpdateCustomer action, input, and output classes to handle customer information updates.
Integrates with existing services and updates the CustomerController to utilize the new action.
2026-10-27 09:58:34 +01:00
Jérémy Munsch
2aa4fa8aed
feat(crm): implement unsubscribe from newsletter functionality
- Added UnsubscribeFromNewsletter action and input/output classes.
- Introduced CrmHashcode value object and its cast.
- Updated NewsletterController to use the new unsubscribe action.
- Enhanced validation in UnsubscribeNewsletterRequest.
2026-10-27 09:58:34 +01:00
Jérémy Munsch
42bdae01cc
feat: implement pagination using Pagination value object
- Updated DataTableService to accept a Pagination object for pagination parameters.
- Refactored paginateQuery method to utilize pageSize and pageNumber from Pagination.

refactor: replace ActionExecutor with Executor in controller traits

- Updated ChangesModelOrder, TogglesModelStar, and TogglesModelStatus traits to use Executor interface instead of ActionExecutor.

feat: add PictureMetadata and Slug value objects

- Introduced PictureMetadata for managing image metadata with validation.
- Added Slug value object for slug generation and validation.

feat: update breadcrumbs to support RangeDto

- Modified breadcrumbs-bo.php to accept RangeDto in the edit route.

test: add tests for RangesController

- Added tests for accessing, creating, updating, and deleting ranges.
- Included tests for toggling range status.

test: add integration tests for range actions

- Created tests for CreateRange, DeleteRange, and UpdateRange actions.
- Validated input handling and database interactions.

test: add unit tests for range input classes

- Implemented tests for CreateRangeInput and UpdateRangeInput to validate input constraints.

test: add unit tests for value objects

- Added tests for PictureMetadata and Slug to ensure proper validation and instantiation.

test: add unit tests for RangeDto

- Created tests to verify RangeDto mapping from Range model.

test: add unit tests for RangePolicy

- Implemented tests for RangePolicy to validate permissions based on user roles.
2026-10-27 09:58:34 +01:00
Jérémy Munsch
e2e2a357f7
refactor(slides): implement CQS actions, query, DTO, and DatePeriod VO for slides 2026-10-27 09:58:33 +01:00
Jérémy Munsch
1fd2a3a1d8
refactor(pages): implement CQS action, query, DTO, and SeoMetadata VO for pages 2026-10-27 09:58:33 +01:00
Jérémy Munsch
797d1da1b2
refactor(faqs): implement CQS actions, query, and DTO for faqs 2026-10-27 09:58:32 +01:00
Jérémy Munsch
3ac95cc6f8
refactor(common): implement generic actions for controller traits (order, status, star) 2026-10-27 09:58:32 +01:00
Jérémy Munsch
98e580d327
refactor(tags): implement CRUD actions for tags
- Added CreateTag, UpdateTag, and DeleteTag actions.
- Introduced CreateTagInput and UpdateTagInput for input validation.
- Implemented ActionExecutor for executing actions with logging.
- Added tests for all new actions and input validation.
2026-10-27 09:58:30 +01:00
Jérémy Munsch
a1ad396a0e
fix(types): resolve phpstan typing issues in ContactFormRequest and Basket entity 2026-10-27 09:58:28 +01:00
Jérémy Munsch
668aaba1ca
perf(bo): optimize product selection and association queries in BO controllers [AUD-PER-012] 2026-10-27 09:58:26 +01:00
Jérémy Munsch
4676d3de67
sec(contact): persist contact form attachments to private disk before queued mail [AUD-SEC-005] 2026-10-27 09:58:25 +01:00
Jérémy Munsch
d8d745dba9
fix(pickup-exceptions): set default repeat_frequency to WEEKLY
Ensure repeat_frequency is set to WEEKLY when repeatable is false.
2026-10-27 09:58:21 +01:00
Jérémy Munsch
b66fc01013
fix(pickup-exceptions): update repeat_frequency validation rules
Make 'repeat_frequency' nullable and conditionally required based on 'repeatable' status.
2026-10-27 09:58:20 +01:00
Jérémy Munsch
2da418dd01
fix: ProductsController injection of DataTableService 2026-10-27 09:58:15 +01:00
Jérémy Munsch
149edff185
refactor: Closes #123 change the way stats are calculated and fixes employee radiation date 2026-10-27 09:58:15 +01:00
Jérémy Munsch
bc32abb4f1
reafactor(employees): add flash message for no imported or updated lines
Notify users when no lines are imported or updated during the import process.
2026-10-27 09:58:14 +01:00
Jérémy Munsch
58af50b5c5
refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Jérémy Munsch
10d4e9f08b
fix: change product order 2026-10-07 10:31:32 +02:00
Corentin Huet
c9d1b56c2a fix: 🐛 the promotions filter was selected by default 2026-05-11 11:03:07 +02:00
Noix
f7e5296a36 Merge branch '100-discount-filter' into 'develop'
fix: 🐛 update promotion filtering system

See merge request ldc-web/projets/boutique-cnc-sable!82
2026-04-16 14:00:52 +00:00
Corentin Huet
a5dbb9ebc3 fix: 🐛 hide brands for unpublished products 2026-04-09 11:54:52 +02:00
Corentin Huet
0692ec70c5 fix: 🐛 update promotion filtering system 2026-04-09 11:36:15 +02:00
Corentin Huet
1a8b3cff7c refactor: ♻️ remove admin-secure package and integrate middleware 2026-03-03 09:41:26 +01:00
Noah Lancien
06785a3cb8 feat: added boolean to show old price on discounts - #95 2026-02-25 15:27:24 +01:00
Noah Lancien
f9e0448fb6 feat: re-order products with a select system like support-web - #94 2026-02-25 11:05:59 +01:00
Noah Lancien
6e7bbe0681 feat: show only brands with min 1 product - #91 2026-02-25 09:23:16 +01:00
Alexis Gousseau
fcd0a79251 feat: 🗃 add new field to show slide only for connected customers #87 2026-02-04 10:56:10 +01:00
Noah Lancien
f1bb958609 fix: reset view cache when updating settings 2025-11-05 13:02:08 +01:00
Karl
dc8fa4da0b fix: 🐛 error on removeFromCart 2025-07-01 15:44:02 +02:00
Karl Muller
8118d5a3f9 feat: ✨ re-add the stat before the date result on the dashbaord 2025-04-28 13:03:22 +00:00
Karl Muller
79d9061bc9 fix: 🐛 user->id null on SalarieExportJob + add public holiday with cron + condition on public holiday's calendar 2025-02-12 10:29:03 +00:00
Vincent BRIDIER
43fc273663
feat: Update uploads files folder in controllers 2025-01-24 16:44:17 +01:00
Vincent BRIDIER
0366644c4f
fix: Fix check on salarie and customer relation 2025-01-23 15:35:17 +01:00
Vincent BRIDIER
17f0365697 Merge branch 'issue-52' into 'develop'
fix: 📈 update dashboard statistics #52

See merge request ldc-web/projets/boutique-cnc-sable!61
2025-01-16 10:57:20 +00:00
Vincent BRIDIER
de87db2185 Merge branch 'issue-53' into 'develop'
feat: ✨ add new product filter on food products no art in back-end #53

See merge request ldc-web/projets/boutique-cnc-sable!60
2025-01-16 10:49:59 +00:00
Vincent BRIDIER
a0b4dad657 Merge branch 'issue-49' into 'develop'
Issue 49

See merge request ldc-web/projets/boutique-cnc-sable!59
2025-01-16 10:47:55 +00:00
Alexis Gousseau
f454d35960 fix: 📈 update dashboard statistics #52 2025-01-13 15:43:42 +01:00
Alexis Gousseau
e900b85583 feat: ✨ add new product filter on food products no art in back-end #53 2025-01-13 11:09:20 +01:00
Vincent BRIDIER
184da0204b
feat: Replace Regate EAI order transfert by email 2024-11-29 16:49:59 +01:00
Sebastien Hattry
31dac9b33a feat: 💬 add wording 2024-11-28 11:59:18 +01:00
Vincent BRIDIER
e7baad6c14
feat: Authorize all BO roles for user import - ts-2165 2024-11-28 08:33:54 +01:00
Jérémy Munsch
3a3d993d7c
feat: ✨ Closes #46
Add orders filter with: a search bar, date filters
2024-05-15 16:58:17 +02:00
Jérémy Munsch
f15e722588
VAlidate salarie import 2024-04-22 10:37:22 +02:00
Jérémy Munsch
f7dbd18583
rewrite salarie import 2024-04-22 10:00:22 +02:00
noah.lancien
c63f332e15 Added method to unsubscribe a crm customer from newsletter Close #35 2023-10-17 13:32:23 +00:00
noah.lancien
d802f19f40 Replaced kwaadpepper/exception-handler by sentry 2023-08-30 09:01:51 +00:00