Skip to content

Commit

Permalink
Merge branch 'release/v3.3.23'
Browse files Browse the repository at this point in the history
  • Loading branch information
enfoqueNativo committed Feb 14, 2022
2 parents 36507c6 + 59a6c7e commit 7c3161e
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@

[CURRENT](https://github.com/SIU-Toba/framework/compare/master...develop)

[3.3.23](https://github.com/SIU-Toba/framework/releases/tag/v3.3.23) (2022-02-14)
- Fix instanciacion incorrecta del logger al superarse el tiempo de sesión
- Fix notice al lidiar con tareas serializadas

[3.3.22](https://github.com/SIU-Toba/framework/releases/tag/v3.3.22) (2021-12-23)
- Fix por escapado multiple en mensajes de error
- Se actualizan los siguientes paquetes
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.3.22
3.3.23
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "siu-toba-framework",
"version": "3.3.22",
"version": "3.3.23",
"description": "Framework para desarrollo rápido de aplicaciones web",
"license": "SEE LICENSE IN licencia.txt",
"repository": "https://github.com/SIU-Toba/framework.git",
Expand Down
6 changes: 3 additions & 3 deletions php/nucleo/lib/toba_manejador_sesiones.php
Expand Up @@ -749,11 +749,11 @@ private function control_finalizacion_sesion()
$ultimo_acceso = $_SESSION[TOBA_DIR]['instancias'][$this->instancia]['proyectos'][$this->proyecto]['info_sesion']['ultimo_acceso'];
$tiempo_desconectado = ((time()-$ultimo_acceso)/60);//Tiempo desde el ultimo REQUEST
if ( $tiempo_desconectado >= $ventana) {
toba::notificacion('Usted ha permanecido varios minutos sin interactuar
toba::notificacion()->agregar('Usted ha permanecido varios minutos sin interactuar
con el servidor. Por razones de seguridad su sesion ha sido eliminada.
Por favor vuelva a registrarse si desea continuar utilizando el sistema.
Disculpe las molestias ocasionadas.');
toba_logger::error("Se exedio la ventana temporal ($ventana m.)");
toba_logger::instancia()->error("Se exedio la ventana temporal ($ventana m.)");
throw new toba_error_autorizacion('Se exedio la ventana temporal');
}
}
Expand All @@ -763,7 +763,7 @@ private function control_finalizacion_sesion()
$inicio_sesion = $_SESSION[TOBA_DIR]['instancias'][$this->instancia]['proyectos'][$this->proyecto]['info_sesion']['inicio'];
$tiempo_total = ((time()-$inicio_sesion)/60);//Tiempo desde que se inicio la sesion
if ( $tiempo_total >= $maximo) {
toba::notificacion('Se ha superado el tiempo de sesion permitido
toba::notificacion()->agregar('Se ha superado el tiempo de sesion permitido
Por favor vuelva a registrarse si desea continuar utilizando el sistema.
Disculpe las molestias ocasionadas.');
toba_logger::instancia()->error("Se exedio el tiempo maximo de sesion ($maximo m.)");
Expand Down
3 changes: 2 additions & 1 deletion php/nucleo/lib/toba_planificador_tareas.php
Expand Up @@ -42,7 +42,8 @@ function programar_tarea(toba_tarea $tarea, $timestamp, $intervalo=null, $nombre
//Inserta el objeto serializado en el BLOB
$pdo = $db->get_pdo();
$stmt = $pdo->prepare($sql);
$stmt->bindParam(1, serialize($tarea), PDO::PARAM_LOB);
$tarea_serializada = serialize($tarea);
$stmt->bindParam(1, $tarea_serializada, PDO::PARAM_LOB);
$stmt->execute();

$id_tarea = $db->recuperar_secuencia('apex_tarea_seq');
Expand Down
2 changes: 1 addition & 1 deletion proyectos/toba_editor/proyecto.ini
Expand Up @@ -6,7 +6,7 @@ mail_soporte =
url_ayuda = doc/wiki/trac/toba/wiki/

;Versi? del proyecto, debe ser formato x.y.z
version = 3.3.22
version = 3.3.23

;Nombre de fantas? de la versi?
version_fantasia =
Expand Down
2 changes: 1 addition & 1 deletion proyectos/toba_referencia/proyecto.ini
Expand Up @@ -8,7 +8,7 @@ url_ayuda_agregar_extension = 0
mostrar_resize_fuente = 1

;Versi? del proyecto, debe ser formato x.y.z
version = 3.3.22
version = 3.3.23
api_major = 1
api_minor = 0

Expand Down
2 changes: 1 addition & 1 deletion proyectos/toba_usuarios/proyecto.ini
Expand Up @@ -5,7 +5,7 @@ descripcion = Descripci? del proyecto
mail_soporte =

;Versi? del proyecto, debe ser formato x.y.z
version = 3.3.22
version = 3.3.23
app_launcher = 1

;Nombre de fantas? de la versi?
Expand Down
13 changes: 0 additions & 13 deletions www/js/utilidades/jquery-ui/package.json
Expand Up @@ -53,19 +53,6 @@
"dependencies": {},
"devDependencies": {
"commitplease": "2.3.0",
"grunt": "0.4.5",
"grunt-bowercopy": "1.2.4",
"grunt-cli": "0.1.13",
"grunt-compare-size": "0.4.0",
"grunt-contrib-concat": "0.5.1",
"grunt-contrib-csslint": "0.5.0",
"grunt-contrib-jshint": "0.12.0",
"grunt-contrib-qunit": "1.0.1",
"grunt-contrib-requirejs": "0.4.4",
"grunt-contrib-uglify": "0.11.1",
"grunt-git-authors": "3.1.0",
"grunt-html": "6.0.0",
"grunt-jscs": "2.1.0",
"load-grunt-tasks": "3.4.0",
"rimraf": "2.5.1",
"testswarm": "1.1.0"
Expand Down

0 comments on commit 7c3161e

Please sign in to comment.