Commit Graph

113 Commits

Author SHA1 Message Date
Nabeel Shahzad
55250b8789 PIREP tests working, using minutes to track flight hours instead of seconds 2017-12-13 10:56:26 -06:00
Nabeel Shahzad
300ddb8475 sha1 unique() call 2017-12-12 22:13:11 -06:00
Nabeel Shahzad
9ebeecddd0 Fix constraint limits on tests 2017-12-12 22:11:15 -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
ca512d650c remove the airport factory 2017-12-12 20:15:24 -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
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
a5cf130176 add a has_bid column to the flights table 2017-12-12 13:59:05 -06:00
Nabeel Shahzad
e75e2a0ebc Fix pirep status column 2017-12-12 13:35:54 -06:00
Nabeel Shahzad
c543b007fd Fix flight_id column 2017-12-12 13:33:18 -06:00
Nabeel Shahzad
ab4c2ec6eb Fix missing airline_id 2017-12-12 13:30:52 -06:00
Nabeel Shahzad
d634778ed2 Cleaning up database fields, fix types and columns 2017-12-12 13:26:08 -06:00
Nabeel Shahzad
e05976a982 Add additional settings; Use pilot id length from setting 2017-12-12 12:43:58 -06:00
Nabeel Shahzad
695900a008 Update migrations and add more default settings 2017-12-12 11:57:52 -06:00
Nabeel Shahzad
1da0901ae3 Add bids table and bid configuration 2017-12-12 11:52:24 -06:00
Nabeel Shahzad
de582f617c Rename UserFlight to UserBid to match functionality 2017-12-12 11:49:35 -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
Nabeel Shahzad
f2add8908b add setting() helper; fix invalid defaults for mysql in table 2017-12-09 21:56:26 -06:00
Nabeel Shahzad
d34e30666d Cleanup for settings table and moved some seed data into the migrations 2017-12-09 21:21:49 -06:00
Nabeel Shahzad
fa4be69774 Cache the api calls to vacentral and make the iata field optional 2017-12-07 17:44:05 -06:00
Nabeel Shahzad
ddb8a6f5e9 Airport lookup from vaCentral API; changes to Airports tables 2017-12-07 17:22:15 -06:00
Nabeel Shahzad
40e72cf580 add IATA codes to seed file 2017-12-07 14:46:48 -06:00
Nabeel Shahzad
99027c9e40 adjust airport name length 2017-12-07 14:10:56 -06:00
Nabeel Shahzad
f0309e65de set/add timezone information for airports and users 2017-12-06 16:07:25 -06:00
Nabeel Shahzad
715fd0d06b woops, broke the seeder 2017-12-04 15:52:57 -06:00
Nabeel Shahzad
3849b55c50 match up db named/seeder to installer names/env names 2017-12-04 15:35:39 -06:00
Nabeel Shahzad
4c8fca39eb accept/reject pireps in admin; cleanup and refactoring 2017-12-03 00:48:33 -06:00
Nabeel Shahzad
bf2a624b51 remove invalid unsigned call from string column def 2017-12-01 22:34:59 -06:00
Nabeel Shahzad
e1b0b92f83 flight search and pagination (in admin), schema changes to accomodate 2017-11-30 20:28:45 -06:00
Nabeel Shahzad
f52b4bb4d9 Initial user management in admin panel 2017-11-29 18:01:07 -06:00
Nabeel Shahzad
0d29369e54 #21 file PIREP; populate custom fields and set correct status 2017-08-23 14:19:05 -05:00
Nabeel Shahzad
b2dba02615 set rawdata field to longtext 2017-08-16 18:25:55 -05:00
Nabeel Shahzad
bacef7ee83 rename airline code column to icao 2017-08-16 08:33:43 -05:00
Nabeel Shahzad
beba08f651 add/set ICAO and logo for airlines 2017-08-16 08:11:39 -05:00
Nabeel Shahzad
5665936b6a I don't know how this file ended up there 2017-08-12 12:35:35 -05:00
Nabeel Shahzad
f46f87567c some sample users and gravatar lookup 2017-08-10 18:21:24 -05:00
Nabeel Shahzad
6e3f293fcb style and updates to the dashboard 2017-08-04 20:17:04 -05:00
Nabeel Shahzad
9d53c0103f #57 user can save flights 2017-08-03 21:02:02 -05:00
Nabeel Shahzad
0ad5639bb9 #57 skeleton for flights page 2017-08-02 15:12:18 -05:00
Nabeel Shahzad
e4e23dd8a6 new dashboard and profile pages with new design 2017-08-02 13:13:08 -05:00
Nabeel Shahzad
e4dc989ab2 Changed some PKs to bigInts 2017-08-02 10:20:51 -05:00
Nabeel Shahzad
1953c4dcb5 add a pirep_comments table 2017-08-02 10:17:54 -05:00
Nabeel Shahzad
346ed2dd85 add pirep events table 2017-07-23 13:04:50 -05:00
Nabeel Shahzad
9986f5df33 add airline reference to PIREP 2017-07-23 09:45:33 -05:00
Nabeel Shahzad
0dcdd5cba5 woops, broke the build - set the IATA codes 2017-07-22 23:07:37 -05:00
Nabeel Shahzad
9a08586564 allow setting of IATA code for airline 2017-07-22 23:03:39 -05:00
Nabeel Shahzad
fc6253b46f #21 adjust the pirep view/edit form 2017-07-13 22:09:38 -05:00
Nabeel Shahzad
b531fb4d15 Initial seed data for non-dev deployment 2017-07-13 18:09:08 -05:00
Nabeel Shahzad
81667a0184 Fix flight_id field type 2017-07-13 10:15:41 -05:00