No description
Find a file
2025-07-15 09:45:07 +02: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: block email update on customers profile (caused CRM bug) 2025-07-11 11:33:01 +02:00
bootstrap init project 2020-07-23 10:29:36 +02:00
config feat: ✨ update schema org to pass search google and schema org validations 2025-06-16 09:50:19 +02:00
database feat: ✨ add ratings functionnalities #261 2025-06-24 15:53:48 +02:00
public fix: 🐛 remove width 50% on td 2025-07-09 16:27:46 +02:00
resources fix: removed unused attributes for email field in customer form 2025-07-11 16:18:18 +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: Add REDIS Scheme 2025-02-14 14:41:28 +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 feat: ✨ add tdf page 2025-04-24 13:08:52 +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: ✨ add uwil/laravel-redirections #260 2025-06-19 13:07:07 +02:00
composer.lock feat: ✨ add ratings functionnalities #261 2025-06-24 15:53:48 +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 chore: ⬆️ bump CICD deps 2025-06-17 13:09:48 +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 Merge branch 'le-gaulois-2024' into trunk 2024-07-16 15:42:39 +02:00
README.md docs: added Meilisearch commands to the README 2025-06-20 09:51:29 +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"