Commit History

Author SHA1 Message Date
  Julio Montoya 7217790b59 Improving whoisonline feature changing a table view to a grid view see DT#5490 15 years ago
  Julio Montoya 4c12818d5e Adding some intval and escape_string functions see DT#4389 15 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(). 15 years ago
  Ivan Tcholakov a6779b91f9 Feature #5397 - Replacing api_store_result() with Database::store_result(). 15 years ago
  Ivan Tcholakov 9b1f3ed934 Feature #5397 - Replacing again the deprecated function api_sql_query() with Database::query(). 15 years ago
  Cristian Fasanando 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 years ago
  Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 years ago
  Ivan Tcholakov 302eb4dc0e Feature #306 - Replacing everywhere the function api_store_result() with Database::store_result(). 15 years ago
  Ivan Tcholakov 3eea1f1a8d Feature #306 - Code rework about uploading user photos in administration section and in profile tool. 15 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). 15 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. 15 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. 15 years ago
  Ivan Tcholakov 1aec623a1f Feature #306 - Changes (final maybe) about username related logic. 15 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. 15 years ago
  Ivan Tcholakov a3019a9959 Issue #306 - FormValidator: Updating code for the validation rule 'username'. This rule is served by the UserManager class now. 15 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. 15 years ago
  Ivan Tcholakov adc74d7b26 Issue #306 - The UserManager class: Cleaning source code before making some modifications. 15 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. 15 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(). 15 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. 15 years ago
  Ivan Tcholakov bde25205ae Issue #306 - Cleaning code of UserManager::create_username(). 15 years ago
  Ivan Tcholakov 6b66ad6c60 Issue #306 - UserManager - cleaning trailing whitespace. 15 years ago
  Ivan Tcholakov 873e10e748 Issue #306 - Adding a new method UserManager::cut_username(). 15 years ago
  Ivan Tcholakov 5ac391b181 Issue #306 - UserManager class: Polishing code about username generation. 15 years ago
  Ivan Tcholakov a57de8e101 Issue #306 - Creation of a new method UserManager::create_unique_username(). 15 years ago
  Ivan Tcholakov f833d359e9 Issue #306 - Importing users in a session: Reworking code there. 15 years ago
  Ivan Tcholakov 272570f5e8 Issue #306 - Logic upgrade for UserManager::create_username(). 15 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. 15 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. 15 years ago
  Julio Montoya ce6c8e8618 Adding validation to function parameters 15 years ago