Commit Graph
432 Commits
Author SHA1 Message Date
Nabeel Shahzad 58e0f50c48 specify fares, js to dynamically change fare form; get applicable fares for the flight/pirep #125 2018-02-24 15:38:25 -06:00
Nabeel Shahzad 910c0e0eab Convert aircraft active to more detailed status #134 2018-02-23 16:37:10 -06:00
Nabeel Shahzad b8b4fe7a8a Add percentages as part of sample data #125 2018-02-23 15:34:14 -06:00
Nabeel Shahzad 53b0bbd936 Convert errors into HttpException calls 2018-02-22 15:15:00 -06:00
Nabeel Shahzad 3748ab77d2 Fix aircraft active/inactive states 2018-02-22 14:59:09 -06:00
Nabeel Shahzad ad5f36f85e Cleanup frontend user bid add/remove to use the API, script and html cleanup #172 2018-02-22 11:34:57 -06:00
Nabeel Shahzad 6dfab75f08 Add api routes to get/add/remove bids for a user #172 2018-02-22 10:44:15 -06:00
Nabeel Shahzad 5d2ef3a9d3 Fix wrong Exception being thrown 2018-02-22 09:41:23 -06:00
Nabeel Shahzad 9dfdc8195d Add flight log to both frontend and admin pirep edit view 2018-02-21 15:24:46 -06:00
Nabeel Shahzad ea09a18956 Fixed formatting of almost every file 2018-02-20 22:33:09 -06:00
Nabeel Shahzad c5b6ca53fa Redirect subfleet create to edit page 2018-02-20 21:55:01 -06:00
Nabeel Shahzad 14d04604cb Add ranks from the subfleet edit page closes #160 2018-02-20 21:53:50 -06:00
Nabeel Shahzad aeacd80bcb Check aircraft permissions in PIREP update/file 2018-02-20 14:14:20 -06:00
Nabeel Shahzad 653711fa96 Change volume units to be in lbs/kg closes #193 2018-02-20 14:07:33 -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 5ee8c1e779 level not required in prefile; distance required in file 2018-02-20 11:12:50 -06:00
Nabeel Shahzad ad4259625c Add flight time to flight create/edit form 2018-02-19 13:33:26 -06:00
Nabeel Shahzad 3d9d17d9b9 Add call to get user's PIREPs #192 2018-02-19 10:35:49 -06:00
Nabeel Shahzad 2678514077 API: Only show active airlines 2018-02-12 12:05:10 -06:00
Nabeel Shahzad 62506a26a1 set country on the airline, in admin and installer #191 2018-02-12 10:51:04 -06:00
Nabeel Shahzad 61dc0a046d Fix rank image field 2018-02-12 10:26:27 -06:00
Nabeel Shahzad c817d1ae4b Installer fixes 2018-02-12 09:47:12 -06:00
Nabeel Shahzad 61af5fe226 Cleanup column types and assign Time class to fields #189 2018-02-11 20:38:56 -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 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