Ivan Tcholakov
|
1e4c271941
Feature #306 - Upgrading the function api_check_password(). Comments are added.
|
vor 15 Jahren |
Juan Carlos Raña
|
e9e8fdc104
merge
|
vor 15 Jahren |
Cristian Fasanando
|
aacfd51d50
Fixed copy course session to another session for documents tool - partial BT #5377
|
vor 15 Jahren |
Ivan Tcholakov
|
f10a1a6e3d
Feature #5397 - Replacing mysql_query() with Database::query().
|
vor 15 Jahren |
Juan Carlos Raña
|
a9c51fff01
merge
|
vor 15 Jahren |
Ivan Tcholakov
|
c9af458a84
Feature #5397 - Replacing mysql_affected_rows() with Database::affected_rows().
|
vor 15 Jahren |
Juan Carlos Raña
|
91d22bf2d7
merge
|
vor 15 Jahren |
Ivan Tcholakov
|
a6779b91f9
Feature #5397 - Replacing api_store_result() with Database::store_result().
|
vor 15 Jahren |
Ivan Tcholakov
|
9b1f3ed934
Feature #5397 - Replacing again the deprecated function api_sql_query() with Database::query().
|
vor 15 Jahren |
Juan Carlos Raña
|
164b7a0138
merge
|
vor 15 Jahren |
Cristian Fasanando
|
22a61cf7c1
Implemented new functionalities for training sessions - partial DT #5377
|
vor 15 Jahren |
Ivan Tcholakov
|
fa8383b414
Feature #306 - Upgrading the function api_send_mail(), see http://www.dokeos.com/forum/viewtopic.php?t=15557
|
vor 15 Jahren |
Yannick Warnier
|
47022680ce
Accept gzopen64() too as a test of the zlib extension load
|
vor 15 Jahren |
Ivan Tcholakov
|
9b58c8aada
Feature #306 - Moving the function api_get_language_isocode() in the internationalization library.
|
vor 15 Jahren |
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.
|
vor 15 Jahren |
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.
|
vor 15 Jahren |
Ivan Tcholakov
|
302eb4dc0e
Feature #306 - Replacing everywhere the function api_store_result() with Database::store_result().
|
vor 15 Jahren |
Ivan Tcholakov
|
3df4b63151
Feature #306 - The function api_store_result() is deprecated, Database::store_result() replaces it.
|
vor 15 Jahren |
Ivan Tcholakov
|
ac78f29f83
Feature #306 - Adding some notes about the function api_get_path().
|
vor 15 Jahren |
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).
|
vor 15 Jahren |
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).
|
vor 15 Jahren |
Ivan Tcholakov
|
5ed7f167b5
Feature #306 - Corrections an optimiztion for speed for the functions get_lang() and api_get_path().
|
vor 15 Jahren |
Ivan Tcholakov
|
d9e28e4439
Feature #306 - Moving the function rmdirr() into the main API file.
|
vor 15 Jahren |
Ivan Tcholakov
|
8ca6741321
Feature #306 - Drafting future behaviour upgrade of the function api_get_path().
|
vor 15 Jahren |
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.
|
vor 15 Jahren |
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.
|
vor 15 Jahren |
Ivan Tcholakov
|
834f2aad5e
Feature #306 - The main API: Cleaning code, pass 2.
|
vor 15 Jahren |
Ivan Tcholakov
|
21be703720
Feature #306 - The main API: Cleaning code, some minor optimizations, pass 1.
|
vor 15 Jahren |
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.
|
vor 15 Jahren |
Ivan Tcholakov
|
6df1c39ca2
Feature #306 - Replacing hard-coded values for username length in validation rules in some forms. Including "." (dot) and "_" (underscore) in the specification for usernames as valid characters.
|
vor 15 Jahren |