No description
Find a file
2026-10-13 11:34:55 +02:00
.gitlab/issue_templates add phpstan and fix all errors 2024-01-30 10:58:39 +01:00
.husky build: switched to vite 8 2026-09-23 15:11:49 +02:00
.vscode fix: refactor tons of trash in order to fix compilation 2026-09-23 17:17:57 +02:00
app refactor: ♻️ fix menu Link built before routes are registered #430 2026-09-29 11:54:37 +02:00
bootstrap refactor: pint pass 2026-09-25 16:25:31 +02:00
config refactor: pint pass 2026-09-25 16:25:31 +02:00
database fix: 409 migration fix 2026-09-29 11:24:24 +02:00
public fix: 🐛 adjust font-size and fix 404 links 2026-10-09 16:49:41 +02:00
resources feat: modify the menu behavior 2026-10-13 11:34:55 +02:00
routes refactor: pint pass 2026-09-25 16:25:31 +02:00
storage init laravel 10 2024-01-10 14:49:46 +01:00
tests refactor: pint pass 2026-09-25 16:25:31 +02:00
.browserslistrc Bump latest base project evos 2024-02-20 10:40:31 +01:00
.dockerignore fix: Fix Dockerfile 2024-10-24 11:36:55 +02:00
.editorconfig init laravel 10 2024-01-10 14:49:46 +01:00
.env.example refactor: local binary renderer implementation for mail tester 2026-09-25 11:11:58 +02:00
.gitattributes init laravel 10 2024-01-10 14:49:46 +01:00
.gitignore Merge branch 'crm-claim' into 'develop' 2025-09-17 09:24:12 +00:00
.gitlab-ci.yml fix: Fix gitlab ci config 2024-10-24 12:35:19 +02:00
.stylelintrc.json init laravel 10 2024-01-10 14:49:46 +01:00
_ide_helper.php chore: add ide helper 2026-09-25 16:18:53 +02:00
artisan init laravel 10 2024-01-10 14:49:46 +01:00
commitlint.config.js build: switched to vite 8 2026-09-23 15:11:49 +02:00
composer.json chore: add ide helper 2026-09-25 16:18:53 +02:00
composer.lock chore: add ide helper 2026-09-25 16:18:53 +02:00
Dockerfile build: fix mjml library docker image compilation (static compilation) 2026-09-25 12:21:30 +02:00
eslint.config.js build: eslint fix 2026-09-23 15:11:51 +02:00
jsconfig.json init laravel 10 2024-01-10 14:49:46 +01:00
k8s-queues.sh fix: ts-2212 specify queue connection for jobs and fix config call 2024-11-20 10:08:19 +01:00
manifest.yaml build: make usage of APP_GLOBAL_OVH_REDIS_SCHEME on manifest 2026-09-29 11:41:17 +02:00
package-lock.json fix: refactor tons of trash in order to fix compilation 2026-09-23 17:17:57 +02:00
package.json fix: refactor tons of trash in order to fix compilation 2026-09-23 17:17:57 +02:00
phpcs.xml fix: 🚨 resolve phpcs/phpstan errors (except fixme notes) 2025-06-11 09:59:07 +02:00
phpstan.neon chore: update phpstan config 2026-09-25 16:14:31 +02:00
phpunit.xml refactor: add checks on AxeptaOrder + tests 2026-06-23 16:12:23 +02:00
pint.json fix: remove forcce strict types from pint config as LGL is not ready yet 2026-09-25 16:24:58 +02:00
production-resources.yaml fix: Fix redirects domaines ssl challenge 2025-10-16 12:54:47 +02:00
README.md fix: Fix messages and related notification on club 2025-12-08 14:53:43 +01:00
RGPD.md docs: 📝 Removed activity_logs content + updated contact part from RGPD.md 2026-05-29 12:19:51 +00:00
staging-resources.yaml ci: 👷 Re-add middleware to restrict staging access to ldc network 2026-06-24 16:11:37 +02:00
tsconfig.json fix: refactor tons of trash in order to fix compilation 2026-09-23 17:17:57 +02:00
vite.config.ts fix: mjml mail compilation 2026-09-23 15:11:50 +02:00

Le Gaulois

Features

Club

Messages et Notifications

Page : /club/notifications

Les notifications de l'utilisateur connecté (Customer) sont affichées par date de création (created_at), du plus récent au plus ancien (DESC)

Au clic sur une notification de type message, nous sommes redirigé vers /club/messages?m=[MESSAGE ID]

Page : /club/messages?m=[MESSAGE ID]

Les messages sont affichés du plus récent au plus ancien.

Au clic sur une conversation, un call (DELETE /club/conversations/mark-as-read) est fait pour set comme "lues", les notifications des messages de la conversation séléctionnée.

Crons

Tous les jours à 14:15, lancement du job DeleteOldMessages qui supprime tous les messages dont la date de mise à jour (updated_at) est supérieur à 30 jours ainsi que les notifications dont le type est message dont la date de mise à jour (updated_at) est supérieur à 30 jours.

Optimiser Images

PNG

apt install imagick convert -colors 256 -depth 8 +dither bg-footer-ori.png bg-footer-test.png https://compresspng.com/

Autre

apt install trimage

Copy paste from the admin secure readme.md

Put every min in PROD :

php artisan schedule:run

Unit tests

Create new .env.testing with a new empty database le-gaulois-testing and just run this command :

php artisan test

To see more details, please read the documentation of uwil/unit-tests-laravel

Legend : ✅ test added & operational, ⚠️ test added & operational but modified, ❌ no test (because no CRUD or specific model)

Models list :

✅ ActivityLog
⚠️ Approach (label/demarche)
❌ BlockList
✅ BrandAdvantage
❌ Breeder
✅ Claim
✅ ConsumptionMoment
❌ Customer
❌ DeliveryAddress
✅ DemarcheSlide
❌ DepartaimantsCollection
✅ Discount
❌ GeneralSetting
✅ HistoricalMilestone
❌ IncoNutritionalValue
✅ KeyNumber
✅ MainSlide
✅ Meat
⚠️ MenuNodeData
❌ Message
⚠️ News
✅ NewsBreeding
✅ NewsCategory
⚠️ NewsClub (News/Survey)
✅ NewsCorporate
❌ Notification
✅ Offer
❌ Order
❌ OrderSellItem
✅ Product
✅ ProductType
✅ Profession
✅ Range
✅ Recipe
✅ SellItem
✅ StaticPage
✅ Submeat
✅ Subrange
✅ SurveysAnswer
✅ Testimonial
❌ User
✅ Video

Meilisearch

When deploying, if there any modification to a concerned Model, you may refresh Meilisearch cache. Concerned models are :

  • News
  • NewsBreeding
  • Product
  • Recipe
php artisan scout:flush "\App\Models\News"
php artisan scout:import "\App\Models\News"
php artisan scout:flush "\App\Models\NewsBreeding"
php artisan scout:import "\App\Models\NewsBreeding"
php artisan scout:flush "\App\Models\Product"
php artisan scout:import "\App\Models\Product"
php artisan scout:flush "\App\Models\Recipe"
php artisan scout:import "\App\Models\Recipe"