Commit Graph

273 Commits (d8544436cc27193486cb6f76856984d03bf96fbf)

Author SHA1 Message Date
Ricardo Rodriguez b03cd24034 Created files banner.lib.php and course_document.lib.php ; Separated function and code, fixed test function and Modified the all.test1.php. 15 years ago
Arthur Portugal 59781bbbbd Fixed the all test 3 DT#3553 15 years ago
Arthur Portugal 097c3db054 Fixed the all test 2 DT#3553 15 years ago
Arthur Portugal 321555f6e7 Removed var_dump DT#3553 15 years ago
Arthur Portugal 542ed8c79b Removed var_dump DT#3553 15 years ago
Arthur Portugal 9fbfe7c1c6 Changed the assert bool to string DT#3553 15 years ago
Arthur Portugal e560f585d8 Changed the name function DT#3553 15 years ago
Yannick Warnier 9f5b6ef3ee dummy change 15 years ago
Arthur Portugal 2e1172aacb Fixed all.test2 function redirect DT#3553 15 years ago
Arthur Portugal a6a092d8e1 Fixed all.test2 function with the function redirect DT#3553 15 years ago
Arthur Portugal bf851a2bc7 Removed the unnecessary require_once for this all.test DT#3553 15 years ago
Arthur Portugal 7d3b9b4c6a Removed unnecessary files for the test DT#3553 15 years ago
Yannick Warnier 5c2d63af45 Updated memory limit (tests) 15 years ago
Yannick Warnier aad07d13d8 Updated memory limit (tests) 15 years ago
Yannick Warnier d87d284257 Removed unnecessary mock object lib loading 15 years ago
Yannick Warnier 847ad68d3a Use valid prefix for databases 15 years ago
Yannick Warnier ec83fff578 Removed unnecessary mock object lib loading 15 years ago
Yannick Warnier a1466934ac Removed xajax tests as they are deprecated 15 years ago
Yannick Warnier e8553c3af1 Removed function call 15 years ago
Ricardo Rodriguez cc5018021b Added new function test in announcements #3553 15 years ago
Ricardo Rodriguez 961a9f75d4 Fixed function test language.class.test.php DT#3553 15 years ago
Ricardo Rodriguez ce32b45a3d Added new testing function of sub_language.class.php 15 years ago
Isaac Flores Paz cef78c260a test 15 years ago
Ivan Tcholakov 1e4c271941 Feature #306 - Upgrading the function api_check_password(). Comments are added. 15 years ago
Ivan Tcholakov 942f562e44 Feature #306 - Internationalization API: Implementation of two new functions api_chr() and api_ord(). 15 years ago
Ivan Tcholakov c81137da87 Feature #306 - Removing the function replace_accents(). This function is not needed anymore. 15 years ago
Ivan Tcholakov fd9314ca09 Feature #306 - Removing the function remove_accents(). It is useless in contemporary code. 15 years ago
Ivan Tcholakov 66d5d81ec3 Feature #5397 - Replacing mysql_result() with Database::result(). 15 years ago
Ivan Tcholakov bb90a73e87 Feature #5397 - Replacing mysql_real_escape_string() with Database::escape_string(). 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 ada9c84124 Feature #5397 - Replacing mysql_fetch_array() with Database::fetch_array(). Installation scripts and some other files are skipped in this transaction. 15 years ago
Ivan Tcholakov f87ebd4795 Feature #5397 - Replacing mysql_fetch_object() with Database::fetch_object(). Installation scripts are skipped in this transaction. 15 years ago
Ivan Tcholakov de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 years ago
Ivan Tcholakov 514484dc21 Backed out of changeset 8493:a9efb5e0c834 15 years ago
Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 years ago
Ivan Tcholakov df06189daf Feature #306 - The internationalization library: The function api_refine_language_id() ahs been renamed as api_purify_language_id(). I hope, the new name is more understandable. 15 years ago
Ivan Tcholakov 6b143ae62f Feature #306 - Fixing the test for the function api_get_valid_language(). 15 years ago
Ivan Tcholakov 626d44cffd Feature #306 - Database records have been opened for Occitan and Traditional Chinese languages. 15 years ago
Ivan Tcholakov 2041d470ae Feature #306 - Fixing the function api_get_language_isocode() so it could return correct results using "dirty" language identifiers. The languages occitan, trad_chinese, trad_chinese_unicode have no corresponding records in the database. I have to open them. 15 years ago
Ivan Tcholakov 11e58b71bc Feature #306 - Moving the function api_get_language_isocode() in the internationalization library. Deprecation of Database::get_language_isocode(). Making a formal test for api_get_language_isocode(). At the moment the test fails, some expexted values are not returned. This has to be fixed. 15 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. 15 years ago
Ivan Tcholakov 24c89663c3 Feature #306 - Replacing the function api_sql_query() with Database::query() within all the system testing units. 15 years ago
Ivan Tcholakov 1691a61b05 Feature #306 - Removing the formal test for the function api_sql_query(). 15 years ago
Ivan Tcholakov 302eb4dc0e Feature #306 - Replacing everywhere the function api_store_result() with Database::store_result(). 15 years ago
Ivan Tcholakov 7409c475af Feature #306 - Fixing logic about encoding aliases recognition in the internationalization library. 15 years ago
Ivan Tcholakov c6b8d1ff63 Feature #306 - Removing the obsolete library file media.lib.php. 15 years ago
Ivan Tcholakov 965f0ad605 Feature #306 - Trimming totally trailing whitespace in php-source files, part 3 (final), 161 files. 15 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). 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 d9e28e4439 Feature #306 - Moving the function rmdirr() into the main API file. 15 years ago