1098 Commits

Author SHA1 Message Date
stronk7
0990f7aa99 towards db layer 2.0 2009-05-23 22:40:55 +00:00
stronk7
a547c180f6 MDL-15355 restore - proper category selection when restoring from SITE + improved defaults ; merged from 19_STABLE 2009-05-23 20:56:32 +00:00
stronk7
64acc5a55d MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. Merged from 19_STABLE 2009-05-22 15:02:44 +00:00
stronk7
2a8435c4ce MDL-19163 restore - avoid some notices. Merged from 19_STABLE 2009-05-19 18:50:24 +00:00
stronk7
a34947c283 MDL-19163 restore - warn if restoring over SITEID course ; merged from 19_STABLE 2009-05-19 18:35:38 +00:00
stronk7
e43806a018 MDL-19163 - Fixed problem when cancreatecourse users were restoring to sites with only 1 course ; merged from 19_STABLE 2009-05-19 10:35:59 +00:00
stronk7
94ba4c9eb8 MDL-19163 restore - enable course selection for teachers having perms in more than 1 course ; merged from 19_STABLE 2009-05-12 14:57:40 +00:00
stronk7
73ac87a4a9 MDL-19084 - backup_course_silently() missing call to xxx__check_backup_mods()
causing quizzes to be incorrect (thanks Piers Harding) plus problems with users,
files and role assignments. Merged from 19_STABLE
2009-05-10 23:17:19 +00:00
stronk7
3560ff18b9 MDL-12618 restore events - apply cross-db sql_compare_text(). MSSQL & Oracle were broken here. Merged from 19_STABLE 2009-05-10 14:45:59 +00:00
stronk7
4c63bd26a1 MDL-11144 - restore of mnet users. Another improvement... merged from 19_STABLE 2009-05-10 11:56:28 +00:00
stronk7
adf8cf19bc MDL-17009 restore of mnet users - prevent any user using local host to end with mnet auth ; merged from 19_STABLE 2009-05-10 01:16:10 +00:00
tjhunt
4e1132a8c5 forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
tjhunt
6cbcbf0fb3 blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page 2009-05-08 08:22:59 +00:00
stronk7
b78ed27edb MDL-15690, MDL-16518 backup - include roles with overrides (not only with assignments). Merged from 19_STABLE 2009-05-07 23:54:46 +00:00
tjhunt
f474a4e583 blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php 2009-05-07 08:55:10 +00:00
skodak
c9a433cdd6 MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE 2009-05-06 16:10:45 +00:00
tjhunt
bb46a4fa2a blocklib: MDL-19010 refactor blocklib to use block_manager to get the blocks for rendering 2009-05-06 09:15:05 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
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
danmarsden
062173b09b MDL-18818 - don't define var if already defined - happens when these functions are called more than once at a time. 2009-04-15 02:16:17 +00:00
tjhunt
34f07866ba filters: MDL-7336 backup and restore of local filter settings. 2009-04-13 07:06:02 +00:00
tjhunt
c9a2ecfa1b filters: MDL-7336 more preliminary refactoring of duplicated code in restore 2009-04-13 07:05:33 +00:00
tjhunt
7b8dcbc352 filters: MDL-7336 refactor in backup/restore ready for local filter settings. 2009-04-13 07:05:02 +00:00
dongsheng
1ed8e660fd "MDL-18540, change the uses of option" 2009-03-30 10:07:24 +00:00
skodak
ece874b5d1 MDL-18686 removing ancient readme file 2009-03-26 19:46:15 +00:00
dongsheng
7022dd3930 "MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile, merged from 1.9" 2009-03-26 02:09:28 +00:00
stronk7
53dd63837d MDL-18594 restore check - skip maintenance.html file on restore of sie files. Credit goes to Juan Segarra. Merged from 19_STABLE 2009-03-19 14:45:01 +00:00
stronk7
e78d66436e MDL-18482 restore skipping non selected activities. Merged from 19_STABLE 2009-03-12 23:16:21 +00:00
stronk7
382d4d9fbe MDL-18543 restore of role assignments / overrides - skip non-restored contexts. Merged from 19_STABLE 2009-03-12 22:21:57 +00:00
stronk7
b8f0d7d185 MDL-18468 restore preprocessing (split) - Added $CFG->experimentalsplitrestore option
to enable split of moodle.xml files into upto 19 smaller files for quicker restore.
Merged from 19_STABLE
2009-03-09 23:36:00 +00:00
danmarsden
283fc15670 MDL-15276 add check for RESTORE_SILENTLY 2009-03-04 02:44:05 +00:00
danmarsden
9d043b8c6b MDL-14736 Backup/Restore don't halt backup if can't delete temp files - just display notification and save error to log table 2009-03-03 01:18:16 +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
danmarsden
bc7ec91a0d MDL-12037 Backup Log - add new field to backup_log table to allow other backup related functions to save log data 2009-03-03 00:06:08 +00:00
dongsheng
57416b8016 "LANG/MDL-17620, add language string, merged from 1.9" 2009-02-26 02:33:04 +00:00
sam_marshall
0e633d845a MDL-18333: Conditional activities restore bug 2009-02-20 10:48:34 +00:00
stronk7
31f9d77191 MDL-18222 restore - fixed restoring of course->summary links. Was being handled too early. Moved to final decoding links process. Merged from 19_STABLE 2009-02-16 10:33:08 +00:00
stronk7
40c530f2d5 MDL-18066 import_backup_file_silently() - delete dangerous code ; merged from 19_STABLE 2009-02-06 01:56:14 +00:00
stronk7
204b15d50b MDL-8848 restore section summaries - now restored if target course have them empty ; merged from 19_STABLE 2009-02-04 17:22:56 +00:00
stronk7
8f7bd455d5 MDL-18066 import_backup_file_silently - reverting last commit. Merged from 19_STABLE 2009-01-30 13:19:19 +00:00
stronk7
569c693719 MDL-18066 - import_backup_file_silently - better handling of missing $USER. Merged from 19_STABLE 2009-01-30 09:58:59 +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
stronk7
0130c489f2 MDL-17886 backup & restore - Add some defaults to import_backup_file_silently()
Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE
2009-01-23 23:29:44 +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
skodak
eb6a973cdf MDL-17847 moev backup_config to config_plugin table 2009-01-11 15:49:35 +00:00
skodak
f1953d38f3 MDL-17847 moved backup install.xml and upgrade.php to core 2009-01-10 20:03:08 +00:00
tjhunt
13267548cf restorelib: fix incorrect indenting. 2009-01-09 06:35:21 +00:00
tjhunt
19f5b2dbee 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:36 +00:00