* Block Aircraft with SimBrief Changes aim to have the ability to block an aircraft's usage if it is used to generate a SimBrief OFP. Unused/Expired briefings will be deleted by cron like before but will now be checked by HourlyCron, so admins can define more precise restrictions for them (and the blockage period of their aircraft) Owner of the SimBrief OFP will be able to start a flight with acars using that particular aircraft, but pilots will get an Aircraft Not Available error (similar to Aircraft State check) To prevent SimBrief OFP packs being marked as expired/unused, during pirep prefile, pirep_id will be saved to SimBrief model along with flight_id. And when a flight is finished (pirep file), flight_id will be removed from SimBrief model as before. Only pirep_id will remain and aircraft will be available for another OFP generation. * Update PirepController In case a pirep is being saved/submitted with manual entry (but the va is using simbrief effectively) same logic should be applied during save/submit button selection. Save will act like a pirep prefile , Submit will be pirep file. * Manual Pirep Checks Manual pireps, prefiled from a generated simbrief should be checked too. Also pirep.show blade's submit button should provide the same simbrief checks. * Update PirepService.php * Change settings and move sb cron to hourly * StyleFix (SimBriefService) * Another StyleFix (SimBriefService) * Update SimBriefController Removed null check of pirep_id for aircraft list generation to prevent live flights' aircraft being listed for another ofp generation. ( Active acars flights will have both flight_id and pirep_id at simbrief table) * Update PirepService.php Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
391 lines
10 KiB
YAML
391 lines
10 KiB
YAML
- key: general.theme
|
|
name: 'Current Theme'
|
|
group: general
|
|
value: 'default'
|
|
options: ''
|
|
type: select
|
|
description: 'The currently active theme'
|
|
- key: general.start_date
|
|
name: 'Start Date'
|
|
group: general
|
|
value: ''
|
|
options: ''
|
|
type: date
|
|
description: 'The date your VA started'
|
|
- key: general.admin_email
|
|
name: 'Admin Email'
|
|
group: general
|
|
value: ''
|
|
options: ''
|
|
type: text
|
|
description: 'Email where system notices, etc are sent'
|
|
- key: general.auto_airport_lookup
|
|
name: 'Automatic airport lookup'
|
|
group: general
|
|
value: true
|
|
options:
|
|
type: boolean
|
|
description: If an airport isn't added, try to look it up when adding schedules
|
|
- key: general.allow_unadded_airports
|
|
name: 'Allow unadded airports'
|
|
group: general
|
|
value: false
|
|
options:
|
|
type: boolean
|
|
description: If an un-added airport is used, it is looked up and added
|
|
- key: general.check_prerelease_version
|
|
name: 'Pre-release versions in version check'
|
|
group: general
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Include beta and other pre-release versions when checking for a new version'
|
|
- key: general.telemetry
|
|
name: 'Send telemetry to phpVMS'
|
|
group: general
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Send some data (php version, mysql version) to phpVMS. See AnalyticsSvc code for details'
|
|
- key: general.google_analytics_id
|
|
name: 'Google Analytics Tracking ID'
|
|
group: general
|
|
value: ''
|
|
options: ''
|
|
type: text
|
|
description: 'Enter your Google Analytics Tracking ID'
|
|
- key: units.currency
|
|
name: 'Currency'
|
|
group: units
|
|
value: USD
|
|
type: select
|
|
description: 'The currency to use'
|
|
- key: units.distance
|
|
name: 'Distance Units'
|
|
group: units
|
|
value: nmi
|
|
options: 'km=kilometers,mi=miles,nmi=nautical miles'
|
|
type: select
|
|
description: 'The distance unit for display'
|
|
- key: units.weight
|
|
name: 'Weight Units'
|
|
group: units
|
|
value: lbs
|
|
options: 'lbs,kg'
|
|
type: select
|
|
description: 'The weight unit for display'
|
|
- key: units.speed
|
|
name: 'Speed Units'
|
|
group: units
|
|
value: knot
|
|
options: 'km/h,knot'
|
|
type: select
|
|
description: 'The speed unit for display'
|
|
- key: units.altitude
|
|
name: 'Altitude Units'
|
|
group: units
|
|
value: ft
|
|
options: 'ft=feet,m=meters'
|
|
type: select
|
|
description: 'The altitude unit for display'
|
|
- key: units.fuel
|
|
name: 'Fuel Units'
|
|
group: units
|
|
value: lbs
|
|
options: 'lbs,kg'
|
|
type: select
|
|
description: 'The units for fuel for display'
|
|
- key: units.volume
|
|
name: 'Volume Units'
|
|
group: units
|
|
value: gallons
|
|
options: 'gallons,l=liters'
|
|
type: select
|
|
description: 'The units of volume for display'
|
|
- key: units.temperature
|
|
name: 'Temperature Units'
|
|
group: units
|
|
value: F
|
|
options: 'F=Fahrenheit,C=Celsius'
|
|
type: select
|
|
description: 'The units for temperature'
|
|
- key: acars.live_time
|
|
name: 'Live Time'
|
|
group: acars
|
|
value: 12
|
|
options: ''
|
|
type: int
|
|
description: 'Age of flights to show on the map in hours. Set to 0 to show only all in-progress flights'
|
|
- key: acars.center_coords
|
|
name: 'Center Coords'
|
|
group: acars
|
|
value: '30.1945,-97.6699'
|
|
options: ''
|
|
type: text
|
|
description: 'Where to center the map; enter as LAT,LON'
|
|
- key: acars.default_zoom
|
|
name: 'Default Zoom'
|
|
group: acars
|
|
value: 5
|
|
options: ''
|
|
type: int
|
|
description: 'Initial zoom level on the map'
|
|
- key: airports.default_ground_handling_cost
|
|
name: 'Default Ground Handling Cost'
|
|
group: airports
|
|
value: 250
|
|
options:
|
|
type: int
|
|
description: If an airport's Ground Handling Cost Cost isn't added, set this value by default
|
|
- key: airports.default_jet_a_fuel_cost
|
|
name: 'Default Jet A Fuel Cost'
|
|
group: airports
|
|
value: 0.7
|
|
options:
|
|
type: text
|
|
description: If an airport's Jet A Fuel Cost isn't added, set this value by default
|
|
- key: airports.default_100ll_fuel_cost
|
|
name: 'Default 100LL Fuel Cost'
|
|
group: airports
|
|
value: 0.9
|
|
options:
|
|
type: text
|
|
description: If an airport's 100LL Fuel Cost isn't added, set this value by default
|
|
- key: airports.default_mogas_fuel_cost
|
|
name: 'Default MOGAS Fuel Cost'
|
|
group: airports
|
|
value: 0.8
|
|
options:
|
|
type: text
|
|
description: If an airport's MOGAS Fuel Cost isn't added, set this value by default
|
|
- key: bids.disable_flight_on_bid
|
|
name: 'Disable flight on bid'
|
|
group: bids
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'When a flight is bid on, no one else can bid on it'
|
|
- key: bids.allow_multiple_bids
|
|
name: 'Allow multiple bids'
|
|
group: bids
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Whether or not someone can bid on multiple flights'
|
|
- key: bids.expire_time
|
|
name: 'Expire Time'
|
|
group: bids
|
|
value: 48
|
|
options: ''
|
|
type: int
|
|
description: 'Number of hours to expire bids after'
|
|
- key: flights.default_load_factor
|
|
name: 'Load Factor'
|
|
group: flights
|
|
value: 82
|
|
options: ''
|
|
type: number
|
|
description: 'The default load factor for a flight, as a percent'
|
|
- key: flights.load_factor_variance
|
|
name: 'Load Factor Variance'
|
|
group: flights
|
|
value: 5
|
|
options: ''
|
|
type: number
|
|
description: 'How much the load factor can vary per-flight'
|
|
- key: simbrief.api_key
|
|
name: 'Simbrief API Key'
|
|
group: simbrief
|
|
value: ''
|
|
options: ''
|
|
type: string
|
|
description: 'Your Simbrief API key'
|
|
- key: simbrief.only_bids
|
|
name: 'Only allow for bids'
|
|
group: simbrief
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Only allow briefs to be created for bidded flights'
|
|
- key: simbrief.expire_hours
|
|
name: 'Simbrief Expire Time'
|
|
group: simbrief
|
|
value: 6
|
|
options: ''
|
|
type: number
|
|
description: 'Hours after how long to remove unused briefs'
|
|
- key: simbrief.noncharter_pax_weight
|
|
name: 'Non-Charter Passenger Weight'
|
|
group: simbrief
|
|
value: 185
|
|
options: ''
|
|
type: number
|
|
description: 'Passenger weight for non-charter flights excluding baggage (lbs)'
|
|
- key: simbrief.noncharter_baggage_weight
|
|
name: 'Non-Charter Baggage Weight'
|
|
group: simbrief
|
|
value: 35
|
|
options: ''
|
|
type: number
|
|
description: 'Passenger baggage weight for non-charter flights (lbs)'
|
|
- key: simbrief.charter_pax_weight
|
|
name: 'Charter Passenger Weight'
|
|
group: simbrief
|
|
value: 168
|
|
options: ''
|
|
type: number
|
|
description: 'Passenger weight for charter flights excluding baggage (lbs)'
|
|
- key: simbrief.charter_baggage_weight
|
|
name: 'Charter Baggage Weight'
|
|
group: simbrief
|
|
value: 28
|
|
options: ''
|
|
type: number
|
|
description: 'Passenger baggage weight for charter flights (lbs)'
|
|
- key: simbrief.callsign
|
|
name: 'Use ATC Callsign'
|
|
group: simbrief
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Use pilot ident as Simbrief ATC Callsign'
|
|
- key: simbrief.name_private
|
|
name: 'Use Privatized Name at OFPs'
|
|
group: simbrief
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Use privatized user name as SimBrief OFP captain name'
|
|
- key: simbrief.block_aircraft
|
|
name: 'Restrict Aircraft'
|
|
group: simbrief
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'When enabled, an aircraft can only be used for one active SimBrief OFP and Flight/Pirep'
|
|
- key: pireps.duplicate_check_time
|
|
name: 'PIREP duplicate time check'
|
|
group: pireps
|
|
value: 10
|
|
options: ''
|
|
type: int
|
|
description: 'The time in minutes to check for a duplicate PIREP'
|
|
- key: pireps.restrict_aircraft_to_rank
|
|
name: 'Restrict Aircraft to Ranks'
|
|
group: pireps
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Aircraft that can be flown are restricted to a user''s rank'
|
|
- key: pireps.only_aircraft_at_dpt_airport
|
|
name: 'Restrict Aircraft At Departure'
|
|
group: pireps
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Only allow aircraft that are at the departure airport'
|
|
- key: pireps.advanced_fuel
|
|
name: 'Advanced Fuel Calculations'
|
|
group: pireps
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Enables remaining fuel amounts to be considered for fuel expenses'
|
|
- key: pireps.delete_cancelled_hours
|
|
name: 'Delete cancelled PIREPs'
|
|
group: pireps
|
|
value: 12
|
|
options: ''
|
|
type: int
|
|
description: 'The time in hours to delete a cancelled PIREP'
|
|
- key: pireps.delete_rejected_hours
|
|
name: 'Delete rejected PIREPs'
|
|
group: pireps
|
|
value: 12
|
|
options: ''
|
|
type: int
|
|
description: 'The time in hours to delete a rejected PIREP'
|
|
- key: pilots.id_length
|
|
name: 'Pilot ID Length'
|
|
group: pilots
|
|
value: 4
|
|
options: ''
|
|
type: int
|
|
description: 'The length of a pilot''s ID'
|
|
- key: pilots.auto_accept
|
|
name: 'Auto Accept New Pilot'
|
|
group: pilots
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Automatically accept a pilot when they register'
|
|
- key: pilots.home_hubs_only
|
|
name: 'Hubs as home airport'
|
|
group: pilots
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Pilots can only select hubs as their home airport'
|
|
- key: pilots.only_flights_from_current
|
|
name: 'Flights from Current'
|
|
group: pilots
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Only show/allow flights from their current location'
|
|
- key: pilots.auto_leave_days
|
|
name: 'Pilot to ON LEAVE days'
|
|
group: pilots
|
|
value: 30
|
|
options: ''
|
|
type: int
|
|
description: 'Automatically set a pilot to ON LEAVE status after N days of no activity'
|
|
- key: pilots.hide_inactive
|
|
name: 'Hide Inactive Pilots'
|
|
group: pilots
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Don''t show inactive pilots in the public view'
|
|
- key: pilots.restrict_to_company
|
|
name: 'Restrict the flights to company'
|
|
group: pilots
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Restrict flights to the user''s airline'
|
|
- key: pilots.allow_transfer_hours
|
|
name: 'Allow transfer hours'
|
|
group: pilots
|
|
value: true
|
|
options: ''
|
|
type: boolean
|
|
description: 'Allow specifying transfer hours on registration page and displayed on profile page'
|
|
- key: pilots.count_transfer_hours
|
|
name: 'Count transfer hours in calculations'
|
|
group: pilots
|
|
value: false
|
|
options: ''
|
|
type: boolean
|
|
description: 'Count transfer hours in calculations, like ranks and the total hours'
|
|
- key: notifications.discord_api_key
|
|
name: Discord API token
|
|
group: notifications
|
|
value: ''
|
|
options: ''
|
|
type: text
|
|
description: Discord API token for notifications
|
|
- key: 'notifications.discord_public_channel_id'
|
|
name: 'Discord Public Channel ID'
|
|
group: 'notifications'
|
|
value: ''
|
|
options: ''
|
|
type: 'text'
|
|
description: 'Discord public channel ID for broadcasat notifications'
|
|
- key: 'cron.random_id'
|
|
name: 'Cron Randomized ID'
|
|
group: 'cron'
|
|
value: ''
|
|
type: 'hidden'
|
|
description: ''
|