No description
Find a file
noah.lancien b9cd647fcc Merge branch '297-newsletter' into 'develop'
feat: ✨ add newsletter 251112

See merge request ldc-web/projets/le-gaulois!266
2025-11-04 10:30:26 +00: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 Merge branch 'crm-claim' into 'develop' 2025-09-17 09:24:12 +00: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 timestamps to customerables table 2025-09-05 16:44:02 +02:00
public feat: ✨ add newsletter 251112 2025-11-04 10:29:21 +01:00
resources feat: update header/footer logo 2025-10-14 17:30:36 +02:00
routes fix: 🔥 remove unused update ratings route 2025-07-08 12:19:40 +02: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: ✨ send claim to crm 2025-09-17 11:20:17 +02: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 chore: bump crmclient to 4.1.4 2025-09-17 11:20:45 +02:00
composer.lock chore: bump crmclient to 4.1.4 2025-09-17 11:20:45 +02:00
Dockerfile chore: ⬆️ bump CICD deps 2025-06-17 13:09:48 +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 ci: use simple quotes for JSON variable in manifest.yaml 2025-09-17 12:30:19 +02: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 docs: added Meilisearch commands to the README 2025-06-20 09:51:29 +02: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

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"