Commit Graph

49 Commits

Author SHA1 Message Date
Nabeel Shahzad
3c32f2d89d Apply fixes from StyleCI 2018-08-26 18:51:47 +00:00
Nabeel Shahzad
e95b3eb366 Code cleanup from inspection results 2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9596d88b48 Apply fixes from StyleCI 2018-08-26 16:40:04 +00:00
Nabeel Shahzad
5ee053cace Fix PIREP field error on file 2018-08-20 09:20:03 -05:00
Nabeel Shahzad
9cc640b866 Fix PIREP field and non-existant airport errors when editing PIREPs 2018-07-12 21:20:10 -05:00
Nabeel Shahzad
4fa024045d refactorings of pirep/acars api calls; separate field calls 2018-05-09 12:45:24 -05:00
Nabeel Shahzad
f8965f1785 Fix tests for new datatypes 2018-05-03 15:36:26 -05:00
Nabeel Shahzad
3a81e2ec27 Fix block_off/on_time and fix the metar date parsing 2018-05-01 22:52:31 -05:00
Nabeel Shahzad
e27f6f1b14 Add addtl fields to pirep - block_off and block_on times, calculate block_off time if not there 2018-04-04 13:03:10 -05:00
Nabeel Shahzad
0f521c3af9 Change PIREP states to follow AIDX guidelines 2018-04-01 20:18:12 -05:00
Nabeel Shahzad
bd30b1f900 Check for departure airport restrictions #221 2018-03-30 11:08:53 -05:00
Nabeel Shahzad
afd7aebe20 Allow the fares to be submitted via API for ACARS #125 2018-03-14 10:34:41 -05:00
Nabeel Shahzad
463de8d7e7 Make sure the rank restriction disabled works closes #170 2018-02-20 13:28:53 -06:00
Nabeel Shahzad
4e43223f3a Refuse pirep prefile is user not allowed to use aircraft #170 2018-02-20 12:59:49 -06:00
Nabeel Shahzad
8393ae2851 Add /flight/:id/route resource, returns all route info that's in the navaid database closes #183 2018-02-20 12:06:52 -06:00
Nabeel Shahzad
d5c2d25c74 finally fixed serialization of conversions #189 2018-02-10 22:49:08 -06:00
Nabeel Shahzad
0700c96901 fix serialization of converter classes #189 2018-02-10 22:30:42 -06:00
Nabeel Shahzad
3aa01aaa18 tests check the data object in return #186 2018-02-10 18:17:38 -06:00
Nabeel Shahzad
21e13b6b92 make sure resources return the data object #186 2018-02-10 17:34:46 -06:00
Nabeel Shahzad
5a89b4f194 write the route if it hasn't been set by acars #184 2018-02-10 16:10:19 -06:00
Nabeel Shahzad
e69d9f4c38 Add pirep fields to the API response; add tests for setting/getting them 2018-02-06 13:59:40 -06:00
Nabeel Shahzad
ec5478a766 Add /pireps/id/acars/events endpoint 2018-01-30 12:06:46 -06:00
Nabeel Shahzad
906a8ef5fe Fix tests and extend the source_name field 2018-01-29 20:30:29 -06:00
Nabeel Shahzad
8c3b271294 Fix for tests - lat/lon rounding 2018-01-28 11:21:31 -06:00
Nabeel Shahzad
76caeda967 Fix for tests - lat/lon rounding 2018-01-28 11:16:04 -06:00
Nabeel Shahzad
653ff2a104 Major refactoring and cleanup of ACARS/Pirep API 2018-01-28 11:12:13 -06:00
Nabeel Shahzad
9964eb63fb Add pirep comments and subfleets fares #118 2018-01-23 21:40:34 -06:00
Nabeel Shahzad
f9efa81bb4 Refactoring of PIREP submission and field code #146 2018-01-23 15:48:30 -06:00
Nabeel Shahzad
edb72e462f Add stricter validation around ACARS/PIREP API updates #149 2018-01-23 11:46:26 -06:00
Nabeel Shahzad
0b9654cf61 Reduce the amount of test data produced to prevent data generation errors 2018-01-21 13:51:42 -05:00
Nabeel Shahzad
5ca9127137 reduce number of routes in acars test 2018-01-20 08:54:40 -05:00
Nabeel Shahzad
b7770e5709 field checks 2018-01-06 17:18:30 -06:00
Nabeel Shahzad
618288f097 Don't check the lat/lon coords in the points 2018-01-06 17:15:33 -06:00
Nabeel Shahzad
46a411e27b Cleanup tests to automatically inject proper headers when needed 2018-01-06 12:07:22 -06:00
Nabeel Shahzad
386186459f rounding error in test 2018-01-04 21:59:52 -06:00
Nabeel Shahzad
dd629b2af8 Make sure arr_airport and dep_airport are included in PIREP prefile response #120 2018-01-04 21:21:51 -06:00
Nabeel Shahzad
db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -06:00
Nabeel Shahzad
6db436b908 Fix rounding in the field tests 2018-01-04 20:19:49 -06:00
Nabeel Shahzad
9ad6434b38 Fix test with rounding for lat/lon equivalency 2018-01-04 20:16:29 -06:00
Nabeel Shahzad
591c3e7b8b Change /acars/logs data format; /cancel to DELETE request 2018-01-04 20:08:22 -06:00
Nabeel Shahzad
b62fa7757c Overhaul of ACARS/PIREP APIs 2018-01-04 19:33:23 -06:00
Nabeel Shahzad
aa19bbd5dc Cleanup test output 2018-01-02 22:20:00 -06:00
Nabeel Shahzad
9a605bf93f use api auth user 2018-01-02 14:42:56 -06:00
Nabeel Shahzad
6d2f705b40 fix api auth problem 2018-01-02 14:37:52 -06:00
Nabeel Shahzad
7700bd6683 Add tests for the duplicate PIREP via prefile/API 2018-01-02 14:31:00 -06:00
Nabeel Shahzad
e65edc5709 Fix error if there are no points in the ACARS route 2017-12-28 16:09:49 -06:00
Nabeel Shahzad
8e2ef409f9 fix acars tests 2017-12-28 15:02:59 -06:00
Nabeel Shahzad
f29a9cfdc5 some acars/tables fixes 2017-12-25 18:10:24 -06:00
Nabeel Shahzad
3bd97b4d37 add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -06:00