Commit Graph

14 Commits

Author SHA1 Message Date
Nabeel Shahzad
e931310dee Add /api/airports with pagination to return all the airports #120 2018-01-05 10:23:26 -06:00
Nabeel Shahzad
db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -06:00
Nabeel Shahzad
265fb235f2 Deny user API access if they're not ACTIVE #119 2018-01-04 20:50:57 -06:00
Nabeel Shahzad
b02e45dbb6 Change the api test to call pirep api 2018-01-02 11:06:04 -06:00
Nabeel Shahzad
c65da0a0af delete the user bids when a flight is deleted #103 2018-01-01 09:32:04 -06:00
Nabeel Shahzad
5e32bcc52d Change header from Authorization to X-API-KEY to avoid Apache issues 2017-12-30 13:31:11 -06:00
Nabeel Shahzad
caac722a72 update check for api key 2017-12-30 13:02:22 -06:00
Nabeel Shahzad
c42131cbf1 add a few more tests for the authorization header 2017-12-30 12:42:45 -06:00
Nabeel Shahzad
f809381b25 cleanup composer and swagger 2017-12-28 21:17:26 -06:00
Nabeel Shahzad
f3dea588d9 Tests now use factory-generated data, wired up before cleaning up some of the fixture data 2017-12-12 21:50:55 -06:00
Nabeel Shahzad
37d83a65c3 fix trait not found 2017-12-12 20:18:02 -06:00
Nabeel Shahzad
b5d2e1ba11 Fix for API key and start adding a few data factories 2017-12-12 20:14:01 -06:00
Nabeel Shahzad
2e1c0a75d4 Fix missing table name in migration and fix flight tests 2017-12-12 06:48:04 -06:00
Nabeel Shahzad
0f18e60fd9 #36 Add authentication for API; generate API key 2017-12-11 22:05:22 -06:00