Commit Graph

247 Commits (668f5e74f7600ea6988d9db744d3dbfc730653f5)

Author SHA1 Message Date
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 91f2b784f6 Feature #306 - It is all about internationalization: Moving code form the multibyte string library (which is removed as of now) to the internationalization library. 16 years ago
Ivan Tcholakov 0c5a7d4857 Issue #306 - Platform admin, session import tool: Applying validation for course languages, fixing a conflict between global variables. 16 years ago
Ivan Tcholakov d477a7ce9d Issue #306 - The multibyte string library: The function api_detect_xml_encoding() has been renamed as api_detect_encoding_xml(). New functions have been added: api_convert_encoding_xml(), api_utf8_encode_xml(), api_utf8_decode_xml(). 16 years ago
Ivan Tcholakov 88fffff15f Issue #306 - Cleaning trailing whitespace in some files. 16 years ago
Ivan Tcholakov c10679b2f4 Issue #306 - The multibyte string library: Making the function api_detect_xml_encoding() more convenient for use. 16 years ago
Ivan Tcholakov a18b877fb5 Issue #306 - The multibyte string library: Adding new functions: api_detect_xml_encoding(), api_is_language_supported(), api_validate_language(). 16 years ago
Ivan Tcholakov 0ac2e538a5 Issue #306 - The multibute string library: Adding the function api_strripos() wich is found as needed for Dokeos LMS. Adding in the main API two constants for PHP5 subversion detection. 16 years ago
Ivan Tcholakov d007d59a99 Bug #5208 - SCORM courses: Fixing deletion of a SCORM course, based on the proposal by Christophe, see http://www.dokeos.com/forum/viewtopic.php?t=29673. The pesent solution works on Windows OS too. A new library file rmdirr.lib.php has been created (and revised), also, a formal test for this library file has been added. 16 years ago
Ivan Tcholakov 146468b7f9 Issue #306 - Replacing the implementation of api_str_ireplace() with a better one. 16 years ago
Ivan Tcholakov c5a9ffb9bb Issue #306 - Testing the multibyte string library, corrections about the functions api_ucwords() and api_substr_replace(). Now the stanalone test makes successfully all passes (135) on Windows and Linux machines. 16 years ago
Ivan Tcholakov b76924e465 Issue #306 - The multibyte string library: Testing and corrections, a formal standalone test has been added. Two encodings are added for support. Improved logic to deal with encoding aliases. It seems that installed mbstring extension is not a mandatory requirement anymore. The php-extensions mbstring and iconv are optional: for speed or for supporting some exotic encodings. 16 years ago
Ivan Tcholakov c3c4275f33 Issue #306: Reworks about the initialization of the multibyte string library. 16 years ago
Ivan Tcholakov a3cb586fd0 Issue #306 - The multibute string library: Restructuring the functions - those for internal use are renamed and moved in the correspondent file. 16 years ago
Ivan Tcholakov ecfb9ea136 Task #306 - The myltibyte string library: Making the library less dependable on the mbstring extension. Adding derivate UTF-8 aware pcre functions. 16 years ago
Ivan Tcholakov f42ed072f3 Task #2867 - The online editor: Adding a new plugin asciimath for entering mathematical formulas, based on the ASCIIMathML.js library. 17 years ago
Ricardo Rodriguez 3e5533dd7c [svn r22358] Minor - documented function test updateProgress because produced a fatal error to the requere_one 17 years ago
Ricardo Rodriguez 3a64533374 [svn r22355] Minor - update commit 17 years ago
Ricardo Rodriguez c480d44c37 [svn r22354] Minor - implemented function test to the legal.lib 17 years ago
Arthur Portugal f6b07888b8 [svn r22346] Removed var dump 17 years ago
Arthur Portugal 4c69a17af0 [svn r22344] Removed instance in this test case 17 years ago
Arthur Portugal d029509fe6 [svn r22343] Removed instance and name same like the construct 17 years ago
Ricardo Rodriguez 771dd748be [svn r22341] Minor - add new function test isn't yet complete 17 years ago
Arthur Portugal 1e6dd87ddf [svn r22340] Removed instance in social 17 years ago
Arthur Portugal 30bb60b641 [svn r22339] Removed instance in session manager 17 years ago
Arthur Portugal 17974744a4 [svn r22337] Deleted instance group manager 17 years ago
Arthur Portugal 0dfb64a610 [svn r22336] Deleted instance export 17 years ago
Arthur Portugal 97f455b256 [svn r22334] Added info about validation in upload xajax 17 years ago
Ricardo Rodriguez be353c215e [svn r22332] Minor - update the function test 17 years ago
Ricardo Rodriguez 3d775b4ca7 [svn r22329] Minor - create new function test 17 years ago
Arthur Portugal 652698436f [svn r22328] Added test case url manager to all test 17 years ago
Ricardo Rodriguez 1ae4b6b008 [svn r22323] Minor - created test function upload.xajax.php 17 years ago
Arthur Portugal 6ae8059662 [svn r22321] Added comment to var_dump() 17 years ago
Arthur Portugal 4fab5a55fb [svn r22320] Added test case tracking to all test 17 years ago
Ricardo Rodriguez 446f5f0b83 [svn r22314] Minor - create test function to function tablesort 17 years ago
Arthur Portugal 2100a8449a [svn r22289] Added test case text to all test 17 years ago
Arthur Portugal 6d9af353d1 [svn r22275] Added test case system to all test 17 years ago
Ricardo Rodriguez 4f62bf52a4 [svn r22271] Minor - created file for make tests to functions. 17 years ago
Arthur Portugal d59e7f8cb0 [svn r22270] Added new test case to all test 17 years ago
Arthur Portugal 81a713298b [svn r22262] Added stats utils to all test 17 years ago
Arthur Portugal 0e75a3ec2f [svn r22261] Added stats.lib to all test 17 years ago
Arthur Portugal 36c13cef27 [svn r22246] Added specific fields to all test 17 years ago
Arthur Portugal 54b5b32db2 [svn r22194] Added sortable file to can run all test 17 years ago
Arthur Portugal a332234eec [svn r22179] Added the file session manager to all test 17 years ago
Arthur Portugal 2c703f75db [svn r22175] Inserted if() 17 years ago
Ricardo Rodriguez d32bdf625d [svn r22174] Minor - update function 17 years ago
Ricardo Rodriguez 36221f558d [svn r22173] Minor - changed in the function test added new condition if(condition(function)); 17 years ago
Arthur Portugal a6d4fb7b32 [svn r22170] Updated this file 17 years ago
Arthur Portugal 16bf4ad138 [svn r22168] Commented the var_dump() 17 years ago