Commit Graph

129 Commits (6434532b8937960f86735e5fb55d03944dea0e97)

Author SHA1 Message Date
Ivan Tcholakov 3217da82b5 Feature #347 - A duplicate and obviously wrong definition of the constant TABLE_MAIN_GROUP has been removed from the file database.lib.php. Reported by krikrizzz, see http://www.chamilo.org/en/node/190 15 years ago
Ivan Tcholakov 0dc20d6ef9 Feature #347 - Extending information reported on error by the method Database::query(). The function (or method of a class) that owns the caller statement also is to be displayed. 15 years ago
Cristian Fasanando b22d7a10d8 minor - fixed possible keyword \"Default\" in query sql make an error warning when you create a course like administrator - CT#601 15 years ago
Ivan Tcholakov 45bc777651 Feature #347 - System libraries: Removing the parameters __FILE__ and __LINE__ in the Database::query() calls. 15 years ago
Cristian Fasanando d3464efa24 added table block for dashboard blocks, new tab dashboard and new row inside extra_user_field table - partial CT#567 15 years ago
Ivan Tcholakov 6be32ffb80 Feature #272 - Extending functionality of the method Database::get_fields(). 15 years ago
Ivan Tcholakov 6777c3e43c Feature #347 - Database::query() method: Elimination need for providing the parameters __FILE__ and __LINE__. How to test: Switch your system into "Test server" mode. Write somewhere in the code Database::query("SHOW NICE SYNTAX ERROR"); and see the error message on the page. The the file and the line shown there should be correct. 15 years ago
Ivan Tcholakov 212aae362d Feature #272 - Adding a new method Database::get_fields(). 15 years ago
Ivan Tcholakov 0e279ad780 Feature #272 - Adding the method Database::get_tables(). 15 years ago
Ivan Tcholakov 580bf7759b Feature #272 - Adding a new method Database::get_databases(). 15 years ago
Ivan Tcholakov a37dc7eec3 Feature #272 - The installation scripts: An easy rework about the database connection testing button. 15 years ago
Ivan Tcholakov 64afee94dd Feature #272 - Two common purpose methods have been added to Database class. 15 years ago
Ivan Tcholakov cf44c48589 Feature #272 - The Database class has been reworked and upgraded in order some of its common methods to deal with multiple database connections simultaneously. 15 years ago
Cristian Fasanando a369d05e19 added new tables for attendance tool - partial CT#581 15 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 15 years ago
Ivan Tcholakov 31a3605eea Feature #272 - Mode encoding related corrections within the database class. 15 years ago
Ivan Tcholakov 0c8e94a4d6 Feature #272 - An encoding related logucal correction within the database class. 15 years ago
Julio Montoya ae87bbb3ca Renaming the table user_friend to user_rel_user 15 years ago
Ivan Tcholakov f99dcb5a0e Feature #272 - More code in the Database class for improved internationalization in the future. 15 years ago
Ivan Tcholakov 0fe10e01b4 Feature #272 - Adding code in the Database class for improved internationalization. The new code is latent, it will be used after the first release of Chamilo. 15 years ago
Cristian Fasanando 6e2ec5494d added pagination, edit a message who sent it, added fckeditor to message form, fixed token for message form - partial CT#190 15 years ago
cvargas e969a4161a merge 15 years ago
Cristian Fasanando d0619c9ef3 minor - added constant for message attachment table - partial DT#5508 15 years ago
Julio Montoya dcf6c5f4a3 Social network improvements see #5508 15 years ago
Arthur Portugal faf4e249c7 Debugging announcements DT#818 15 years ago
Julio Montoya 1942167c0f First attempt to implement the user tags (interests) see DT#5508 (partial) 15 years ago
Ivan Tcholakov dab3646394 Feature #5397 - Reverting two wrongly done changes in Database class. 15 years ago
Ivan Tcholakov 6e016fb743 Feature #5397 - Replacing mysql_num_rows() with Database::num_rows(). 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
Cristian Fasanando 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 years ago
Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 years ago
Ivan Tcholakov 223597d8be Feature #306 and Bug #5342 - Fixing a bug which I (Ivan) caused during refactoring the Database class. 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 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. 15 years ago
Ivan Tcholakov 302eb4dc0e Feature #306 - Replacing everywhere the function api_store_result() with Database::store_result(). 15 years ago
Ivan Tcholakov 3df4b63151 Feature #306 - The function api_store_result() is deprecated, Database::store_result() replaces it. 15 years ago
Ivan Tcholakov d3e2a3f795 Feature #306 - Cleaning code for Database class, part 2, optimizations for speed. 15 years ago
Ivan Tcholakov 1a28a29238 Feature #306 - Cleaning code for Database class, part 1. 15 years ago
Ivan Tcholakov 51d0b9c94f Feature #306 - Database class and Display class: Trimming whitespace from source code. It was almost clean. 15 years ago
Ivan Tcholakov 150bf58ca9 Bug #3646 and Issue #306 - Training reports (part 4, still not last): Fixing person name order and sorting to be dependable on the internationalization settings. 15 years ago
Ivan Tcholakov e27f8ea601 Bug #1370 - Before going further, cleaning code first. Clarification of using constants for selecting database tables. Replacing everywhere hardcoded database names with the corresponding constants. 15 years ago
Ivan Tcholakov 15c205e78a Bug #1370 - The database library: Adding a new constant TABLE_FORUM_NOTIFICATION. Doing some cosmetics for the source code. 15 years ago
Julio Montoya a42bd70875 [svn r22265] Adding Term and conditions base files (partial) see FS#4320 16 years ago
Isaac Flores cf287a84cb [svn r22122] logic changes-added keyword "static" - (partial FS#4400) 16 years ago
Ivan Tcholakov 911255f364 [svn r21471] FS#306 - Renaming the function api_initialize_internal_encoding() to api_set_default_encoding(). Other minor changes in comments. 16 years ago
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 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
Arthur Portugal 650cb1810e [svn r21250] The corresponding database doesn't exist anymore (by yannoo) 16 years ago
Cristian Fasanando fe485d95b6 [svn r20917] Implemented don't show templates files from path of images from FCK editor - partial FS#4232 16 years ago