Bumped version to 2.8.8

pull/615/head
jprochazka 2024-10-18 20:15:00 -04:00
rodzic 7428824766
commit f869054b8f
8 zmienionych plików z 67 dodań i 9 usunięć

Wyświetl plik

@ -2,10 +2,11 @@
The following is a history of the changes made to this project.
## v2.8.8 *(next release)*
## v2.8.8 *(October 18th, 2024)*
* FlightAware's version of the tcl-tls is now built and installed on Bullseye.
* Clones athe trixie branch directly when using the forked version of piaware_builder.
* Clones the trixie branch directly when using the forked version of piaware_builder.
* The portal upgrade path to v2.8.7 was missing.
## v2.8.7 *(August 23rd, 2024)*

Wyświetl plik

@ -3,7 +3,8 @@
## Collaborators and Contributors
First and foremost I would like to thank the collaborators and contributors who have contributed to
the project directly. Their time and effort is greatly appreciated by myself as well as many others.
the project directly through code contributions made directly to the repository. Their time and effort
is greatly appreciated by myself as well as many others I am sure.
* @adamkaplan
* @atbPy

Wyświetl plik

@ -81,8 +81,8 @@ The project currently supports the following Linux distributions.
* Debian _(Bookworm and Bullseye)_
* DietPi _(Bookworm and Bullseye)_
* Raspberry PI OS _(Bookworm and Bullseye)_
* Ubuntu _(Jammy Jellyfish, Focal Fossa and Noble Numbat)_
* Ubuntu _(Jammy Jellyfish, Focal Fossa and Noble Numbat*)_
Support is available via this repository through the use of the issue tracker or discussions.
_Please Note that Ubuntu Noble Numbat support employs an unofficial fix for PiAware._
_* Please Note that Ubuntu Noble Numbat support employs an unofficial fix for PiAware._

Wyświetl plik

@ -8,7 +8,7 @@
// Check if the portal is installed or needs upgraded.
$thisVersion = "2.8.7";
$thisVersion = "2.8.8";
if (!file_exists($_SERVER['DOCUMENT_ROOT']."/classes/settings.class.php")) {
header ("Location: /install/install.php");

Wyświetl plik

@ -1,6 +1,6 @@
<?php
// The most current stable release.
$thisVersion = "2.8.7";
$thisVersion = "2.8.8";
// Begin the upgrade process if this release is newer than what is installed.
if (file_exists($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."classes".DIRECTORY_SEPARATOR."settings.class.php")) {

Wyświetl plik

@ -0,0 +1,38 @@
<?php
///////////////////////
// UPGRADE TO V2.8.8
///////////////////////
// --------------------------------------------------------
// Updates the version to 2.8.8
// --------------------------------------------------------
$results = upgrade();
exit(json_encode($results));
function upgrade() {
require_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."classes".DIRECTORY_SEPARATOR."common.class.php");
require_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."classes".DIRECTORY_SEPARATOR."settings.class.php");
$common = new common();
$settings = new settings();
try {
// Update the version and patch settings
$common->updateSetting("version", "2.8.8");
$common->updateSetting("patch", "");
// The upgrade process completed successfully
$results['success'] = TRUE;
$results['message'] = "Upgrade to v2.8.8 successful.";
return $results;
} catch(Exception $e) {
// Something went wrong during this upgrade process
$results['success'] = FALSE;
$results['message'] = $e->getMessage();
return $results;
}
}
?>

Wyświetl plik

@ -4,7 +4,7 @@
$common = new common();
// The most current stable release.
$thisVersion = "2.8.7";
$thisVersion = "2.8.8";
// Begin the upgrade process if this release is newer than what is installed.
if ($common->getSetting("version") == $thisVersion) {
@ -211,6 +211,24 @@
$version = "2.8.6";
}
// UPGRADE TO V2.8.7
if ($common->getSetting("version") == "2.8.6" && $success) {
$json = file_get_contents("http://localhost/install/upgrade-v2.8.7.php");
$results = json_decode($json, TRUE);
$success = $results['success'];
$message = $results['message'];
$version = "2.8.7";
}
// UPGRADE TO V2.8.8
if ($common->getSetting("version") == "2.8.7" && $success) {
$json = file_get_contents("http://localhost/install/upgrade-v2.8.8.php");
$results = json_decode($json, TRUE);
$success = $results['success'];
$message = $results['message'];
$version = "2.8.8";
}
require_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."admin".DIRECTORY_SEPARATOR."includes".DIRECTORY_SEPARATOR."header.inc.php");
// Display the instalation wizard.

Wyświetl plik

@ -2,7 +2,7 @@
## ASSIGN VARIABLE
project_version="2.8.7"
project_version="2.8.8"
printf -v date_time '%(%Y-%m-%d_%H-%M-%S)T' -1
log_file="adsb-installer_${date_time}.log"