Commit Graph
507 Commits
Author SHA1 Message Date
Nabeel Shahzad 0700c96901 fix serialization of converter classes #189 2018-02-10 22:30:42 -06:00
Nabeel Shahzad f14a9e3ba1 implements ArrayAccess for casting to type #189 2018-02-10 22:04:30 -06:00
Nabeel Shahzad a8e06c6cc6 base conversion classes for units #189 2018-02-10 21:16:32 -06:00
Nabeel Shahzad 3aa01aaa18 tests check the data object in return #186 2018-02-10 18:17:38 -06:00
Nabeel Shahzad 2a289e0468 pirep route wrap the data object #186 2018-02-10 17:48:51 -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 7a6b228d8f make planned_distance optional #185 2018-02-10 16:02:15 -06:00
Nabeel Shahzad fbd73b0717 make planned_distance optional #185 2018-02-10 16:00:43 -06:00
Nabeel Shahzad e6290c3396 set pirep source to acars #177 2018-02-10 13:41:24 -06:00
Nabeel Shahzad 8acb9291fe hide all cancelled pireps #180 2018-02-10 13:25:40 -06:00
Nabeel Shahzad 80cd80a5cf Change the filtering to operate without being in the service layer #174 2018-02-09 15:42:37 -06:00
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 e69d9f4c38 Add pirep fields to the API response; add tests for setting/getting them 2018-02-06 13:59:40 -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 87b5ad390f Make sure all the Flight fields are included 2018-02-04 12:39:51 -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 9a426f79f9 Add fuel_used column to PIREPs table 2018-01-30 11:27:39 -06:00
Nabeel Shahzad 4f59e466a2 Change fuel_used to block_fuel 2018-01-30 11:05:14 -06:00
Nabeel Shahzad 351f777488 Set flight type in admin 2018-01-29 20:51:00 -06:00
Nabeel Shahzad 906a8ef5fe Fix tests and extend the source_name field 2018-01-29 20:30:29 -06:00
Nabeel Shahzad a5f51f6264 Add first pass of pirep import; additional fields in flight/pirep tables #114 2018-01-29 18:14:55 -06:00
Nabeel Shahzad c55b55726e Add distance and planned_distance to PIREP api 2018-01-29 16:27:55 -06:00
Nabeel Shahzad f660af5c3b Add config.php at root; include configuration overhaul and then fixes to the installer #156 2018-01-29 13:16:39 -06:00
Servetas George 78724e981c Awards Administration 2018-01-28 21:19:35 +02: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 77d0d2bcd0 Add comments to the PIREP endpoint 2018-01-24 16:22:49 -06:00
Nabeel Shahzad 9dc963ad29 some better logging 2018-01-24 13:38:06 -06:00
Nabeel Shahzad cd61c999e7 Cleanup default value field migrations; flight fields 2018-01-23 21:58: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 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