diff --git a/swad_changelog.h b/swad_changelog.h index f23fa8eb9..159ced991 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -129,17 +129,21 @@ // TODO: Add new WS functions to count the number of users to return in call to functions getUsers/findUsers? +// TODO: In search of users and findUsers banned users should not appear in listing!!!!! +// TODO: Send attached photos via SOAP? + /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.240 (2016-07-01)" +#define Log_PLATFORM_VERSION "SWAD 15.240.1 (2016-07-02)" #define CSS_FILE "swad15.229.css" #define JS_FILE "swad15.238.1.js" // 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 /* + Version 15.240.1: Jul 02, 2015 Fixed bug in web service. (203539 lines) Version 15.240: Jul 01, 2015 Copy subject and content of message to hidden param when clicking on link. (203534 lines) Version 15.239: Jul 01, 2015 Code refactoring related to contextual menus. (203531 lines) Version 15.238.1: Jul 01, 2015 New javascript function to animate icon. (203292 lines) diff --git a/swad_web_service.c b/swad_web_service.c index 87fe8e324..ac901b738 100644 --- a/swad_web_service.c +++ b/swad_web_service.c @@ -153,6 +153,7 @@ static const char *Svc_Functions[1+Svc_NUM_FUNCTIONS] = "sendAttendanceUsers", // 22 "createAccount", // 23 "getMarks", // 24 + "findUsers", // 25 }; /*****************************************************************************/ @@ -1429,7 +1430,7 @@ int swad__findUsers (struct soap *soap, bool FilterTooShort = false; Gbl.soap = soap; - Gbl.WebService.Function = Svc_getUsers; + Gbl.WebService.Function = Svc_findUsers; Gbl.CurrentCrs.Crs.CrsCod = (courseCode > 0) ? (long) courseCode : -1L; diff --git a/swad_web_service.h b/swad_web_service.h index bdca09d4d..e83ce9573 100644 --- a/swad_web_service.h +++ b/swad_web_service.h @@ -31,7 +31,7 @@ /***************************** Public constants ******************************/ /*****************************************************************************/ -#define Svc_NUM_FUNCTIONS 25 +#define Svc_NUM_FUNCTIONS 26 /*****************************************************************************/ /******************************* Public types ********************************/ @@ -66,6 +66,7 @@ typedef enum Svc_createAccount = 23, Svc_getMarks = 24, Svc_getTrivialQuestion = 25, + Svc_findUsers = 26, } Svc_Function_t; /*****************************************************************************/