Nabeel S
1287766a46
Fix aircraft retrieval for Simbrief ( #1089 )
...
* Fix full aircraft retrieval for simbriefs
* F off StyleCI
2021-03-19 18:25:19 -04:00
Nabeel Shahzad
11824c9f8b
Flight search error
2021-03-19 16:59:39 -04:00
exciler
b9e7a2efc9
Add unit conversion handling for block_fuel like for fuel_used ( #1076 )
...
* Add unit conversion handling for block_fuel like for fuel_used, add further checks in PIREPTest->testUnitFields
* Remove accidentially added "use"
Co-authored-by: Andreas Palm <ap@ewsp.de>
2021-03-15 08:30:14 -04:00
Nabeel S
e22d6d5996
Refactoring Simbrief fares and aircraft ( #1054 )
...
* Refactoring simbrief fares and aircraft
* Hide user full name/email
* Sort PIREP fields desc; fix cargo counts
* Change the sorting
* Extra logs
* Fix tests
* Return fare information through the API
* Style fixes
* Test fix
* Another test fix
* More fixes
* Set aircraft and fares in prefile
* Formatting
2021-03-02 12:29:04 -05:00
Nabeel Shahzad
bf77f7dd96
Add 'phase' as response output, deprecate "status"
2021-02-04 14:54:16 -05:00
Nabeel S
fc7ad7eb6a
Simbrief attachment not working #1005 ( #1006 )
...
* Refactoring for Simbrief not working #1005
* Style fixes
* Update tests for new briefing URL
* Check the OFP user
* Comment out user check temporarily
2021-01-25 06:54:17 -05:00
Nabeel S
a2916bf536
Cleanup visible flight logic ( #1000 )
...
* Cleanup visible flight logic
* Add transfer_time to API response
2021-01-21 11:11:11 -05:00
B.Fatih KOZ
18e1d63760
Update User.php ( #968 )
...
We should be able to send the private name with the api too.
2020-12-23 11:27:01 -05:00
Nabeel Shahzad
0fa00206ce
Make sure stdclass is returned in flight fields
2020-10-29 12:38:40 -04:00
Nabeel S
dc7efc981c
Refactor fares inheritance #905 ( #906 )
2020-10-27 18:46:15 -04:00
Nabeel S
1be68d1e63
Flight/Subfleet fares not returning in API #899 ( #900 )
...
Make sure proper fares are returned from the API #899
2020-10-24 15:11:08 -04:00
Nabeel S
95a40d3565
Make sure proper subfleets are returned as part of the user profile #848 ( #849 )
...
* Make sure proper subfleets are returned as part of the user profile #848
* Formatting
2020-09-30 12:58:45 -04:00
Nabeel Shahzad
6078163d75
Initial pass at Laravel 7 support #673
2020-05-15 18:20:23 -04:00
Nabeel Shahzad
209b2790b6
Fix URL to briefing
2020-04-15 15:12:57 -04:00
Nabeel S
261984ee90
Fix PirepComment response; 201 to 200 ( #654 )
2020-04-01 01:05:09 -04:00
Nabeel Shahzad
6f05dd6c86
Add full user response to PIREP API call
2020-03-31 23:32:50 -04:00
Nabeel Shahzad
d1d243ef06
Update response objects
2020-03-31 17:26:55 -04:00
Nabeel Shahzad
e9b30fbe30
Make sure user and acars data is sent from API
2020-03-29 13:33:14 -04:00
Nabeel S
f3fe3a56ba
Don't return bids by default, fix user flight column #639 ( #640 )
...
Fix the user api response, don't return bids by default, fix flights column #639
2020-03-25 18:04:26 -04:00
Nabeel Shahzad
88e8ea6ed1
Add total flights
2020-03-25 17:02:48 -04:00
Nabeel Shahzad
cce575c1a6
Fix avatar/gravatar call throwing error
2020-03-25 10:58:03 -04:00
Nabeel Shahzad
eafea01e22
Fix gravatar url check
2020-03-24 18:54:04 -04:00
Nabeel Shahzad
3f7a7d0f2e
Remove empty fields from user return, add avatar
2020-03-24 15:53:59 -04:00
Nabeel S
9e5386264f
SimBrief integration #405 ( #635 )
...
* SimBrief integration #405
* Add briefing as API response; add acars_xml field #405
2020-03-23 09:31:35 -04:00
Nabeel S
632c5782de
Add fare type for pax/cargo/mixed flights #621 ( #623 )
2020-03-06 15:10:03 -05:00
Nabeel S
16c977c769
Add load_factor and load_factor_variance to flights #352 ( #620 )
2020-03-05 20:19:12 -05:00
Nabeel S
9ed2e3f9f4
API: Flight fields are an array when empty #618 ( #619 )
...
* Ensure 'fields' field is return as an object for flights #618
* Eager loading for flight fields
2020-03-04 18:14:03 -05:00
Nabeel Shahzad
dcf9f48364
Add ID column to fare #608
2020-03-02 17:38:48 -05:00
Nabeel Shahzad
3cd6c8ee82
Fix cost/code field #608
2020-03-02 16:08:58 -05:00
Nabeel S
b78c1b935e
Include fare information in subfleet response #608 ( #609 )
2020-03-02 15:36:01 -05:00
Nabeel S
3ec64c989b
Fixes ( #435 )
...
* Add flight level field to PIREP field closes #401
* Default value for distance 0 closes #400
* Block airline deletion if assets exist #367
* Formatting
* Move some of the base exception classes
* Fix skin references to use settings table
* Set default for theme name if setting is wrong
2019-11-19 10:06:07 -05:00
Nabeel Shahzad
97baf98d04
Formatting
2019-09-20 09:11:34 -04:00
Nabeel Shahzad
eb27c94637
Fix for bad unit conversions in API responses
2019-09-20 09:05:09 -04:00
Nabeel S
0d1f38cf85
Refactor all JS API calls #360 ( #375 )
...
* Refactor all JS API calls #360
* Remove unused imports
* Lint JS
* Fix doubled api key
* Formatting
* Added extra logging to distance lookup
* Remove the .editorconfig file in distrib
* shell check fixes
* Remove the .editorconfig file in distrib
2019-08-30 08:08:00 -04:00
Nabeel S
bbec276da8
#355 Calculate distance button ( #366 )
...
* #355 Calculate distance button in add/edit Flight page
* Styling
* Move add/edit flight logic out of controller and into service layer
* Styling
* Formatting
* Run styleci against modules dir
* Styleci config
* Style fixes in /modules
2019-08-26 12:32:46 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
c04bfb78c6
Formatting
2019-07-15 15:17:51 -04:00
Nabeel Shahzad
06d8f11ca3
Cleanup SI Unit classes and interface for REST responses; fixes to a few METAR parsing issues
2019-07-15 15:14:40 -04:00
Nabeel Shahzad
3c32f2d89d
Apply fixes from StyleCI
2018-08-26 18:51:47 +00:00
Nabeel Shahzad
e95b3eb366
Code cleanup from inspection results
2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
c8a9ebd26d
Data cleanup; set flight ident in response
2018-05-13 16:59:35 -05:00
Nabeel Shahzad
4fa024045d
refactorings of pirep/acars api calls; separate field calls
2018-05-09 12:45:24 -05:00
Nabeel Shahzad
23f1a8225a
update livemap to use rivets.js bindings for data updates
2018-05-03 15:07:16 -05:00
Nabeel Shahzad
5dff563c75
Fixes for API and live map
2018-05-02 15:14:18 -05:00
Nabeel Shahzad
3a81e2ec27
Fix block_off/on_time and fix the metar date parsing
2018-05-01 22:52:31 -05:00
Nabeel Shahzad
395642f69c
Add /api/news route
2018-04-11 20:01:41 -05:00
Nabeel Shahzad
c102a0d858
Refactor all of the unit conversion code
2018-04-07 20:52:12 -05:00