Commit graph

75 commits

Author SHA1 Message Date
Alexis Gousseau
c4d45c2501
fix: 🚨 resolve phpcs errors 2026-03-31 15:25:55 +02:00
Vincent BRIDIER
ff3550893a fix: Fix Claim interface 2025-12-19 08:52:46 +01:00
Noah Lancien
0aea086f26 fix: make the export feature more generic 2025-12-01 16:23:45 +01:00
Noah Lancien
2b240ed4ca fix: move uploaded claims files to private storage + use .zip for some exports types 2025-11-27 16:19:48 +01:00
Alexis Gousseau
16e4e4ee19
fix: 🐛 update claim customer relation with hashcode 2025-10-07 11:32:02 +02:00
Alexis Gousseau
09414e228f
fix: 🚑 update casting model_id column 2025-09-08 14:25:11 +02:00
Alexis Gousseau
93331aaca1
fix: 🚑 force cast to string for model_id column 2025-09-03 10:39:29 +02:00
Alexis Gousseau
b9f43428d8
fix: 🐛 call the cache reset method on every model event for the claim subject and template 2025-08-25 14:25:38 +02:00
Alexis Gousseau
351126ebf8
fix: 🐛 update answer cache and cascade delete 2025-08-07 17:41:07 +02:00
Alexis Gousseau
36494a7944
feat: ✨ add brand fields (logo/domain/url/url_claim) 2025-08-07 17:40:37 +02:00
Alexis Gousseau
76cc3a5cd8
fix: ✅ pass all tests with client up to date 2025-08-05 15:30:34 +02:00
Alexis Gousseau
978cfc2109
fix: 🔥 remove rennokki/laravel-eloquent-query-cache package 2025-08-05 14:12:05 +02:00
Alexis Gousseau
8caaff989c
feat: ✨ adding a field to associate brands with users 2025-08-05 12:37:46 +02:00
Alexis Gousseau
fff623144a
fix: 🐛 standardize ID extraction using modelKeys() instead of pluck('id') 2025-08-05 09:49:31 +02:00
Alexis Gousseau
281d23b03e
feat: ✨ add cache on models 2025-08-04 16:03:46 +02:00
Alexis Gousseau
7df0fe4634
feat: ✨ add claim subjects crud 2025-08-04 16:03:45 +02:00
Alexis Gousseau
ced124b60e
feat: ✨ add claims bo interface 2025-08-04 16:03:38 +02:00
Alexis Gousseau
187b96fbaf
feat: ✅ add claims api route and tests for V4 2025-07-28 09:08:01 +02:00
Alexis Gousseau
a3a84446f8
feat: 🗃️ add claims tables, seeder and relations 2025-07-28 09:07:54 +02:00
Vincent BRIDIER
af090bbef7 Merge branch 'update' into 'develop'
chore: 🔖 release v4.1.0

Closes #41

See merge request ldc-web/projets/crm!33
2025-07-25 12:54:21 +00:00
Alexis Gousseau
c828952e7b
feat: 🛂 change BO Auth for SAML #42 2025-07-25 11:41:52 +02:00
Alexis Gousseau
89609454ad
feat: ✨ segmentation optins with answers #41 2025-07-25 09:44:40 +02:00
Alexis Gousseau
64d4397c0c fix: 🔥 remove double call of methods on store service #24 2025-06-03 11:23:48 +02:00
Alexis Gousseau
6ca2fe1779 fix: 🎨 improve methods prototype 2025-04-23 10:57:33 +02:00
Alexis Gousseau
031d2b25b5 fix: 🚨 resolve some phpcs errors 2024-09-09 15:26:35 +02:00
Noah Lancien
e6135ab857 fix: Replaced sync by detach/attach in answers store/update 2024-08-12 19:04:17 +02:00
Jérémy Munsch
23c9efdb22
phpcs 2023-10-06 16:37:31 +02:00
Jérémy Munsch
e96da4a22a
Hudge bump to LaravelBaseProject 2023-10-06 16:37:30 +02:00
Alexis Gousseau
303834bbca
Crm V4
- Make all tests pass Client (V4),CRMV2,CRMV4
- Simplify client submodule path
- Move App_url to .env.testing
2023-10-06 16:37:29 +02:00
Alexis Gousseau
764d0b2043
bump laravel 10 - issue Closes #19 2023-10-06 16:33:22 +02:00
Jérémy Munsch
cb65aba6c9
Update artisan user:create command
(cherry picked from commit e6cf237fa4ba116b1cb57a496a2fee00ecea6f97)
2023-06-30 15:04:45 +02:00
Jérémy Munsch
78a166af00
Add Api Remove single optin using hashcode 2023-06-30 14:59:48 +02:00
Jérémy Munsch
97f9f49f2e
Evolution Set hashcode as PK on single optins 2023-06-30 14:59:47 +02:00
Jérémy Munsch
b65ad8c19e
Correction typages 2023-06-30 14:59:07 +02:00
Alexis Gousseau
3feea553dc update dockblocs 2023-06-23 17:18:59 +02:00
Alexis Gousseau
619260a9ed fix construct service model 2023-06-19 13:01:13 +02:00
Alexis Gousseau
cc716cff12 remove crud policies + clean project 2023-06-16 12:15:03 +02:00
Alexis Gousseau
ff292c6f26 update CRUD brand 2023-06-13 11:05:22 +02:00
Jérémy Munsch
39e71e1965
Fix question crud
- remover answer on create form
- add brand_id onto fillable
- readonly on brand (dont change brand after question create)
- add cascade delete on question

You should create questions the add answers
2022-12-01 17:35:21 +01:00
Vincent BRIDIER
f106ec7a4d
ticket 584 : Fix answer save 2022-03-22 11:47:58 +01:00
Jérémy Munsch
3f88a572e7
Fix Laravel Framework issue with empty inputs string casted to null (Hashmac signature calculation) 2022-03-17 15:21:30 +01:00
81aabdab72
Version 3.0.0
This removes api authentification with token in favor of signature method.
Refactorize code and clean up. It add more unit test plus code coverage
in test/converage.

- Added config.api.timestampTimeout
- Added Helper::signRequest This calculates the request signature
- Added more unit tests and extend code coverage.
- Added rate limiter for web routes
- Added RemoveSpaces Sanitizer on api requests
- Added stress test suite
- Changed AuthServiceProvider api-token to api-hmac
- Changed CustomerSeeder to have at least of customer activated (for unit tests)
- Changed used transation for saveing multiple models
- Changed, in ServiceController generateApiToken to generateServicePassword
- Changed, timestamp has to be send in request with a DateTime format, it also has to a UTC  value
- Composer added brianium/paratest
- Composer update
- Fixed case where removing single optin could be the wrong one (not for the good service)
- Fixed customer delete
- Fixed customer would not be resolved by brand.
- Fixed Really check that request is json checking body content, preventing sending malformed requests
- Remove ApiError::needAuth
- Removed api_token
- Removed ApiController::authenticate
- Removed config.api.tokenTimeout
- Removed Header check or usage because of HAProxy doing weird stuff
- Removed lock files from gitignore
- Removed memcached dependency
- Removed unused questions resources api routes
- Removed workspace file

Migrations
- Added unique index on services.bearer_token
- Changed customer_id on customer_answer is nullable
- Changed services.bearer_pwd length to 312 (the size of the token)
- Dropped services.api_token and service.api_token_date
2022-01-06 12:11:05 +01:00
Jérémy Munsch
4294de1a6d
Remove redis queue and composer spatie/laravel-mix-preload in favor of a queue named "stats" with special supervisor conf 2021-11-05 16:22:36 +01:00
Jérémy Munsch
9f6ae7bd09
Stats graphs 2021-11-03 11:18:19 +01:00
Jérémy Munsch
bccc1fb052
Service Stat with redis
composer require spatie/laravel-rate-limited-job-middleware
2021-10-29 17:32:30 +02:00
Jérémy Munsch
c97b61cc65
Service::incrementStat disaptch after response and on queue stats 2021-10-29 13:55:18 +02:00
Jérémy Munsch
6bd00e78d6
Brand stats part 1 Create and schedule brand stats 2021-10-29 12:53:46 +02:00
Jérémy Munsch
7c26772d69
Customer set bool cast for opt_in 2021-10-26 12:08:37 +02:00
Jérémy Munsch
fd80875410
Change customer status to boolean 2021-10-26 12:01:40 +02:00
Jérémy Munsch
97ccbf0b1e
Fix for country save on Customer info not handling BaseEnom correct exception 2021-10-25 17:57:46 +02:00