* [FIX] Fixed error on saving files extensions.

* [FIX] Fixed checking for updates issue.
* [FIX] Closes #109
* [FIX] Closes #116, Closes #107
* [MOD] Changed behaviour on getting security token for customers, categories, groups, users and profiles edition.
* [MOD] Changed application logo and description.
* [MOD] Added version umber on update title.
This commit is contained in:
nuxsmin
2015-07-28 14:04:35 +02:00
committed by nuxsmin
parent 2169245022
commit 8461cc7332
4 changed files with 27 additions and 15 deletions

View File

@@ -1,3 +1,13 @@
=== ** v1.1.2.24 ===
* [FIX] Fixed error on saving files extensions.
* [FIX] Fixed checking for updates issue.
* [FIX] Closes #109
* [FIX] Closes #116, Closes #107
* [MOD] Changed behaviour on getting security token for customers, categories, groups, users and profiles edition.
* [MOD] Changed application logo and description.
* [MOD] Added version umber on update title.
=== ** v1.1.2.23 ===
* [FIX] Customer description not being added when it was created. Thanks to @tejadon

View File

@@ -1,3 +1,13 @@
=== ** v1.1.2.24 ===
* [FIX] Corregido error al guardar extensiones de archivos.
* [FIX] Corregido error al comprobar actualizaciones.
* [FIX] Closes #109
* [FIX] Closes #116, Closes #107
* [MOD] Cambiada la funcionalidad de generación del token de seguridad para la gestión de clientes, categorias, usuarios, grupos y perfiles.
* [MOD] Cambiados logo y descripción de la aplicación.
* [MOD] Añadido número de versión en mensaje de actualización.
=== ** v1.1.2.23 ===
* [FIX] Corregido error al crear clientes, la descripción no era insertada. Gracias a @tejadon

View File

@@ -41,7 +41,7 @@ if (is_array($checkVersion)) {
$title = _('Descargar nueva versión') . ' - ' . $checkVersion['version'] . '<br><br>' . nl2br($checkVersion['description']);
echo '<a href="' . $checkVersion['url'] . '" target="_blank" title="' . $title . '"><img src="imgs/update.png" />&nbsp;' . $checkVersion['title'] . '</a>';
} elseif ($checkVersion === true) {
echo '<img src="imgs/ok.png" title="' . _('Actualizado') . '"/>';
echo '<img src="imgs/ok.png" title="' . _('Actualizado') . ' ' . implode('.', SP_Util::getVersion(true)) . '"/>';
} elseif ($checkVersion === false) {
echo '!';
}

View File

@@ -223,19 +223,11 @@ class SP_Util
$updateInfo = json_decode($data);
// $updateInfo[0]->tag_name
// $updateInfo[0]->name
// $updateInfo[0]->body
// $updateInfo[0]->tarball_url
// $updateInfo[0]->zipball_url
// $updateInfo[0]->published_at
// $updateInfo[0]->html_url
$version = $updateInfo[0]->tag_name;
$url = $updateInfo[0]->html_url;
$title = $updateInfo[0]->name;
$description = $updateInfo[0]->body;
$date = $updateInfo[0]->published_at;
$version = $updateInfo->tag_name;
$url = $updateInfo->html_url;
$title = $updateInfo->name;
$description = $updateInfo->body;
$date = $updateInfo->published_at;
preg_match("/v?(\d+)\.(\d+)\.(\d+)\.(\d+)(\-[a-z0-9.]+)?$/", $version, $realVer);
@@ -276,7 +268,7 @@ class SP_Util
*/
public static function getVersion($retBuild = false)
{
$build = '23';
$build = '24';
$version = array(1, 1, 2);
if ($retBuild) {