Commit graph

438 commits

Author SHA1 Message Date
Noah Lancien
38c1d43d2a fix: updated test with latest code updates 2026-10-27 15:52:18 +01:00
Noah Lancien
045e2adac8 chore: 🚨 linters 2026-10-27 15:22:04 +01:00
Noah Lancien
4a741c37b9 feat: ✨ List Campaigns - #50 - US2.3 2026-10-27 15:22:03 +01:00
Noah Lancien
689368109b fix: US2.2 - Review feedbacks - Remove useless tests, rename UpdateCampaign, rewrite failed outputs, rewrite auto unpublish, move campaign availability checker 2026-10-27 14:51:43 +01:00
Noah Lancien
4ff1a6c48a chore: 🚨 linters 2026-10-26 17:10:27 +01:00
Noah Lancien
6c138f4b2c feat: ✨ Publish/Unpublish Campaign - #49 - US2.2 2026-10-26 17:10:25 +01:00
Noah Lancien
cca776dbeb fix: ♻️ Remove generic failed output for US2.1 2026-10-26 17:02:07 +01:00
Noah Lancien
a0160bfa8f fix: set publication default to fasle on campaign creation 2026-10-26 16:25:55 +01:00
Noah Lancien
6444525a49 chore: 🚨 linters 2026-10-22 11:03:48 +02:00
Noah Lancien
54bdd099bb feat: ✨ Create Campaign - #48 - US2.1 2026-10-20 17:39:31 +02:00
Noah Lancien
f80c95479c fix: ♻️ Sprint 4 feedbacks - reorganize outputs, remove useless tests ... 2026-10-20 10:12:52 +02:00
Alexis Gousseau
53fb12f20f Merge branch 'coupon' into 'refonte'
Coupon

See merge request ldc-web/projets/mesbr!57
2026-10-16 16:24:12 +02:00
Alexis Gousseau
56d3a35d0e Merge branch 'printed' into 'coupon'
feat: ✨ add use case create printable coupon + tests

See merge request ldc-web/projets/mesbr!66
2026-10-15 15:48:32 +02:00
Alexis Gousseau
937b516242
fix: 🚨 resolve linters errors 2026-10-15 15:40:13 +02:00
Alexis Gousseau
89854cba4d
feat: ✨ add use case create printable coupon + tests 2026-10-15 15:39:34 +02:00
Alexis Gousseau
3b50f284e8
refactor: ♻️ clean createdAt & updatedAt methods and set them only on Find UseCases 2026-10-14 14:41:21 +02:00
Alexis Gousseau
ec7fc6d719
fix: 🚚 move PeriodTest in global VO tests folder 2026-10-14 14:34:22 +02:00
Alexis Gousseau
f55f4bb628 Merge branch 'printable-coupon' into 'coupon'
feat: 👷 add ListPrintableCoupon Use Case and tests

See merge request ldc-web/projets/mesbr!61
2026-10-14 14:31:17 +02:00
Alexis Gousseau
933cfa48ad
feat: 👷 add ListPrintableCoupon Use Case and tests 2026-10-14 14:29:06 +02:00
Corentin HUET
eb09b6c0e7 Merge branch 'remove-coupon-quantity' into 'coupon'
refactor: ♻️ compute quantity from stock movements

See merge request ldc-web/projets/mesbr!65
2026-10-14 11:02:47 +00:00
Corentin Huet
0dba81c214 refactor: ♻️ compute quantity from stock movements 2026-10-14 11:53:24 +02:00
Corentin HUET
7c8708496a Merge branch 'update-coupon-info' into 'coupon'
feat: ✨ update legal and validity information of a coupon

See merge request ldc-web/projets/mesbr!64
2026-10-14 08:27:08 +00:00
Corentin Huet
5b2da5859b refactor: ♻️ extract diffusion country count check 2026-10-14 10:15:35 +02:00
Corentin Huet
44e3a646a3 fix: 🐛 correct imports and use ean13 processing codes 2026-10-14 09:46:58 +02:00
Corentin Huet
5bb8063999 feat: ✨ update legal and validity information of a coupon 2026-10-14 09:46:58 +02:00
Corentin HUET
3af10943e9 Merge branch 'update-coupon-picture' into 'coupon'
feat: ✨ add use case to update coupon pictures

See merge request ldc-web/projets/mesbr!60
2026-10-14 07:42:57 +00:00
Corentin Huet
620e4ef44c chore: 🚨 resolve linters error 2026-10-14 09:36:42 +02:00
Corentin Huet
8d974b5161 feat: ✨ add use case to update coupon pictures 2026-10-14 09:31:14 +02:00
Corentin HUET
3251e53fa3 Merge branch 'fix-find-coupon' into 'coupon'
Fix find coupon

See merge request ldc-web/projets/mesbr!63
2026-10-13 14:28:45 +00:00
Corentin Huet
6d932429c4 chore: 🚨 resolve pint error 2026-10-13 16:25:13 +02:00
Corentin Huet
b1b7857ddc refactor: ♻️ return brand code instead of brand in coupon details 2026-10-13 16:20:01 +02:00
Alexis Gousseau
d75f132ee1
fix: 🚚 renaming classes that do not belong directly to Coupons 2026-10-13 16:13:01 +02:00
Alexis Gousseau
c3a3d1cb83 Merge branch 'coupon-list' into 'coupon'
feat: ✨ add ListCoupons Use Case and tests

See merge request ldc-web/projets/mesbr!58
2026-10-13 16:06:55 +02:00
Corentin HUET
6addc3a4fa Merge branch 'fix-coupon-processing-code' into 'coupon'
fix: 🐛 restrict processing code to 13 digits

See merge request ldc-web/projets/mesbr!62
2026-10-13 14:04:14 +00:00
Alexis Gousseau
5c6c1b1222
feat: ✨ add ListCoupons Use Case and tests 2026-10-13 16:04:10 +02:00
Corentin Huet
e4a0ad5b73 fix: 🐛 restrict processing code to 13 digits 2026-10-13 15:56:11 +02:00
Alexis Gousseau
5a3815579d
test: ✅ cover country rules in coupon use case and value objects 2026-10-13 11:34:05 +02:00
Corentin HUET
34273a2fd3 Merge branch 'find-coupon' into 'coupon'
feat: ✨ add use case to find coupon details by code

See merge request ldc-web/projets/mesbr!59
2026-10-13 08:13:32 +00:00
Corentin Huet
cbd5a56e48 feat: ✨ add use case to find coupon details by code 2026-10-13 10:00:57 +02:00
Alexis Gousseau
a21415269c
feat: ✨ add CreateCoupon use case tests and check brand existence when creating a coupon 2026-10-12 17:17:21 +02:00
Alexis Gousseau
680c71ea87
test: ✅ update on coupon Entity and related VO 2026-10-12 17:08:07 +02:00
Alexis Gousseau
fdbde84728
refactor: ♻️ update coupon Entity and related VO 2026-10-12 17:07:56 +02:00
Corentin HUET
4d3c778d17 Merge branch 'changes-after-review' into 'refonte'
Changes after review

See merge request ldc-web/projets/mesbr!56
2026-10-02 15:18:07 +00:00
Corentin Huet
0b7da69567 refactor: ♻️ make sort required in campaign request list 2026-10-02 17:13:05 +02:00
Corentin Huet
5a59a92546 refactor: ♻️ move face value validation to MoneyAmount 2026-10-02 17:00:14 +02:00
Corentin HUET
a2d211814b Merge branch 'common-sprint-2' into 'refonte'
Common sprint 2

See merge request ldc-web/projets/mesbr!39
2026-10-02 10:51:09 +00:00
Corentin Huet
678487aa07 refactor: ♻️ refactor coupon diffusion test 2026-10-02 12:48:00 +02:00
K Muller
871ceade05 fix: 🐛 new structures and fix linters 2026-10-02 12:48:00 +02:00
K Muller
a9147e27c7 fix: 🐛 some fixes on the structure in sprint2 2026-10-02 12:48:00 +02:00
Corentin Huet
567a5cd48e feat: ✨ add campaign request creation use case 2026-10-02 12:48:00 +02:00