From 6c8af18e80e762d9cfa73d11f5c81c4ea5492b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 13 Feb 2020 22:33:31 +0100 Subject: [PATCH] Version19.122.2 --- swad_centre_config.c | 4 ++-- swad_changelog.h | 9 ++++++++- swad_forum.c | 4 ++-- swad_message.c | 4 ++-- swad_test.c | 4 ++-- swad_timeline.c | 4 ++-- 6 files changed, 18 insertions(+), 11 deletions(-) diff --git a/swad_centre_config.c b/swad_centre_config.c index 04c4fb79d..8fb198718 100644 --- a/swad_centre_config.c +++ b/swad_centre_config.c @@ -58,8 +58,8 @@ extern struct Globals Gbl; // - maintaining the original aspect ratio (aspect ratio recommended: 3:2) #define Ctr_RECOMMENDED_ASPECT_RATIO "3:2" #define Ctr_PHOTO_SAVED_MAX_WIDTH 768 -#define Ctr_PHOTO_SAVED_MAX_HEIGHT 512 -#define Ctr_PHOTO_SAVED_QUALITY 75 // 1 to 100 +#define Ctr_PHOTO_SAVED_MAX_HEIGHT 768 +#define Ctr_PHOTO_SAVED_QUALITY 90 // 1 to 100 /*****************************************************************************/ /******************************* Private types *******************************/ diff --git a/swad_changelog.h b/swad_changelog.h index 3f355208b..401023687 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -476,6 +476,9 @@ contiene una de las que yo imparto. As // TODO: Poner en swad.cfg varias líneas de swad_config.h para que sea más configurable +// TODO: Al exportar tests, los & hay que exportarlos como & o &#numero;, ya que un & no es correcto en XML. +// TODO: Junto al enlace test.xml hay que indicar que se descarga con "Guardar enlace como..." porque si se abre, se copia y se pega, son incorrectos los < + /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ @@ -494,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.122.1 (2020-02-07)" +#define Log_PLATFORM_VERSION "SWAD 19.122.2 (2020-02-13)" #define CSS_FILE "swad19.118.css" #define JS_FILE "swad19.91.1.js" /* @@ -502,7 +505,11 @@ ps2pdf source.ps destination.pdf // TODO: Impedir la creación y edición de proyectos si no son editables. // TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué? // TODO: En la lista de conectados central, poner el logo de la institución a la que pertenece el usuario +// TODO: En la lista de solicitudes de inscripción, alinear a la izquierda el nombre de la asignatura +// TODO: Urgente: en swad.ugr.es sale error al refrescar una titulación en la orla de titulaciones. +// TODO: URGENTÍSIMO: NO SE PUEDEN AÑADIR PREGUNTAS EN LOS JUEGOS. FALLA LA SELECCIÓN DE FECHAS. + Version 19.122.2: Feb 13, 2020 Increased quality in images. (278698 lines) Version 19.122.1: Feb 07, 2020 Fixed bug removing test tags, reported by Mancia Anguita López. (278692 lines) Version 19.122: Jan 30, 2020 Some options changed in system tab. (278690 lines) Copy the following icons to icon public directory: diff --git a/swad_forum.c b/swad_forum.c index b6e268288..77abb18ca 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -281,8 +281,8 @@ static const unsigned PermissionThreadDeletion[For_NUM_TYPES_FORUM] = // - maximum height of For_IMAGE_SAVED_MAX_HEIGHT // - maintaining the original aspect ratio (aspect ratio recommended: 3:2) #define For_IMAGE_SAVED_MAX_WIDTH 768 -#define For_IMAGE_SAVED_MAX_HEIGHT 512 -#define For_IMAGE_SAVED_QUALITY 75 // 1 to 100 +#define For_IMAGE_SAVED_MAX_HEIGHT 768 +#define For_IMAGE_SAVED_QUALITY 90 // 1 to 100 /*****************************************************************************/ /***************************** Private prototypes ***************************/ diff --git a/swad_message.c b/swad_message.c index ffd094efe..642b91ca4 100644 --- a/swad_message.c +++ b/swad_message.c @@ -68,8 +68,8 @@ extern struct Globals Gbl; // - maximum height of Msg_IMAGE_SAVED_MAX_HEIGHT // - maintaining the original aspect ratio (aspect ratio recommended: 3:2) #define Msg_IMAGE_SAVED_MAX_WIDTH 768 -#define Msg_IMAGE_SAVED_MAX_HEIGHT 512 -#define Msg_IMAGE_SAVED_QUALITY 75 // 1 to 100 +#define Msg_IMAGE_SAVED_MAX_HEIGHT 768 +#define Msg_IMAGE_SAVED_QUALITY 90 // 1 to 100 static const Pag_WhatPaginate_t Msg_WhatPaginate[Msg_NUM_TYPES_OF_MSGS] = { diff --git a/swad_test.c b/swad_test.c index 24d08ffc1..9b0c3a639 100644 --- a/swad_test.c +++ b/swad_test.c @@ -118,8 +118,8 @@ static const char *Tst_StrAnswerTypesDB[Tst_NUM_ANS_TYPES] = // - maximum height of Tst_IMAGE_SAVED_MAX_HEIGHT // - maintaining the original aspect ratio (aspect ratio recommended: 3:2) #define Tst_IMAGE_SAVED_MAX_WIDTH 768 -#define Tst_IMAGE_SAVED_MAX_HEIGHT 512 -#define Tst_IMAGE_SAVED_QUALITY 75 // 1 to 100 +#define Tst_IMAGE_SAVED_MAX_HEIGHT 768 +#define Tst_IMAGE_SAVED_QUALITY 90 // 1 to 100 /*****************************************************************************/ /******************************* Private types *******************************/ diff --git a/swad_timeline.c b/swad_timeline.c index eeca691b4..570ea67e8 100644 --- a/swad_timeline.c +++ b/swad_timeline.c @@ -101,8 +101,8 @@ struct PostContent · maintaining the original aspect ratio (aspect ratio recommended: 3:2) */ #define TL_IMAGE_SAVED_MAX_WIDTH 768 -#define TL_IMAGE_SAVED_MAX_HEIGHT 512 -#define TL_IMAGE_SAVED_QUALITY 75 // 1 to 100 +#define TL_IMAGE_SAVED_MAX_HEIGHT 768 +#define TL_IMAGE_SAVED_QUALITY 90 // 1 to 100 // in timeline posts, the quality should not be high in order to speed up the loading of images /*