diff --git a/TeslaLogger/Properties/AssemblyInfo.cs b/TeslaLogger/Properties/AssemblyInfo.cs index 40ab5ba62..004f808ea 100644 --- a/TeslaLogger/Properties/AssemblyInfo.cs +++ b/TeslaLogger/Properties/AssemblyInfo.cs @@ -32,7 +32,7 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.57.11.0")] -[assembly: AssemblyFileVersion("1.57.11.0")] +[assembly: AssemblyVersion("1.57.12.0")] +[assembly: AssemblyFileVersion("1.57.12.0")] [assembly: InternalsVisibleTo("UnitTestsTeslalogger")] diff --git a/TeslaLogger/bin/TeslaLogger.exe b/TeslaLogger/bin/TeslaLogger.exe index 775462a41..1831b7bb9 100644 Binary files a/TeslaLogger/bin/TeslaLogger.exe and b/TeslaLogger/bin/TeslaLogger.exe differ diff --git a/TeslaLogger/bin/changelog.md b/TeslaLogger/bin/changelog.md index f78f28fbe..56c001f68 100644 --- a/TeslaLogger/bin/changelog.md +++ b/TeslaLogger/bin/changelog.md @@ -1,3 +1,6 @@ +# Version 1.57.12 +- Bugfixes + # Version 1.57.11 - Rollback code to 1.57.9 diff --git a/TeslaLogger/www/admin/password.php b/TeslaLogger/www/admin/password.php index b4eee93e9..91d6c3d3d 100644 --- a/TeslaLogger/www/admin/password.php +++ b/TeslaLogger/www/admin/password.php @@ -419,14 +419,14 @@ function GetTokensFromURL() - - # - FleetAPI + Fleet API + Virtual Key + Access Type @@ -435,34 +435,29 @@ function GetTokensFromURL() //var_dump($url); foreach ($jcars as $k => $v) { - $email = $v->{"tesla_name"}; $display_name = $v->{"display_name"}; $tasker_token = $v->{"tasker_hash"}; $car = $v->{"model_name"}; $id = $v->{"id"}; $vin = $v->{"vin"}; $tesla_carid = $v->{"tesla_carid"}; + $access_type = $v->{"access_type"}; - $freesuc = $v->{"freesuc"}; - $freesuccheckbox = ''; - if ($freesuc == "1") - $freesuccheckbox = ''; - - $fleetAPI = $v->{"fleetAPI"}; - $fleetAPICheckBox = ''; - if ($fleetAPI == "1") - $fleetAPICheckBox = ''; + + $freesuccheckbox = GetCheckbox($v->{"freesuc"}); + $fleetAPICheckBox = GetCheckbox($v->{"fleetAPI"}); + $virtualKeyCheckBox = GetCheckbox($v->{"virtualkey"}); echo(" \r\n"); echo(" $id\r\n"); - echo(" $email\r\n"); - echo(" $tesla_carid\r\n"); echo(" $display_name\r\n"); echo(" $car\r\n"); echo(" $vin\r\n"); echo(" $tasker_token\r\n"); echo(" $freesuccheckbox\r\n"); echo(" $fleetAPICheckBox\r\n"); + echo(" $virtualKeyCheckBox\r\n"); + echo(" $access_type\r\n"); echo(" "); echo t("Edit"); echo("\r\n"); @@ -478,3 +473,12 @@ function GetTokensFromURL() } ?> + +'; + + return ''; +} \ No newline at end of file