Nabeel Shahzad
0578f98b58
Force flight to visible before day checks
2021-01-21 10:57:51 -05:00
Nabeel Shahzad
2e0f0b00ef
Ensure simbrief id is assigned
2021-01-21 09:21:39 -05:00
Nabeel Shahzad
bd8e13e78f
Cleanup Simbrief Briefing pages
2021-01-17 21:52:22 -05:00
Nabeel Shahzad
c4dee07b7f
Cleanup flight search code
2021-01-17 21:25:44 -05:00
B.Fatih KOZ
617cea5df7
SimBrief Planning System Update ( #991 )
...
* SimBrief Planning System Update
Replaces outdated old pr.
Same improvements apply to both controller and simbrief_form.blade.
* Style Fix for SimBrief.Controller
* strict equals fix and some comments
changed equals to strict equals and put in some comments about the loadarray and manualrmk generation.
* Formatting/separate out secstohhmm
* Formatting
* Removed duplicates
We have the $wakecat, $equipment and $transponder in the controller, removed them from the blade.
Fixed a harmless typo in the IVAO Prefile DEPTIME line
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh>
2021-01-17 15:59:32 -05:00
B.Fatih KOZ
a952071cb4
Subfleet Hubs / Base Airports ( #978 )
...
* Update SubFleet Model
Add hub_id for storing subfleet's main base/hub airport, define a relationship with airport model to get details of the base/hub airport when needed.
* Update Admin / SubFleetController
Added the ability to read and pass hub airports to admin view for create/edit options.
* Update Admin/SubFleets.fields.blade
Added the dropdown for adding/editing main base/hub of a subfleet.
* Add migration for the hub_id column
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
Co-authored-by: Nabeel Shahzad <nshahzad@live.com>
2021-01-17 12:43:06 -05:00
B.Fatih KOZ
a5b83185f5
Search Flights By Flight Type ( #987 )
...
Flight Controller : Added flight_type to return
Flight Repository : Made flight_type searchable and added its where criteria
Flight.Search.Blade : Added the flight types in a reasonable order as a dropdown (like schedule pax,charter pax,cargo,others)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-01-17 12:23:23 -05:00
Andrew Roberts
0068b1215a
Remove existing fares when importing ( #988 )
...
Delete all existing fares and overwrite with new import when Delete Existing Data is checked/true.
2021-01-16 13:09:56 -05:00
B.Fatih KOZ
984c1e0cec
SimBrief : Generate New Briefing ( #986 )
...
* Add SB Briefing Removal Route
Route will be called from simbrief.briefing.blade
* SimBrief Controller and Briefing Blade Update
Added the remove function to controller, which removes the simbrief ofp if no pirep_id is present, else it just nulls the flight_id for to be able to create a new SB pack
Also added the button to blade for it to work
* Style Fix
love styleci
2021-01-15 17:36:46 -05:00
Daniel Ortez
ad8b8e8945
Fix for deleting flights when importing ( #984 )
2021-01-14 07:07:35 -05:00
B.Fatih KOZ
2b0056b7c5
Added the ability to enable/disable flight table display below the map ( #983 )
...
* LiveMap Widget Upgrade
Added the ability to enable/disable flight table display below the map.
Default is on
* Update LiveMap.php
* Update LiveMap.php
* Update live_map.blade.php
2021-01-12 08:24:50 -05:00
B.Fatih KOZ
a037597a21
Airline > Subfleet Relationship ( #970 )
2021-01-03 08:05:48 -05:00
Andrew Roberts
4026fe9149
Fix location of configservice ( #977 )
...
Pointing to wrong location of file which is throwing errors as a result
2021-01-03 07:39:02 -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 S
4bda494c6b
Add helpers kvp() and kvp_save() ( #966 )
2020-12-21 11:30:44 -05:00
B.Fatih KOZ
a5513b6fbb
Fixes for reported pressure in METAR parsing ( #965 )
...
* Update Metar.php
The reported pressure was always being assigned as hPa thus resulting display and conversion errors when the reported pressure was inHg.
Also the VFR/IFR (VMC/IMC) determination was using minimum 5 nmi and 3000 ft cloud base, it must be 5 km and 3000 ft.
With this state, this PR should fix issue #948 and partly fixes issue #963
* MetarTest Fix for inHg/hPa
2020-12-21 10:53:50 -05:00
B.Fatih KOZ
e4972eaae3
Download screen enhancements
...
Changed the group name according to its category , aircrafts will show icao type and registration , airports will be displayed with their icao codes names and countries. Rest will be showed with their names (exp airlines)
This will result a much better look on the downloads page for end users while looking for a specific type's files (like a repaint for a B738).
2020-12-18 14:34:05 -05:00
Nabeel Shahzad
f62c607138
Change fuel calculation to fuel used #807
2020-12-07 09:46:07 -05:00
B.Fatih KOZ
fb44b73f44
Fix METAR decoding (text correction only) ( #950 )
...
* Update Metar Decoding (Text Correction Only)
SKC means Sky Clear or Clear Skies.
Rest is ok
* Update MetarTest.php
2020-12-04 12:47:42 -05:00
Nabeel S
6b5cf38224
Calculate percentage properly instead of adding to the base value #925 ( #942 )
...
* Calculate percentage properly instead of adding to the base value #925
2020-11-26 16:44:57 -05:00
Nabeel S
2ecf366670
Add missing columns from subfleet export #926 ( #941 )
2020-11-26 13:34:04 -05:00
Nabeel Shahzad
a7981c0a87
Redirect to the subfleet aircraft list on save #932
2020-11-26 13:15:56 -05:00
Nabeel S
8f4219bc95
Download path size too small; fix migrations #935 ( #940 )
2020-11-26 13:03:59 -05:00
Nabeel Shahzad
eae345efa7
Fix dropping of unique index when table prefix is present #934
2020-11-26 12:27:26 -05:00
Nabeel Shahzad
7e4c652330
Log for avatar upload
2020-11-22 09:59:09 -05:00
Nabeel S
ced2c150b7
Change the body size to medium text #920 ( #930 )
...
Change the body size to medium text (16MB) #920
2020-11-20 12:00:37 -05:00
Nabeel Shahzad
a52d844719
Set flight_id to be fillable
2020-11-02 11:57:25 -05:00
Nabeel Shahzad
0fa00206ce
Make sure stdclass is returned in flight fields
2020-10-29 12:38:40 -04:00
Nabeel Shahzad
a58237b04b
Allow flight_id to be nullable
2020-10-27 21:47:19 -04:00
Nabeel S
dc7efc981c
Refactor fares inheritance #905 ( #906 )
2020-10-27 18:46:15 -04:00
Nabeel Shahzad
aaaf2e7c00
Make sure capacity is an integer
2020-10-24 16:04:09 -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 Shahzad
b83f7dcac8
Updated seed data for dev
2020-10-24 09:26:14 -04:00
Nabeel S
b37bd2cd7b
Change award events handler to subscription #888 ( #894 )
2020-10-23 07:28:22 -04:00
Nabeel S
584d37f230
FlightRouteAwards - fix if last pirep is empty/other error conditions ( #886 )
2020-10-22 16:25:52 -04:00
Nabeel Shahzad
1c9d1c1733
Extra logs/skip module seed pending
2020-10-21 14:12:38 -04:00
Nabeel S
cd18442207
Fixes for installer/modules race condition ( #883 )
2020-10-21 13:28:54 -04:00
Yash Govekar
716ba38b6d
Default values for automatically added airports #829 ( #878 )
2020-10-20 15:25:13 -04:00
Yash Govekar
c0514b381b
Fixed exporting expenses ( #877 )
2020-10-19 15:22:06 -04:00
Yash Govekar
5803487d51
Installing and managing modules from admin panel ( #847 )
2020-10-19 10:10:28 -04:00
Nabeel Shahzad
75a0a4c87a
Update FareService.php
2020-10-13 18:12:52 -04:00
Nabeel Shahzad
3b6800077f
Preload fares with PIREP
2020-10-13 18:12:14 -04:00
Nabeel Shahzad
bf878a98a4
Extra logging around fares
2020-10-13 18:10:31 -04:00
Nabeel S
dc007f6d9e
Bids are missing subfleets in API response #867 ( #868 )
...
Bids are missing subfleets in API response #867
2020-10-12 12:49:11 -04:00
Nabeel S
193fbd369d
Show awards on user profile #703 ( #866 )
2020-10-11 16:06:09 -04:00
Nabeel S
69d89511be
Inherited value can't be removed #811 ( #863 )
...
Inherited value can't be removed #811
2020-10-10 15:24:10 -04:00
Nabeel S
48087fb05f
Metar: TEMPO and trend causing issue with values being overwritten ( #862 )
...
Metar: TEMPO and trend causing issue with values being overwritten
2020-10-10 14:55:12 -04:00
Nabeel Shahzad
24aca506fc
Update UserController.php
2020-10-06 19:26:52 -04:00
Nabeel Shahzad
365e33f5f8
Redirect show() to edit()
2020-10-06 19:10:42 -04:00
Nabeel Shahzad
7a75e0f5ad
Fix missing $countries
2020-10-06 18:52:34 -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 S
98aa362935
Fix subfleets not returning proper fare counts #831 ( #846 )
...
Fix subfleets not returning proper fare counts #831
2020-09-29 13:21:24 -04:00
Nabeel S
77fe6679ce
Update module generation #714 ( #716 )
...
* Update module generation #714
* Fix method signatures
* Fix paths within stubs, use single provider.stub file
* Add separate index controller
* Update module generation #714
* Fix method signatures
* Fix paths within stubs, use single provider.stub file
* Update module generation
Disable/lower the cache time as found as a workaround in https://github.com/nWidart/laravel-modules/issues/995
* Update editorconfig for line endings
* Formatting
* Formatting
2020-09-20 19:10:52 -04:00
Nabeel Shahzad
2dd3dd5814
Make sure we're getting only active expenses
2020-09-12 15:17:10 -04:00
Nabeel Shahzad
ac7a5a65e5
Update cron path
2020-09-11 16:57:50 -04:00
Nabeel Shahzad
c5ab0978db
Force visible flag to true for imports #818
2020-09-11 09:18:27 -04:00
Nabeel Shahzad
51004b143c
Fix validator type for aircraft #805
2020-09-03 15:14:26 -04:00
Nabeel S
50a0b89caa
Add MTOW and ZFW to aircraft editor #775 ( #805 )
...
Add MTOW and ZFW to aircraft editor #775
2020-09-03 13:29:24 -04:00
Nabeel S
e99c22b007
Notifications fixes ( #804 )
...
* Emails not sending #795 #722
* Fix for news items not being sent; refactor some events; check for opt-in #722
* Formatting
* Remove extra parameter
2020-09-03 12:50:42 -04:00
Timothy Sturm
febfff5f12
Update MailChannel.php ( #793 )
...
Update from email #792
2020-08-21 15:54:26 -04:00
Nabeel S
cdf7b13b5b
Allow any airport to be flown from #783 ( #788 )
...
Allow any airport to be flown from #783
2020-08-17 17:06:02 -04:00
Nabeel S
51186bed7c
Fix for aircraft not being detected at departure airport #781 ( #789 )
...
Aircraft not being checked/detected at departure airport #781
2020-08-17 16:44:31 -04:00
Nabeel Shahzad
be72571185
Check if the root domain is an IP address
2020-08-15 13:50:58 -04:00
Nabeel Shahzad
d3e6d2c49a
Add extra logging for user not being at proper airport
2020-08-14 10:26:21 -04:00
Nabeel S
4fa58cec5a
Fix clear cache errors with duplicate route names #759 ( #787 )
2020-08-13 17:53:30 -04:00
Nabeel S
27316f96e8
Fix missing user fields #785 ( #786 )
2020-08-13 17:44:41 -04:00
Nabeel Shahzad
e5ed66b372
Fix attribute type for PIREP status
2020-08-12 22:02:20 -04:00
Nabeel Shahzad
ee6982f558
Build fix/StyleCI
2020-08-12 14:46:08 -04:00
Nabeel Shahzad
4f46e75515
Check for active flag for user fields in registration
2020-08-12 14:39:00 -04:00
Nabeel Shahzad
ace7c42557
Fix typo for unique email check
2020-08-12 09:06:18 -04:00
Nabeel S
3ebf4f2924
Custom user fields #711 ( #772 )
...
Custom user fields during registration and profile edit #711
2020-08-11 17:48:51 -04:00
Nabeel S
bbb5f1d13c
Check for null values when checking pilot ID #760 ( #768 )
2020-07-14 22:02:35 -04:00
Nabeel S
64e4c91e7e
Check public pages for authorization #761
2020-07-10 13:11:38 -04:00
Nabeel S
3e2b1fe42b
Add spacing to fare labels #763 ( #766 )
2020-07-10 09:51:33 -04:00
Nabeel S
420bd7e4ae
Add ability to use a link instead of a page #750 ( #757 )
...
Add ability to use a link instead of a page #750
2020-06-11 08:27:38 -04:00
Nabeel S
e4b1c238f3
Add ACARS update event #755 ( #756 )
2020-06-09 09:10:40 -04:00
Nabeel S
340f52112d
Fix public pages not showing properly #708 ( #749 )
2020-06-05 12:49:22 -04:00
Nabeel Shahzad
df15053b75
Remove trailing comma
2020-06-04 14:05:51 -04:00
Nabeel S
04b8be1649
Add show_datetime_format(); optional default timezone parameter #741 ( #746 )
2020-06-04 11:34:30 -04:00
Nabeel S
3d211535f7
Remove Google Analytics #728 ( #745 )
...
* Remove Google Analytics #728
* Remove config file
* Don't set the vacentral url
2020-06-04 10:36:55 -04:00
Nabeel S
c1408cb8fe
Fleet properties not saving #731 ( #744 )
2020-06-04 08:39:20 -04:00
Nabeel S
519ae600d5
Fix METAR invalid parameter #738 ( #743 )
2020-06-04 06:30:35 -04:00
Nabeel Shahzad
5b16c88bcb
Fix for all airport expenses being applied #729
2020-05-26 19:13:15 -04:00
Nabeel Shahzad
688be6f75a
Fix params for launching process #724
2020-05-23 12:53:39 -04:00
Nabeel Shahzad
a443908bed
Frontend flight controller for active airlines
2020-05-23 11:48:48 -04:00
Nabeel Shahzad
c46fc9171c
Check for airline being active; fix tests for L7 #718
2020-05-23 11:45:07 -04:00
Nabeel Shahzad
5046d26032
Explicitly set theme in error handler, refactor middleware #715
2020-05-23 09:05:38 -04:00
Nabeel Shahzad
f17cd15b01
Allow on-leave user to login; show alert message and ensure status is updated #719
2020-05-23 07:20:55 -04:00
Nabeel Shahzad
09cd7adb6b
Apply theme globally; add mail templates into theme folder #715
2020-05-22 19:00:54 -04:00
Nabeel Shahzad
eb90d08761
Make sure the Updater module is enabled #707
2020-05-21 22:12:09 -04:00
Nabeel Shahzad
975ee9b88e
Fix for update showing available when one isn't #707
2020-05-21 11:50:13 -04:00
Nabeel Shahzad
b9aeda1cba
Enable logins using pilot ID #698
2020-05-16 11:52:05 -04:00
Nabeel Shahzad
6ebbe0209e
Formatting
2020-05-15 18:38:43 -04:00
Nabeel Shahzad
6078163d75
Initial pass at Laravel 7 support #673
2020-05-15 18:20:23 -04:00
Sebastian Ecker
585c9578e8
Update Permissions Seed
...
Aircraft is missing in Permissions Seed
2020-05-15 17:51:41 +02:00
Nabeel S
1054d53826
Emails/notifications not sending #675 ( #686 )
...
* Add test call to test notification #675
* Fix queue driver with emails not sending; formatting #675
2020-05-09 11:31:25 -04:00
Nabeel S
5b771be653
Fix flight hours field #683 ( #684 )
2020-05-05 14:36:14 -04:00
Nabeel S
9135337186
Blank/null IATA code isn't unique when added #679 ( #681 )
2020-05-03 18:23:46 -04:00
Nabeel Shahzad
a8fb8e93c8
METAR: KM as unit in visibility #680
2020-05-03 11:08:06 -04:00
Nabeel S
99f4f3b3d8
Change currency from settings #671 ( #672 )
2020-04-26 11:55:20 -04:00