Commit graph

145 commits

Author SHA1 Message Date
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
Noah Lancien
e6135ab857 fix: Replaced sync by detach/attach in answers store/update 2024-08-12 19:04:17 +02:00
Alexis Gousseau
a6639cb87e fix: 🐛 update the saving of answers 2024-08-05 12:43:26 +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
Alexis Gousseau
e4b5eed7e4
Remove crm v1 - issue Closes #20 2023-10-06 16:33:21 +02:00
Jérémy Munsch
ac060ba167
Fixes #2 use isoFormat instead of format
(cherry picked from commit ca5419a992d0e1838d1030db9469edbebc20d995)
2023-06-30 15:09:50 +02:00
Jérémy Munsch
ebe8d8daa3
Fixes #3 Push empty line if no CSV question to export for a brand
(cherry picked from commit bf5477d15c56e33fe980dc67cbc10a0b18f58169)
2023-06-30 15:04:50 +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
5c770eb9d5
phpcs Change object to full class path in docblock comments 2023-06-30 14:59:00 +02:00
Vincent BRIDIER
b31ebdcf79
Add missing backslashes on docblocks 2023-06-30 12:51:21 +02:00
Alexis Gousseau
8ac9932cc5 add Secure Header + add nonce on all script balise + update ViewServiceProvider 2023-06-26 12:22: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
97e64f3180 fix search belongs to many dropdown 2023-06-23 13:30:17 +02:00
Alexis Gousseau
d206e3bf55 fix request brands customer count 2023-06-23 13:29:03 +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
cc716cff12 remove crud policies + clean project 2023-06-16 12:15:03 +02:00
Alexis Gousseau
886f5a5186 mini fix v3 2023-06-16 10:59:28 +02:00
Alexis Gousseau
a2a6f6a19b update CRUD singleoptin 2023-06-15 14:40:51 +02:00
Alexis Gousseau
02a6f37a9c mini fix v2 2023-06-15 13:21:32 +02:00
Alexis Gousseau
9294e8c7dc add searchfields on search-bar-brand 2023-06-15 13:16:51 +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
3a82230e9c update CRUD customer 2023-06-13 11:11:53 +02:00
Alexis Gousseau
ff292c6f26 update CRUD brand 2023-06-13 11:05:22 +02:00
Alexis Gousseau
0aab2213ae update project with laravel base project 2023-06-12 15:31:55 +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
a9e4b7cde3
ArcadiaController V1 fix for game xml not including code_on_pack 2022-08-31 10:26:00 +02: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
a312773099
Http/Kernel.php: Move ConvertEmptyStringsToNull from global middleware to web middleware 2022-08-24 14:46:06 +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
Jérémy Munsch
f4c60bf6f7
Ticket 698 :
- Npm audit Fix + update
- Fix filter search and reset on customers.index
2022-03-28 16:22:33 +02:00
Vincent BRIDIER
f106ec7a4d
ticket 584 : Fix answer save 2022-03-22 11:47:58 +01: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
f0a771031c
Arcadia push order id in name 2021-11-15 11:34:57 +01:00
Jérémy Munsch
4c5f51bf97
fix customer show missing crud var 2021-11-12 17:03:20 +01:00
Jérémy Munsch
afa3e06699
Arcadia xml add hint for xml failed 2021-11-10 09:13:45 +01:00
Jérémy Munsch
12eaeed020
export fix get where opt_in true 2021-11-08 16:01:45 +01:00