Browse Source

Update Prestashop and Media Wiki (#3332)

* Media Wiki to 1.39.2

* Upgrade Prestashop to 8.0.1
Jaap Marcus 3 years ago
parent
commit
3788ec31e1

+ 2 - 0
CHANGELOG.md

@@ -69,6 +69,8 @@ All notable changes to this project will be documented in this file.
 - Updated Filegator to 7.9.2
 - Updated phpMyAdmin to 5.2.21
 - Updated phpPgAdmin to 7.3.14-hestiacp
+- Update MediaWiki to 1.39.2
+- Update Prestashop to 8.0.1
 
 ## [1.6.14] - Service release
 

+ 3 - 3
web/src/app/WebApp/Installers/MediaWiki/MediaWikiSetup.php

@@ -10,7 +10,7 @@ class MediaWikiSetup extends BaseSetup {
 		"name" => "MediaWiki",
 		"group" => "cms",
 		"enabled" => true,
-		"version" => "1.39.1",
+		"version" => "1.39.2",
 		"thumbnail" => "MediaWiki-2020-logo.svg", //Max size is 300px by 300px
 	];
 
@@ -26,7 +26,7 @@ class MediaWikiSetup extends BaseSetup {
 		"database" => true,
 		"resources" => [
 			"archive" => [
-				"src" => "https://releases.wikimedia.org/mediawiki/1.39/mediawiki-1.39.1.zip",
+				"src" => "https://releases.wikimedia.org/mediawiki/1.39/mediawiki-1.39.2.zip",
 			],
 		],
 		"server" => [
@@ -60,7 +60,7 @@ class MediaWikiSetup extends BaseSetup {
 
 		$this->appcontext->runUser(
 			"v-copy-fs-directory",
-			[$this->getDocRoot($this->extractsubdir . "/mediawiki-1.39.1/."), $this->getDocRoot()],
+			[$this->getDocRoot($this->extractsubdir . "/mediawiki-1.39.2/."), $this->getDocRoot()],
 			$result,
 		);
 

+ 3 - 4
web/src/app/WebApp/Installers/Prestashop/PrestashopSetup.php

@@ -9,7 +9,7 @@ class PrestashopSetup extends BaseSetup {
 		"name" => "Prestashop",
 		"group" => "ecommerce",
 		"enabled" => true,
-		"version" => "1.7.8.7",
+		"version" => "8.0.1",
 		"thumbnail" => "prestashop-thumb.png",
 	];
 
@@ -27,7 +27,7 @@ class PrestashopSetup extends BaseSetup {
 		"resources" => [
 			"archive" => [
 				"src" =>
-					"https://github.com/PrestaShop/PrestaShop/releases/download/1.7.8.7/prestashop_1.7.8.7.zip",
+					"https://github.com/PrestaShop/PrestaShop/releases/download/8.0.1/prestashop_8.0.1.zip",
 			],
 		],
 		"server" => [
@@ -35,7 +35,7 @@ class PrestashopSetup extends BaseSetup {
 				"template" => "prestashop",
 			],
 			"php" => [
-				"supported" => ["7.3", "7.4"],
+				"supported" => ["8.0", "8.1"],
 			],
 		],
 	];
@@ -43,7 +43,6 @@ class PrestashopSetup extends BaseSetup {
 	public function install(array $options = null): bool {
 		parent::install($options);
 		parent::setup($options);
-
 		$this->appcontext->archiveExtract(
 			$this->getDocRoot($this->extractsubdir . "/prestashop.zip"),
 			$this->getDocRoot(),