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
|
7c70bb0971
|
add setting to disable user aircraft rank restriction #138
|
2018-01-19 12:46:30 -05:00 |
|
Nabeel Shahzad
|
4f4137abf2
|
force no wrapping on the user fleet list #35
|
2018-01-10 19:00:38 -06:00 |
|
Nabeel Shahzad
|
396f4ac966
|
output response body #35
|
2018-01-10 18:55:20 -06:00 |
|
Nabeel Shahzad
|
e80caa6827
|
Add better debugging on GET reqs since the build failed #35
|
2018-01-10 18:49:42 -06:00 |
|
Nabeel Shahzad
|
bf4e164e0d
|
Add calls and API to get user's fleet, determined by rank #35
|
2018-01-10 18:40:01 -06:00 |
|
Nabeel Shahzad
|
dce9723979
|
Set airport and landing time of aircraft after pirep accept #112
|
2018-01-10 12:39:13 -06:00 |
|
Nabeel Shahzad
|
7e45291b27
|
Add pivot table for flight_fare to override fare #125
|
2018-01-07 09:19:46 -06: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
|
d63f0ee2f8
|
Added /api/settings to retrieve all VA settings #120
|
2018-01-06 15:41:23 -06:00 |
|
Nabeel Shahzad
|
082c33ae59
|
Add /api/flights to retrieve all flights paginated #120
|
2018-01-06 15:21:21 -06:00 |
|
Nabeel Shahzad
|
2de8d9ed64
|
Add /api/airlines and /api/airline/{id} #120
|
2018-01-06 15:13: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
|
60256ab213
|
Add route for getting the current hubs
|
2018-01-05 15:30:35 -06:00 |
|
Nabeel Shahzad
|
500cbb8e06
|
Add lookup for aircraft as /fleet/aircraft/{id} #120
|
2018-01-05 13:00:45 -06:00 |
|
Nabeel Shahzad
|
1ee9041058
|
Add /api/fleet to get subfleets and all the aircraft #120
|
2018-01-05 10:45:34 -06:00 |
|
Nabeel Shahzad
|
e931310dee
|
Add /api/airports with pagination to return all the airports #120
|
2018-01-05 10:23:26 -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
|
265fb235f2
|
Deny user API access if they're not ACTIVE #119
|
2018-01-04 20:50:57 -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
|
b29a07afd3
|
Split out the saveRoute() fn so it's only during a manual filing, not ACARS
|
2018-01-04 19:39:41 -06:00 |
|
Nabeel Shahzad
|
b62fa7757c
|
Overhaul of ACARS/PIREP APIs
|
2018-01-04 19:33:23 -06:00 |
|
Nabeel Shahzad
|
6f9e4d725b
|
Add a PIREP cancel route via API #109
|
2018-01-03 10:25:55 -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
|
9c319e73f9
|
Check whether a duplicate PIREP has been submitted
|
2018-01-02 13:17:22 -06:00 |
|
Nabeel Shahzad
|
080e8842ac
|
generate nav point name
|
2018-01-02 11:19:11 -06:00 |
|
Nabeel Shahzad
|
003fafa670
|
use generated user in tests
|
2018-01-02 11:12:53 -06:00 |
|
Nabeel Shahzad
|
b02e45dbb6
|
Change the api test to call pirep api
|
2018-01-02 11:06:04 -06:00 |
|
Nabeel Shahzad
|
21e41c68a2
|
cleanup test output
|
2018-01-02 10:44:49 -06:00 |
|
Nabeel Shahzad
|
6b95b74b2f
|
print out the routes
|
2018-01-02 09:43:34 -06:00 |
|
Nabeel Shahzad
|
37cdde845d
|
Add order column to ACARS table for the order of the route points
|
2018-01-02 09:40:42 -06:00 |
|
Nabeel Shahzad
|
7a6395be27
|
randomize the number of navpoints generated in the tests
|
2018-01-01 19:11:49 -06:00 |
|
Nabeel Shahzad
|
2f36a2661a
|
Change to assertCount in test
|
2018-01-01 19:05:15 -06:00 |
|
Nabeel Shahzad
|
78af2fd637
|
cleanup of geojson and route map code
|
2018-01-01 19:02:22 -06:00 |
|
Nabeel Shahzad
|
b456dc1a71
|
Save PIREP route to ACARS data table #102
|
2018-01-01 13:48:02 -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
|
81e82629ac
|
Rename PilotState class to UserState
|
2017-12-30 20:40:32 -06:00 |
|
Nabeel Shahzad
|
c4cbffd9ea
|
Fix API key substr
|
2017-12-30 13:41:34 -06:00 |
|
Nabeel Shahzad
|
92dfea4424
|
Add the missing fonts
|
2017-12-30 13:39:56 -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
|
1140c1c1bb
|
Remove first rank which is put in the seeding for the db create
|
2017-12-29 17:36:17 -06:00 |
|
Nabeel Shahzad
|
f809381b25
|
cleanup composer and swagger
|
2017-12-28 21:17:26 -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 |
|
Nabeel Shahzad
|
c42b920903
|
fix time output bug
|
2017-12-23 11:17:16 -06:00 |
|
Nabeel Shahzad
|
161623c85e
|
Fixes for emails; send user registered/pending depending on state
|
2017-12-22 12:46:46 -06:00 |
|
Nabeel Shahzad
|
74316218bc
|
Add some event listeners and experiment with browser testing
|
2017-12-22 12:00:57 -06:00 |
|
Nabeel Shahzad
|
6c546b5094
|
Add flight route map; algorithm for picking from multiple nav points; some tests
|
2017-12-20 19:12:39 -06:00 |
|
Nabeel Shahzad
|
0375bb420f
|
Major refactoring for PIREP statuses and states to accomodate ACARS/route data
|
2017-12-19 20:19:36 -06:00 |
|
Nabeel Shahzad
|
5bedbba2a7
|
use laratrust to replace entrust #78
|
2017-12-15 12:36:13 -06:00 |
|
Nabeel Shahzad
|
ff1cb959ff
|
more archiving fixes
|
2017-12-14 11:43:32 -06:00 |
|
Nabeel Shahzad
|
e51eb70298
|
fix null user in bid tests
|
2017-12-13 11:33:55 -06:00 |
|
Nabeel Shahzad
|
ab75ef7cf8
|
Fix and enable Subfleet/Fare tests and factories
|
2017-12-13 11:29:14 -06:00 |
|
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
|
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
|
4db87ad8c8
|
remove Eloquent::unguard
|
2017-12-12 20:14:52 -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
|
da5523e972
|
test for multiple bids on same flight with block setting enabled
|
2017-12-12 17:26:27 -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
|
ab4c2ec6eb
|
Fix missing airline_id
|
2017-12-12 13:30:52 -06:00 |
|
Nabeel Shahzad
|
373f45c86c
|
Convert flight transformer to the native Laravel resource object
|
2017-12-12 07:25:11 -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
|
d34e30666d
|
Cleanup for settings table and moved some seed data into the migrations
|
2017-12-09 21:21:49 -06:00 |
|
Nabeel Shahzad
|
d2ce5e8f15
|
Cleanup some root files
|
2017-12-07 22:20:01 -06:00 |
|
Nabeel Shahzad
|
7cf449f08d
|
IATA codes
|
2017-12-07 14:50:16 -06:00 |
|
Nabeel Shahzad
|
d7ed195628
|
time formatting and tests
|
2017-12-03 14:34:32 -06:00 |
|
Nabeel Shahzad
|
4c8fca39eb
|
accept/reject pireps in admin; cleanup and refactoring
|
2017-12-03 00:48:33 -06:00 |
|
Nabeel Shahzad
|
ddcb3c632f
|
Add different PIREP and User events
|
2017-12-02 10:55:17 -06:00 |
|
Nabeel Shahzad
|
f8cf430db8
|
re-enable the aircraft data tests
|
2017-11-23 10:10:27 -06:00 |
|
Nabeel Shahzad
|
7c5486c9e8
|
disable problematic test for now, meh
|
2017-11-22 12:09:20 -06:00 |
|
Nabeel Shahzad
|
5e990164ee
|
updated subfleet admin design
|
2017-11-22 11:52:02 -06:00 |
|
Nabeel Shahzad
|
1502e0193f
|
fix tests, finally. i hope. cleanup before laravel 5.5 update
|
2017-09-07 15:35:17 -05:00 |
|
Nabeel Shahzad
|
bacef7ee83
|
rename airline code column to icao
|
2017-08-16 08:33:43 -05:00 |
|
Nabeel Shahzad
|
6b20ea6f16
|
set days of week using bitwise operators
|
2017-08-16 08:29:05 -05:00 |
|
Nabeel Shahzad
|
c45d0541ef
|
#35 rest api additions for pireps
|
2017-08-14 23:36:49 -05:00 |
|
Nabeel Shahzad
|
b9cebeb044
|
fixing the build
|
2017-08-04 20:27:12 -05:00 |
|
Nabeel Shahzad
|
0dcdd5cba5
|
woops, broke the build - set the IATA codes
|
2017-07-22 23:07:37 -05:00 |
|
Nabeel Shahzad
|
c40cd3da53
|
travis - cleanup database creation/migration for tests
|
2017-07-13 15:43:56 -05:00 |
|
Nabeel Shahzad
|
de91b133e7
|
travis - stop supressing output
|
2017-07-13 15:23:55 -05:00 |
|
Nabeel Shahzad
|
4dd2e8c9c6
|
travis - run reset again
|
2017-07-13 14:39:10 -05:00 |
|
Nabeel Shahzad
|
5527fb3d64
|
more fixes for travis
|
2017-07-13 14:29:46 -05:00 |
|
Nabeel Shahzad
|
49b382766a
|
¯\_(ツ)_/¯ trying to fix tests...
|
2017-07-11 17:58:59 -05:00 |
|
Nabeel Shahzad
|
b5dd700044
|
Adjust columns in migrations and give lens to strings and custom flight fields #48
|
2017-07-10 18:54:51 -05:00 |
|
Nabeel Shahzad
|
10baaab646
|
#41 inline editing of fuel prices
|
2017-07-05 18:48:32 -05:00 |
|
Nabeel Shahzad
|
7265eb1913
|
Clean up enums and cache-keys configs
|
2017-07-04 15:43:47 -05:00 |
|
Nabeel Shahzad
|
870eefb83d
|
#21 Some more fixes for PIREPs
|
2017-07-04 13:57:08 -05:00 |
|
Nabeel Shahzad
|
70dbfbcd3f
|
#21 clean up the tests
|
2017-07-04 13:09:44 -05:00 |
|
Nabeel Shahzad
|
4608e02598
|
skip tests that aren't working/redone (yet)
|
2017-07-04 01:12:55 -05:00 |
|
Nabeel Shahzad
|
c310bffed9
|
#21 PIREP accept/reject tests
|
2017-07-04 01:05:23 -05:00 |
|
Nabeel Shahzad
|
c3e417429a
|
#32 assign aircraft to subfleets, and aircraft to subfleets
|
2017-06-23 17:33:18 -05:00 |
|
Nabeel Shahzad
|
c732476f6d
|
Rename 'Airlines' model to 'Airline'
|
2017-06-19 11:50:25 -05:00 |
|
Nabeel Shahzad
|
6ef83084d1
|
some test changes
|
2017-06-19 11:30:39 -05:00 |
|
Nabeel Shahzad
|
64aeb0343b
|
code styling
|
2017-06-10 18:41:35 -05:00 |
|
Nabeel Shahzad
|
bf910e4549
|
set fare classes on aircraft w/ overrides (no admin ui yet)
|
2017-06-10 18:27:19 -05:00 |
|
Nabeel Shahzad
|
bacc372985
|
fares & aircraft fares
|
2017-06-10 01:50:00 -05:00 |
|
Nabeel Shahzad
|
7a79a8558e
|
some refactoring for tests and adding some tables
|
2017-06-09 22:19:17 -05:00 |
|
Nabeel Shahzad
|
8831f875ef
|
user info
|
2017-06-09 14:47:02 -05:00 |
|
Nabeel Shahzad
|
95fd412ff4
|
run details for tests
|
2017-06-08 23:00:30 -05:00 |
|
Nabeel Shahzad
|
5e323c3310
|
more fixes for travis
|
2017-06-08 22:50:22 -05:00 |
|
Nabeel Shahzad
|
106d6a6798
|
laravel base files
|
2017-06-08 13:28:26 -05:00 |
|