Commit Graph

80 Commits (fb445f8be00a59cd2cd719eb8e3dc5bde9cd5094)

Author SHA1 Message Date
Yannick Warnier 28baec78d2 Remove Database::escape_string() without quotes to avoid SQL injections - partial - refs #7440 11 years ago
Julio Montoya 75e3579a64 Minor - replacing split function with explode. 11 years ago
Julio Montoya c9362e4852 Fixing - PHP warnings, format code. 12 years ago
Julio Montoya 312e281986 Adding addslashes to launch_data key see #6681 12 years ago
Julio Montoya c0b57fe5eb Fixing mysql error. 12 years ago
Julio Montoya 52f9bd9844 Minor - fixing PHP warnings, format code. 12 years ago
aragonc 94984e6b12 merge 12 years ago
Julio Montoya f0504a01ad Minor - format code 12 years ago
Julio Montoya 3e689bc910 Minor - Using get_lang('Untitled') if item title is empty 13 years ago
Julio Montoya 25740ff4da Fixing formatting 13 years ago
Julio Montoya e3ddea49f8 Replacing old D0kIndexer class with ChamiloIndexer class 13 years ago
Julio Montoya 5599fb972c Minor replacion $this->escape_string with Database::escape_string 14 years ago
Julio Montoya d27bca7d25 Removing & unserialize that fires PHP warnings 14 years ago
Yannick Warnier a2d551b3f3 Removal of non-Chamilo elements - refs #189 14 years ago
Julio Montoya 78ee79ded6 Trying to fix the LP scorm import/export still doesn't work for all cases (working on it) see #4706 14 years ago
Julio Montoya 169a7dcf9a Found a bug when exporting a LP see #4841 (currently the lp export is broken working on it) 14 years ago
Julio Montoya 6716e11536 Replacing pclZip wirh PclZip 14 years ago
Yannick Warnier a04ca2da58 Cleanup - Removed references to MySQL 14 years ago
Julio Montoya cf0641af00 Adding c_id when importing scorm zip 14 years ago
Hubert Borderiou dc99331f7a Adding the c_id field in some lp request for scorm and aicc table - ref #3910 14 years ago
Julio Montoya b020f1dc61 Changing lot of queries in order to use one real course database see #3910 14 years ago
root 5b2ec4f888 permission commit + removes tests directory 15 years ago
Julio Montoya 71e4a057a0 Fixing pclzip calls using /archive instead of courses/XXX/temp folder, also removing some useless code in dropbox and fixing/improving code that generates the zip, fixing the layout of the course copy, adding documentation, setting some functions to deprecated, changing icon of LP export to a CD common icon in all platorm 15 years ago
Ivan Tcholakov d3f41e372b Task #1765 - newscorm/scorm.class.php: Yet another correction to the revision d34661a1ec (it was my mistake). 15 years ago
Julio Montoya a32a9bae65 Removing error_log 15 years ago
Julio Montoya f1a5e24ce4 Fixing revision d34661a1ec otherwise the scorm encoding will be always UTF-8 15 years ago
Noel Dieschburg 409a1f0b06 Suppresses the test directory and sets the permission for production use 15 years ago
Julio Montoya 2c6bd8eaf3 New LP parameter added: "use_max_score" in the lp table. Admins can change the default value of the max_score to empty. The past default value was 100. See BT#1613. 15 years ago
Ivan Tcholakov bd3df8f950 Task #1765 - newscorm/scorm.class.php: A comment has been removed, it is not actual anymore. 15 years ago
Ivan Tcholakov 6ad9ea9fb2 Task #1765 - Removing/changing obsolete code for encoding management (4). A comment has been added. 15 years ago
Ivan Tcholakov fd797078f3 Task #1765 - Removing/changing obsolete code for encoding management (3). 15 years ago
Ivan Tcholakov 290ce063d6 Task #1765 - A sophisticated method for encoding detection is applied before parsing a SCORM manifest file (XML). 15 years ago
Ivan Tcholakov 6e5058467c Task #1765 - newscorm/scorm.class.php: A new private static method detect_manifest_encoding() has been added. The purpose of this method is to determine the encoding of the input XML text (the manifest). Detection tries to resolve cases of missing encoding declaration or wrongly declared encoding. 15 years ago
Ivan Tcholakov caf6544fbf Task #1765 - LP tool, cleaning files (14). Tabs are converted automatically to 4 spaces according to the last versions 11 of our coding conventions. The tool AnyEdit ( http://andrei.gmxhome.de/anyedit/ ) has been used for this conversion. 15 years ago
Ivan Tcholakov aadc0c6271 Task #1765 - LP tool, cleaning files (12). Removing PHP4 specific, obsolete code. 15 years ago
Ivan Tcholakov bed9e7a700 Task #1765 - LP tool, cleaning files (11). 15 years ago
Yannick Warnier dae8643a46 Fixed new bug introduced by cleanup of constructors -> __construct 16 years ago
Yannick Warnier 645d73ec59 Updated phpdoc comments packages. 16 years ago
Ivan Tcholakov 6458086e7a Task #1765 - A transaction for the 1.8.7.1 release. Minor optimizations, replacement of the function calls include(), require(), include_once() and require_once() with the correspondent statements. 16 years ago
Noel Dieschburg e6444dc928 Dummy permission commitx 16 years ago
Yannick Warnier 75d1505375 Added clearer error message when no space left or not scorm package 16 years ago
Ivan Tcholakov 54a9b942c2 Task #763 - All the replacements api_get_path('WEB_COURSE_PATH') --> api_get_path(WEB_COURSE_PATH) and other similar to them. 16 years ago
Julio Montoya c66bad105f Bugfix : take into account the quota of the course instead of 1G harcoded value in scorm upload changeset 2b4abcdf7fc3 from Dokeos 16 years ago
Carlos Vargas ab5efe3ace if you export a scorm in a session, add a session id in lp CT#601 16 years ago
Noel Dieschburg f44cacd1cb Bugfix : take into account the quota of the course instead of 1G harcoded value in scorm upload 16 years ago
Ivan Tcholakov 446492fc35 Feature #347 - Reporting, Learning path: Removing the parameters __FILE__ and __LINE__ in the Database::query() calls. 16 years ago
Ivan Tcholakov 44423800c0 Feature #576 - Additional insertions of the function api_get_permissions_for_new_directories(), other minor corrections. 16 years ago
cvargas e969a4161a merge 16 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(). 16 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. 16 years ago