1482 Commits

Author SHA1 Message Date
Tim Hunt
c749527bec MDL-20636 Finished backup and restore of attempt data. Yay 2011-05-05 21:26:25 +01:00
Tim Hunt
9e06daf251 MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers 2011-05-05 18:53:43 +01:00
Tim Hunt
d6522c33a1 MDL-20636 Fix qtype backup issues. 2011-05-03 17:53:12 +01:00
Tim Hunt
bea1a6a73a MDL-20636 Work-in-progress on quiz attempt backup and restore. 2011-04-28 21:21:43 +01:00
Tim Hunt
d1de533164 MDL-20636 qtype_numerical oops, I deleted a function from the wrong place. Fix. 2011-04-28 20:22:45 +01:00
Tim Hunt
5d2465c3f4 MDL-20636 numerical qtype: assorted changes
1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.

2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.

3. Using this to wark students if they enter an answer that is not
recognised as a number.
2011-04-28 20:06:47 +01:00
Tim Hunt
515e6b97b5 MDL-20636 Restore of question hints, and some other minor clean-up. 2011-03-02 17:43:02 +00:00
Tim Hunt
beca0d8daf MDL-20636 Fix backup and restore issues found during testing. 2011-03-02 17:42:54 +00:00
Tim Hunt
f3ca24e418 MDL-20636 Update quiz and questions backup and restore.
This does not include user data yet, and it needs more testing.
2011-03-02 17:42:51 +00:00
Petr Skoda
3bc644ce70 Merge branch 'MDL-26405_take_two' of git://github.com/stronk7/moodle 2011-02-16 20:24:54 +01:00
Eloy Lafuente (stronk7)
0149e6c713 MDL-26405 restore - dispatch able to skip branches
after this change any restore_structure_step processor
method is able to instruct the dispatcher about to skip
any path below it. Until now, we were doing the checks on
each child processor method, but that was inneficient and
prone to errors (easy to miss the check in a child so some
orphaned piezes of restore may be causing mess here and there).
Once implemented, it's simlpy a matter of the parent deciding if
all its children must be processed or no. Easier for developers
and also small speed improvement because avoids unnecesary
dispatching/processing to happen.

Surely only will be used in parts of core, like in question_categories,
saving 50-60 sub processors (sub-paths) to be dispatched.
2011-02-16 19:13:56 +01:00
Petr Skoda
c9e12de4e3 Merge branch 'MDL-26405_qtype_exception_wip' of git://github.com/stronk7/moodle 2011-02-16 09:59:14 +01:00
Eloy Lafuente (stronk7)
0ff7159edb MDL-26405 restore - incorrectly thrown exception 2011-02-15 23:28:00 +01:00
Eloy Lafuente (stronk7)
8afbe44f7d MDL-25863 backup - fix removal of old automated backup, both in filearea and filesystem 2011-02-14 21:38:45 +01:00
Eloy Lafuente (stronk7)
02cf691951 MDL-25863 backup - take rid of dupe code for filename calculations 2011-02-14 21:36:27 +01:00
Petr Skoda
251e5a8b62 Merge branch 'MDL-22146_backup_course_format_wip' of git://github.com/stronk7/moodle 2011-02-14 21:08:19 +01:00
Petr Skoda
995b6ff605 Merge branch 'MDL-26229_restore_attempts_wip' of git://github.com/stronk7/moodle 2011-02-14 21:02:49 +01:00
Petr Skoda
d2592c9b54 Merge branch 'MDL-26399_oracle_restore_wip' of git://github.com/stronk7/moodle 2011-02-14 20:34:58 +01:00
Eloy Lafuente (stronk7)
d84fe4c8a6 MDL-26399 restore - fix oracle/mssql problems 2011-02-14 19:42:57 +01:00
Petr Skoda
743fff98dc MDL-26142 fix immediately spelling in strings, comments and code 2011-02-13 11:36:46 +01:00
Eloy Lafuente (stronk7)
945962a45d MDL-26229 restore - prevent tag-conflicting structures to be created 2011-02-12 02:40:38 +01:00
Eloy Lafuente (stronk7)
5539e69862 MDL-26229 restore - parser improvements (repetitions and skipped tags) 2011-02-12 02:19:02 +01:00
Eloy Lafuente (stronk7)
a90659d6ba DL-22146 backup & restore - course formats remaining hooks 2011-02-11 00:07:32 +01:00
Eloy Lafuente (stronk7)
e5169d5229 MDL-22146 backup & restore - copy/paste fix 2011-02-10 15:36:03 +01:00
Eloy Lafuente (stronk7)
4ab111b9bf MDL-22146 backup & restore - extending the backup plugins API 2011-02-10 12:14:00 +01:00
Eloy Lafuente (stronk7)
1e37c39180 MDL-22146 backup & restore - extending the restore plugins API 2011-02-10 11:34:41 +01:00
Eloy Lafuente (stronk7)
4fda584f28 MDL-22146 backup & restore - course formats first cut 2011-02-10 10:37:36 +01:00
Sam Hemelryk
80c1289773 MDL-25637 Fixed whitespace 2011-01-24 16:20:30 +08:00
Aparup Banerjee
2b9ce62e23 performance MDL-25637 converted tabs to spaces 2011-01-24 15:49:18 +08:00
Aparup Banerjee
f179cdb73e performance MDL-25637 some of more similar performance tweaks to come 2011-01-24 14:51:21 +08:00
Eloy Lafuente
77151075dc NOBUG: Changed to _sql() variant to properly use sql_compare_text(). Kudos to aparup for latest improvs. in where_clause() 2010-11-24 14:55:29 +00:00
Eloy Lafuente
636444e8b6 MDL-25019 backup - course_startdate may not exist 2010-11-24 10:46:15 +00:00
Sam Hemelryk
edf577d2cd backup-cancel MDL-25244 Added missing YUI module requirement 2010-11-19 02:51:07 +00:00
Eloy Lafuente
295474bda9 MDL-25310 backup - Bump! 2010-11-18 21:35:40 +00:00
Sam Hemelryk
92f3345773 backup MDL-25283 Fixed regression in restore by adding destroy method to independent restore stages. 2010-11-18 07:09:09 +00:00
Sam Hemelryk
44bb101dfe backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion. 2010-11-18 02:09:23 +00:00
Sam Hemelryk
ca1292e014 backup MDL-24962 Automated backups now explicitly destroy the backup controller created at the end of a backup for a course. 2010-11-18 01:35:16 +00:00
Eloy Lafuente
f81f513325 MDL-25161 restore - keep course->numsections unmodified 2010-11-15 17:10:11 +00:00
Eloy Lafuente
8231bb159b MDL-24962 backup - clean plan/settings circular refs on restore 2010-11-15 16:08:02 +00:00
Eloy Lafuente
f2364c93ed MDL-24962 backup - cache xmldb_tables for multiple operations. Apply destroyer to temp controller. 2010-11-15 07:17:24 +00:00
Eloy Lafuente
ab1c069e11 MDL-24962 backup - circular refs. cleaner in backup_controller 2010-11-15 07:16:51 +00:00
Eloy Lafuente
287e804058 MDL-24962 backup - circular refs destroyer for backup settings 2010-11-15 07:16:24 +00:00
Eloy Lafuente
4f6ed68c1c MDL-24962 backup - circular refs destroyer for backup plan 2010-11-15 07:15:48 +00:00
Sam Hemelryk
081c914b39 backup MDL-25183 Added a dedicated CLI script for running automated backups 2010-11-12 07:05:18 +00:00
Eloy Lafuente
dc2abd4020 MDL-24718 import - always import adding 2010-11-11 22:17:09 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Sam Hemelryk
33d34b4b77 restore MDL-24757 Fixed up course and category selectors 2010-11-11 01:21:16 +00:00
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00