d3b7ea93de
"MDL-14129, fix print_error"
2008-05-08 08:43:17 +00:00
957f6fc9d2
"MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE"
2008-05-02 04:37:02 +00:00
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
9e3775dbc2
Backup refactor: moved backup_execute.html into functions, added new backup_course_silently function as proof of concept (matches import_backup_file_silently)
2007-03-23 06:14:40 +00:00
d8aa3550bb
Fixes bug MDL-8057, "Backup/restore code not considered in new groups code"
2007-01-20 09:28:26 +00:00
ae628043a0
MDL-7401 Course format database/backup/lang/stylesheet/capability support
2006-12-11 15:47:23 +00:00
17d6a25e5c
adding capabilitiies
2006-09-13 09:08:14 +00:00
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
0f4de002a2
One less notice. Bug 5710.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5710 )
Merged from MOODLE_16_STABLE
2006-06-03 19:45:19 +00:00
fe1106f0d1
Now the question backup code has been separated from the quiz backup code.
2006-03-21 16:50:42 +00:00
a94baeaf20
Abstracted all the stuff that gets backup prefs from request, and put
...
it into session. This makes it easier to add a new stages
and not have to write hidden fields and such like
2006-01-16 00:39:01 +00:00
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
32b2ada2de
Fixed some parameters - Christian
2006-01-04 08:21:07 +00:00
c8837a48a4
Solved bug found when trying to backup all users!
...
(http://moodle.org/mod/forum/discuss.php?d=27105 )
2005-11-19 00:27:57 +00:00
91b74d3ef4
This got missed before, it's part of the new course/import changes
2005-11-08 07:01:12 +00:00
35a4a791c2
Merged from STABLE
2005-06-09 09:41:06 +00:00
e19d817eb3
Now backup of 1.5 gradebooks is working (restore coming soon). Features are:
...
- It's automatic. No setting for it. Does it sound ok?
- Any info related to non-exported modules is skipped.
- Any info related to non-exported users is skipped.
2005-04-19 23:21:45 +00:00
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
f2d5737825
Now manual backups are XHTML 1.0 Transitional.
...
And version bump!
2005-02-05 01:00:33 +00:00
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
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
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
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
7ef0797dea
some fixes for XHTML compliance
2004-09-12 01:34:24 +00:00
cd44fdcb82
Some important changes:
...
- Now course events are supported in backup & restore.
- in manual backups
- in scheduled backups
- Fixed important bug when restoring groups.
- Added support to the "user change password" action
(with some changes done in login/change_password.php)
Please, test it !!!!
2004-02-21 01:30:22 +00:00
a4de843e15
Groups are now included in backup too. I start working in restore now.
2004-01-25 19:26:24 +00:00
9501b8f5ad
Added notifications right through the backup when errors occur.
2003-10-07 13:59:15 +00:00
42f1ff47b4
Scales are now supported in backup/restore.
...
Updated version to 0.8.8 alpha. Please test.
2003-08-18 00:00:22 +00:00
63bcc9b55b
Use isteacheredit instead of isteacher
2003-08-16 06:37:06 +00:00
0c6e10b33e
Now "backupdir" string is hardcoded in backup process.
2003-08-02 16:13:44 +00:00
bd38123e98
Completed mods to allow teachers to make backups
2003-08-01 14:42:14 +00:00
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
4498d1a402
Prepared to insert string in langs. Tomorrow.
2003-07-27 21:30:24 +00:00
042c19f5a5
Changed backup logs default to NO.
2003-07-15 18:12:41 +00:00
040c7b7099
Changed end
2003-07-07 18:42:19 +00:00
290a1b4a3e
Backup quizzes COMPLETED. Two setps finished.
2003-06-10 09:25:27 +00:00
58d9f06216
Small typo
2003-05-31 15:19:59 +00:00
c563a9a0d1
added check login, check admin and check site to every page.
...
If not, it was possible to execute them...!!
2003-05-18 17:15:05 +00:00
740aa005dc
Interchange delete old data and create temp structures. The first time
...
an error ocurred, because we were trying to access an no-existent dir.
2003-05-16 17:36:47 +00:00
4784696533
Backup finished.
...
Limitations:
- Only assignment and resource mods are exported.
Little problems persit:
- PCLZIP/UNZIP incompatibility
- Do not count backup files in course_files_check_backup
2003-05-11 17:45:56 +00:00
b294bc4b1d
Zipping files.
...
Ok under command line. Bad under pcl lib
2003-05-11 11:06:23 +00:00
667d2f2a86
User files and course files are saved selectively to backup directory
2003-05-11 00:14:11 +00:00
d0ef834745
Preparing the user_files and course_files copy
2003-05-10 17:44:08 +00:00
efead3b909
Now generate mod info about assignments (with file copy to temp/backup)
...
and resources.
2003-05-10 17:25:20 +00:00
32ad57746b
Avoid undefined backupable mods to be exported
2003-05-09 23:21:55 +00:00
537718f85a
Included log generation to XML
2003-05-09 20:05:15 +00:00
cfb9c52577
User accounts are now included in XML generation
2003-05-09 14:57:41 +00:00
52b538621e
Changes to support xml sections generation.
...
And convert htmlentities an utf8
2003-05-07 22:15:14 +00:00
3b8bad6ff0
Included support to clean /temp/backup automatically and to write
...
the xml file (header and info only)
2003-05-06 22:48:25 +00:00
674b30f5f7
Begin the execute process. Created temporary structures (dir)
2003-05-04 23:24:48 +00:00