Commit Graph

357 Commits

Author SHA1 Message Date
stronk7 4bc822b746 MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. 2009-05-22 10:21:45 +00:00
stronk7 eb1b491181 MDL-12618 restore events - delete some missed debug lines...oops 2009-05-10 14:38:34 +00:00
stronk7 9d73b7e3fc MDL-12618 restore events - apply cross-db sql_compare_text(). MSSQL & Oracle were broken here. 2009-05-10 14:35:19 +00:00
stronk7 972f7bb2f0 MDL-11144 - restore of mnet users. Another improvement... 2009-05-10 11:50:45 +00:00
stronk7 c07cb2e8bc MDL-17009 restore of mnet users - prevent any user using local host to end with mnet auth 2009-05-10 01:14:52 +00:00
stronk7 6483c5b005 MDL-18799 backup & restore - improve file.php handling by using neutral syntax to support any slasharguments combination 2009-04-17 23:42:01 +00:00
stronk7 1316b059c9 MDL-18594 restore check - skip maintenance.html file on restore of sie files. Credit goes to Juan Segarra. 2009-03-19 14:43:25 +00:00
stronk7 312fc573c7 MDL-18482 restore skipping non selected activities. 2009-03-12 23:14:11 +00:00
stronk7 e3cc7cfd7c MDL-18543 restore of role assignments / overrides - skip non-restored contexts. 2009-03-12 22:20:44 +00:00
stronk7 cb512feef5 MDL-18468 restore preprocessing (split) - Added $CFG->experimentalsplitrestore option
to enable split of moodle.xml files into upto 19 smaller files for quicker restore.
2009-03-09 23:28:39 +00:00
danmarsden 102ab4b93d MDL-15276 add check for RESTORE_SILENTLY merged from HEAD 2009-03-04 02:45:10 +00:00
stronk7 8d0787e3b1 MDL-18222 restore - fixed restoring of course->summary links. Was being handled too early. Moved to final decoding links process. 2009-02-16 10:26:25 +00:00
stronk7 9ac773b15c MDL-8848 restore section summaries - now restored if target course have them empty 2009-02-04 17:19:52 +00:00
stronk7 042be7ddd6 MDL-17835 backup & restore - encode/decode content links from/to course formats info.
Credit goes to Mark Nielsen. Thanks!
2009-01-24 00:20:51 +00:00
tjhunt 1ae3f411b5 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:05 +00:00
tjhunt 1cb675b598 restorelib: fix incorrect indenting. 2009-01-09 06:35:34 +00:00
tjhunt c6c9b4faca accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:52 +00:00
stronk7 e12b3b10ca MDL-17826 restore - proper TEXT comparison. Was breaking MSSQL and Oracle. 2009-01-08 18:28:46 +00:00
skodak c37304a964 MDL-15172 lowered timeoout and adding warning that users must not click continue in middle of course import - this is a silly workaround, unfortunately I did not find better solution; backported from HEAD 2009-01-01 16:06:37 +00:00
stronk7 54cae7edcf MDL-17009 restore of mnet users - Automatic switching of remote users (unknown host) to local ones. 2008-12-18 00:18:44 +00:00
stronk7 70cf5492bc MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS 2008-12-11 16:37:37 +00:00
skodak c396e2239c MDL-17519 - restore: preventing group member duplicates 2008-12-07 22:24:06 +00:00
mudrd8mz 0738e88d48 MDL-14326 Remove all course_modules that remained empty (i.e. with instance==0) after the particular restore process. 2008-08-21 11:26:32 +00:00
stronk7 0616b1fba2 Fixing typo causing restore not to work within 19_STABLE branch (BC). MDL-15282 2008-08-06 16:41:48 +00:00
sam_marshall 5f6512446e MDL-15875: Missing break; in switch 2008-07-29 13:33:05 +00:00
arborrow e403b1fd34 fix trivial typo 2008-07-24 12:32:26 +00:00
stronk7 47ec4f9c6f Course page blocks are lost when restoring 1.3 and 1.4 backups. MDL-15803 2008-07-23 22:46:10 +00:00
scyrma 4770b4b6b3 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually 2008-07-10 09:48:43 +00:00
stronk7 d889ca7bbc Only create role_name aliases if the original course (backup file) contains them. MDL-15284 2008-07-03 12:58:18 +00:00
tjhunt 5cbc380ed5 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:11 +00:00
thepurpleblob 86f9dc29ac MDL-15257
Fix notice caused by (possibly) uninitialised variable.
2008-06-16 10:04:59 +00:00
stronk7 9eff824be8 Role custom names (aliases) are now preserved during backup/restore. MDL-14783 2008-05-12 23:05:33 +00:00
skodak 536c4f8875 MDL-14692 groupings restore logic switched - credit goes to Vitor Rocio 2008-05-12 19:56:13 +00:00
skodak abe8f35a49 MDL-14692 groupings restore logic switched - credit goes to Vitor Rocio 2008-05-12 19:53:27 +00:00
stronk7 354176b5fe user preferences are not restored if user exists. MDL-12594 2008-05-12 18:00:40 +00:00
dongsheng 443a1fee8e "MDL-14460, fix all the other get_context_instance,(use sed replace them), see tracker" 2008-05-02 04:07:27 +00:00
stronk7 18fe8f7b9c Restore of blogs in SITE page added. MDL-9089 2008-04-20 01:58:40 +00:00
stronk7 5d64f72c23 MDL-14072 - 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:55:29 +00:00
skodak 40b3f45dec MDL-8270 ignore blocks that can not be instantiated 2008-03-30 14:35:12 +00:00
stronk7 1ebff51139 Restore escaped from latest tag-lib refactoring. MDL-14038 2008-03-24 16:37:46 +00:00
skodak 2dc6c4abe2 MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt 2008-03-23 15:56:03 +00:00
skodak a18258a969 MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt 2008-03-23 15:50:08 +00:00
skodak fe3987a324 MDL-13619 legacy restore revisited -fixed sortorder 2008-03-20 20:07:35 +00:00
skodak d3d7ba8f7a MDL-13619 legacy restore revisited 2008-03-20 19:15:38 +00:00
skodak 45d3c87b30 MDL-2674 adding $cm->grouping reset if groupings not restored; removed info about groups included in backup - they are always included, and there will not be any global groups/groupings 2008-03-17 21:54:47 +00:00
skodak c153af6351 MDL-2674 backup always backsup/restores groups regardless of user settings; backported from HEAD 2008-03-17 21:27:53 +00:00
skodak 8527371af3 MDL-13847 gradebook backup/restore fixes, xhtml strict fixes, other minor fixes 2008-03-17 19:36:35 +00:00
moodler 58331043d0 MDL-13475 Fixed some character lengths for course->shortname and role->shortname (100char) 2008-03-02 15:02:25 +00:00
stronk7 60a18dc226 rebuild_course_cache() to calculate modinfo before role assignments. MDL-13740 2008-02-29 19:53:40 +00:00
moodler 4dc9acd3db MDL-13569 Mark N patch for notice 2008-02-26 09:05:04 +00:00