Gordon Bateson
9e43b1db73
further (and final) merge of changes from Moodle 1.9
2010-05-14 03:46:30 +00:00
Petr Skoda
86342d631f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 15:03:10 +00:00
gbateson
ebe387a9a0
stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites
2009-09-25 06:21:28 +00:00
gbateson
34adfa0f5c
add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively
2009-08-25 01:28:51 +00:00
stronk7
77a7b86529
MDL-19246 restore - cleanup of "restoreto" options. Some more extra uses updated. Merged from 19_STABLE
2009-05-22 10:32:34 +00:00
gbateson
2a5e1ba72f
use "md5key" as secondary key on hotpot_strings table; allow for non-unique secondary keys on hotpot tables (can happen on hotpot_strings)
2008-10-30 06:25:45 +00:00
skodak
11d075757e
MDL-14789 meta_type now used instead of type
2008-06-16 21:08:40 +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
skodak
cd655b33f9
MDL-15095 towards restore lib dml conversion
2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca
MDL-15095 towards restore lib dml conversion
2008-06-03 22:36:54 +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
7150226896
MDL-7861 xhtml strict fixes - fixed all <br> in our code
2007-01-04 23:38:17 +00:00
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
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
2ddc00d223
move restore dates in a HotPot record to a separate function
2006-10-11 01:32:40 +00:00
gbateson
259bcf0c8b
added "format_string" and "stripslashes" when print HotPot name to browser
2006-10-06 06:22:15 +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
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
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
gbateson
a70b3fbb4c
correct the detection of HotPot 2.0 backups (from Moodle 1.5)
2006-09-01 04:24:34 +00:00
gbateson
1897e3ef95
replace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings.string) with two new md5key fields (hotpot_question.md5key + hotpot_strings.md5key), which are the MD5 hash of the respective text fields. Microincrement version number to 2006083101
2006-09-01 02:08:39 +00:00
skodak
a8ff58dd2c
merging changes from MOODLE_16_STABLE
2006-07-31 18:10:02 +00:00
gbateson
ea2cf99599
added backup/restore compatibility for Moodle 1.5 (and earlier)
2006-01-25 07:20:13 +00:00
gbateson
47edd30ca7
uses 4-spaces (Moodle standard) instead of tabs for code indenting
2006-01-17 13:15:16 +00:00
mjollnir_
f90666aa5c
Abstracted a bit of the restore procedure to allow for silent restoring.
...
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
gbateson
ff4fad2701
improved readability of "foreign key could not be updated" error message
2006-01-15 02:08:34 +00:00
gbateson
249daa5d3c
if foreign keys are missing, backup will not abort, but record will not be restored
2006-01-15 01:47:08 +00:00
mjollnir_
1ecea97679
Granular backup & restore:
...
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
gbateson
64b4e0f155
removed bad newlines, which caused double-spacing in PHP source
2005-11-24 05:40:36 +00:00
gbateson
5237207862
added some reporting for HP5 (v5 and v6) quizzes; improved reporting on JCross and JQuiz multichoice; some modifications to prepare for upcoming "mobile" output format; corrected positioning bug when IE displays feedback box on long reading
2005-10-03 00:06:45 +00:00
gbateson
d4e351cd8b
SQL to update clickreportid must be done one statement at a time
2005-09-21 11:53:04 +00:00
gbateson
410229b604
changes to database and most scripts to allow enhancements for HotPot v2.1
...
- click-by-click reporting
- manipulate "chains" of hotpot activities
- standardized reporting across all quiz types
- several smaller features
2005-09-16 02:55:56 +00:00
moodler
d4b950d390
Hotpot module v2! Thomas Robb, Gordon Bateson - thanks!!
2005-04-25 14:41:28 +00:00