stronk7
0287b9a649
MDL-18799 backup of file.php links - now using unicode modifiers if allowed in the server ; merged from 19_STABLE
2009-05-05 09:26:47 +00:00
stronk7
cbea2e04cb
MDL-18799 backup & restore - improve file.php handling by using neutral syntax to support any slasharguments combination. Merged from 19_STABLE
2009-04-17 23:47:16 +00:00
tjhunt
34f07866ba
filters: MDL-7336 backup and restore of local filter settings.
2009-04-13 07:06:02 +00:00
tjhunt
7b8dcbc352
filters: MDL-7336 refactor in backup/restore ready for local filter settings.
2009-04-13 07:05:02 +00:00
danmarsden
5b99dc2e5f
MDL-12037 Backup Log - improve reporting of errors during backup_execute - espeically for silent backups
2009-03-03 00:53:23 +00:00
dongsheng
57416b8016
"LANG/MDL-17620, add language string, merged from 1.9"
2009-02-26 02:33:04 +00:00
stronk7
d45b28ef3d
MDL-17835 backup & restore - encode/decode content links from/to course formats info.
...
Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE
2009-01-24 00:40:32 +00:00
tjhunt
d61f7b7641
backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
...
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:30 +00:00
sam_marshall
82bd6a5ea9
MDL-15499: Conditional availability of activities
2008-12-17 16:37:35 +00:00
stronk7
a243ffeb07
MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting. Merged from 19_STABLE
2008-12-15 21:35:47 +00:00
stronk7
2dc880c999
MDL-16879 Backup & mnet: Avoid problems in sites missing mnet_host records being more flexible in backup (outer join). Merged from 19_STABLE
2008-11-16 23:24:32 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
01a80f51e5
role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.
...
* New table role_context_levels
* Populate table with defaults on install
* Populate table on upgrade with the same defaults, plus any additional ones needed to ensure all the role assignments already in the database are allowed.
* Change get_assignable_roles to respect these settings.
* UI for these settings on the add/edit role form.
* Save these settings when a role definition is saved.
* If in a context, there are no roles you can assign, display a polite message.
* Back up these settings.
* Restore these settings. When resotring a <=1.9.x backup file, any newly imported roles are set to be assignable at all contextlevels.
Restore not tested because it is broken in HEAD.
2008-11-06 07:34:01 +00:00
tjhunt
37323148d9
backup: MDL-17145 And actually copy the backup file there!
2008-11-06 07:17:34 +00:00
fmarier
be2718051b
backuplib: MDL-16945 (merge from 1.9)
2008-10-22 03:14:45 +00:00
stronk7
392f5e2403
Added missing join condition. Credit goes to Colin Chambers. MDL-16385 ; merged from 19_STABLE
2008-09-08 14:27:32 +00:00
skodak
ed94cb66c6
MDL-15928 switched to zip PHP extensions
2008-08-04 16:45:08 +00:00
sam_marshall
4e781c7b50
MDL-15498: Completion system
2008-07-28 12:31:29 +00:00
skodak
290a47ae85
MDL-15160 backup gradebook categories even when user not included; merged from MOODLE_19_STABLE
2008-07-02 22:47:57 +00:00
skodak
42f1bfe02a
fixed dml conversion typo
2008-06-30 13:24:42 +00:00
skodak
a4e315c6d5
MDL-15094 fixed regression
2008-06-04 23:58:23 +00:00
skodak
bae736241a
MDL-15095 core backup/restore conversion finished
2008-06-04 20:51:02 +00:00
danmarsden
a0127802d3
MDL-12037 - backup does not report errors correctly in backup_module()
2008-05-13 00:41:34 +00:00
danmarsden
078d8bf448
MDL-14550 really inefficient db calls.
2008-05-13 00:29:04 +00:00
stronk7
77022d9e5d
Role custom names (aliases) are now preserved during backup/restore. MDL-14783 ; merged from 19_STABLE
2008-05-12 23:07:42 +00:00
danmarsden
2ea2bfadfa
MDL-14736 this doesn't need to be an error call, as the backup should still succeed - changing to use notify() instead.
2008-05-08 22:28:06 +00:00
dongsheng
957f6fc9d2
"MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE"
2008-05-02 04:37:02 +00:00
stronk7
d9063e928f
Adding some missing course info when backuping blogs. MDL-9089 ; merged from 19_STABLE
2008-04-19 22:41:48 +00:00
stronk7
feb351cfae
MDL-14072 - Merged from 19_STABLE. Prevent NULLs, empties and numbers to be processed by:
...
- backup_encode_absolute_links() at backup
- restore_decode_absolute_links() at restore
2008-04-18 16:58:06 +00:00
stronk7
fe75799dcf
Blogs backup added. MDL-9089 ; merged from 19_STABLE
2008-04-13 01:28:59 +00:00
skodak
5cfefc9b02
MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt; merged from MOODLE_19_STABLE
2008-03-23 15:54:42 +00:00
skodak
0cdf4aad05
MDL-13393 detect broken cm instances when doing backup - prevents trouble during restore; merged from MOODLE_19_STABLE
2008-03-20 19:40:09 +00:00
skodak
7f9bd1499b
MDL-13847 gradebook backup/restore fixes, xhtml strict fixes, other minor fixes; merged from MOODLE_19_STABLE
2008-03-17 19:56:41 +00:00
stronk7
bef163c889
Ensure only target groups_members are added to backup. MDL-12453 ; merged from 19_STABLE
2008-03-09 17:28:17 +00:00
scyrma
537aa65c5d
MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements (merge from 1.9)
2008-02-26 06:43:54 +00:00
scyrma
3d535996db
MDL-13404 - Merge from 1.9 (re-commit, including missing file)
2008-02-25 01:58:17 +00:00
skodak
bb06244703
MDL-13404 reverted - missing file and other minor problems
2008-02-22 19:53:48 +00:00
scyrma
db32b054d1
MDL-13404 - Merge from 1.9
2008-02-22 10:25:36 +00:00
stronk7
42af26a396
Messages backup improvement. MDL-13473 ; merged from 19_STABLE
2008-02-14 23:35:03 +00:00
stronk7
5170a7a440
Add missing description to grade_outcomes backup. Merged from 19_STABLE
2008-02-03 10:33:15 +00:00
stronk7
9e56dd25d3
Now user profile fileds and user tags are included in backups. Part of MDL-6856 ; merged from 19_STABLE
2008-01-30 01:10:57 +00:00
stronk7
56ef28a4a3
Added some helper functions, cleanup a bit and add missing parts. MDL-10721 ; merged from 19_STABLE
2008-01-26 22:00:40 +00:00
stronk7
c648a2259c
General cleanup of backup users. Part of MDL-10721 ; merged from 19_STABLE
2008-01-25 00:50:08 +00:00
stronk7
2462e5eb20
Prevent grade_grades and grade_grades_history to be exported for non-target users. MDL-13115 ; merged from 19_STABLE
2008-01-24 20:04:15 +00:00
stronk7
a03320fcf9
Reworked a bit to prevent non-target user role assignments to be exported. MDL-13115 ; merged from 19_STABLE
2008-01-24 19:09:04 +00:00
toyomoyo
dfbe1fa473
MDL-12463, do not backup mod gradeitems if not selected
2007-12-11 03:16:15 +00:00
toyomoyo
b486ef1ae3
MDL-8270, full block backup/restore routine with code
2007-11-15 05:00:44 +00:00
tjhunt
43457dc87c
MDL-12066 - Links in the HTML block are not recoded on backup and restore.
...
This is messy because the links are hidden in the configdata column, which is serialized and base64encoded. So we have to untangle that, then ask the block whether there are any bits of $config that need to be fixed, then re-encode it before backup up. And reverse that on restore. It needs to remain base64 encoded in the backup file, so that the file format is backwards compatible.
I disucssed this with Eloy before doing it.
Merged from MOODLE_19_STABLE.
2007-11-14 17:03:32 +00:00
stronk7
7244ac4ba7
There was a mistake in the dir being created. It must be
...
the backup temp area one. MDL-11912
Merged from MOODLE_19_STABLE
2007-11-02 13:02:56 +00:00
nicolasconnault
98a85772f5
MDL-11912 Creating 1000's layer directory first, then userid directory: no need for recursion
2007-11-01 08:45:30 +00:00