* 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>
* 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>
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>
* 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
Fixed the problem where values are not displayed when the reported wind,temp and dewpoint are 0 (zero).
Fixed the hPa number formatting, there is no need to add 2 more digits to it, it is a plain 4 digit value always (like 1013 or 1024, it is never reported nor used as 1013,58 or 1024,35 etc).
Corrected the display order, as it should be read (or say decoded).
Also added decoded Current and Recent Weather Situations, RVR and Runway Condition reports.
RVR report needs improvement in the Support / Metar.php too, it only reports nmi as the distance as far as i saw but it should be able to report meters too.
Fixed wrong EET and ENDURANCE values at IVAO & VATSIM prefile forms with a php function converting seconds to HHmm format.
Also added View Route At SkyVector link (uses auto zoom to fpl route on High Enroute Charts) , thx Maco for his idea and original link.
* Fix For Issue #952 / Admin Pirep Display
Removed unnecessary div tags to fix the broken display problem, defined the div class with a php code
* Fix and Update for Admin Pirep Index
Fixed the page width problem and search error , added the ability to also search for Rejected and Accepted pireps.
1. Added ATC Prefile options for IVAO and VATSIM
2. Added TAF reports for Orig, Dest and Altn airports. (Technically TAF reports are required for flights more than 1 hour, so we need to see them on the briefing page too)
3. Adjusted the height of OFP division to match the page with the WX section changes
Added the ability to select and search an airline's flights. Will be usefull in multiple airline installations/configs.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
* 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
* Update gitignore
* Save theme to the session to avoid a lookup #602
* Formatting
* Move routes into main service provider
* Move Observers into their own service provider
* Enabled prefixes on any created indexes (multi-site install in single db)
* Formatting
* Check if enum label is looking for a translation
* Return value
* Fix view namespace across modules
* Fix rowmapper generator, check for fields, map users #443
* Formatting
* Remove value store at the end of the import
* Update the notes for the importer about users
* Uncomment importers disabled during testing
* 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
* 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
* 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
* 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
* Minor CSS Changes
Minor CSS changes to the original.
#1: Added button to show own bids.
#2: Added padding to Search buttons and fields
#3: Fixed search fields leaving the search box
* Minor CSS Changes to Search Fields
Search Fields have been changed from round to square for better look.
* Set the baseURL for ajax requests
* Use async/await on AJAX calls
* Add mix_public() cache generated asset cache busting
* Move storage container into separate class
* Fix some styling
* 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
* #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
* Add step fields to enable decimal points on fields #342
* Update js-yaml version due to vulnerability scan
* Don't seed dev files when env == local
* Fix
* Fix to be static
* Add visibilty keyword