Commit graph

12 commits

Author SHA1 Message Date
Corentin Huet
69b63d0aae fix: 🏷️ add Germany to the valid countries 2026-04-09 16:20:57 +02:00
Alexis Gousseau
ded7cd7266
chore: ⬆️ update laravel-common to v4.1.0 2025-09-08 14:59:54 +02:00
Alexis Gousseau
996a0594a7 refactor: ♻️ replace laravel methods by vanilla php #35 2024-10-10 13:58:01 +02:00
Alexis Gousseau
96ea1483f9 fix: 🏷️ add Netherlands to the valid countries 2024-09-09 15:15:42 +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
f2371d97ea
Fixed #905
- handled Country and Phone on customer store and update
- refactorize Country and Phone
2022-06-09 11:09:11 +02: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
030d9698cd
bump to 2.2.1
Repair arcadia send methods + client with unit tests
2021-10-20 15:30:21 +02:00
Jérémy Munsch
420e56097c bump to kwaadpepper/enum 2.0.0 2021-08-13 12:20:02 +02:00
Jérémy Munsch
46a47e822d Some php doc 2021-08-09 08:55:39 +02:00
Jérémy Munsch
6987501a98 CRM API V2 2021-03-27 08:29:31 +01:00