X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Fweb%2Fhtml%2Factions%2Fupdates.php;h=83b20e5cfb78d7e04e5e8432d4a158ba0e479d62;hb=42b2e5ca519766e37ce6941ba4faecc9691cc403;hp=7275e6e1ace6aefb0fe85a28bcadb5df29a0663d;hpb=2075d66bd5b0f485080a3831ff7a6fde4b363359;p=debian%2Fopenrocket diff --git a/core/web/html/actions/updates.php b/core/web/html/actions/updates.php index 7275e6e1..83b20e5c 100644 --- a/core/web/html/actions/updates.php +++ b/core/web/html/actions/updates.php @@ -80,19 +80,30 @@ header("Content-type: text/plain"); $version = $_GET["version"]; $updates = ""; -$unstable = "12.03"; +$unstable = "12.09"; $stable = "1.0.0"; -if (preg_match("/^1\.1\.9$/", $version)) { +if (preg_match("/^12.03$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . + "5: Fractional inch unit\n" . + "4: Printing centering rings\n" . + "4: Translations to Czech and Polish\n" . + ""; +} else if (preg_match("/^1\.1\.9$/", $version)) { + $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "5: Configurable stage separation\n" . - "5: Guided tours\n" . "4: Freeform fin import from images\n" . "4: Translations to Italian and Russian\n" . ""; } else if (preg_match("/^1\.1\.8$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "6: Additional template printing\n" . "5: Geodetic computations\n" . @@ -115,6 +126,8 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^1\.1\.6$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "8: Automatic rocket design optimization\n" . "6: Additional template printing\n" . @@ -122,6 +135,8 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^1\.1\.5$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "8: Automatic rocket design optimization\n" . "6: Initial localization support\n" . @@ -132,6 +147,8 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^1\.1\.4$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "8: Automatic rocket design optimization\n" . "6: Initial localization support\n" . @@ -140,6 +157,8 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^1\.1\.3$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "8: Automatic rocket design optimization\n" . "7: Initial printing support\n" . @@ -149,6 +168,8 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^1\.1\.[12]$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "8: Automatic rocket design optimization\n" . "6: Initial printing support\n" . @@ -159,6 +180,8 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^1\.1\.0$/", $version)) { $updates = "Version: " . $unstable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "8: Automatic rocket design optimization\n" . "6: Initial printing support\n" . @@ -170,12 +193,16 @@ if (preg_match("/^1\.1\.9$/", $version)) { ""; } else if (preg_match("/^0\.9\.6/", $version)) { $updates = "Version: " . $stable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "6: Hundreds of new thrustcurves\n" . "5: Bug fixes\n" . ""; } else if (preg_match("/^0\.9\.[45]/", $version)) { $updates = "Version: " . $stable . "\n" . + "10: 3D design view\n" . + "9: Component presets\n" . "8: Writing RKT files\n" . "7: Hundreds of new thrustcurves\n" . "6: Aerodynamic computation updates\n" .