Version 15.242.4

This commit is contained in:
Antonio Cañas Vargas 2016-07-15 18:39:19 +02:00
parent 6b8de5ffca
commit 0a1c538e4a
3 changed files with 12 additions and 11 deletions

View File

@ -457,17 +457,14 @@ CREATE TABLE IF NOT EXISTS file_browser_last (
-- --
CREATE TABLE IF NOT EXISTS file_browser_size ( CREATE TABLE IF NOT EXISTS file_browser_size (
FileBrowser TINYINT NOT NULL, FileBrowser TINYINT NOT NULL,
CrsCod INT NOT NULL DEFAULT -1, Cod INT NOT NULL DEFAULT -1,
GrpCod INT NOT NULL DEFAULT -1, ZoneUsrCod INT NOT NULL DEFAULT -1,
UsrCod INT NOT NULL DEFAULT -1,
NumLevels INT NOT NULL, NumLevels INT NOT NULL,
NumFolders INT NOT NULL, NumFolders INT NOT NULL,
NumFiles INT NOT NULL, NumFiles INT NOT NULL,
TotalSize BIGINT NOT NULL, TotalSize BIGINT NOT NULL,
UNIQUE INDEX(FileBrowser,CrsCod,GrpCod,UsrCod), UNIQUE INDEX(FileBrowser,Cod,ZoneUsrCod),
INDEX(CrsCod), INDEX(ZoneUsrCod));
INDEX(GrpCod),
INDEX(UsrCod));
-- --
-- Table file_view: stores the number of times each user has seen each file -- Table file_view: stores the number of times each user has seen each file
-- --

View File

@ -130,18 +130,22 @@
// TODO: Send attached photos via SOAP? // TODO: Send attached photos via SOAP?
// TODO: In list of users, institution should be the institution photo with internal link to institution // TODO: In list of users, institution should be the institution photo with internal link to institution
// TODO: IMPORTANT FOR SWADROID: For reasons of speed, when getting list of users (find/get), get all main data in the find/get query, do not iterate with multiple queries
// TODO: Remove "e-mail" column from list of users (usually it's not necessary)
// TODO: Upload photos/files from SWADroid using MIME attachments
/*****************************************************************************/ /*****************************************************************************/
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.242.3 (2016-07-14)" #define Log_PLATFORM_VERSION "SWAD 15.242.4 (2016-07-15)"
#define CSS_FILE "swad15.229.css" #define CSS_FILE "swad15.229.css"
#define JS_FILE "swad15.238.1.js" #define JS_FILE "swad15.238.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command: // Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/* /*
Version 15.242.4: Jul 15, 2016 Fixed bug in creation of database table file_browser_size. (203847 lines)
Version 15.242.3: Jul 14, 2016 Fixed bug in getting/finding users, due to default mysql mode in 5.7 which is ONLY_FULL_GROUP_BY. (203846 lines) Version 15.242.3: Jul 14, 2016 Fixed bug in getting/finding users, due to default mysql mode in 5.7 which is ONLY_FULL_GROUP_BY. (203846 lines)
Version 15.242.2: Jul 08, 2016 Code refactoring related to users' photos. Version 15.242.2: Jul 08, 2016 Code refactoring related to users' photos.
Fixed bug in chat. (203778 lines) Fixed bug in chat. (203778 lines)

View File

@ -28,10 +28,10 @@
/** Uncomment one of the following installations of SWAD or create your own **/ /** Uncomment one of the following installations of SWAD or create your own **/
/*****************************************************************************/ /*****************************************************************************/
#define LOCALHOST_UBUNTU // Comment this line if not applicable //#define LOCALHOST_UBUNTU // Comment this line if not applicable
//#define OPENSWAD_ORG // Comment this line if not applicable //#define OPENSWAD_ORG // Comment this line if not applicable
//#define SWAD_UGR_ES // Comment this line if not applicable //#define SWAD_UGR_ES // Comment this line if not applicable
//#define SWADBERRY_UGR_ES // Comment this line if not applicable #define SWADBERRY_UGR_ES // Comment this line if not applicable
/*****************************************************************************/ /*****************************************************************************/
/********************************* Headers ***********************************/ /********************************* Headers ***********************************/
@ -226,7 +226,7 @@
#define Cfg_PLATFORM_SHORT_NAME "SWADberry" #define Cfg_PLATFORM_SHORT_NAME "SWADberry"
#define Cfg_PLATFORM_FULL_NAME "SWADberry (Shared Workspace At a Distance on a Raspberry Pi)" #define Cfg_PLATFORM_FULL_NAME "SWADberry (Shared Workspace At a Distance on a Raspberry Pi)"
#define Cfg_PLATFORM_SERVER "swadberry.ugr.es" // Server name (main part of the URL) #define Cfg_PLATFORM_SERVER "swadberry.ugr.es" // Server name (main part of the URL)
#define Cfg_URL_SWAD_CGI "https://swadberry.ugr.es/swad" // Without ending slash #define Cfg_URL_SWAD_CGI "https://swadberry.ugr.es" // Without ending slash
#define Cfg_URL_SWAD_PUBLIC "https://swadberry.ugr.es/swad" // Without ending slash #define Cfg_URL_SWAD_PUBLIC "https://swadberry.ugr.es/swad" // Without ending slash
#define Cfg_PATH_CGI_BIN "/usr/lib/cgi-bin/swad" // Directory for this CGI and other commands called by it #define Cfg_PATH_CGI_BIN "/usr/lib/cgi-bin/swad" // Directory for this CGI and other commands called by it
#define Cfg_PATH_SWAD_PUBLIC "/var/www/html/swad" // Main public directory for public SWAD pages, icons, etc. #define Cfg_PATH_SWAD_PUBLIC "/var/www/html/swad" // Main public directory for public SWAD pages, icons, etc.