Commit Graph

127 Commits (dcf6c5f4a30dee0e75f23a5d17f366a01ee414dd)

Author SHA1 Message Date
Julio Montoya dcf6c5f4a3 Social network improvements see #5508 16 years ago
Julio Montoya 0f3c892a40 Fixes #5568 requires testing 16 years ago
Cristian Fasanando 7eb4159f59 Fixing field id_coach doesn't exists in session_rel_course table - partial DT#5496 16 years ago
Julio Montoya 1942167c0f First attempt to implement the user tags (interests) see DT#5508 (partial) 16 years ago
Patrick Cool 82f856bf34 bugfix: sorting as defined in course management is not respected 16 years ago
Julio Montoya 8999b49e33 Adding intval function to querys see DT#4389 16 years ago
Julio Montoya 7217790b59 Improving whoisonline feature changing a table view to a grid view see DT#5490 16 years ago
Julio Montoya 4c12818d5e Adding some intval and escape_string functions see DT#4389 16 years ago
Ivan Tcholakov e5c9dddad1 Feature #5397 - There are two methods in Database class that do the same thing: Database::get_last_insert_id() and Database::insert_id(). Let us deprecate Database::get_last_insert_id(), it is longer and it doesn't follow the intuitive pattern for replacement mysql_* --> Database::*. Replacing Database::get_last_insert_id() with Database::insert_id(). 16 years ago
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 17 years ago
Isaac Flores efd00514cd [svn r22276] added keyword static - (partial FS#4400) 17 years ago
Cristian Fasanando 258acfea64 [svn r22205] Added tracking/logging of admin activity see FS#842 17 years ago
Arthur Portugal 654bb13332 [svn r21700] Minor - Changed documentation 17 years ago
Isaac Flores c3d8444219 [svn r21523] Minor - logic changes - allow order by course category - (partial FS#4348) 17 years ago
Arthur Portugal 575563e5e3 [svn r21378] Minor - Added documentation 17 years ago
Arthur Portugal 65ba1076e3 [svn r21358] Validated the function "resize_picture" if exist the library image with help SimpleTest. 17 years ago
Arthur Portugal 59fae4d6d7 [svn r21357] Minor - Added documentation 17 years ago
Arthur Portugal 7dbe707ccd [svn r21353] Minor - Added documentation in some functions 17 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