Commit Graph

7227 Commits (5cf040b5185e0ef15941273f9a84706232c4529a)
 

Author SHA1 Message Date
Ivan Tcholakov 5cf040b518 [svn r21467] FS#306 - Reworking the functions api_get_language_isocode() and Database::get_language_isocode() for avoiding code duplication. Caching of the returned results has been added to avoid running repetitive sql-queries. 16 years ago
Arthur Portugal 5847a1fec8 [svn r21460] Added new path 16 years ago
Arthur Portugal f12107a40f [svn r21459] Update with all functions 16 years ago
Arthur Portugal 7e1e36810f [svn r21458] Minor -Added documentation to the function query 16 years ago
Arthur Portugal c1b54b6f19 [svn r21456] Minor - Added @param documentation 16 years ago
Ricardo Rodriguez 2ef37a03d9 [svn r21454] Minor - created file test to blog.lib.php all function have been tested 16 years ago
Ivan Tcholakov 1c5c1f3c8f [svn r21432] FS#306 - Adding the Microsoft's alias CP65001 within the function api_get_file_system_encoding() to be recognized as UTF-8. 16 years ago
Ivan Tcholakov 986d6ddd51 [svn r21419] FS#306 - The installation script: Implementing a more adequate logic of picking character set depending on the choosen installation language. 16 years ago
Ivan Tcholakov 83bef50300 [svn r21415] FS#306 - Removing previously introduced functions api_is_apache and api_is_iis(), they wont be needed. Introducing new functions in the multi-byte string library: api_initialize_internal_encoding($encoding), api_is_latin1_compatible(), api_get_latin1_compatible_languages(). Minor corrections for api_in_array_nocase() and api_refine_language_id(). Corrections in some comments. 16 years ago
Ivan Tcholakov 348c4b1928 [svn r21413] FS#306 - The installation script has logic for guessing/choosing the encoding of its pages, which is Apache-specific. For improvement/upgrading this logic and for other web-server specific needs, two functions have been added in the main API for web-server detection - api_is_apache() and api_is_iis(). The detection condition have been taken from WordPress 2.8, http://wordpress.org, GNU/GPL 2. 16 years ago
Ivan Tcholakov 45a564b5e5 [svn r21412] FS#306 - File uploader: Fixing the function add_ext_on_mime() properly to detect file extension presense on non-ASCII encoded file name. This, this function will not duplicate sometimes the file extension in its result. 16 years ago
Ivan Tcholakov ff618015cb [svn r21411] FS#306 - The global initialization script: Commenting a duplicate code for initialization of the global variable $charset, to be removed. Offtopic: A minor correction within the table that serves the function add_ext_on_mime() - for 'text/html' MIME type the '.html' extension will be assigned instead of '.htm'. 16 years ago
Yannick Warnier a9323448a5 [svn r21409] Fix sso_authent bug (only bug when enabling drupal-dokeos module) 16 years ago
Isaac Flores 31244464a3 [svn r21407] Minor - changed function nth-child by eq in script jquery - (partial FS#3909) 16 years ago
Ivan Tcholakov cb7dfe777b [svn r21406] FS#306 - Modification of the function replace_dangerous_char(). For Latin 1 platforms (ISO-8859-15, ISO-8859-1, WINDOWS-1252, ...) its behaviour has been preserved. For other platforms (including UTF-8) safe ASCII file names are generated through using transliteration. 16 years ago
Ivan Tcholakov f943595f2a [svn r21405] FS#306 - The multi-byte string library: Adding the function api_is_latin1($encoding) for detection aliases of the Latin 1 character set - ISO-8859-15, ISO-8859-1, WINDOWS-1252, CP1252, ... . Typically this function will be needed for code that provides backward compatibility for Latin 1 Dokeos sites. 16 years ago
Arthur Portugal 66a3c906bf [svn r21404] Added test case 16 years ago
Isaac Flores bc430b11e3 [svn r21403] Minor - style changes - delete unnecessary divs(actions) - (partial FS#3909) 16 years ago
Arthur Portugal 9f96efe3e7 [svn r21401] Changed assert array by numeric 16 years ago
Ricardo Rodriguez 3958009d8e [svn r21400] Minor - created public function test with setUp() and tearDown() 16 years ago
Arthur Portugal 7126e9c662 [svn r21399] Added all functions 16 years ago
Ivan Tcholakov 511972892f [svn r21394] FS#306 - The multi-byte string library: Corrections in the comments about the transliteration function. Renaming a variable according to our rules. 16 years ago
Patrick Cool 0c742d9a17 [svn r21393] bugfix: add addslashes() to prevent broken javascript 16 years ago
Ivan Tcholakov 5ff36ef2ef [svn r21392] FS#306 - The multi-byte string library: Adding a function that performs transliteration from UTF-8 to ASCII. Adding also a required database with character replacements. The solution has been adapted from the source code of the Drupal's module "Transliteration", version 6.x-2.1, 09-JUN-2009. 16 years ago
Ivan Tcholakov 2b4e07706d [svn r21389] FS#306 - Adding a boolen parameter $purified to the function api_get_interface_language(). For example, when $purified is true, the function will return 'french' onstead of 'french_unicode'. In certain cases we need such purified or refined language identificators. 16 years ago
Arthur Portugal c1dce06109 [svn r21388] Added new test case Debug 16 years ago
Arthur Portugal 0ae725b5b9 [svn r21387] Added test Debug 16 years ago
Arthur Portugal 480638e867 [svn r21386] Add new test class manager with all functions 16 years ago
Arthur Portugal 2466201750 [svn r21385] Minor - Added documentation 16 years ago
Ricardo Rodriguez 2a028f06bb [svn r21384] Minor - add documentation to functions display_rating and display_rating_form 16 years ago
Ivan Tcholakov 7fcede25e5 [svn r21382] FS#306 - The multi-byte string library: Making the function api_is_valid_utf8() unaffected by the PHP ini-setting mbstring.func_overload. 16 years ago
Arthur Portugal 0e0144289f [svn r21380] Added main/inc/lib/classmanager.lib.test.php 16 years ago
Arthur Portugal ce3bb76bb3 [svn r21379] Added all functions 16 years ago
Arthur Portugal 575563e5e3 [svn r21378] Minor - Added documentation 16 years ago
Patrick Cool b34dbad178 [svn r21366] uncomment action link 16 years ago
Ivan Tcholakov 130d7349b6 [svn r21362] FS#306 - Fixing direct output of a language variable, the function get_lang() should be used. 16 years ago
Ivan Tcholakov 0977566070 [svn r21361] FS#306 - Various fixes for better character encoding support. 16 years ago
Ivan Tcholakov ba204fa167 [svn r21360] FS#306 - Cancellation of the new file system API, cleaning the file system library. There is no rational reason to go this way, too much work is needed. 16 years ago
Ivan Tcholakov c34b7c9c99 [svn r21359] FS#4308 - Adding attribute target="_blank" to some links and other minor fixes. 16 years ago
Arthur Portugal 65ba1076e3 [svn r21358] Validated the function "resize_picture" if exist the library image with help SimpleTest. 16 years ago
Arthur Portugal 59fae4d6d7 [svn r21357] Minor - Added documentation 16 years ago
Ivan Tcholakov 77b3c1da5e [svn r21356] FS#4296 - Introducing imperative version check for PHP5 within the installation and global initialization scripts. 16 years ago
Arthur Portugal 7dbe707ccd [svn r21353] Minor - Added documentation in some functions 16 years ago
Ricardo Rodriguez bd7c8041ad [svn r21325] Minor - change the assertTrue for assertFalse in the function testApiGetAnonymousId() 16 years ago
Ricardo Rodriguez 60fb7fa2b5 [svn r21324] Minor - created new test function class blog.lib 16 years ago
Ricardo Rodriguez 637016e0aa [svn r21323] Minor - addes new tested function update_user 16 years ago
Arthur Portugal e869b3e38f [svn r21322] Added $this->assertFalse($res===0); 16 years ago
Arthur Portugal a084e6dd4d [svn r21321] Added function can_delete_user 16 years ago
Noël Dieschburg 63a61ef5c2 [svn r21315] Setting the tempdir to $garbageRpositorySys. Without this it doesn't work in document/downloadfolder.inc.php 16 years ago
Ricardo Rodriguez a3a21f8881 [svn r21296] Minor - tested functions updated 16 years ago