1059 Commits

Author SHA1 Message Date
stronk7
ce503f3923 Course page blocks are lost when restoring 1.3 and 1.4 backups. MDL-15803 ; merged from 19_STABLE 2008-07-23 22:47:47 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
skodak
123d1acd34 MDL-13383 fixed restore form; merged from MOODLE_19_STABLE 2008-07-07 22:35:23 +00:00
skodak
fe29d45751 MDL-13942 do not interrupt restore if groupmembers missing; merged from MOODLE_19_STABLE 2008-07-05 00:45:44 +00:00
stronk7
86b4dadabd Only create role_name aliases if the original course (backup file) contains them. MDL-15284 ; merged from 19_STABLE 2008-07-03 13:00:54 +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
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
moodler
3e7adb62fe Merged from 1.9, added a little check to avoid notices 2008-06-25 08:45:53 +00:00
skodak
511c9eb23b MDL-15372 fixed incorrect merging to HEAD causing fatal errors, because new dml api was not used 2008-06-25 07:30:41 +00:00
tjhunt
87b144ae93 MDL-15372 - Links in course summary and section summaries not recoded on restore. Petr thinks it is a bad idea to recode links in course summaries, becuase he thinks there should not be links there at all, but I disagree, and as long as links are there, and we have the code to stop them breaking on backup and restore, we should fix the bug. 2008-06-23 17:02:21 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
skodak
0cbe81112a MDL-14580 rewritten course sorting algorithms 2008-06-16 14:25:53 +00:00
thepurpleblob
6f96466d37 MDL-15257
Fix notice caused by (possibly) uninitialised variable.

Merged from STABLE_19
2008-06-16 10:08:30 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
jmg324
eb7687ea96 MDL-15223 need to default backup_blogs for backup_course_silently not to have PHP notice errors 2008-06-12 11:07:03 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
f67cab32ec MDL-15094 some forgotten conversions 2008-06-05 18:01:22 +00:00
skodak
99cd2d2868 MDL-15094 some forgotten conversions 2008-06-05 14:11:54 +00:00
skodak
3b0f746be9 MDL-14679 converted some deletes 2008-06-05 13:11:27 +00:00
skodak
4be1663d39 MDL-15095 fixed role names restore warning 2008-06-05 00:07:29 +00:00
skodak
a4e315c6d5 MDL-15094 fixed regression 2008-06-04 23:58:23 +00:00
skodak
8f15f8ec2d MDL-15094 fixed regressions 2008-06-04 23:56:34 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
bae736241a MDL-15095 core backup/restore conversion finished 2008-06-04 20:51:02 +00:00
skodak
cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
skodak
ad4375ac7f MDL-14679 towards /backup conversion 2008-06-01 14:46:48 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +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
stronk7
095aa2809e Restoring from courses having custom role name doesn't cause duplicate roles. MDL-14808 ; merged from 19_STABLE 2008-05-12 22:54:26 +00:00
skodak
98d80d851b MDL-14692 groupings restore logic switched - credit goes to Vitor Rocio 2008-05-12 19:55:22 +00:00
stronk7
b90d006cd4 user preferences are not restored if user exists. MDL-12594 ; merged from 19_STABLE 2008-05-12 18:01:59 +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
d3b7ea93de "MDL-14129, fix print_error" 2008-05-08 08:43:17 +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
skodak
71f165a499 MDL-14599 removed support for old backup $CFG->dbtype.php upgrade and install support 2008-05-01 19:59:29 +00:00
stronk7
2f1cd7daec Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE 2008-04-24 21:49:07 +00:00
dongsheng
5832a6f34b MDL-14129, fix print_error call 2008-04-24 02:48:36 +00:00
dongsheng
a4f9dc75da MDL-14129, fix misuse string 2008-04-23 01:53:30 +00:00
dongsheng
fa6086a84b MDL-14129, fix print_error 2008-04-22 08:52:25 +00:00
stronk7
8b6ccde7b0 Restore of blogs in SITE page added. MDL-9089 ; merged from 19_STABLE 2008-04-20 02:03:00 +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
6a775a8075 Restore to the frontpage should work now (interface). MDL-12760 ; merged from 19_STABLE 2008-04-13 23:56:14 +00:00
stronk7
d8b2e5e63d Minor fixes in the restore form when restoring from within SITEID. Merged from 19_STABLE 2008-04-13 23:29:07 +00:00