Frontend profile settings #20

Merged
bilal.catic merged 35 commits from frontend-profileSettings into master 2018-09-20 14:27:03 +02:00

35 Commits

Author SHA1 Message Date
Bilal Catic
cbf1de3403 modify test to use DELTE instead of POST 2018-09-20 14:08:32 +02:00
Bilal Catic
41e92e2390 use DELETE instead of POST for delete action 2018-09-20 13:57:01 +02:00
Bilal Catic
5da2353d04 add tests for profile endpoints 2018-09-20 13:39:25 +02:00
Bilal Catic
4159f12854 fix company info update 2018-09-20 13:39:25 +02:00
Bilal Catic
3fa75daafd fix typo 2018-09-20 13:39:25 +02:00
Bilal Catic
c637880245 fix personal info validation 2018-09-20 13:39:25 +02:00
Bilal Catic
fa2b691996 apply snake case change 2018-09-20 13:39:25 +02:00
Bilal Catic
393158808a snake case - camel case transformations 2018-09-20 13:39:25 +02:00
Bilal Catic
0787cf834f use snake case 2018-09-20 13:39:25 +02:00
Bilal Catic
522417ca28 use snake case 2018-09-20 13:39:25 +02:00
Bilal Catic
498f5526a9 use customer endpoint for profile actions 2018-09-20 13:39:25 +02:00
Bilal Catic
31115b7c6a add helper to transform snake case to camel case 2018-09-20 13:39:25 +02:00
Bilal Catic
af2da3eed0 add customer class and endpoint 2018-09-20 13:39:25 +02:00
GotPPay
d36398f2ab remove comment 2018-09-20 13:39:25 +02:00
GotPPay
32379f7f47 simple frontend address validation 2018-09-20 13:39:25 +02:00
GotPPay
82e4579e88 simple backend address validation 2018-09-20 13:39:25 +02:00
GotPPay
b93aed107b use new list of countries and adapt backend and frontend to it 2018-09-20 13:39:25 +02:00
GotPPay
5d91576fb7 turn off autocomplete also for billing address input/edit 2018-09-20 13:39:25 +02:00
GotPPay
c322c8ac78 display name, last name and email above address for profile addresses 2018-09-20 13:39:25 +02:00
GotPPay
90402d3e1d change property name to comply with frontend 2018-09-20 13:39:25 +02:00
GotPPay
84916a01ed add first name, last name and email fields to profile address on backend 2018-09-20 13:39:25 +02:00
GotPPay
b98f3c979c add aditional fields to profile address on frontend 2018-09-20 13:39:25 +02:00
GotPPay
a901da55fc Enable address changes in cart module 2018-09-20 13:39:25 +02:00
GotPPay
8a9af7ed8c keep old variable name 2018-09-20 13:39:25 +02:00
GotPPay
39cb851a55 change property name to comply with frontend 2018-09-20 13:39:25 +02:00
GotPPay
e6e487f312 add unit tests 2018-09-20 13:39:25 +02:00
GotPPay
d26569a8be create user class and make use of it 2018-09-20 13:39:25 +02:00
GotPPay
aae23e4ea3 improve frontend code 2018-09-20 13:39:25 +02:00
GotPPay
a79ef1044c user profile edit actions 2018-09-20 13:39:25 +02:00
GotPPay
b974eab225 add tests for rest-user-api 2018-09-20 13:39:25 +02:00
GotPPay
b3cff5d095 add list of available countries 2018-09-20 13:39:25 +02:00
GotPPay
4ce7b86ea9 update and read customer phone number, company name and VAT number 2018-09-20 13:39:25 +02:00
GotPPay
bc61e2e706 use custom user endpoint for validation and JWT auth for login 2018-09-20 13:39:25 +02:00
GotPPay
9da31990fd add user info to JWT token response 2018-09-20 13:39:25 +02:00
GotPPay
f63e118579 add user controller 2018-09-20 13:39:25 +02:00