No description
Find a file
2026-01-22 17:43:24 +01:00
.gitlab/issue_templates add phpstan and fix all errors 2024-01-30 10:58:39 +01:00
.vscode update settings color 2024-04-09 12:38:19 +02:00
app fix: move crm subject management from front to controller in contact form 2025-12-30 15:33:23 +01:00
bootstrap init project 2020-07-23 10:29:36 +02:00
config feat: ✨ send claim to crm 2025-09-17 11:20:17 +02:00
database feat: ✨ add consent page 2025-11-07 11:06:31 +01:00
public feat: modif color NL + asset NL 2026-01-22 17:43:24 +01:00
resources fix: move crm subject management from front to controller in contact form 2025-12-30 15:33:23 +01:00
routes feat: ✨ add consent page 2025-11-07 11:06:31 +01:00
storage init laravel 10 2024-01-10 14:49:46 +01:00
tests feat: ✅ add uwil laravel unit tests 2024-10-24 08:45:29 +00: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 feat: Bump Admin Secure Laravel 2026-01-09 15:33:30 +01:00
.eslintrc.json init laravel 10 2024-01-10 14:49:46 +01: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
artisan init laravel 10 2024-01-10 14:49:46 +01:00
composer.json feat: Bump Admin Secure Laravel 2026-01-09 15:33:30 +01:00
composer.lock feat: Bump Admin Secure Laravel 2026-01-09 15:33:30 +01:00
Dockerfile feat: Bump composer version 2025-12-19 10:20:56 +01: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 Merge branch 'develop' of lab.s-web.fr:ldc-web/projets/le-gaulois into develop 2026-01-09 15:33:40 +01:00
package-lock.json feat: ✨ add ratings functionnalities #261 2025-06-24 15:53:48 +02:00
package.json feat: ✨ add ratings functionnalities #261 2025-06-24 15:53:48 +02:00
phpcs.xml fix: 🚨 resolve phpcs/phpstan errors (except fixme notes) 2025-06-11 09:59:07 +02:00
phpstan.neon fix phpstan config & eslint errors 2024-05-22 11:33:17 +02:00
phpunit.xml feat: ✅ add uwil laravel unit tests 2024-10-24 08:45:29 +00: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
staging-resources.yaml ci: added staging-resources.yaml 2025-10-09 13:29:17 +02:00
tsconfig.json init laravel 10 2024-01-10 14:49:46 +01:00
vite.config.ts fix: import departments.json directly in the Vue component instead of an ajax call 2024-11-20 10:46:15 +01: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"