Commit graph

48 commits

Author SHA1 Message Date
Vincent BRIDIER
b340a252ff
fix: ✅ Fix Unit tests with Carbon major update to v3.* 2025-04-23 10:10:37 +02:00
Alexis Gousseau
2f860b9a42 fix: 🐛 update sanitizer for postal code 2024-09-11 16:32:47 +02:00
Alexis Gousseau
031d2b25b5 fix: 🚨 resolve some phpcs errors 2024-09-09 15:26:35 +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
78a166af00
Add Api Remove single optin using hashcode 2023-06-30 14:59:48 +02:00
Jérémy Munsch
5c770eb9d5
phpcs Change object to full class path in docblock comments 2023-06-30 14:59:00 +02:00
Alexis Gousseau
2d2aae3834 update validations ISO crud policies 2023-06-26 10:13:19 +02:00
Alexis Gousseau
3feea553dc update dockblocs 2023-06-23 17:18:59 +02:00
Alexis Gousseau
9613acf437 fix tests stats 2023-06-20 10:55:01 +02:00
Alexis Gousseau
321d15fc97 fix tests stats 2023-06-20 10:53:38 +02:00
Alexis Gousseau
6934918cd4 update question request translations 2023-06-15 13:15:26 +02:00
Alexis Gousseau
bf87c0162e update CRUD service 2023-06-15 13:07:52 +02:00
Alexis Gousseau
2a55273598 update CRUD answer 2023-06-15 12:30:56 +02:00
Alexis Gousseau
05b4f83009 update CRUD question 2023-06-15 12:28:05 +02:00
Alexis Gousseau
1f7455de5a update CRUD brand v2 2023-06-15 12:24:40 +02:00
Alexis Gousseau
ff292c6f26 update CRUD brand 2023-06-13 11:05:22 +02:00
Jérémy Munsch
e18b685738
Fix max question request 3 months 2022-12-01 18:13:25 +01:00
Jérémy Munsch
9fe08103f4
Fix ArcadiaMail Requests on api Allow phone to be empty string 2022-08-24 15:12:09 +02:00
Jérémy Munsch
e9b077e9ea
Merge remote-tracking branch 'origin/ticket918' into develop 2022-08-24 11:27:21 +02:00
Jérémy Munsch
6ceee32368
SendArchadiaGameMailRequest: Limit code on pack to 50 chars 2022-06-17 14:08:08 +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
Vincent BRIDIER
e08123212b
Fix Arcadia phone length field (RemoveSpaces) 2022-03-22 11:26:11 +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
69ac3abf5e
Stat Api phase 1 CRM side + test 2021-11-05 14:46:53 +01:00
Jérémy Munsch
7b4faee998
Stats par questions 2021-11-03 15:11:41 +01:00
Jérémy Munsch
9f6ae7bd09
Stats graphs 2021-11-03 11:18:19 +01:00
Jérémy Munsch
f41b6ae644
Add more data sanitize on base request for user info 2021-10-25 17:48:43 +02:00
Jérémy Munsch
2742a3af3f
Fix authenticate method, remove exists validate on request 2021-10-21 14:23:33 +02: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
2ae1d09afc
Correct arcadia Api V2 methods + unit tests 2021-10-19 17:15:34 +02:00
Jérémy Munsch
923e566ee7
Changed Arcadia mails, add customer parameters for these calls
Updated Client
bump to 2.2.0
2021-10-18 09:03:00 +02:00
Jérémy Munsch
41909ff8e0 Question export 2021-09-14 10:58:00 +02:00
Jérémy Munsch
193a93715e Newsletter export Function
- composer require league/csv
2021-09-09 16:08:42 +02:00
Jérémy Munsch
de25ed732c Mail alert on service token generate from BO 2021-09-09 16:08:42 +02:00
Jérémy Munsch
59bf1f231a phpcs fix customer delete 2021-08-23 20:50:51 +02:00
Jérémy Munsch
848fbe4cb1 Rollback de required sur Customer address, code postal et ville (dans le cas ou sur le projet on utilise pas forcément MesBR) pour être conforme RGPD 2021-08-23 14:29:10 +02:00
Jérémy Munsch
055b824ffa Set address as required 2021-08-18 08:43:44 +02:00
Jérémy Munsch
c97abfb253 Store customer, remove required from address field 2021-08-16 13:20:26 +02:00
Jérémy Munsch
f59deac5fc Merge branch 'v2' into develop 2021-08-12 14:57:05 +02:00
Jérémy Munsch
787ee5a4c5 - tag 2.0.1
- Add Questions segementation
- Fix Customer delete Tests
2021-08-11 17:37:59 +02:00
Jérémy Munsch
b3f56a5329 Change password requirement 8 char instead of 10 2021-08-09 17:12:40 +02:00
Jérémy Munsch
260d5fd259 - Arcadia separate routes on v2
- fix optin v2
- customer validation password
- full working v2 tests
2021-08-06 15:57:48 +02:00
Jérémy Munsch
f03ae09e6a - fixes
- customer update prop test
2021-08-05 16:18:09 +02:00
Vincent BRIDIER
446f9f297e - Add customer delete on BO 2021-08-02 17:22:56 +02:00
Jérémy Munsch
19e1a022a2 mise à plat, renomage v1 et v2 en V1 et V2 2021-07-28 14:18:47 +02:00
Jérémy Munsch
6987501a98 CRM API V2 2021-03-27 08:29:31 +01:00