Commit graph

8 commits

Author SHA1 Message Date
Imugiii
eb2891238f feat(borne): modale allergenes generale (14 INCO) sur carte et fiche + harnais tests JS (P3)
All checks were successful
CI / secret-scan (pull_request) Successful in 7s
CI / php-lint (pull_request) Successful in 19s
CI / static-tests (pull_request) Successful in 39s
CI / js-tests (pull_request) Successful in 19s
CI / secret-scan (push) Successful in 8s
CI / php-lint (push) Successful in 18s
CI / static-tests (push) Successful in 39s
CI / js-tests (push) Successful in 16s
CI / auto-merge (pull_request) Successful in 4s
CI / auto-merge (push) Has been skipped
PR-C du lot P3. Icone "i" allergenes sur la borne ouvrant une modale GENERALE
listant les 14 allergenes a declaration obligatoire (UE INCO 1169/2011). Info
generale, PAS un calcul par produit (mapping ingredient_allergen reste differe).

- data/allergens.json : les 14 INCO (liste fixe data borne). loadAllergens()
  ajoute a data.js avec point de swap P4 documente (-> /api/allergens).
- allergens.js : module CSP-safe (DOM API, aucun handler inline). buildAllergenInfoButton
  (bouton "i", stopPropagation sur la carte), openAllergenModal (idempotent),
  fermeture par bouton / clic overlay / touche Echap.
- Integration : carte produit (page-products.js) ET fiche produit simple
  (page-product.js) ; CSS modale + badge reutilisant le pattern overlay du composer.

Harnais de tests front (premier du depot) : node:test + jsdom. tests/js/allergens.test.js
couvre les 14 INCO, la construction du bouton, l'ouverture/listing/fermeture et
l'idempotence (7 tests). Scoping ESM local (src/public/borne/assets/js + tests/js)
pour garder la racine en CommonJS (hooks, _byan, bin inchanges). Job CI js-tests
(Node 20 epingle) ajoute aux checks requis de l'auto-merge.
2026-06-17 10:09:31 +00:00
e3d08464bb ci: run DB integration tests against an ephemeral MariaDB service (#21)
Some checks failed
CI / secret-scan (push) Has been cancelled
CI / php-lint (push) Has been cancelled
CI / static-tests (push) Has been cancelled
CI / auto-merge (push) Has been cancelled
2026-06-16 14:19:42 +02:00
c8f5370cfd refactor(core): src/app structure + fix auto-merge label gate (#10)
All checks were successful
CI / secret-scan (push) Successful in 7s
CI / php-lint (push) Successful in 19s
CI / static-tests (push) Successful in 32s
CI / auto-merge (push) Has been skipped
2026-06-15 17:01:10 +02:00
Imugiii
56d0b941e8 ci: install php-xml/php-mbstring for phpunit/phpstan (bookworm php-cli lacks dom/mbstring/xml)
All checks were successful
CI / php-lint (push) Successful in 23s
CI / static-tests (push) Successful in 41s
CI / secret-scan (pull_request) Successful in 13s
CI / secret-scan (push) Successful in 9s
CI / php-lint (pull_request) Successful in 27s
CI / static-tests (pull_request) Successful in 37s
CI / auto-merge (push) Has been skipped
CI / auto-merge (pull_request) Has been skipped
2026-06-15 14:18:10 +00:00
Imugiii
8c93b26ec0 feat(core): from-scratch PHP MVC skeleton (autoloader/config/PDO/router/front controller) + PHPUnit/PHPStan + composer-less CI 2026-06-15 14:13:49 +00:00
5581d2adea ci: opt-in auto-merge job (label-gated, API merge on green) (#7)
All checks were successful
CI / secret-scan (push) Successful in 8s
CI / php-lint (push) Successful in 21s
CI / static-tests (push) Successful in 4s
CI / auto-merge (push) Has been skipped
2026-06-15 15:31:49 +02:00
32ff6a63ba P1 conception: security-by-design layer (Merise 21 entities, Forgejo CI/CD, hardening) (#3)
All checks were successful
CI / secret-scan (push) Successful in 8s
CI / php-lint (push) Successful in 16s
CI / static-tests (push) Successful in 4s
2026-06-15 12:16:11 +02:00
822fdc1bc4 ci: add Forgejo Actions pipeline + gitleaks secret-scan (#2)
All checks were successful
CI / secret-scan (push) Successful in 7s
CI / php-lint (push) Successful in 15s
CI / static-tests (push) Successful in 6s
2026-06-15 12:01:31 +02:00