238 Commits

Author SHA1 Message Date
thompson697
cf0b1faded Apply modularity to the creation of the log file during restore to a new course.
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
gbateson
29c7c23082 removed a debug line which showed up in Rottmeier DropDown quizzes 2006-10-12 21:48:20 +00:00
gbateson
b4c2849e21 correct handling of correct, wrong and ignored answers in Rottmeier DropDown 2.4 quizzes 2006-10-12 08:08:52 +00:00
gbateson
247ed91b7f remove unnecessary <br /> before summary textbox when in edit mode (as opposed to add mode) 2006-10-12 08:06:58 +00:00
gbateson
97782e0c07 add global $CFG to hotpot_restore_dates function 2006-10-12 08:01:22 +00:00
skodak
0160a028c2 fixed wrong } in hotpot_restore_dates() 2006-10-11 09:21:30 +00:00
gbateson
25d13710ed standardized lock/unlock of dates (also name and feedbackurl); added standard "Groups" and "Show" settings at end of form. 2006-10-11 08:34:52 +00:00
moodler
2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
gbateson
29651b84a5 use "noattemptstoshow" message instead of "noattempts" 2006-10-11 01:40:48 +00:00
gbateson
2ddc00d223 move restore dates in a HotPot record to a separate function 2006-10-11 01:32:40 +00:00
gbateson
2267e61012 allow selection of groups in reports 2006-10-11 01:30:27 +00:00
gbateson
c0e19266db simplified the javascript to hide "name", "studentfeedbackurl" and dates when not required 2006-10-07 14:57:37 +00:00
gbateson
fb414b62e5 added PARAM types for all calls to "optional_param()" and "required_param()" 2006-10-07 08:59:59 +00:00
gbateson
cc4782064d adjust "best grade" to range 0 to hotpot->maxgrade 2006-10-07 05:03:52 +00:00
gbateson
dee022991a remvoved course selection for admins, and tidied up handling of capabilities 2006-10-07 01:57:57 +00:00
gbateson
bd9c7e8473 fix undefined variable $context on line 135 2006-10-06 09:36:40 +00:00
gbateson
a81468432a allow display and deletion of attempts by "All users" including unenrolled students 2006-10-06 08:02:07 +00:00
gbateson
8e6461f749 fix typo on line 89: get_context_instance(CONTEXT_COURSE, $course) ... should be ... get_context_instance(CONTEXT_COURSE, $course->id) 2006-10-06 07:09:27 +00:00
gbateson
259bcf0c8b added "format_string" and "stripslashes" when print HotPot name to browser 2006-10-06 06:22:15 +00:00
gbateson
2398e835a8 renamed all $hp to $hotpot; added/update/delete calendar events when adding/updating/deleting hotpots; add functions required for participation report; 2006-10-06 05:56:53 +00:00
toyomoyo
0c40e390ad adding utf8 support for new fields 2006-10-06 04:03:02 +00:00
gbateson
85b05f3784 removed all references to obsolete indexes on "hotpot_questions.name" and "hotpot_strings.string" 2006-10-06 02:03:43 +00:00
gbateson
cd49109677 reset version number in HotPot v1 with over-advanced version number 2006-10-06 01:25:56 +00:00
thompson697
eb87ac71c5 Change creation of restorelog file location to protected backupdata folder.
Reassign style and language links
2006-10-04 14:50:50 +00:00
gbateson
42cd7a105b do not join "hotpot_attempts" and "hotpot_details" tables when displaying "hotpot/index.php". This should speed display when courses have many HotPot activities, especially for students 2006-10-01 06:39:51 +00:00
gbateson
172ab53650 add/delete calendar events when adding/updating/deleting hotpots 2006-10-01 06:36:50 +00:00
gbateson
f7f630bce7 added PARAM types to calls using "required_param" and "optional_param" functions 2006-09-28 13:24:36 +00:00
martinlanghoff
d2715c70b6 mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
Cleaned up several dbtype conditionals too.
2006-09-26 05:06:44 +00:00
vyshane
583b57b42d Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now? 2006-09-24 14:01:50 +00:00
skodak
189bb4a628 fixed warning in hotpot lib when running cron from commandline 2006-09-24 07:38:15 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo
9ce384ba1e relacing deprecated functions with capability checks 2006-09-19 14:16:40 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
gbateson
e69c04db5a do not add $restore->course_startdateoffset to ANY empty dates 2006-09-14 21:50:37 +00:00
gbateson
de2ded1a43 moved restorelog code to "hotpot_restore_mods", so it is only executed when backing up a HotPot record. Also, modified restorelog code so that "course_startdateoffset" is not added to TIMEOPEN or TIMECLOSE if those fields are currently empty (empty has a special meaning for those fields) 2006-09-14 11:10:54 +00:00
toyomoyo
ea8158c118 changing sql calls from user_students table to role_assignments table 2006-09-14 09:08:07 +00:00
gbateson
29f4a60ffe add get_coursemodule_from_id/instance functions for compatability with Moodles <1.7 2006-09-14 07:29:22 +00:00
gbateson
2a532aa68c reduce length of worksheet name to 31 chars if running under Moodle 1.5 2006-09-14 07:17:53 +00:00
gbateson
3c4f45c2d9 remove &nbsp; from blank cells when generating Excel sheet 2006-09-14 07:16:14 +00:00
gbateson
e9be584810 fix for overly advanced version numbers in HotPot module in Moodle 1.5 (see bug MDL-6538) 2006-09-13 23:59:38 +00:00
thompson697
163ff97e84 Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
gbateson
c2e04a5df1 improve detection of PostgreSQL version number 2006-09-01 22:44:07 +00:00
stronk7
e9f02dafca New md5key fields and associated indexes.
Now hotpot should be 100% cross-db. Thanks Gordon!
2006-09-01 15:36:49 +00:00
gbateson
e1af293f5f fix bug MDL_6419 2006-09-01 08:55:43 +00:00
gbateson
a70b3fbb4c correct the detection of HotPot 2.0 backups (from Moodle 1.5) 2006-09-01 04:24:34 +00:00