Commit Graph

274 Commits (1405a361503f95e3edc7536622cbab34b5bd01b4)

Author SHA1 Message Date
Ivan Tcholakov 1405a36150 Feature #576 - Two functions has been added in the main API - api_get_permissions_for_new_directories() and api_get_permissions_for_new_files(). Other cosmetic changes have been done. 16 years ago
Arthur Portugal c7de9cc7b0 Minor - Validated functions for the tests CT#191 16 years ago
Cristian Fasanando 120af264c7 added track_e_item_property table for using it like history, id for item_property and course tables - partial CT#613 16 years ago
Ivan Tcholakov f3011085a0 Feature #272 - Various encoding-related corrections. 16 years ago
Ivan Tcholakov e402ddf9cf Feature #272 - Mailing: The function api_send_mail() has been declared as deprecated. 16 years ago
Ivan Tcholakov fbe7f4b680 Feature #272 - Corrections in the function api_send_mail() (which is in the main API). 16 years ago
Julio Montoya d72377bfb5 Adding intval to api_get_user_id 16 years ago
Julio Montoya 33f13b6d0d changeset 9234 b0249cc3ecb1 from Dokeos 16 years ago
Yannick Warnier a1e6602ab0 Fixed critical typo preventing the unselection of options in admin section - see CT#529 16 years ago
Julio Montoya e48bf37631 Minor - Documentation update 16 years ago
Julio Montoya a695168649 Fixing api_get_software_name 16 years ago
Julio Montoya 16b36d4488 Adding config value software_name 16 years ago
Arthur Portugal d556413d19 Added optional parameter to api_set_settings_category to allow filter on field types CT#492 16 years ago
Cristian Fasanando 8ee82607d0 Fixed - defined access limits for the coach (days before and days after) - partial CT#462 16 years ago
Julio Montoya 63c0989ce8 Fixing error message, login form when timed out happens 16 years ago
Julio Montoya 7b434571d3 (no commit message) 16 years ago
Julio Montoya c67d8b16b8 Refactoring of the course home, also added the new ajax reponses files see CT#431 16 years ago
cvargas e969a4161a merge 16 years ago
Julio Montoya 48270abd43 Replacing include_once by require_once 16 years ago
Juan Carlos Raña 1bf74069c7 fix bug 5596 16 years ago
Yannick Warnier 81264757c7 Removed test logging 16 years ago
Yannick Warnier ec83fff578 Removed unnecessary mock object lib loading 16 years ago
Julio Montoya dcf6c5f4a3 Social network improvements see #5508 16 years ago
Cristian Fasanando 3c7d415d1f Fixed - bug in the emerging icons - DT#5455 16 years ago
Arthur Portugal 75b662cec9 The reports are not visible when the admin user is checking by each students into the session list and added Section_Tracking for tabs DT#5496 16 years ago
Cristian Fasanando db4571c5bc changed interface of course in session for a coach when is also a teacher - partial DT#5377 16 years ago
Julio Montoya 5b89b3d771 session_id variable change it to id_session see #245 16 years ago
Julio Montoya 3e1f9099a4 Adding the \"id_session\" parameter to the api_get_cidreq() function see BT#245 16 years ago
Ivan Tcholakov 1e4c271941 Feature #306 - Upgrading the function api_check_password(). Comments are added. 16 years ago
Cristian Fasanando aacfd51d50 Fixed copy course session to another session for documents tool - partial BT #5377 16 years ago
Ivan Tcholakov f10a1a6e3d Feature #5397 - Replacing mysql_query() with Database::query(). 16 years ago
Ivan Tcholakov c9af458a84 Feature #5397 - Replacing mysql_affected_rows() with Database::affected_rows(). 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
Ivan Tcholakov fa8383b414 Feature #306 - Upgrading the function api_send_mail(), see http://www.dokeos.com/forum/viewtopic.php?t=15557 16 years ago
Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 16 years ago
Ivan Tcholakov 9b58c8aada Feature #306 - Moving the function api_get_language_isocode() in the internationalization library. 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 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 ac78f29f83 Feature #306 - Adding some notes about the function api_get_path(). 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
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 8ca6741321 Feature #306 - Drafting future behaviour upgrade of the function api_get_path(). 16 years ago
Ivan Tcholakov b98e8c295e Feature #306 - The main API: Deprecating the function api_url_to_local_path(), moving its functionality to api_get_path(). Restructuring some code. Some author's names have been verified and written correctly in the UTF-8 encoded source file. 16 years ago
Ivan Tcholakov 1a1e783ed3 Feature #306 - The main API: Cleaning code and some minor optimizations, pass 3. Two string functions have been upgraded, some deprecated functions have been placed at the bottom of the file in a special section. 16 years ago