Simbrief Edit & Download Latest OFP (#1228)
* SimBrief OFP Edit Changes aim to have ability of editing generated SimBrief Flight Plans and re-downloading. * Move url to config * Blade update and $uri change * Update simbrief_form.blade.php Used `$flight->id` along with `$user->ident` to have a more unique static id value. No details given for that fields uniqueness requirements, this will be ok I think though. Also we are passing user's simbrief userid with api to find the flight plan, both combined, no chance to get another users plan and/or any other plan of same user. * Update SimBriefController.php Move `static_id` to controller * Update simbrief_form.blade.php Read `static_id` from controller * StyleFix * Update phpvms.php * Update SimBriefService.php Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
@@ -52,6 +52,11 @@ return [
|
||||
*/
|
||||
'simbrief_url' => 'https://www.simbrief.com/ofp/flightplans/xml/{id}.xml',
|
||||
|
||||
/*
|
||||
* URL for fetching an updated Simbrief flight plan via API
|
||||
*/
|
||||
'simbrief_update_url' => 'https://www.simbrief.com/api/xml.fetcher.php?userid={sb_user_id}&static_id={sb_static_id}',
|
||||
|
||||
/*
|
||||
* Your vaCentral API key
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user