Commit Graph

234 Commits

Author SHA1 Message Date
Nabeel Shahzad
78912f2f31 Allow user to set country 2018-01-09 19:08:16 -06:00
Nabeel Shahzad
cbdce35545 Aircraft can be added without subfleet/block subfleet deletion if still in use #128 2018-01-09 13:34:19 -06:00
Nabeel Shahzad
26d3a7f4d6 Convert live acars map into a widget 2018-01-09 12:48:24 -06:00
Nabeel Shahzad
bb59dc1ef9 Convert recent pilots/pireps to widgets #127 2018-01-08 19:53:55 -06:00
Nabeel Shahzad
4eb5aeebed confirmation dialog and user wasn't getting saved #52 2018-01-08 16:35:52 -06:00
Nabeel Shahzad
6b265ed67b add and delete news from admin dashboard #52 2018-01-08 16:22:26 -06:00
Nabeel Shahzad
247310b4e7 Cleanup user edit page and show their pireps; log last IP address #110 2018-01-07 15:09:22 -06:00
Nabeel Shahzad
0495ff27cb Add fares and set prices on flights #125 2018-01-07 10:38:16 -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
c69e2c0cc8 Fix for subfleet add/remove on flight page #124 2018-01-07 08:58:57 -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
bf493623c7 Change how route is pulled from post and add another validation 2018-01-05 14:46:00 -06:00
Nabeel Shahzad
5719971a13 Remove route parse from prefile 2018-01-05 14:21:45 -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
e04fa2e056 Do a cleanup of the state check 2018-01-04 23:31:57 -06:00
Nabeel Shahzad
8af0c30a18 Check hub values for state in create/update 2018-01-04 23:22:31 -06:00
Nabeel Shahzad
c43eef6be2 Add some extra logging for the airport hub save 2018-01-04 21:07:23 -06:00
Nabeel Shahzad
db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -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
8810f03c29 Add separate ACARS route to post log messages to the ACARS table 2018-01-03 22:16:18 -06:00
Nabeel Shahzad
61ea069481 Change setting name for pilot flight restriction; some cosmetics 2018-01-03 20:56:46 -06:00
Nabeel Shahzad
e5c34bc8af Change the PIREP accept/reject buttons 2018-01-03 20:39:24 -06:00
Nabeel Shahzad
80d68d6d14 search airports close #87 2018-01-03 20:07:34 -06:00
Nabeel Shahzad
1d74558abe pagination on the airports page #87 2018-01-03 20:03:39 -06:00
Nabeel Shahzad
be6e5e8dec admin can add comments to PIREPs #70 2018-01-03 15:27:56 -06:00
Nabeel Shahzad
6f9e4d725b Add a PIREP cancel route via API #109 2018-01-03 10:25:55 -06:00
Nabeel Shahzad
162057f940 Filter out cancelled PIREPs 2018-01-03 09:54:32 -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
b0907504b6 Updates to settings code for creating the ID and setting the order 2018-01-02 11:42:26 -06:00
Nabeel Shahzad
5cf0bbaa65 Clean up the GeoJSON generation code 2018-01-01 16:01:01 -06:00
Nabeel Shahzad
d1c626afe8 remove duplicate method calls 2018-01-01 15:04:32 -06:00
Nabeel Shahzad
b456dc1a71 Save PIREP route to ACARS data table #102 2018-01-01 13:48:02 -06:00
Nabeel Shahzad
078e26df57 Add AcarsType column and enum; save flight updates as FLIGHT_PATH #102 2018-01-01 10:30:31 -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
6406f47aaa Fix up the PIREP field CRUD code 2017-12-31 20:59:26 -06:00
Nabeel Shahzad
11c724649c Field and error message cleanup 2017-12-31 14:20:52 -06:00
Nabeel Shahzad
d93e461266 Field cleanup and some field details 2017-12-31 14:00:50 -06:00
Nabeel Shahzad
4cc08406fa Regenerate API key 2017-12-31 13:08:41 -06:00
Nabeel Shahzad
e8108597c4 remove log message 2017-12-31 12:56:17 -06:00
Nabeel Shahzad
528a7c7440 allow marking of airport as hub and restrict to hubs at registration #86 2017-12-31 09:42:31 -06:00
Nabeel Shahzad
81e82629ac Rename PilotState class to UserState 2017-12-30 20:40:32 -06:00
Nabeel Shahzad
87867746aa cleanup creation templates 2017-12-30 12:53:16 -06:00
Nabeel Shahzad
4a1d7c59fb added settings page in admin #93 2017-12-30 10:38:18 -06:00
Nabeel Shahzad
520751b151 Move seed data into separate file with importer; fix admin panel js being broken 2017-12-29 17:34:09 -06:00
Nabeel Shahzad
d04c11f660 Add api/status call with vms and php versions 2017-12-28 22:49:47 -06:00
Nabeel Shahzad
77d89a2192 remove superfluous packages 2017-12-28 18:00:35 -06:00
Nabeel Shahzad
9d92d8af55 More work on the pirep/acars maps 2017-12-28 14:35:28 -06:00
Nabeel Shahzad
10985a7d97 Cleanup some of the geojson code 2017-12-27 20:52:37 -06:00
Nabeel Shahzad
edca0644ff Add acars map page and show in-progress flights 2017-12-27 16:47:22 -06:00
Nabeel Shahzad
a931435b42 cleanup PIREP api; file report via API 2017-12-26 14:54:28 -06:00
Nabeel Shahzad
81d349d78d show all flights in admin/active by default 2017-12-26 14:14:04 -06:00
Nabeel Shahzad
6fd3fbe6cd sort airport list in admin 2017-12-26 14:05:43 -06:00
Nabeel Shahzad
9916444ca2 change field to in acars table 2017-12-25 18:22:46 -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
70b1476e93 Add markers for the navpoints on the flight and pirep maps 2017-12-24 17:38:38 -06:00
Nabeel Shahzad
0bb2dabb8c update profile/change password and profile cosmetic changes 2017-12-24 12:12:26 -06:00
Nabeel Shahzad
3b8621371a show dates/times in user's timezone 2017-12-23 11:58:17 -06:00
Nabeel Shahzad
eb6e624a4d user dashboard shows real data 2017-12-23 11:17:29 -06:00
Nabeel Shahzad
07bcc5f199 Fixed login and added suspended message 2017-12-23 08:36:02 -06:00
Nabeel Shahzad
014aea6ae1 Cleanup registration and add a generic TOC 2017-12-23 08:21:40 -06:00
Nabeel Shahzad
babdca627e Fixes and cleanup for user pending/registration calls 2017-12-22 16:32:21 -06:00
Nabeel Shahzad
81ac281d9f simple user search and pagination 2017-12-22 15:11:27 -06:00
Nabeel Shahzad
50ede116ca Show count of pending pilot registrations; pagination 2017-12-22 14:48:15 -06:00
Nabeel Shahzad
1ebf2bd09c Don't allow login if user is pending or rejected; some refactoring of the registration code 2017-12-22 13:38:24 -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
7fbe2f5e30 cleanup and ensure forgot password functionality is working 2017-12-21 17:23:45 -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
e5278bc0bf Output PIREP map with just the dep/arr airports for now 2017-12-20 11:28:21 -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
f2131093c4 Simple PIREP overview page (map not working atm) 2017-12-19 15:19:06 -06:00
Nabeel Shahzad
b97b47cd8c Add some error state pages and installer fixes 2017-12-15 11:22:46 -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
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
5b25a464ba Rename the PilotService to UserService 2017-12-12 14:48:03 -06:00
Nabeel Shahzad
de582f617c Rename UserFlight to UserBid to match functionality 2017-12-12 11:49:35 -06:00
Nabeel Shahzad
373f45c86c Convert flight transformer to the native Laravel resource object 2017-12-12 07:25:11 -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
f0309e65de set/add timezone information for airports and users 2017-12-06 16:07:25 -06:00
Nabeel Shahzad
ac0f163090 Saner way of password change check 2017-12-06 10:07:10 -06:00
Nabeel Shahzad
9c1a8f8251 Flight search on frontend 2017-12-04 14:21:46 -06:00
Nabeel Shahzad
8d4f1efd52 cleaned searching for flights, specific fields in admin 2017-12-04 12:05:31 -06:00
Nabeel Shahzad
e032fd2dbf cleanup searchCriteria generation for flights 2017-12-04 10:59:25 -06:00
Nabeel Shahzad
6bb0a52d81 Pagination on the pireps/flights on the front-end 2017-12-04 10:34:01 -06:00
Nabeel Shahzad
5593d01035 Edit user PIREP 2017-12-03 15:29:34 -06:00