stronk7
f495e05f85
Now parent and sortorder are supported at backup & restore.
2005-02-20 18:03:38 +00:00
stronk7
7fae497cdc
Now parent and sortorder is supported at restore too.
...
The tree is automatically rebuilt using new ids if
necessary.
2005-02-20 18:01:40 +00:00
stronk7
c98cb6bc57
Now quiz_categories' parent and sortoreder is supported in backup.
...
A mechanish to detect all the ancestors and to recover orphaned
categories is now running ar backup time to force backups to be consistent.
2005-02-20 17:19:04 +00:00
stronk7
1f16e05b9a
Now quiz->questionsperpage in in backup & restore
2005-02-19 01:25:19 +00:00
stronk7
22bb909b57
Now forum_read is included in backup & restore
2005-02-18 19:05:09 +00:00
stronk7
7142bf514d
Changed a forbidden null detected by the new AdoDB libraries.
2005-02-18 16:57:58 +00:00
stronk7
136aed566b
Updated
2005-02-18 01:30:37 +00:00
stronk7
8a86671c37
If the user isn't admin and the restored course hasn't teachers, add teacher.
...
Bug 2381
(http://moodle.org/bugs/bug.php?op=show&bugid=2381 )
2005-02-17 23:00:14 +00:00
stronk7
50fc80d722
If the user isn't admin and the restored course hasn't teachers, add teacher.
...
Bug 2381
(http://moodle.org/bugs/bug.php?op=show&bugid=2381 )
Merged from MOODLE_14_STABLE
2005-02-17 22:57:53 +00:00
stronk7
4a57951a63
Now orphaned questions are reassigned before backup.
2005-02-15 19:58:27 +00:00
stronk7
e8cddb8e6c
Created the fix_orphaned_questions() function.
...
Used before execute the backup of a course to enforce integrity.
Perhaps this function should go to central code and be executed
at upgrade time (and be available in health center too!).
See bug 2380
(http://moodle.org/bugs/bug.php?op=show&bugid=2380 )
2005-02-15 19:51:01 +00:00
stronk7
2205d909ae
Now user->theme, group->theme and course->theme are supported
2005-02-15 18:37:08 +00:00
stronk7
b20dfc6e14
Bad use of get_admin(). Thanks Penny!
2005-02-14 17:40:07 +00:00
stronk7
8281899156
Show messages info only if present (SITE course) to avoid
...
unnecessary headaches to moodlers.
2005-02-13 23:34:54 +00:00
stronk7
5a9fa34b6a
Modify some hardcoded admin ids...
2005-02-13 23:22:19 +00:00
stronk7
aa26fa28f7
MIM working
2005-02-13 20:22:38 +00:00
stronk7
6d1e416208
Now MIM is restored completely too!!!
...
It was more complex than I thought!
2005-02-13 19:09:41 +00:00
stronk7
2f77550675
Need IDs to use backup_ids as temporary storage in restore!
2005-02-13 11:44:39 +00:00
stronk7
70641539f3
Now MIM are included in backup (not restore yet). Configurable
...
for scheduled backups and only done in SITE backups. Structure is:
<MESSAGES>
<MESSAGE>
Content of the message with one flag to difference read & unread
</MESSAGE>
<CONTACTS>
<CONTACT>
Content of the contact
</CONTACT>
</CONTACTS>
</MESSAGES>
message_get_participants() should include contact users too!!
2005-02-13 02:59:04 +00:00
stronk7
6a8fb7d0c6
Some little adds.
2005-02-10 23:46:07 +00:00
moodler
3dcdf943a2
Some better feedback about lack of XSLT functions
2005-02-08 07:23:04 +00:00
moodler
9ff5e44a93
Added Blackboard restore using XSLT. Works with BB 5.5 and BB 6.0.
...
Completely untested by me but it LOOKS like it should work. It's quite
standalone, and is basically a single function call during the restore
precheck which looks in the backup to see if it's a BB file, then
converts it using XSLT.
Apart from a little tidyup and renaming, I added a check so that it
should just silently fail if XSLT functions aren't available
Many thanks to Ziba Scott <ziba@linuxbox.com> who wrote it!
2005-02-08 07:19:49 +00:00
stronk7
0183a6c48e
One minor problem restoring categories in XHTML solved
2005-02-07 23:45:19 +00:00
stronk7
1bbf415fe8
Now the restore process is XHTMLised
2005-02-07 23:28:52 +00:00
stronk7
5dc2d8ef3a
deleted some negations used to test the restore metadata process. :-)
2005-02-07 17:58:50 +00:00
stronk7
cee6968fa1
Now metacourses are working in restore too!
...
Please test them!!
2005-02-07 17:52:58 +00:00
stronk7
4fe36ff931
Abot more done about XHTML
...
(just goig to sleep)
2005-02-05 02:00:12 +00:00
stronk7
93334ad588
backup logs are now XHTML 1.0 Transitional
2005-02-05 01:22:31 +00:00
stronk7
755fbe6318
Scheduled backup configuration page is XHTML 1.0 Transitional
2005-02-05 01:11:19 +00:00
stronk7
f2d5737825
Now manual backups are XHTML 1.0 Transitional.
...
And version bump!
2005-02-05 01:00:33 +00:00
stronk7
1d9169d312
Now group members are only included (backup and restore) if
...
we have selected to have users! Thanks to Etienne! Bug 2486
(http://moodle.org/bugs/bug.php?op=show&bugid=2486 )
Merged from MOODLE_14_STABLE
2005-02-04 16:24:12 +00:00
stronk7
572248937e
Now metacourse in supported in manual and scheduled backups. It can be configured
...
in both backups. Please check if the used structure and exported data has sense!
2005-02-04 14:33:51 +00:00
stronk7
85304b4053
More differences.
2005-02-03 23:27:52 +00:00
stronk7
6c5b28232f
Not change at glossary, Code for allowprintview was there. :-)
2005-01-31 18:11:51 +00:00
defacer
b5039f5d15
Removing some diagnostic output that had been forgotten.
2005-01-31 03:47:14 +00:00
defacer
7542a4e574
Dropping the use of MOODLE_PAGE_COURSE <gasp>!
...
The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.
On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.
2005-01-31 02:18:15 +00:00
stronk7
14efbfc385
Nothing todo here. New fields were there! B-)
...
But I've spent sometime trying to simulate one exercise and
I haven't been able to do it. Probably my own stupidity, but
things didn't work as I expected! :-(
2005-01-30 22:49:24 +00:00
stronk7
626138c9b6
Added suppor for assignment->emailteachers
2005-01-30 19:03:46 +00:00
stronk7
8a792ed10f
group->password is now supported
2005-01-30 12:12:06 +00:00
stronk7
57aad2a02a
added support for:
...
- user->policyagreed:
if the destination server is different, reset it
- user_students->enrol and user_teachers->enrol
if not set or the destination server is different, set it to $CFG->enrol
somethings should be modified in the rest of moodle:
- update all the 'manual' entries to 'internal'
- modify the enrol_teacher() to use $CFG->enrol by default
- make every enrol method set this field properly.
- perhaps, mark metadata users with a new value too.
2005-01-30 11:39:12 +00:00
stronk7
0964ad965b
one more thing
2005-01-29 10:43:40 +00:00
stronk7
ad4f774cd4
THEME is out of this directory.
...
I hope to have done it correctly!
2005-01-28 00:01:20 +00:00
stronk7
96e76b6291
Two missing parameters added
2005-01-27 19:43:42 +00:00
stronk7
94df8a48c3
Now scheduled backup supports new blocks.
...
Moved blocks code to library.
Fixed a missing global preventing restore to work.
2005-01-27 19:07:51 +00:00
stronk7
98aadd386c
Added metacourses to the list. It's the last but I'll try it the first! :-)
2005-01-27 16:30:21 +00:00
mjollnir_
873bf8758f
Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*!
2005-01-27 02:35:10 +00:00
stronk7
12f7885b2b
upgrading to 1.5
...
steps 1, 2 and 3 done.
2005-01-23 23:24:58 +00:00
stronk7
aeca84178b
First TODO list to check/implement in 1.5. Just double-checking again now!
2005-01-23 17:16:10 +00:00
mjollnir_
075ff4698a
Merged from MOODLE_14_STABLE: Adding slashes to backup_log.info as courses with an apostrophe in their fullname cause sql errors
2005-01-10 21:48:04 +00:00
stronk7
99f363bf66
Now backup names are cleaned completely, avoiding some problems
...
with translations and manually typed names with diacritics.
Thanks to Marian Zvalo!
Merged from MOODLE_14_STABLE
2004-12-19 16:18:10 +00:00