112 Commits

Author SHA1 Message Date
gbateson
08b8e025fb when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase 2009-03-30 07:03:55 +00:00
gbateson
94328e504c recalcualte grades when HotPot grading method changes 2009-03-16 01:52:15 +00:00
skodak
90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
gbateson
e943633245 MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset) 2009-01-27 08:52:03 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
skodak
1caea91efb MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup 2009-01-11 09:41:48 +00:00
gbateson
82cbedd1ae MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls 2008-12-21 01:49:16 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
skodak
f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
gbateson
a4856975fa MDL-14279 fixed typo in get_baseurl: get_file_url($this->filedir.'/') should be get_file_url($this->filedir).'/' 2008-07-12 22:59:45 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
dongsheng
bcc45748f5 "MDL-14129, fix print_error" 2008-06-15 11:25:45 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
621fea38b8 MDL-15110 towards hotpot dml conversion 2008-06-08 19:37:17 +00:00
dongsheng
334f186d61 "MDL-14129, fix print_error" 2008-06-08 09:08:25 +00:00
gbateson
19e8492299 fix conversion of relative URLs in Hot Potatoes "<=" and "=>" buttons on sites where slasharguments as disabled (Site Admin -> Server -> HTTP -> Use slash arguments) 2008-06-07 01:43:47 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
44e1b7d7ff MDL-14679 remoed all instances of get_records_list() 2008-06-01 15:42:48 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
skodak
ae040d4bcc MDL-14679 finished moodlelib conversion 2008-05-30 19:59:50 +00:00
dongsheng
50fb3673ba "MDL-14129, fix print_error" 2008-05-29 02:49:39 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
skodak
7a3fafb6b4 MDL-14617 removed old legacy function emulations 2008-05-01 22:03:15 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
gbateson
5abcfe582d trigger the updating of grades from earlier versions of Moodle
merge other fixes from Moodle 19 hotpot/lib.php
2008-03-27 08:14:44 +00:00
gbateson
c5d7d04624 fix Undefined property: stdClass::$displaynext in mod\hotpot\lib.php on line 356 2008-01-28 00:49:58 +00:00
gbateson
e5eabf22fe fix Undefined property: stdClass::$studentfeedbackurl (line 282) and Undefined property: stdClass::$cellcontent2 (line 1081) in mod/hotpot/lib.php 2008-01-21 08:16:02 +00:00
skodak
eafb9d9eda MDL-12458 fixed gradebook upgrade/update problems when not grades yet in activities; merged from MOODLE_19_STABLE 2007-12-25 20:51:23 +00:00
gbateson
b3c6fa1e92 MDL-12318 filter/mediaplugins/filter.php can no longer insert mediaplayers into javascript, so hotpot module now requires its own filter to mimic behavior of multimedia filter in Moodle 1.7 2007-11-27 08:46:40 +00:00
gbateson
f6c4bee314 improvements to XHTML compatability (merged from 1.9) 2007-10-21 03:02:55 +00:00
nicolasconnault
ed818bbdbf MDL-10905 iterating correctly with readdir (as shown in php doc) 2007-10-15 05:18:58 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
gbateson
b3687f28f1 use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame 2007-10-04 05:32:27 +00:00
gbateson
caf971045a added 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_update_grades", "hotpot_grade_item_update" and "hotpot_grade_item_delete" 2007-10-02 07:46:49 +00:00
gbateson
b2ae61320b use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL 2007-09-30 04:21:52 +00:00
gbateson
88fe6acf9e change CONTEXT_MODULE to CONTEXT_COURSE in order to fix "Invalid context creation for level 50 instance" error on "mod/hotpot/index.php" caused by get_context_instance(CONTEXT_MODULE, $course->id) in "mod/hotpot/lib.php" 2007-09-26 07:22:06 +00:00
skodak
85c9ebb926 MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere() 2007-09-18 18:37:58 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
gbateson
b9cb227378 changes to add new mod_form.php script to add/update hotpots 2007-08-03 05:06:30 +00:00
gbateson
1094f0637f add extra parameter to "hotpot_print_show_links" function so that links can be printed (the default action) or returned to the calling function as a string 2007-08-01 05:35:29 +00:00
gbateson
7048c71984 make sure $hotpot->id is set when adding calendar events for new HotPot 2007-06-26 12:10:12 +00:00
gbateson
bb7c8ac797 in XML source files of HP quizzes, convert relative URLs to absolute URLs in links using window.open(...) 2007-06-26 05:05:06 +00:00
gbateson
53b733c427 change relative URLs to absolute URLs in window.open(...) 2007-06-26 02:48:19 +00:00
gbateson
6b1d898f1c fix superfluous double-quote causing malformed FORM tag (MDL-8675) 2007-03-14 01:22:54 +00:00
gbateson
4e9e64230f fixed typo in SQL query when starting a new HotPot attempt 2007-01-13 11:46:33 +00:00
gbateson
923aefe7a1 removed db specific conditional clauses from SQL to get grades (see Moodle tracker - mdl-8169) 2007-01-13 02:39:04 +00:00
stronk7
38b7241934 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:52:59 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00