Nabeel Shahzad
072d5f76bb
Formatting for StyleCI
2020-03-31 17:34:10 -04:00
Nabeel Shahzad
d1d243ef06
Update response objects
2020-03-31 17:26:55 -04:00
Nabeel Shahzad
655ac66b52
Formatting
2020-03-29 15:05:56 -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
45873431e4
Add public/private pages #641 ( #644 )
...
* Add public/private pages #641
* Cleanup the form requests
2020-03-28 13:03:52 -04:00
Nabeel S
4a3ec38919
Option for SB only on bids; add the new file type #642 ( #643 )
...
Option for SB only on bids; add the new file type #642
2020-03-27 11:49:19 -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
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
62cea3eb0c
Load the user airline/bid ahead of time; SB XML name fix
2020-03-24 16:17:28 -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
2a03d53b3f
Fix airline mapping for aircraft #628 ( #633 )
2020-03-09 15:06:36 -04:00
Nabeel S
2846a78d2a
Fix saving of fare #621 ( #624 )
2020-03-06 16:54:53 -05:00
Nabeel S
632c5782de
Add fare type for pax/cargo/mixed flights #621 ( #623 )
2020-03-06 15:10:03 -05: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
89481b5fa1
HTTP/HTTPS mixed content errors #612 ( #613 )
...
* Configure TrustProxies middleware
* Add trusted proxies to deps
* Replace jquery request with axios request code
* Trust current user IP for forwarded headers
* Update dependencies
* Downgrade self-updater package for PHP 7.2
2020-03-03 10:20:13 -05:00
Nabeel Shahzad
dcf9f48364
Add ID column to fare #608
2020-03-02 17:38:48 -05:00
Nabeel S
f78d065858
Aircraft status field blank causes error #603 ( #604 )
...
* Update composer lock file
* Require aircraft status #603
2020-03-01 11:18:23 -05:00
Nabeel S
dbaac04eea
Remove airport length restrictions #590 ( #592 )
2020-02-27 11:37:05 -05:00
Nabeel S
f2b216c404
Remove 4 char restriction from ICAO; use decimal type for lat/lon #590 ( #591 )
...
* Remove 4 char restriction from ICAO; use decimal type for lat/lon #590
* Reorder imports
2020-02-26 17:06:39 -05:00
Nabeel S
b34dc4868e
Change fuel used to optional #512 ( #582 )
2020-02-23 16:01:09 -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
be6c164f03
Add checkbox to clear previous data when importing #490 ( #546 )
...
* Add checkbox to clear previous data when importing #490
2020-02-11 10:51:18 -05:00
Nabeel S
df832088d5
Make the fuel used optional ( #512 )
2020-01-22 10:33:10 -05:00
Nabeel S
831b72fb2b
Set a default model value for airports on PIREP ( #500 )
...
* Set a default model value for airports on PIREP
* Fix airport icao reference
* Default airport models
2020-01-15 13:00:58 -05:00
Nabeel S
7d07008871
Fix GeoService errors when viewing PIREP #498 ( #499 )
2020-01-15 09:09:58 -05:00
Nabeel S
aafc9680bf
Properly set the distance/planned_distance on save ( #497 )
2020-01-14 13:45:22 -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 Shahzad
66a1192739
Cleanup Model doc
2019-12-22 09:46:41 +05:00
Nabeel S
1f65b744a0
Fix CSV imports giving Storage class not found #454 ( #462 )
...
* Fix CSV imports giving Storage class not found #454
* Update yarn files for security alert
2019-12-10 13:53:55 -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
68eff40753
Replace importer with AJAX powered; better error handling #443 ( #447 )
...
* Replace importer with AJAX powered; better error handling #443
* Formatting
* Fix command line importer
2019-12-02 09:57:35 -05:00
Nabeel S
50dc79bc8d
Refactor and add importer to Installer module #443 ( #444 )
...
* Refactor and add importer to Installer module #443
* Refactor for finances to use in import
* Import groups into roles
* Formatting
* Formatting
* Add interface in installer for import
* Notes about importing
* Check for installer folder
* Formatting
* Fix pirep->user mapping
* Unused import
* Formatting
2019-11-27 09:19:20 -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
7a34756188
Issue fixes ( #413 )
...
* Auto lookup missing airports closes #404
* Ensure flight ICAOs are capitalized closes #404
* Update htaccess in root closes #412
* Update htaccess in root closes #412
* StyleCI fix
2019-10-23 12:01:31 -04: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
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
651174bda8
229 url for downloads ( #369 )
...
* Allow file uploads for subfleet
* Allow URL to be used for a download
* Remove old FileUploadRequest
* Move file removal logic to service layer
* Remove unused import
* Remove unused packages
2019-08-26 14:43:50 -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
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
70f470d64e
Formatting
2019-07-23 09:08:05 -04:00
Nabeel Shahzad
fcc6295a77
Remove unused/dead code
2019-07-23 09:00:39 -04:00
Nabeel Shahzad
c5007f2928
Formatting
2019-07-23 08:43:40 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00