Commit graph

30 commits

Author SHA1 Message Date
Korina Cordero
d42e1b1ed5 Add id to the User entity in the API bundle. Add support for list and add API user to the site. #194 2019-05-09 07:43:36 +00:00
Korina Cordero
b8ab5bb3c0 Add comments for the Generator and Voter classes in the auth bundle. Add support for add, update, and delete API Role. #194 2019-05-09 04:24:05 +00:00
Korina Cordero
ecec2d07d7 Add the enabled flag to the api user and base user. Remove the enabled methods from site user since base class has them. Add checking if user account is enabled during authentication of api user. #194 2019-05-08 08:25:11 +00:00
Korina Cordero
3c236d0ab4 Merge branch 'master' of gitlab.com:jankstudio/resq into 194-catalyst-api-bundle-acl 2019-05-08 07:16:09 +00:00
Korina Cordero
24a0e5a2d1 Change brand and size parameters to brand_id and size_id. #201 2019-04-04 09:22:31 +00:00
Korina Cordero
620a750465 Add CAPI call to add a new battery. #201 2019-04-04 09:07:41 +00:00
Korina Cordero
57f1eb1386 Remove duplicate code from classes that extend Role. Rename UserFixtures to RoleFixtures. Create APIRoleFixtures file. #194 2019-03-29 06:35:37 +00:00
Korina Cordero
01f57fdc37 Made the Generator and Voter classes in the Auth bundle abstract. Modify the services.yaml to point to the Voter and Generator classes that extended the base classes from the Auth bundle. #194 2019-03-28 07:03:09 +00:00
Korina Cordero
3862a76d1c Add the access key and yaml file as parameters for the Generator class. #194 2019-03-27 07:49:54 +00:00
Korina Cordero
eaac1dfb7d Create auth bundle with base classes for User and Role. Use base class for user and role in the User and Role entities in the API and the main site. #194 2019-03-27 06:58:08 +00:00
Korina Cordero
53332b989a Add ACL support for the API #194 2019-03-21 14:28:18 +00:00
Korina Cordero
eeffdb981a Add prefix to column name for user api key for the join table #194 2019-03-19 04:39:01 -04:00
Korina Cordero
3d5ca1e522 Add Role for API #194 2019-03-19 04:15:03 -04:00
f0d94e034f Add first_name, last_name, and mobile_number fields to warranty #177 2019-01-30 22:12:36 +08:00
730a94f371 Update test command for api #172 2019-01-21 02:09:44 +08:00
85121a973d Update battery api controller, routes and test scripts #172 2019-01-20 17:51:34 +08:00
bc9cf2a74f Modify claim warranty api call #171 2019-01-10 02:26:42 +08:00
e4cedd9e4d Add get all warranties api call #171 2019-01-10 00:02:24 +08:00
fac78e558d Add plate number warranty API call #166 2018-11-06 01:55:51 +08:00
6771b86d6c Change APIController to abstract class from interface #166 2018-11-06 01:30:52 +08:00
d78e30c9c2 Add battery model and size to warranty and change warranty routes #166 2018-11-06 01:14:19 +08:00
4867f1b6bb Finish warranty api calls #164 2018-10-26 00:58:32 +08:00
9fcae0f05b Add vehicle and battery apis #164 2018-10-25 13:35:27 +08:00
959d2c6efc Add warranty entity, refactor controller, and fix bugs #164 2018-10-24 22:20:45 +08:00
4309fea954 Create APIResponse class for responses from api bundle #164 2018-10-24 21:13:23 +08:00
005f5091af Add command for testing api client #164 2018-10-23 05:17:58 +08:00
3ac8b8e53d Fix signature issue and remove old token subscriber #164 2018-10-23 03:01:52 +08:00
a2be71a001 Add api:user-create command #164 2018-10-23 02:42:46 +08:00
0d41b46ee9 Refactor api bundle to use security to handle authentication #164 2018-10-23 02:11:21 +08:00
2b9499861b Add catalyst api bundle and test controller #164 2018-10-15 01:19:29 +08:00