1488 Commits

Author SHA1 Message Date
Sam Hemelryk
e1ce7c7e7b Merge branch 'MDL-26896' of git://github.com/stronk7/moodle 2011-04-11 14:48:01 +08:00
Eloy Lafuente (stronk7)
14e6710d99 MDL-26896 parser - add start/end path notifications 2011-04-11 02:16:58 +02:00
Aparup Banerjee
ca3617c513 MDL-26319 moved cancel_backup() from backup_ui to cancel_process() in base_ui and renamed callers. fix for method inheritance in restore_ui. 2011-04-07 10:39:34 +08:00
Dan Marsden
7fd4730805 Plagiarism MDL-26939 - missing return 2011-03-24 14:46:35 +13:00
Dan Marsden
571ae25286 MDL-21432 backup - add plagiarism plugin hooks for course and module 2011-03-14 11:44:14 +01:00
sam marshall
69ae86ea5f MDL-26606 Theme backup: Minor improvement to make it more consistent with other backup 2011-03-10 12:57:27 +00:00
Petr Skoda
25ca24d59f Merge branch 'MDL-25388_restore_activities_target' of git://github.com/stronk7/moodle 2011-03-07 12:32:46 +01:00
Eloy Lafuente (stronk7)
4b43b1074f backup MDL-26572 add new param to plugin and subplugin functions 2011-03-07 00:16:25 +01:00
Eloy Lafuente (stronk7)
07a36633f9 Merge branch 'MDL-26572_backup_sum' of git://github.com/andyjdavis/moodle 2011-03-07 00:10:16 +01:00
Eloy Lafuente (stronk7)
165b7bd987 MDL-25388 restore - confusing options restoring 1-activity 2011-03-04 19:45:43 +01:00
sam marshall
89213d0041 backup MDL-26606 Backup should allow themes to have course data; also fix course theme restore 2011-03-04 15:53:48 +00:00
Andrew Davis (andyjdavis)
98529b009b backup MDL-26572 made restore store null instead of 0 2011-03-04 12:14:00 +08:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
David Mudrak
29cbe43189 MDL-13481 Strings fullname and shortname are now deprecated
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.

AMOS BEGIN
 CPY [fullname,core],[outcomefullname,core_grades]
 CPY [shortname,core],[outcomeshortname,core_grades]
 CPY [name,core],[rolefullname,core_role]
 CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Eloy Lafuente (stronk7)
e4f72d1428 MDL-26513 restore - observe target site restrictmodulesfor setting 2011-02-21 15:58:20 +01:00
Petr Skoda
3bc644ce70 Merge branch 'MDL-26405_take_two' of git://github.com/stronk7/moodle 2011-02-16 20:24:54 +01:00
Eloy Lafuente (stronk7)
0149e6c713 MDL-26405 restore - dispatch able to skip branches
after this change any restore_structure_step processor
method is able to instruct the dispatcher about to skip
any path below it. Until now, we were doing the checks on
each child processor method, but that was inneficient and
prone to errors (easy to miss the check in a child so some
orphaned piezes of restore may be causing mess here and there).
Once implemented, it's simlpy a matter of the parent deciding if
all its children must be processed or no. Easier for developers
and also small speed improvement because avoids unnecesary
dispatching/processing to happen.

Surely only will be used in parts of core, like in question_categories,
saving 50-60 sub processors (sub-paths) to be dispatched.
2011-02-16 19:13:56 +01:00
Petr Skoda
c9e12de4e3 Merge branch 'MDL-26405_qtype_exception_wip' of git://github.com/stronk7/moodle 2011-02-16 09:59:14 +01:00
Eloy Lafuente (stronk7)
0ff7159edb MDL-26405 restore - incorrectly thrown exception 2011-02-15 23:28:00 +01:00
Eloy Lafuente (stronk7)
8afbe44f7d MDL-25863 backup - fix removal of old automated backup, both in filearea and filesystem 2011-02-14 21:38:45 +01:00
Eloy Lafuente (stronk7)
02cf691951 MDL-25863 backup - take rid of dupe code for filename calculations 2011-02-14 21:36:27 +01:00
Petr Skoda
251e5a8b62 Merge branch 'MDL-22146_backup_course_format_wip' of git://github.com/stronk7/moodle 2011-02-14 21:08:19 +01:00
Petr Skoda
995b6ff605 Merge branch 'MDL-26229_restore_attempts_wip' of git://github.com/stronk7/moodle 2011-02-14 21:02:49 +01:00
Petr Skoda
d2592c9b54 Merge branch 'MDL-26399_oracle_restore_wip' of git://github.com/stronk7/moodle 2011-02-14 20:34:58 +01:00
Eloy Lafuente (stronk7)
d84fe4c8a6 MDL-26399 restore - fix oracle/mssql problems 2011-02-14 19:42:57 +01:00
Petr Skoda
743fff98dc MDL-26142 fix immediately spelling in strings, comments and code 2011-02-13 11:36:46 +01:00
Eloy Lafuente (stronk7)
945962a45d MDL-26229 restore - prevent tag-conflicting structures to be created 2011-02-12 02:40:38 +01:00
Eloy Lafuente (stronk7)
5539e69862 MDL-26229 restore - parser improvements (repetitions and skipped tags) 2011-02-12 02:19:02 +01:00
Eloy Lafuente (stronk7)
a90659d6ba DL-22146 backup & restore - course formats remaining hooks 2011-02-11 00:07:32 +01:00
Eloy Lafuente (stronk7)
e5169d5229 MDL-22146 backup & restore - copy/paste fix 2011-02-10 15:36:03 +01:00
Eloy Lafuente (stronk7)
4ab111b9bf MDL-22146 backup & restore - extending the backup plugins API 2011-02-10 12:14:00 +01:00
Eloy Lafuente (stronk7)
1e37c39180 MDL-22146 backup & restore - extending the restore plugins API 2011-02-10 11:34:41 +01:00
Eloy Lafuente (stronk7)
4fda584f28 MDL-22146 backup & restore - course formats first cut 2011-02-10 10:37:36 +01:00
Sam Hemelryk
80c1289773 MDL-25637 Fixed whitespace 2011-01-24 16:20:30 +08:00
Aparup Banerjee
2b9ce62e23 performance MDL-25637 converted tabs to spaces 2011-01-24 15:49:18 +08:00
Aparup Banerjee
f179cdb73e performance MDL-25637 some of more similar performance tweaks to come 2011-01-24 14:51:21 +08:00
Eloy Lafuente
77151075dc NOBUG: Changed to _sql() variant to properly use sql_compare_text(). Kudos to aparup for latest improvs. in where_clause() 2010-11-24 14:55:29 +00:00
Eloy Lafuente
636444e8b6 MDL-25019 backup - course_startdate may not exist 2010-11-24 10:46:15 +00:00
Sam Hemelryk
edf577d2cd backup-cancel MDL-25244 Added missing YUI module requirement 2010-11-19 02:51:07 +00:00
Eloy Lafuente
295474bda9 MDL-25310 backup - Bump! 2010-11-18 21:35:40 +00:00
Sam Hemelryk
92f3345773 backup MDL-25283 Fixed regression in restore by adding destroy method to independent restore stages. 2010-11-18 07:09:09 +00:00
Sam Hemelryk
44bb101dfe backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion. 2010-11-18 02:09:23 +00:00
Sam Hemelryk
ca1292e014 backup MDL-24962 Automated backups now explicitly destroy the backup controller created at the end of a backup for a course. 2010-11-18 01:35:16 +00:00
Eloy Lafuente
f81f513325 MDL-25161 restore - keep course->numsections unmodified 2010-11-15 17:10:11 +00:00
Eloy Lafuente
8231bb159b MDL-24962 backup - clean plan/settings circular refs on restore 2010-11-15 16:08:02 +00:00
Eloy Lafuente
f2364c93ed MDL-24962 backup - cache xmldb_tables for multiple operations. Apply destroyer to temp controller. 2010-11-15 07:17:24 +00:00
Eloy Lafuente
ab1c069e11 MDL-24962 backup - circular refs. cleaner in backup_controller 2010-11-15 07:16:51 +00:00
Eloy Lafuente
287e804058 MDL-24962 backup - circular refs destroyer for backup settings 2010-11-15 07:16:24 +00:00
Eloy Lafuente
4f6ed68c1c MDL-24962 backup - circular refs destroyer for backup plan 2010-11-15 07:15:48 +00:00
Sam Hemelryk
081c914b39 backup MDL-25183 Added a dedicated CLI script for running automated backups 2010-11-12 07:05:18 +00:00