Commit graph

66 commits

Author SHA1 Message Date
Jérémy Munsch
5ae0aa33bd Apiv2 Customer optimize authenticate 2021-08-23 22:47:42 +02:00
Jérémy Munsch
6c28c87781 APiv2 customer lastconnection on a job + refactorize login 2021-08-23 21:56:12 +02:00
Jérémy Munsch
aeaa44e8c6 Set correct prop check $customerInfo->exists on api v2 customer store 2021-08-23 21:41:05 +02:00
Jérémy Munsch
e618e6fb46 Customer::info and Customer::login try to get loaded relations first 2021-08-23 20:50:51 +02:00
Jérémy Munsch
cfa87b7924 phpcs fix AnswersController 2021-08-23 20:50:51 +02:00
Jérémy Munsch
59bf1f231a phpcs fix customer delete 2021-08-23 20:50:51 +02:00
Jérémy Munsch
2a1aa5f046 Add database job to increment service stats 2021-08-23 20:50:50 +02:00
Jérémy Munsch
b17a86975d Add cache control on API response 2021-08-23 19:34:49 +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
c0578f5d40 Api V2 Fix get questions answers 2021-08-20 16:46:07 +02:00
Jérémy Munsch
77b91a6c09 Fix answer api 2021-08-18 11:56:01 +02:00
Jérémy Munsch
055b824ffa Set address as required 2021-08-18 08:43:44 +02:00
Jérémy Munsch
f8a61d0e4c storeCustomerAnswers Mise à jour sans supprimer les anciennes questions 2021-08-18 08:27:09 +02:00
Jérémy Munsch
4527bc01f6 Refactorisation \App\Models\Customer::getAnswers 2021-08-18 08:26:40 +02:00
Jérémy Munsch
443b649604 Handle http auth with bearer token 2021-08-16 18:47:31 +02:00
Jérémy Munsch
6ec8ed1114 Fix Api authenticate missing bearer token 2021-08-16 16:31:15 +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
16d7bee469 Fix api response middleware for API V1 2021-08-12 15:56:13 +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
642d3cce08 phpcs rmove unused imports 2021-08-10 12:09:49 +02:00
Jérémy Munsch
1566b704a7 API V1 Test ok + All test OK 2021-08-10 10:20:52 +02:00
Jérémy Munsch
df15ed1fe5 REmove dump code on Login Controller 2021-08-10 10:20:08 +02:00
Jérémy Munsch
7d0b86d134 Store hashed tokens (bearer and api) instead of clear 2021-08-09 17:35:28 +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
46a47e822d Some php doc 2021-08-09 08:55:39 +02:00
Jérémy Munsch
e6e8b94409 phpcs fix 2021-08-06 16:12:41 +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
Jérémy Munsch
6131b1a171 - working testing env
- use php artisan serve to run test + autokill
- autodebug if envirronement is testing
2021-08-05 15:00:28 +02:00
Jérémy Munsch
484f7b6f1b Fix api response middleware 2021-08-04 17:23:57 +02:00
Jérémy Munsch
6b56929222 Api error and Api response fix to prevent imbricate ApiV2 Responses 2021-08-04 17:15:06 +02:00
Jérémy Munsch
00639792c4 - Fix Handler reponse coherence with api response
- Add ApiErrorException to the client
2021-08-04 15:07:25 +02:00
Jérémy Munsch
3619593485 Mise à plat CRM v2
- ajout une colonne new country pour enum
- fix des test v2
- fix du handler
- fix des middleware
- fix du timestamp checker
- fix des stats fix du api handler
- ajout du middleware json only
- remove crm-id du client en faveur du hashcode seulement
- fix du route service provider
- déplacement de la route arcradia en dehors du customer
2021-08-04 13:01:33 +02:00
Vincent BRIDIER
446f9f297e - Add customer delete on BO 2021-08-02 17:22:56 +02:00
Jérémy Munsch
39beb54b19 Add bearer_pwd to api auth 2021-08-02 11:46:08 +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
aebbdeff99 phpcs conformity 2021-07-22 15:14:07 +02:00
Jérémy Munsch
6b5b6c8cfd add VSCODE workspace file 2021-07-22 14:47:53 +02:00
Jérémy Munsch
6324606e44 Merge branch 'develop' into v2 2021-07-22 14:44:54 +02:00
Vincent BRIDIER
0c451edf0c - Oups 2021-06-23 10:20:57 +02:00
Vincent BRIDIER
7a2f838b35 - Fix user resource return 2021-06-23 10:16:07 +02:00
Vincent BRIDIER
69256faaeb - Update shipping for order 2021-05-17 17:39:56 +02:00
Vincent BRIDIER
cb9bba67b5 - Update store customer + fix error arcadia 2021-05-12 18:39:53 +02:00
Vincent BRIDIER
18c6017fab - Update $request->has 2021-04-30 11:37:48 +02:00
Vincent BRIDIER
90cf463e10 - Fix Update 2021-04-30 11:12:11 +02:00
Jérémy Munsch
6987501a98 CRM API V2 2021-03-27 08:29:31 +01:00
Jérémy Munsch
4f4575cb49 Merge branch 'develop' into v2 2021-03-13 06:32:16 +01:00
Vincent BRIDIER
199198340a - Fix email in CustomerResource 2021-03-12 11:07:33 +01:00
Vincent BRIDIER
973134eaf3 - Add stats brand view
- Add method removeOptInCustomer
2021-03-08 11:37:54 +01:00