Merge commit '42b2e5ca519766e37ce6941ba4faecc9691cc403' into upstream
[debian/openrocket] / core / web / html / actions / updates.php
index 345b1766cbed350832843dce5f0fb9726bf98bc4..83b20e5cfb78d7e04e5e8432d4a158ba0e479d62 100644 (file)
@@ -80,29 +80,64 @@ header("Content-type: text/plain");
 $version = $_GET["version"];
 $updates = "";
 
-$unstable = "1.1.9";
+$unstable = "12.09";
 $stable = "1.0.0";
 
-if (preg_match("/^1\.1\.8$/", $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" .
+    "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" .
+    "5: Configurable stage separation\n" .
+    "5: Guided tours\n" .
+    "4: Freeform fin import from images\n" .
+    "4: Translations to Italian and Russian\n" .
     "4: Bug fixes\n" .
     "";
 } else if (preg_match("/^1\.1\.7$/", $version)) {
   $updates = "Version: " . $unstable . "\n" .
+    "8: Writing RKT files\n" .
     "6: Additional template printing\n" .
     "5: Geodetic computations\n" .
+    "5: Configurable stage separation\n" .
+    "5: Guided tours\n" .
+    "4: Freeform fin import from images\n" .
+    "4: Translations to Italian and Russian\n" .
     "4: Bug fixes\n" .
     "";
 } 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" .
     "5: Geodetic computations\n" .
     "";
 } 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" .
     "6: Additional template printing\n" .
@@ -112,6 +147,9 @@ if (preg_match("/^1\.1\.8$/", $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" .
     "5: Fixes to printing system\n" .
@@ -119,6 +157,9 @@ if (preg_match("/^1\.1\.8$/", $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" .
     "6: Initial localization support\n" .
@@ -127,6 +168,9 @@ if (preg_match("/^1\.1\.8$/", $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" .
     "5: Initial drag-and-drop support\n" .
@@ -136,6 +180,9 @@ if (preg_match("/^1\.1\.8$/", $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" .
     "6: Initial localization support\n" .
@@ -146,11 +193,17 @@ if (preg_match("/^1\.1\.8$/", $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" .
     "5: Numerous bug fixes" .