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
9f3ddd5dbd
Add fixed pilot pay for a flight #487 ( #622 )
2020-03-06 11:36:02 -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
ea9ee985e8
METAR parsing infinite loop bugfix #599 ( #600 )
...
METAR parsing infinite loop bugfix #599
2020-02-28 22:50:41 -05:00
Nabeel S
7e742518bc
Module/plugin installation working #593 ( #594 )
...
* Remove the Sample module
* 593-Fix-Modules-From-Composer
* Fix pre/post install scripts in composer #593
* Formatting
2020-02-28 16:06:45 -05:00
Nabeel S
07a75de0bf
Recalcuate aircraft stats in nightly cron and importer #585 #443 ( #587 )
2020-02-24 19:35:28 -05:00
Nabeel S
a1d6fa17ad
Respect home hubs setting for registration #580 ( #581 )
...
Respect home hubs setting for registration #580
2020-02-23 17:21:26 -05:00
Nabeel S
9ed07da9c3
Upsert on ACARS positions #572 ( #573 )
2020-02-22 16:03:01 -05:00
Nabeel S
b9993b9c23
Set expenses on specific flight types #348 ( #549 )
...
* Set expenses on specific flight types #348
* Formatting
* Use strict check for in_array
2020-02-12 10:40:52 -05:00
Nabeel S
b36a3009dd
Cleanup Utils #467 ( #547 )
...
* Remove Utils Facade
2020-02-11 12:32:41 -05:00
Nabeel S
e431f75ad4
Add getRootDomain() to Utils ( #514 )
2020-01-28 12:42:46 -05:00
Nabeel S
2415caab54
Search flights by subfleet #484 ( #506 )
...
* API level search of flights #484
* Add Subfleet to flights page for search
2020-01-16 17:36:03 -05:00
Nabeel S
d03a77bd4b
New subfleet not being attached to an airline on import #479 ( #505 )
...
* Fix subfleet not being attached to an airline on creation in import #479
* Call airline name with optional() around subfleet
* Minor cleanup
2020-01-16 14:23:23 -05:00
Nabeel S
c2f7c5e421
Properly create/update rows importing #486 ( #503 )
2020-01-16 10:40:42 -05:00
Nabeel S
03284959d6
Search for ICAO not working properly ( #496 )
2020-01-10 09:41:32 -05:00
Nabeel S
74052e4542
Return the flight fares if there are no subfleet fares #488 ( #489 )
...
* Return the flight fares if there are no subfleet fares #488
* Formatting
* Formatting
2020-01-06 13:44:43 -05:00
Nabeel S
4f4d0c266a
Allow nullable field and calculate distance if nulled for flight import #478 ( #482 )
2019-12-25 17:16:34 +05:00
Nabeel S
a58bca390b
Fix BindingResolutionError when debug toolbar isn't present ( #465 )
...
* Fix BindingResolutionError when debug toolbar isn't present
* Formatting
2019-12-11 15:12:31 -05:00
Nabeel S
e6d38f9338
Add PHP 7.4 support ( #464 )
...
* Add PHP 7.4 to build matrix
* DB fix
* YAML parser fix in test data
* Show versions
* Package updates
* Track used ICAOs
* 7.4 METAR parsing fix
* METAR parser fix
* Formatting
* Add meters to response units
* Call instance for unit conversion
* Return value
* Catch exception for unknown quantity
* Comment fix
* Formatting
* METAR parsing fixes on PHP 7.4
* Package updates
* More random airport ID
* More random airport ID
* Properly disable toolbar
* Semver written out to version file
* Use dev as default identifier
2019-12-11 12:57:18 -05:00
Nabeel S
b06287da23
Stricter checks on ACARS API data ( #451 )
...
* Stricter checks on ACARS API data
* More checks
2019-12-02 18:27:58 -05:00
Nabeel S
ea3ab21beb
391 Notification refactorings ( #441 )
...
* Refactor notifications to allow easier plugins
* Notification refactoring
* Formatting
* Move news to NewsService; cleanup of events
* More refactoring; added send email out for news item and the template
* Formatting
* Formatting
2019-11-20 10:16: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 S
f5183babf6
#406 Refactor bids ( #432 )
...
* Add flight_id column to pireps table
* Refactor PIREPs and bids closes 406
* Formatting
2019-11-05 11:44:31 -05:00
Nabeel S
aedb1f22b6
Don't allow cancels from certain states ( #396 )
...
* Don't allow cancels from certain states
* Unused imports
* Don't reset the state doubly
* Move SetUserActive into listener; code cleanup
* Unused imports
* Add missing files into htaccess
* Move Command contract to correct folder
2019-09-16 13:08:26 -04:00
Nabeel S
d68d8791bd
389 API Changes ( #393 )
...
* Update PHPUnit to 8
* Fix API endpoints closes #389
* Update pagination method in Repository contract to look at the page number closes #390
* Remove unused imports
* Fix tests in FlightTests
* Typecast page
* Don't register factories
* Remove Factory loading
* Remove unused imports
2019-09-13 11:21:40 -04:00
Nabeel S
23eb9dcbda
384 Laravel 6 changes ( #385 )
...
* 384 Laravel 6 changes
* Library versions
* Update package versions
* Add keyType to models
* Remove unused dependencies
* StyleCI fixes
* Fix models for test
* Fix tests output and update test runner
* Unused imports
* Update exceptions handler
* Fix login page
2019-09-13 08:05:02 -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 S
182aabf426
Refactor error handling internally to follow RFC7807 ( #362 )
...
* Refactor error handling internally to follow RFC7807
* style fixes
2019-08-21 08:17:44 -04:00
Nabeel S
47be7507f0
Fix/metar reading ( #354 )
...
* Account for empty ICAO; added tests
* Fix null returns
* Fix typo in volume units display
* Add version field for bug report template
* Some more changes to the bug report template
2019-08-08 17:41:53 -04:00
Nabeel S
5cafebe4d6
Fix/metar reading ( #353 )
...
* Fix reading of the METAR information for AviationWeather. Fix the DI
* StyleCI fixes
2019-08-08 14:52:34 -04:00
Nabeel S
a08c9db284
Add setting to include transfer hours in calculations ( #350 )
...
* Add setting to include transfer hours in calculations
* Add some extra tests to check versions
* A couple of more version test cases
2019-08-08 12:50:43 -04:00
Nabeel S
e12188b7d3
Issue/327 versioning ( #345 )
...
* Switch to semver format
* Rewrite new version check to use Github Releases and cron
* Styling
* Remove v from in front of version
* New version check test fix
* Uncomment test case
2019-08-06 17:48:00 -04:00
Nabeel S
9f3ba05880
Issue/329 refactor seeding ( #337 )
...
* Fix Contracts class names
* Refactoring of the file seeds so it's not a mess
* StyleCI fixes
2019-08-05 08:27:53 -04:00
Nabeel S
95147e31bf
Fix issue where user stats aren't incremented on PIREP auto accept ( #335 )
...
* Fix issue where user stats aren't incremented on PIREP auto accept
* Formatting
2019-08-01 15:23:59 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00
Nabeel Shahzad
e97ae78e47
Fix for tests
2019-07-17 13:54:44 -04:00
Nabeel Shahzad
89a01afc7c
Fix throws pathing for tests
2019-07-17 13:40:56 -04:00
Nabeel Shahzad
9475a737f0
Change exporter to use utf-8 close #282
2019-07-17 13:36:16 -04:00
Nabeel Shahzad
482a9cb04f
formatting
2019-07-17 10:04:22 -04:00
Nabeel Shahzad
f5dcd06838
Remove the NotNull checks
2019-07-17 09:57:05 -04:00
Nabeel Shahzad
9c8c06ef28
Fix metar clouds test
2019-07-17 09:56:16 -04:00
Nabeel Shahzad
ec81a6d157
Fix errors in the METAR parsing for clouds; display error for pressure units
2019-07-17 08:57:45 -04:00
Nabeel Shahzad
80560ec20c
Formatting
2019-07-16 14:06:13 -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
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
b28ace970c
Add interface to additional roles/permissions
2019-06-20 16:52:37 -04:00
Nabeel Shahzad
a176ed2dae
Apply fixes from StyleCI
2019-06-18 22:58:09 +00:00
Nabeel Shahzad
87aa6ed1da
Fix tests for 5.8
2019-05-12 10:50:38 -05:00
Nabeel Shahzad
7fce5421b4
Reset the criterea before a new search
2019-05-11 11:37:06 -05:00
Nabeel Shahzad
5b061ba636
Add greater than/less than search options #297
2019-05-10 16:03:04 -05:00
Nabeel Shahzad
8171d681a6
Fix METAR parsing for runway visibility
2018-09-01 16:58:38 -04:00
Kevin
525e8ba8bb
Adding cloud height assertion
2018-08-29 07:58:57 +08:00
Kevin
75ef658d8f
Fix metar parsing issue
2018-08-29 07:27:53 +08: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
0f3424f41e
Fix datetime parser
2018-08-26 12:25:51 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
5ee053cace
Fix PIREP field error on file
2018-08-20 09:20:03 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
e680f33326
Add more tests for days of week
2018-07-24 11:21:52 -05:00
Nabeel Shahzad
26061deced
Fix flight visibility for day
2018-07-13 07:43:27 -05:00
Nabeel Shahzad
f640381978
Export extra fields for airports
2018-07-12 22:21:39 -05:00
Nabeel Shahzad
9cc640b866
Fix PIREP field and non-existant airport errors when editing PIREPs
2018-07-12 21:20:10 -05:00
Nabeel Shahzad
3e96b195a6
Add short timeout to HTTP calls by default; cache METAR lookups
2018-05-14 11:22:20 -05:00
Nabeel Shahzad
df88cb141a
Allow draft for PIREPs, separate out the save/submit and delete functionality
2018-05-10 10:35:10 -05:00
Nabeel Shahzad
4fa024045d
refactorings of pirep/acars api calls; separate field calls
2018-05-09 12:45:24 -05:00
Nabeel Shahzad
9542c23717
Fix tests formatting of DateTime/Carbon objects
2018-05-09 09:15:07 -05:00
Nabeel Shahzad
3f1f83438d
remove observed_date test from metar code
2018-05-07 14:37:08 -05:00
Nabeel Shahzad
feeb4946d1
Add some indexes and tests for airports
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
d80e70e2b1
Fix Unit type conversions in tests
2018-05-03 16:13:25 -05:00
Nabeel Shahzad
f8965f1785
Fix tests for new datatypes
2018-05-03 15:36:26 -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
b96f1cd7c4
api fixes/updates
2018-05-01 20:58:05 -05:00
Nabeel Shahzad
531e86f5e7
Fix flight duplicate detection in add/edit/import; fix active checkbox
2018-04-25 11:53:32 -05:00
Nabeel Shahzad
59302ded0f
Fix another flight day test
2018-04-16 16:57:22 -05:00
Nabeel Shahzad
ea32353890
Fix flight on days deactivation test
2018-04-16 16:46:51 -05:00
Nabeel Shahzad
63c5d69e10
Some fixes to trends parsing
2018-04-15 14:14:40 -05:00
Nabeel Shahzad
9d3d284df7
Check start/end/days of week in cron and active/deactivate flights accordingly
2018-04-12 16:12:32 -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
Nabeel Shahzad
eae5989845
Replace METAR data with custom class
2018-04-07 09:05:06 -05:00
Nabeel Shahzad
a31b704203
add metar lib and adding some modifications
2018-04-04 20:59:52 -05:00
Nabeel Shahzad
d8dad44e43
Add compositional interface for METAR parser class
2018-04-04 17:14:46 -05:00
Nabeel Shahzad
e27f6f1b14
Add addtl fields to pirep - block_off and block_on times, calculate block_off time if not there
2018-04-04 13:03:10 -05:00
Nabeel Shahzad
cfd0853d79
Convert expense type to char, translations for ExpenseType
2018-04-01 22:26:20 -05:00
Nabeel Shahzad
0f521c3af9
Change PIREP states to follow AIDX guidelines
2018-04-01 20:18:12 -05:00
Nabeel Shahzad
793b3e7134
change ref_class to ref_model
2018-04-01 14:32:01 -05:00
Nabeel Shahzad
3744dbfd5d
few more checks on aircraft fields
2018-03-30 21:56:55 -05:00
Nabeel Shahzad
8fb239fb8f
tests on all airport fields
2018-03-30 21:51:13 -05:00
Nabeel Shahzad
9eb8ed1804
fix aircraft status field type in model
2018-03-30 21:45:11 -05:00
Nabeel Shahzad
a3bfcf01b7
Fix mock storage for airports
2018-03-30 21:25:54 -05:00
Nabeel Shahzad
71da25eca5
Add mock stock to test the csv round-trip
2018-03-30 21:19:48 -05:00
Nabeel Shahzad
217da07007
Fix column headers
2018-03-30 20:57:30 -05:00
Nabeel Shahzad
70e5ccda6f
Add IATA and ZFW to aircraft import/export and tables
2018-03-30 20:21:18 -05:00
Nabeel Shahzad
f2952c6567
Fix blank/empty field being returned as invalid object #222
2018-03-30 18:53:43 -05:00
Nabeel Shahzad
1cbfdbdac5
don't attempt to convert flight type in flight exporter
2018-03-30 18:08:03 -05:00
Nabeel Shahzad
63544088cd
Add validation to importers to fix invalid/empty columns #222
2018-03-30 17:27:29 -05:00
Nabeel Shahzad
bd30b1f900
Check for departure airport restrictions #221
2018-03-30 11:08:53 -05:00
Nabeel Shahzad
08d3578d38
Add cost_block_hour tests; extra logging
2018-03-29 14:55:25 -05:00