Commit graph

41 commits

Author SHA1 Message Date
toyomoyo
49860445a6 fix for MDL-8739, restore in course category 2007-04-03 09:19:09 +00:00
toyomoyo
b3460b8e8a merged fixing xhtml and display issues in restore 2007-03-01 02:46:04 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
stronk7
63013fb804 PHP 4 assignment is by value so course_header (containing edited names)
wasn't being modified. MDL-8298

Merged from MOODLE_18_STABLE
2007-02-14 23:54:20 +00:00
martinlanghoff
43f853c908 mnet: restore support - XML parser knows about MNET_EXTERNALUSERS, restore_check.html warns
This may need to be reworked to move the warning to an earlier stage. In the
meantime, we have

 - at INFO parsing time we read MNET_EXTERNALUSERS into the backup info obj
 - at restore_check time, we warn the user that external users are in the
   package. If the situation looks dodgy, we say so. But don't block the
   user, as it may be a valid situation.
2007-01-16 03:28:57 +00:00
toyomoyo
4e3ea0e0d9 adding long time warning MDL-7890 2006-12-15 05:34:35 +00:00
moodler
91a9559092 Fixed some potential XHTML strict errors MDL-7861 2006-12-12 07:30:37 +00:00
toyomoyo
95f7634d4d merged removing evil semicolon 2006-10-31 07:34:03 +00:00
toyomoyo
5e67946d6c adding support for 1.6->1.7 backups 2006-10-03 08:54:46 +00:00
toyomoyo
8020a0162f roles and capability support for backups. role mapping is in, please help test, thanks 2006-10-02 08:49:07 +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
thompson697
c3b307b777 Initial work on Roll Forwards - Restore from previous semester (ongoing 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
2006-09-13 09:40:55 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
toyomoyo
ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
stronk7
5f8556bcd5 And one more collection of innocent notices avoided. Bug 5712.
(http://moodle.org/bugs/bug.php?op=show&bugid=5712)

Merged from MOODLE_16_STABLE
2006-06-03 20:01:24 +00:00
stronk7
c3cb69e5f4 Now restore checks that we are coming from the form page to delete any
previously stored $SESSION->restore data.

Also, the "restore to existing" feature is working again. It was broken
because of the pseudo-register-globals hack. Now course_id is retrieved
with the standar param() methods.

Bug 5145 was the original cause for investingating this.
(http://moodle.org/bugs/bug.php?op=show&bugid=5145)
2006-04-10 19:02:39 +00:00
sam_marshall
bb2848749a Changing to use require_param meant that restore session was not cleared, causing a 2nd restore in succession of same backup to fail. One-line tweak fixes it - I think (I think it's ok but filed as bug 5145 so the appropriate person can check if I messed up) 2006-04-10 11:49:48 +00:00
skodak
0beabf4898 fixed NULL in foreach warning 2006-03-03 22:26:22 +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
skodak
ad822b36d9 fixed access rights of creators during restore SC#177; merged from MOODLE_15_STABLE 2005-11-01 17:25:02 +00:00
stronk7
5db72c050f Now hidden courses are showed dimmed in the restore process. Bug 4152.
(http://moodle.org/bugs/bug.php?op=show&bugid=4152)

Merged from MOODLE_15_STABLE
2005-10-06 17:22:52 +00:00
stronk7
b577ebc7d2 Now the restore form page is a bit more easy to use. Bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-29 16:58:33 +00:00
stronk7
f65329a64f Fixed two typos (in one line!) :-o
Testing changes before commit is always interesting... :-P

Merged from MOODLE_15_STABLE
2005-06-09 16:34:09 +00:00
thepurpleblob
b78fbdac9d changes merged from STABLE 2005-06-09 14:04:38 +00:00
thepurpleblob
35a4a791c2 Merged from STABLE 2005-06-09 09:41:06 +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
cee6968fa1 Now metacourses are working in restore too!
Please test them!!
2005-02-07 17:52:58 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00
moodler
39cac7b6c0 Merged fixes from STABLE that allow creator to restore to any course 2004-09-23 11:34:47 +00:00
gustav_delius
7ef0797dea some fixes for XHTML compliance 2004-09-12 01:34:24 +00:00
stronk7
097015895c When restoring to existing course, the list of
available courses was previously ordered by sortorder.
Now it's ordered by fullname. See bug 1108.
(http://moodle.org/bugs/bug.php?op=show&bugid=1108)
2004-03-09 11:35:14 +00:00
stronk7
142a6a46ca Take out more notices in restore process. Undefined variables, mainly. 2003-10-14 17:26:37 +00:00
stronk7
e3713e1a31 Take out more notices in restore process. Undefined variables, mainly. 2003-10-14 17:06:58 +00:00
moodler
63bcc9b55b Use isteacheredit instead of isteacher 2003-08-16 06:37:06 +00:00
stronk7
be2a6fc6ca Teacher restoring and admin restoring finished.
Allow restore into new course (only admins),
      restore into existing course deleting old and
      restore into existing course adding to old
Teachers are limited to "current course" while admins ca
select any course. :-)
2003-08-03 00:42:41 +00:00
moodler
9c1ae5ae32 Removed $moodle_home and $mods_home references.
Also removed direct references to $backup_version and $backup_release

backup.php now accepts teachers of their own course
2003-08-01 14:34:11 +00:00
moodler
49caea35c9 Small changes to the restore "continue" button and some missing strings 2003-07-28 01:38:35 +00:00
stronk7
686dde9e39 Correct one source tab 2003-06-03 16:33:52 +00:00
stronk7
7c934d06ed Finished the check phase.
Tomorrow I'll start recovering course info !!
2003-05-22 22:11:17 +00:00
stronk7
91d7f813e5 Initial checks. More to do !! 2003-05-19 22:34:12 +00:00
stronk7
3f50cab58d Checks everything is OK before lanunch the process. It allows to
select the destination course.
Initial version, it doesn't work !!
2003-05-19 19:29:51 +00:00