32 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
toyomoyo
794fa9321b merged removed warning during restore 2006-10-12 07:33:04 +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
toyomoyo
a2a020ea6b adding support for roles in backups 2006-09-27 08:59:27 +00:00
skodak
fbc88f3886 fixed legacy comment upgrade code in assignment and journal 2006-09-26 19:18:21 +00:00
stronk7
ea6432fede Moved assignment_submission->comment to submissioncomment
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +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
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +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
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
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
moodler
4b46c8039a New field and option for assignments, preventlate, which prevents
students from submitting assignments late
2005-04-18 04:11:15 +00:00
moodler
52436fe1cc Added a new format field for comments 2005-04-17 17:51:25 +00:00
moodler
73097f0711 A very big batch of changes. Everything sort of works: now I'm mopping up. 2005-04-17 15:38:02 +00:00
stronk7
9b6618b9bc timeavailable was missing in backup and restore. :-) 2005-04-17 09:27:05 +00:00
moodler
72778c9a5a Two new general-purpose fields in assignment_submissions, so that
most assignment types won't need to create new tables for data

The fields are data1 and data2.

Backup/restore handled, Eloy   ;-)
2005-04-15 14:51:15 +00:00
moodler
b0f2597e17 Refactored Assignment Module
============================

This new assignment module allows Plugin Assignment types.  This should
allow a whole lot of new stuff to easily be placed in Moodle without
making the modules list longer for no good reason.

This checkin is still a really rough version that needs work on it.
Normally I would want it better than this to check in, but I need
to collaborate with Shane on the remaining code and CVS is the best
way.

Give it a day or two to settle in.  :-)

This is the last thing I wanted to get into 1.5.  Getting close now!!

Cheers!
Martin
2005-04-14 13:24:40 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
stronk7
2500b88bab Now assignment->name works under filterall. 2005-03-26 18:14:46 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
stronk7
626138c9b6 Added suppor for assignment->emailteachers 2005-01-30 19:03:46 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
stronk7
0f318c26b4 Now logs from:
- Assignments
- Choices
- Workshops
are restored too.
2004-02-15 21:18:52 +00:00
moodler
5884d4e2fd Fixed some array indices 2003-08-25 02:48:09 +00:00
stronk7
af847821a2 Scales are now supported in assignments restore
(when grade <0, I suppose).
2003-08-18 00:02:12 +00:00
stronk7
c45f0ee1cc Fixed important bug when recovering assignments or forums
with files and the moddata/courseid didn't exist.
Now force the creation of the courseid dir from the
restorelib in each module.
2003-07-28 22:31:23 +00:00
stronk7
902142c079 Added language support 2003-07-28 19:32:51 +00:00
moodler
d7c93ec8fa Moving the backup libraries for each module into their new homes.
There's some beer and pies in the fridge, guys, settle in.
2003-07-09 04:40:35 +00:00