Commit Graph
263 Commits
Author SHA1 Message Date
Nabeel Shahzad 17f1085ffb Filter out flights depending on the only_flights_from_current setting #174 2018-02-09 15:36:13 -06:00
Nabeel Shahzad 13b4a3854b move filterSubfleets() to FlightService class #170 2018-02-09 14:36:36 -06:00
Nabeel Shahzad f6b2102e48 fix bug where aircraft restrictions aren't respected in flight calls #170 2018-02-09 14:26:14 -06:00
Nabeel Shahzad de0c71cb06 Set fields to pireps in prefile/update calls 2018-02-06 13:46:23 -06:00
Nabeel Shahzad 531c7ddba3 Set hours to read-only once they've changed away from PENDING #167 2018-02-06 12:58:48 -06:00
Nabeel Shahzad 995d53df3e Set slug properly on pirep field and fix validation 2018-02-06 10:02:34 -06:00
Nabeel Shahzad f8cac4643e Add country list to user page 2018-01-30 12:39:24 -06:00
Nabeel Shahzad 1e33c4c9ae Add country flag in admin user list 2018-01-30 12:37:51 -06:00
Nabeel Shahzad ec5478a766 Add /pireps/id/acars/events endpoint 2018-01-30 12:06:46 -06:00
Nabeel Shahzad c8ac739820 Add a /api/pirep/{id}/update call 2018-01-30 11:36:22 -06:00
Nabeel Shahzad 351f777488 Set flight type in admin 2018-01-29 20:51:00 -06:00
Nabeel Shahzad e57f0cb234 Add /acars/event as alias to /acars/log, and accept event as log line 2018-01-28 12:02:41 -06:00
Nabeel Shahzad 653ff2a104 Major refactoring and cleanup of ACARS/Pirep API 2018-01-28 11:12:13 -06:00
Nabeel Shahzad 9dc963ad29 some better logging 2018-01-24 13:38:06 -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 341424ad7e Fix flight edit and active/inactive flags #150 2018-01-23 13:23:32 -06:00
Nabeel Shahzad edb72e462f Add stricter validation around ACARS/PIREP API updates #149 2018-01-23 11:46:26 -06:00
Nabeel Shahzad f09b3b888a Cast the required field properly and add helper #146 2018-01-21 13:43:32 -05:00
Nabeel Shahzad 2cd45acbdf Show if there's a new version available on the admin dashboard #143 2018-01-19 18:44:17 -05:00
Nabeel Shahzad 1133902f50 Check for duplicate flight number/code/leg when adding/editing a flight #139 2018-01-19 17:16:15 -05:00
Nabeel Shahzad 3a02a77eba Add pilots list page; fix gravatar display and pilot profile #82 2018-01-19 17:07:31 -05:00
Nabeel Shahzad 7c70bb0971 add setting to disable user aircraft rank restriction #138 2018-01-19 12:46:30 -05:00
Nabeel Shahzad fe4f39a5dc Cleanup Controller inheritance 2018-01-11 21:35:03 -06:00
Nabeel Shahzad 4fb8a1aaf9 Add helper for the skin view 2018-01-11 21:21:33 -06:00
Nabeel Shahzad 0c7117da6c Fix settings log message 2018-01-11 19:46:35 -06:00
Nabeel Shahzad 186bbca428 Restrict the aircraft to only show the user's #138 2018-01-10 19:40:20 -06:00
Nabeel Shahzad 4f4137abf2 force no wrapping on the user fleet list #35 2018-01-10 19:00:38 -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 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