Commit Graph

8160 Commits (aeacfbd8e73a9bfbb890e45814e96db2d1e05216)

Author SHA1 Message Date
Ivan Tcholakov 9b58c8aada Feature #306 - Moving the function api_get_language_isocode() in the internationalization library. 16 years ago
Ivan Tcholakov 7373315387 Feature #306 - The function api_validate_language() has been renamed as api_get_valid_language(). This new name is accurate, the function is not a validator, but a filter. 16 years ago
Ivan Tcholakov b58e3b7ce4 Feature #306 - Placing a directive for loading the database class within the installation script install_upgrade.lib.php. 16 years ago
Ivan Tcholakov 7820ce8043 Feature #306 - Replacing the function api_sql_query() with Database::query() within all the installation scripts. 16 years ago
Ivan Tcholakov 1fa21303bd Feature #306 - Replacing the function api_sql_query() with Database::query(), starting from "link" folder and ending with "work" folder. 16 years ago
Ivan Tcholakov e1f30c1001 Feature #306 - Replacing the function api_sql_query() with Database::query() within all the library files. 16 years ago
Ivan Tcholakov 0e51c62659 Feature #306 - Replacing the function api_sql_query() with Database::query(), starting from "announcements" folder and ending with "group" folder. 16 years ago
Ivan Tcholakov 8b50531cc0 Feature #306 - Platform admin tools: Replacing the function api_sql_query() with Database::query(). 16 years ago
Ivan Tcholakov 22084ecbdc Feature #306 - Deprecation of the function api_sql_query(), part 2. Moving the body of this function in Database class. Declaring the function as deprecated. Next, trivial changes will follow in large scale. 16 years ago
Ivan Tcholakov 2363a31132 Feature #306 - Deprecation of the function api_sql_query(), part 1. First, fixing a hidden bug, I think so. During the global initialization, when a database error occurs before Security (+HTMLPurifier) class has been loaded, then api_sql_query() fails to show its message. A fatal error occures, like "Class 'HTMLPurifier' not found in C:\Users\.......\dokeos\main\inc\lib\security.lib.php on line 250". Fixed. 16 years ago
Ivan Tcholakov 7cc91fb6b9 Feature #306 - A terminology correction in the script for global error messages. 16 years ago
Ivan Tcholakov 33a1eafdd8 Feature #306 - Cleaning the global initialization script, part 2, moving the global error messages into a separate file. 16 years ago
Ivan Tcholakov 28dac5774b Feature #306 - Cleanin the global initialization script, part 1. 16 years ago
Ivan Tcholakov 302eb4dc0e Feature #306 - Replacing everywhere the function api_store_result() with Database::store_result(). 16 years ago
Ivan Tcholakov 3df4b63151 Feature #306 - The function api_store_result() is deprecated, Database::store_result() replaces it. 16 years ago
Ivan Tcholakov d3e2a3f795 Feature #306 - Cleaning code for Database class, part 2, optimizations for speed. 16 years ago
Ivan Tcholakov 1a28a29238 Feature #306 - Cleaning code for Database class, part 1. 16 years ago
Ivan Tcholakov 9522150c9c Feature #306 and Bug #5277 - Transforming the administrator's setting "Platform character set" from text box into select box. For now, the list of proposed encodings is not restricted according the platform language + enabled languages, for avoiding questions in the forums. Suppressing an annoying warning caused by htmlspecialchars() in PEAR's html forms and other minor fixes. 16 years ago
Ivan Tcholakov 7409c475af Feature #306 - Fixing logic about encoding aliases recognition in the internationalization library. 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 45e7afcefb Bug #2867 - The online editor: Minor logical and visual fixes for Image manager plugin. 16 years ago
Ivan Tcholakov 79849039e1 Feature #306 and Bug #5277 - HTMLPurifier, the Encoder class, methods for encoding conversion: Giving top-priority to the attached conversion functions from the internationalization library. 16 years ago
Ivan Tcholakov fabde0906e Bug #2867 - The online editor: Full set of language files for the Glossary plugin. 16 years ago
Ivan Tcholakov db21e446ae Bug #2867 - The online editor: Cleaning an obsolete setting in myconfig.js. 16 years ago
Ivan Tcholakov 9ff6d282f6 Bug #2867 - The online editor: Optimizations for speed, providing compressed versions for almost all plugin javascripts for initialization. 16 years ago
Carlos Vargas 1f4206394c add <dl> to improve the presentation of data in My profile 16 years ago
Ivan Tcholakov 2a0f7206f0 Bug #2867 - The online editor: Starting some optimizations for speed. Providing a compressed version of javascript for the customizations plugin. The compressed version is active when the system is in production mode. On test server mode the original source javascript is active (i.e. requested by browsers). For more information about making compressed scripts see http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Customization/Scripts_Compression . 16 years ago
Ivan Tcholakov 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). 16 years ago
Ivan Tcholakov 5b47ad5bc1 Bug #2867 - Trimming trailing whitespace in all (system range) css files (125 files). 16 years ago
Ivan Tcholakov 760d14b72e Bug #2867 - Trimming trailing whitespace in all (system range) javascript files. 16 years ago
Ivan Tcholakov ac78f29f83 Feature #306 - Adding some notes about the function api_get_path(). 16 years ago
Ivan Tcholakov 8c8211124e Bug #2867 - Suppressing a javascript error on IE8, "Object expected" -2146823281, when the editor unloads after "Fit Window" command has been used. 16 years ago
Ivan Tcholakov c6b8d1ff63 Feature #306 - Removing the obsolete library file media.lib.php. 16 years ago
Juan Carlos Raña 8b2430a3c4 add current work path 16 years ago
Ivan Tcholakov bc1231b1df #2867 - The online editor: Removing trailing whitespace from all html files. 16 years ago
Ivan Tcholakov 4f269f9588 #2867 - The online editor: Removing trailing whitespace from all javascript files. 16 years ago
Ivan Tcholakov 7deb5a929d #2867 - Upgrading from FCKEditor 2.6.4.1 to FCKEditor 2.6.5, Build 23959, 21-SEP-2009. 16 years ago
Ivan Tcholakov 965f0ad605 Feature #306 - Trimming totally trailing whitespace in php-source files, part 3 (final), 161 files. 16 years ago
Ivan Tcholakov b1872644bf Feature #306 - Trimming totally trailing whitespace in php-source files, part 2, 140 files. 16 years ago
Ivan Tcholakov 7aef9165bf Feature #306 - Trimming totally trailing whitespace in php-source files, part 1, 220 files. 16 years ago
Ivan Tcholakov 84f8d984e7 Feature #306 - Trimming whitespace from all the library files main/inc/lib. ~200 files are to be changed. 16 years ago
Ivan Tcholakov c40ccb5ec2 Feature #306 - Starting to exploit the powered function api_get_path(), for the online editor. The class Media (media.lib.php) becomes obsolete, it will be removed. 16 years ago
Ivan Tcholakov 08ec99208d Feature #306 - A rework of the function api_get_path(), essential moments are commented. The obsolete setting $GLOBALS['clarolineRepositorySys'] is not used by api_get_path() anymore. Support for the installation process has been added. Functionality has been upgraded with a mechanism for quering about specific "registered" resource files (scripts, players). Another upgrade is adding conversion between types of paths, i.e. between web absolute (WEB), system absolute (SYS), web semi-absolute (REL). Conversion is guaranteed for paths inside Dokeos. A formal test for api_get_path() has been developed. You may see it (there are lots of examples inside) by using URL similar to this one: http://localhost/dokeos/tests/main_api.lib.test_standalone.php . And a discovered mistake for mimetex configuration autodetectoin (a missing last slash) has been fixed (it seems to me there is another minor one - wrong processing URLs with port number, it will be fixed later). 16 years ago
Cristian Fasanando 51d5d80c7e Minor - fixed typo in param 16 years ago
Arthur Portugal 479e039db6 Fixed \"Groups\" tool: Fixing hard-coded person name order to view student. 16 years ago
Juan Carlos Raña f2df33221b fix spanish translation 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 5ed7f167b5 Feature #306 - Corrections an optimiztion for speed for the functions get_lang() and api_get_path(). 16 years ago
Ivan Tcholakov d9e28e4439 Feature #306 - Moving the function rmdirr() into the main API file. 16 years ago
Ivan Tcholakov b9d9dfedee Feature #306 - "Groups" tool: Fixing hard-coded person name order. 16 years ago