Commit Graph

117 Commits (ada9c841243bb32d56386b38a75d89dbe3b45aae)

Author SHA1 Message Date
Ivan Tcholakov a6779b91f9 Feature #5397 - Replacing api_store_result() with Database::store_result(). 16 years ago
Ivan Tcholakov 9b1f3ed934 Feature #5397 - Replacing again the deprecated function api_sql_query() with Database::query(). 16 years ago
Cristian Fasanando 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 16 years ago
Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 16 years ago
Ivan Tcholakov 302eb4dc0e Feature #306 - Replacing everywhere the function api_store_result() with Database::store_result(). 16 years ago
Ivan Tcholakov 3eea1f1a8d Feature #306 - Code rework about uploading user photos in administration section and in profile tool. 16 years ago
Ivan Tcholakov e197cb109e Feature #306 - Replacing the ugly construct (my workaround) @getimagesize(api_url_to_local_path($image_path)) with a better one: api_getimagesize($image_path). 16 years ago
Ivan Tcholakov d45fb5c55c Feature #306 - Cleaning code of the user profile page (further checks are to be done). A correction in UserManager class that prevents user photos to be shown as productions. 16 years ago
Ivan Tcholakov 4a20a38a7c Feature #306 - UserManager: Some minor optimizations ( this was the initial intention :-) ). A tricky rework about the method UserManager::get_user_picture_path_by_id(). A collateral fix about uploading user photos in the platform admin tool, now it works correctly, including the case api_get_setting('split_users_upload_directory') === 'true'. Uploading photos through user profile tool is to be checked. And... fixing two unsafe getimagesize() calls. By the way, the date picker in the forms "User add" and "User edit" (platform admin) does not work, IE8. 16 years ago
Ivan Tcholakov 1aec623a1f Feature #306 - Changes (final maybe) about username related logic. 16 years ago
Ivan Tcholakov de8687bf06 Feature #306 - Moving the constants for username specification from UserManager to the main API. They have to be accessible not only by the UserManager class. 16 years ago
Ivan Tcholakov a3019a9959 Issue #306 - FormValidator: Updating code for the validation rule 'username'. This rule is served by the UserManager class now. 16 years ago
Ivan Tcholakov cb1a44e1a2 Issue #306 - The UserManager class: Fixing an accidentally noticed issue related with getimagesize(), see http://www.dokeos.com/forum/viewtopic.php?t=16355 . Minir modification of the function get_lang() as it is needed for UserManager. Other minor changes. 16 years ago
Ivan Tcholakov adc74d7b26 Issue #306 - The UserManager class: Cleaning source code before making some modifications. 16 years ago
Ivan Tcholakov a794b60d52 Issue #306 - Elimination of the method UserManager::cut_username(). Reverting a fragment of code that was inserted by mistake. Other minor corrections. 16 years ago
Ivan Tcholakov bf33ebf6cc Issue #306 - Making logic in the UserManager class about usernames more precise. Adding new methods UserManager::purify_username() and UserManager::is_username_valid(). 16 years ago
Ivan Tcholakov 24e356e318 Issue #306 - Platform admin: Various corrections in the scripts for xml-import of sessions and users, increasing reliability when data with extra-whitespace is imported. 16 years ago
Ivan Tcholakov bde25205ae Issue #306 - Cleaning code of UserManager::create_username(). 16 years ago
Ivan Tcholakov 6b66ad6c60 Issue #306 - UserManager - cleaning trailing whitespace. 16 years ago
Ivan Tcholakov 873e10e748 Issue #306 - Adding a new method UserManager::cut_username(). 16 years ago
Ivan Tcholakov 5ac391b181 Issue #306 - UserManager class: Polishing code about username generation. 16 years ago
Ivan Tcholakov a57de8e101 Issue #306 - Creation of a new method UserManager::create_unique_username(). 16 years ago
Ivan Tcholakov f833d359e9 Issue #306 - Importing users in a session: Reworking code there. 16 years ago
Ivan Tcholakov 272570f5e8 Issue #306 - Logic upgrade for UserManager::create_username(). 16 years ago
Ivan Tcholakov aa896ce684 Issue #306 - The UserManager class: Adding a method create_username(), internationalized, without check for uniqueness in the system. This algorithm is a single point for providing logic, it should be reused everywhere. 16 years ago
Ivan Tcholakov 150163859a Bug #3646 and Issue #306 - Common Dokeos libraries (part 2): Fixing person name order to be dependable on the internationalization settings. Other minor corrections. 16 years ago
Julio Montoya ce6c8e8618 Adding validation to function parameters 16 years ago
Yannick Warnier 56757c72bb Fixed user picture in whoisonline.php when using users subdirs 16 years ago
Yannick Warnier 4e4bf8eb88 [svn r22378] Minor documentation update 16 years ago
Isaac Flores efd00514cd [svn r22276] added keyword static - (partial FS#4400) 16 years ago
Cristian Fasanando 258acfea64 [svn r22205] Added tracking/logging of admin activity see FS#842 16 years ago
Arthur Portugal 654bb13332 [svn r21700] Minor - Changed documentation 16 years ago
Isaac Flores c3d8444219 [svn r21523] Minor - logic changes - allow order by course category - (partial FS#4348) 16 years ago
Arthur Portugal 575563e5e3 [svn r21378] Minor - Added documentation 16 years ago
Arthur Portugal 65ba1076e3 [svn r21358] Validated the function "resize_picture" if exist the library image with help SimpleTest. 16 years ago
Arthur Portugal 59fae4d6d7 [svn r21357] Minor - Added documentation 16 years ago
Arthur Portugal 7dbe707ccd [svn r21353] Minor - Added documentation in some functions 16 years ago
Ivan Tcholakov 19b511b13f [svn r20951] FS#4118 - Fixing more unsafe calls of the function getimagesize(), hopefully all of them. 17 years ago
Ivan Tcholakov 615e32d491 [svn r20723] FS#306 - Replacing some occurrences of the function mb_convert_encoding() with api_convert_encoding() which is able to support more encodings if the iconv php-extension has been activated. 17 years ago
Isaac Flores 8ba986d764 [svn r20641] logic changes - allow to send messages in outbox - (partial FS#3909) 17 years ago
Cristian Fasanando d3f8606b89 [svn r20615] Fixed problems of messages in social red - partial FS#4204 (by jhp1411) 17 years ago
Julio Montoya cffc62ddca [svn r20561] Improvements to the user picture (2 new size picture now available) FS#4108 by jhp1411 17 years ago
Carlos Vargas 5f1aef130b [svn r20488] first change, add to all insert remove_xss a data base, this authinscription see FS#4169 17 years ago
Cristian Fasanando 53ff65b6c9 [svn r20346] Change order By course title - see FS# 4002 added by jhp1411 17 years ago
Julio Montoya 6ace52861e [svn r20303] Minor - adding escape_string function 17 years ago
Yannick Warnier dc30ed8fa4 [svn r19848] Minor - added log to sql query execution 17 years ago
Yannick Warnier 323902c5ed [svn r19763] Added get_number_of_users() 17 years ago
Julio Montoya 13ad28f3a6 [svn r19384] Minor - hide a course label where dont need it 17 years ago
Yannick Warnier 8dd2d96fce [svn r19178] Minor - Added comment 17 years ago
Yannick Warnier 54a487ba63 [svn r19177] Added usermanager::is_admin(user_id) 17 years ago