diff --git a/CHANGELOG.md b/CHANGELOG.md index 81e14bb8d..6e9a3d305 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ [CURRENT](https://github.com/SIU-Toba/framework/compare/master...develop) +[3.4.3](https://github.com/SIU-Toba/framework/releases/tag/v3.4.3) (2024-03-12) +- Corrige warnings en `toba_ei_calendario` +- Downgrade de paquete JS: + * CKEditor4: v4.22 + [3.4.2](https://github.com/SIU-Toba/framework/releases/tag/v3.4.2) (2024-02-22) - Se corrige bug en `ef_upload` que afectaba uso en `toba_ei_formularios_ml` - Actualizacion de seguridad de paquetes JS: diff --git a/composer.json b/composer.json index c06938e10..3276c75c4 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "siu-toba/framework", "description": "Framework de desarrollo web", - "version": "v3.4.2", + "version": "v3.4.3", "authors": [ { "name": "SIU", @@ -78,7 +78,7 @@ "post-install-cmd": [ "@putenv COMPOSER=./proyectos/toba_editor/composer.json", "composer run-script post-install-cmd ", - "yarn add ckeditor4@4.24 jquery@3.6 jquery-migrate@3.3 siu-js-app-launcher@1.0.6 --modules-folder www/js/packages/", + "yarn add ckeditor4@4.22 jquery@3.6 jquery-migrate@3.3 siu-js-app-launcher@1.0.6 --modules-folder www/js/packages/", "yarn ", "@php bin/instalar_assets.php" ], diff --git a/package.json b/package.json index b2a3774f9..62e2ffd29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siu-toba-framework", - "version": "v3.4.2", + "version": "v3.4.3", "description": "Framework para desarrollo rĂ¡pido de aplicaciones web", "license": "SEE LICENSE IN licencia.txt", "repository": "https://github.com/SIU-Toba/framework.git", @@ -8,7 +8,7 @@ "private": false, "dependencies": { "@highlightjs/cdn-assets": "^11.8.0", - "ckeditor4": "4.24", + "ckeditor4": "4.22", "jquery": "3.6", "jquery-migrate": "3.3", "siu-js-app-launcher": "1.0.6" diff --git a/php/nucleo/componentes/interface/toba_ei_calendario.php b/php/nucleo/componentes/interface/toba_ei_calendario.php index 320cdbf85..419a46a2e 100644 --- a/php/nucleo/componentes/interface/toba_ei_calendario.php +++ b/php/nucleo/componentes/interface/toba_ei_calendario.php @@ -952,7 +952,7 @@ function mkEventContent($var) $day = $this->mkActiveDate('Y-m-d', $this->mkActiveTime(0,0,1,$this->actmonth,$var,$this->actyear)); $hasContent = $this->content($day); $out=''; - if ($hasContent) { + if (! empty($hasContent)) { foreach($hasContent as $content) { $out .= toba::output()->get('Calendario')->getEventwithContent($this->cssEventContent, $content); } @@ -965,8 +965,8 @@ function mkEventContent($var) */ function content($var) { - $hasContent = false; - if ($this->calEventContent) { + $hasContent = []; + if (! empty($this->calEventContent)) { for ($x=0; $xcalEventContent); $x++) { $eventContent = $this->calEventContent[$x]; foreach($eventContent as $eventTime => $eventContent) { @@ -1034,9 +1034,9 @@ function barra_editor($html) private $javaScriptDay=false; private $monthNames=false; private $dayNames=false; - private $calEventContent=false; - private $calEventContentUrl=false; - private $calEventContentId=false; + private $calEventContent=[]; + private $calEventContentUrl=[]; + private $calEventContentId=[]; private $calInit=0; /* @@ -1503,7 +1503,7 @@ function hasEventContent($var) { $hasContent = false; - if ($this->calEventContent) { + if (! empty($this->calEventContent)) { $checkTime = $this->mkActiveTime(0,0,1,$this->actmonth,$var,$this->actyear); for ($x=0;$xcalEventContent);$x++) { diff --git a/proyectos/toba_editor/metadatos/tablas/apex_proyecto.sql b/proyectos/toba_editor/metadatos/tablas/apex_proyecto.sql index eaaa3905e..cd95416c9 100644 --- a/proyectos/toba_editor/metadatos/tablas/apex_proyecto.sql +++ b/proyectos/toba_editor/metadatos/tablas/apex_proyecto.sql @@ -51,7 +51,7 @@ INSERT INTO apex_proyecto (proyecto, descripcion, descripcion_corta, estilo, con '7', --log_archivo_nivel 'instancia', --fuente_datos NULL, --pagina_tipo - '3.4.2', --version + '3.4.3', --version '2017-09-27', --version_fecha 'SIU-Toba. Ambiente de desarrollo WEB. Desarrollado por el programa SIU (2003-2017)', --version_detalle diff --git a/proyectos/toba_editor/metadatos_compilados/gene/toba_mc_gene__basicos.php b/proyectos/toba_editor/metadatos_compilados/gene/toba_mc_gene__basicos.php index 69e5a1093..b6853d40d 100644 --- a/proyectos/toba_editor/metadatos_compilados/gene/toba_mc_gene__basicos.php +++ b/proyectos/toba_editor/metadatos_compilados/gene/toba_mc_gene__basicos.php @@ -50,7 +50,7 @@ static function info_basica() 'log_archivo' => 1, 'log_archivo_nivel' => 7, 'fuente_datos' => 'instancia', - 'version' => '3.4.2', + 'version' => '3.4.3', 'version_fecha' => '2017-09-27', 'version_detalle' => 'SIU-Toba. Ambiente de desarrollo WEB. Desarrollado por el programa SIU (2003-2017)', diff --git a/proyectos/toba_editor/proyecto.ini b/proyectos/toba_editor/proyecto.ini index 522a30ef1..e240fc565 100644 --- a/proyectos/toba_editor/proyecto.ini +++ b/proyectos/toba_editor/proyecto.ini @@ -6,7 +6,7 @@ mail_soporte = url_ayuda = doc/wiki/trac/toba/wiki/ ;Versi? del proyecto, debe ser formato x.y.z -version = 3.4.2 +version = 3.4.3 ;Nombre de fantas? de la versi? version_fantasia = diff --git a/proyectos/toba_referencia/metadatos/tablas/apex_proyecto.sql b/proyectos/toba_referencia/metadatos/tablas/apex_proyecto.sql index 18c4e5be9..fa2a90a73 100644 --- a/proyectos/toba_referencia/metadatos/tablas/apex_proyecto.sql +++ b/proyectos/toba_referencia/metadatos/tablas/apex_proyecto.sql @@ -51,7 +51,7 @@ INSERT INTO apex_proyecto (proyecto, descripcion, descripcion_corta, estilo, con '7', --log_archivo_nivel 'toba_referencia', --fuente_datos 'referencia', --pagina_tipo - '3.4.2', --version + '3.4.3', --version NULL, --version_fecha NULL, --version_detalle NULL, --version_link diff --git a/proyectos/toba_referencia/proyecto.ini b/proyectos/toba_referencia/proyecto.ini index 3712763e8..1f9854c6f 100644 --- a/proyectos/toba_referencia/proyecto.ini +++ b/proyectos/toba_referencia/proyecto.ini @@ -8,7 +8,7 @@ url_ayuda_agregar_extension = 0 mostrar_resize_fuente = 1 ;Versi? del proyecto, debe ser formato x.y.z -version = 3.4.2 +version = 3.4.3 api_major = 1 api_minor = 0 diff --git a/proyectos/toba_usuarios/metadatos/tablas/apex_proyecto.sql b/proyectos/toba_usuarios/metadatos/tablas/apex_proyecto.sql index 6d75a072a..4da17b90f 100644 --- a/proyectos/toba_usuarios/metadatos/tablas/apex_proyecto.sql +++ b/proyectos/toba_usuarios/metadatos/tablas/apex_proyecto.sql @@ -51,7 +51,7 @@ INSERT INTO apex_proyecto (proyecto, descripcion, descripcion_corta, estilo, con '7', --log_archivo_nivel 'toba_usuarios', --fuente_datos 'toba_usuarios_normal', --pagina_tipo - '3.4.2', --version + '3.4.3', --version NULL, --version_fecha NULL, --version_detalle NULL, --version_link diff --git a/proyectos/toba_usuarios/metadatos_compilados/gene/toba_mc_gene__basicos.php b/proyectos/toba_usuarios/metadatos_compilados/gene/toba_mc_gene__basicos.php index 1a4d7314d..22475c9f6 100644 --- a/proyectos/toba_usuarios/metadatos_compilados/gene/toba_mc_gene__basicos.php +++ b/proyectos/toba_usuarios/metadatos_compilados/gene/toba_mc_gene__basicos.php @@ -50,7 +50,7 @@ static function info_basica() 'log_archivo' => 1, 'log_archivo_nivel' => 7, 'fuente_datos' => 'toba_usuarios', - 'version' => '3.4.2', + 'version' => '3.4.3', 'version_fecha' => NULL, 'version_detalle' => NULL, 'version_link' => NULL, diff --git a/proyectos/toba_usuarios/proyecto.ini b/proyectos/toba_usuarios/proyecto.ini index 23dfa4582..649473fd1 100644 --- a/proyectos/toba_usuarios/proyecto.ini +++ b/proyectos/toba_usuarios/proyecto.ini @@ -5,7 +5,7 @@ descripcion = Descripci? del proyecto mail_soporte = ;Versi? del proyecto, debe ser formato x.y.z -version = 3.4.2 +version = 3.4.3 app_launcher = 1 ;Nombre de fantas? de la versi?