defacer
c0a570cef0
Fixed handling of activity blocks when restore does not include that type of activity.
2005-02-28 16:03:05 +00:00
defacer
1fa95628f6
Backup and restore for block instances within activities!
...
Made using the new goodies from the new pagelib, some really useful advice
from "Backup Man" Eloy and lots of love.
2005-02-28 04:50:36 +00:00
defacer
9bee8b701e
Fixing a bug when restoring a course with events but not users.
2005-02-28 00:55:52 +00:00
martinlanghoff
97cfb9352c
Merged from MOODLE_14_STABLE - Backing out bad sortorder fix in restorelib -- actually we didn't need one.
2005-02-24 21:14:32 +00:00
martinlanghoff
5875a2f3ca
Merged from MOODLE_14_STABLE - Fix problem when restoring courses to empty categories
2005-02-23 04:49:15 +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
7142bf514d
Changed a forbidden null detected by the new AdoDB libraries.
2005-02-18 16:57:58 +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
6d1e416208
Now MIM is restored completely too!!!
...
It was more complex than I thought!
2005-02-13 19:09:41 +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
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
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
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
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
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
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
mjollnir_
68ba62d21a
Merged from MOODLE_14_STABLE: Adding fix for idnumber duplication problem in restoring from backup discussed at http://moodle.org/mod/forum/discuss.php?d=16297
2004-12-17 03:04:24 +00:00
stronk7
b5104c34f1
Skipping empty categories in restore. They shouldn't exist but
...
I've received some examples of this these days.
Merged from MOODLE_14_STABLE
2004-12-10 18:27:53 +00:00
stronk7
19479ebdfb
Calculate NEXT course->sortorder in restore to avoid
...
sortorder grown always (by fix_course_sortorder()).
Merged from MOODLE_14_STABLE
2004-11-27 23:33:39 +00:00
defacer
3ecf46a193
Blocks are now saved to and restored from course backups!
...
Backward compatibility is maintained, i.e. you can restore ANY version
backups without problems in 1.5. When "adding backup data to an existing
course", no blocks are added. I 'm not sure what the correct behavior
would be in this case.
When restoring a backup from Moodle <= 1.2, the new course SHOULD be given
default blocks when it is restored. I have not actually tested this, my
tests were with version 1.3 and 1.4 backup format.
2004-10-29 17:07:11 +00:00
stronk7
17841181b6
Now backup and restore are using central zip & unzip functions.
...
Merged from MOODLE_14_STABLE
2004-10-16 17:34:56 +00:00
stronk7
26082098d9
Use of cleardoubleslashes() added to the backup and restore functions.
...
They will be changed to calls to new, central zip and unzip functions.
(coming soon)
Merged from MOODLE_14_STABLE
2004-10-09 23:19:53 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
moodler
b797605898
Merged XML UTF-8 fixed from stable (see bug 1927)
2004-09-13 08:17:09 +00:00
gustav_delius
7ef0797dea
some fixes for XHTML compliance
2004-09-12 01:34:24 +00:00
stronk7
6faaf9a6c9
Now user->guid is in backup & restore
...
Merged some pending changes from STABLE too.
2004-09-05 10:19:03 +00:00
stronk7
f496860a90
Added compatibility in user->auth from 1.3 backups...$CFG->auth is used
2004-08-28 17:30:34 +00:00
stronk7
0083049b21
Now user->auth is in backup & restore
...
Bug 1789
(http://moodle.org/bugs/bug.php?op=show&bugid=1789 )
Merged from MOODLE_14_STABLE
2004-08-28 10:26:06 +00:00
moodler
d2c7696a33
Fixed a tab
2004-08-27 03:38:39 +00:00
mjollnir_
166330f56e
Fixed very small bug where log entries with module course & action recent are unable to be restored.
2004-08-27 00:24:05 +00:00
stronk7
52552be03d
Now course->enrolperiod is supported in backup & restore.
2004-07-30 16:55:38 +00:00
stronk7
d735b7ba9c
Now new resources are included in backup & restore.
...
1.4--->1.4 and 1.3--->1.4 conversions are working fine.
Tomorrow I'll try the backwards conversion (1.4--->1.3).
Bug 1674
(http://moodle.org/bugs/bug.php?op=show&bugid=1674 )
2004-07-27 23:05:05 +00:00
stronk7
27757bee57
User->maildigest supported now.
2004-07-23 17:10:55 +00:00
stronk7
baadcd6560
Ooops!! I thought I had sent this to CVS some days ago.
...
Now both type of links (slasharguments on and off) are
detected in the backup process. And the restore process
take care of the slasharguments seting in destination
and translate all the links to the correct format.
I think it's really a nice addition, ;-)
Ready to 1.3.3 bump!!!
Bug 1634
(http://moodle.org/bugs/bug.php?op=show&bugid=1634 )
Merged from MOODLE_13_STABLE
2004-07-15 23:04:22 +00:00
stronk7
cf40339763
Now, course->summary
...
section->summary
user->description
are properly transformed if, in their contents, there was some
file.php call.
See bug 1631
(http://moodle.org/bugs/bug.php?op=show&bugid=1631 )
Merged from MOODLE_13_STABLE.
2004-07-10 22:43:31 +00:00
stronk7
68b59d7256
Now only restored wikis (posts and resources) are re-encoded when
...
restoring to a existing course. Bug 1571.
(http://moodle.org/bugs/bug.php?op=show&bugid=1571 )
Merged from MOODLE_13_STABLE
2004-07-08 06:05:34 +00:00
stronk7
d902b189e0
Added course->cost to backup/restore
2004-06-26 12:36:55 +00:00
stronk7
e0f8b50da7
Added support for timestart and timeend (user_teachers table) and
...
idnumber (course table). :-)
2004-06-24 22:41:00 +00:00
stronk7
c2e684d6d7
One missing "</ul>" tag...
2004-05-15 17:30:30 +00:00
stronk7
c484d58cf8
Now wiki links to activities are decoded to its new location
...
when restoring courses. If the link belongs to the course, it's
adjusted as internal, else it's modified to link its original
source.
2004-05-14 00:17:29 +00:00