martinlanghoff
cb6f407365
Course restore - Restrict shortname to <= 15 characters, like the database table.
...
Author: Donal McMullan <donal@catalyst.net.nz>
2006-07-18 03:35:02 +00:00
skodak
15a6cf334f
Bug #6099 - Restore alternatively failing on data module - fixed status codes of module restore process; merged from MOODLE_16_STABLE
2006-07-13 15:38:03 +00:00
skodak
4e060ab972
Bug #6067 - The restore process behaves differently depending on which module contains the absolute links; merged from MOODLE_16_STABLE
2006-07-11 10:01:33 +00:00
tjhunt
ff1b2fadbe
Fix restore notice. Merged from MOODLE_16_STABLE.
2006-06-12 15:37:05 +00:00
tjhunt
f801c7e028
Fix notices when you restore a course with no parent or child courses. Merged from MOODLE_16_STABLE.
2006-06-06 17:27:15 +00:00
stronk7
2efeb14832
course report xxxx actions now are supported on restore. Bug 5714.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5714 )
Merged from MOODLE_16_STABLE
2006-06-04 00:03:12 +00:00
stronk7
410c459db0
And some more (the last) notices out! Bug 5713.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5713 )
Merged from MOODLE_16_STABLE
2006-06-03 20:18:02 +00:00
stronk7
e8b8ab9f7b
course_modules->deleted and user->guid are now out.
...
(they disappeared from DB ages ago)
Merged from MOODLE_16_STABLE
2006-05-23 22:06:58 +00:00
moodler
c4292470ba
Add a warning when trying to restore a pre-1.6 backup on a
...
1.6 Unicode Moodle, with a link to the docs.
2006-05-03 02:00:32 +00:00
stronk7
9fe25ab4f1
Diference between moodle.xml file not found and moodle.xml file
...
incorrect at restore time. Bug 5334.
(http://moodle.org/bugs/bug.php?op=show&bugid=5334 )
2006-04-25 22:55:29 +00:00
stronk7
b0a8b898f9
Difference between copy, the verb and copy, the noun, because they
...
are different in a lot of languages. Bug 5172.
(http://moodle.org/bugs/bug.php?op=show&bugid=5172 )
2006-04-12 21:53:45 +00:00
stronk7
23407fb76b
htmlentities() to s()
2006-04-11 15:34:29 +00:00
stronk7
2070370cfa
Typo.
2006-03-28 23:31:12 +00:00
sam_marshall
f95310d224
Corrected line that would cause restore_create_modules to return True if the first module fails to restore, but the second succeeds. (Whereas it would already be False if the first succeeds, but second fails.)
2006-03-13 16:32:22 +00:00
gustav_delius
12fcd27da6
Some work on question restore code, not complete
2006-03-13 00:18:38 +00:00
gustav_delius
32a189d636
More renamings to separate questions from quiz. Some other small fixes.
2006-03-12 21:17:42 +00:00
skodak
25580a01bc
finally now the restore should work and with correct unicode related coding style, sorry
2006-03-07 19:53:56 +00:00
skodak
fd5ca378e6
fixed UTF-8 restore problems caused by utf8_restore
2006-03-03 22:22:07 +00:00
stronk7
0df0a87214
Now course shortname is searched too, to avoid duplicates over it.
...
Bug 4607
(http://moodle.org/bugs/bug.php?op=show&bugid=4607 )
Merged from MOODLE_15_STABLE
2006-01-19 00:23:01 +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
stronk7
d0fad6f1ae
Fixed one important bug in restore of gradebook that was
...
preventing it to finish in a lot of situations.
(http://moodle.org/mod/forum/discuss.php?d=31461 )
Merged from MOODLE_15_STABLE
2005-10-16 11:32:57 +00:00
mjollnir_
212f79a5e9
Fix to bug 4026 and 3913. Credit: jjg7 at humboldt dot edu
2005-09-08 21:30:42 +00:00
stronk7
f718493562
Now course-guest, user-login and user-logout
...
log actions are restored properly.
Plus some problem with double & entities solved.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852 )
Merged from MOODLE_15_STABLE
2005-08-03 19:04:05 +00:00
moodler
f2e34253c3
Removing and re-adding currency support in courses
2005-07-22 17:19:52 +00:00
moodler
f5e1319ec3
Merged SC139 from stable
2005-07-12 08:00:51 +00:00
stronk7
92f9357579
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 )
Merged from MOODLE_15_STABLE
2005-07-04 17:48:59 +00:00
stronk7
2b41040945
Checking some fields because they were breaking restore of old courses.
...
Bug 3444
(http://moodle.org/bugs/bug.php?op=show&bugid=3444 )
2005-06-19 18:29:33 +00:00
mjollnir_
d27920b9ad
Merged from MOODLE_15_STABLE Fix for bug 3508 -- only do the clam log on backup/restore for restoring course/user/group files, not for temp backup data
2005-06-16 02:33:42 +00:00
stronk7
c098e8c503
Small typo, preventing group events to be restored properly.
...
Records in backup_ids table must use the name of the table
without the prefix as name. Bug 3360. Thanks Jon.
(http://moodle.org/bugs/bug.php?op=show&bugid=3360 )
Merged from MOODLE_15_STABLE
2005-06-03 16:46:28 +00:00
stronk7
000b822e54
Now restore code for quizzes is enabled again. pre15 restore
...
seems to work and 1.5 backup 1.5 is in being done by Gustav's team.
2005-05-22 19:25:48 +00:00
stronk7
f623680bab
Added the restore_get_best_quiz_category() function
...
user to look for, at restore time, the best quiz
category to be used (i.e. the existing category with
the same stamp belonging to the same course or,
alternatively, belogns to other course but is published
and the user has editing rights).
It replaces the old-old stuff at restore code and
recent simplification that was producing some problems.
2005-05-14 23:32:32 +00:00
stronk7
adc7ade8c6
Disable temporary the restore of quiz questions and attempts
...
to avoid moodlers filling their DBs (not always test servers!)
with non-consistent data.
Can be enabled by setting $CFG->enablerestorequiz = true;
(while working on it both Gustav's team and I, obviously this will be
removed once stabilished)
2005-05-09 13:33:18 +00:00
moodler
b345a30f35
Added support for trackforums
2005-04-25 18:45:21 +00:00
stronk7
04592aec06
Now event->repeatid is included in backup/restore. Thanks for
...
your support Jon!
Bump to 1.5 beta
2005-04-22 23:49:48 +00:00
stronk7
2332688f43
One copy/paste typo and a problem restoring to existing courses solved.
2005-04-22 00:55:04 +00:00
stronk7
868e94e763
Now gradebook is restored completely. Logic says:
...
- If destination course is using 'simple' gradebook, restore nothing.
- If destination course has letters defined, don't restore backup letters.
- If one category exists in the course (by name) it's reused.
- Items belonging to non-restored modules are skipped.
- If users aren't restored, exceptions are skipped.
Test, test, test... :-)
2005-04-22 00:26:22 +00:00
stronk7
75766456f9
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.
2005-04-12 23:40:40 +00:00
stronk7
805788218b
Converting wiki to markdown in old (<2005041100) courses.
...
First step. Launcher created.
2005-04-12 16:10:47 +00:00
stronk7
80117b519d
Now group images are in backup & restore
2005-03-07 23:40:25 +00:00
moodler
3ac6807ee1
Added backup/restore support for the new fields I added today
2005-03-05 10:31:58 +00:00
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