1769 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
38a9c86fcb MDL-30982 fix one incorrect defined() 2012-02-29 02:41:17 +01:00
David Mudrak
c1d4413e20 MDL-30982 Fixing invalid @example tag usage 2012-02-27 12:06:24 +01:00
David Mudrak
a75af402af MDL-30982 Activity module stepslib - API documentation 2012-02-27 11:59:43 +01:00
David Mudrak
85aad2ef97 MDL-30982 Documenting some parts of backup settings machinery 2012-02-27 11:59:43 +01:00
David Mudrak
f9dab4bed2 MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
David Mudrak
58b322cfd2 MDL-30982 Backup moodle2 files - phpDocs categorization 2012-02-27 11:59:42 +01:00
David Mudrak
cfab878c5d MDL-30982 Improving phpDocs for the class backup_activity_task 2012-02-27 11:59:42 +01:00
Eloy Lafuente (stronk7)
8c4988cd3b Merge branch 'MDL-31561' of git://github.com/kiklop74/moodle 2012-02-21 02:30:14 +01:00
Eloy Lafuente (stronk7)
a96fb50192 Merge branch 'MDL-31562' of git://github.com/kiklop74/moodle 2012-02-21 02:28:14 +01:00
Eloy Lafuente (stronk7)
f4319f8531 Merge branch 'wip-mdl-25432' of git://github.com/rajeshtaneja/moodle 2012-02-21 02:10:10 +01:00
Rajesh Taneja
5f1f726e68 MDL-25432 backup: Catching exception for orphan course modules and it's block (if any), and logging them, no exception will be thrown for this now. 2012-02-20 09:28:55 +08:00
Eloy Lafuente (stronk7)
ee1dc83574 MDL-31532 restore: avoid null course->hiddensections problems. Credit goes to Petri Asikainen. Thanks! 2012-02-20 01:34:25 +01:00
Darko Miletic
5b6d8a05f4 MDL-31562: Implemented support for exporting labels, minor additional
cleanups
2012-02-08 16:11:59 -03:00
Darko Miletic
5758596b95 MDL-31561: Implemented fix for honoring correct number of course
sections
2012-02-08 16:01:55 -03:00
Eloy Lafuente (stronk7)
ade31f5f4f Merge branch 'MDL-31314' of git://github.com/timhunt/moodle 2012-01-31 17:06:01 +01:00
Tim Hunt
a60835c721 MDL-31314 gradebook restore: fix category.depth on restore.
Without this, restoring backups made with the OU's custom 'restore from
1.9' feature, and possibly other people's custom converstion code, does
not work properly.

Also, fix poor recordset code.
2012-01-30 12:31:43 +00:00
David Mudrak
10d7dac528 MDL-31317 original_site_identifier_hash falls back to null during the backup conversion
Even if the site identifier is not defined in the source 1.9 backup then the
converted 2.0 version should still contain the element to prevent PHP
notices on direct assignment.
2012-01-27 08:48:37 +01:00
Sam Hemelryk
235fcb6632 Merge branch 'w04_MDL-31172_m23_fullpath' of git://github.com/skodak/moodle 2012-01-23 16:09:41 +08:00
Petr Skoda
64cec5b2b0 MDL-31172 fix variable name typo in backup file logger 2012-01-21 20:19:34 +01:00
Petr Skoda
46f0e774f3 MDL-31173 fix variable name typo when throwing invalid $rule param exception in restore decode processor 2012-01-21 20:14:58 +01:00
Petr Skoda
927010240f MDL-31006 some more PHP54 notices
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +01:00
Eloy Lafuente (stronk7)
fb051bf072 Merge branch 'MDL-30783_t2' of git://github.com/kiklop74/moodle 2012-01-09 21:47:16 +01:00
Eloy Lafuente (stronk7)
3c4500f5c7 Merge branch 'MDL-30778_t2' of git://github.com/kiklop74/moodle 2012-01-09 00:41:55 +01:00
Sam Hemelryk
cf6d069afd Merge branch 'MDL-31017' of git://github.com/stronk7/moodle 2012-01-05 11:17:31 +13:00
Eloy Lafuente (stronk7)
fb95ef9ecd MDL-31017 whitespace clean - take1 2012-01-04 16:27:32 +01:00
Eloy Lafuente (stronk7)
831e48be01 Merge branch 'w52_MDL-30950_m23_adminblock' of git://github.com/skodak/moodle 2012-01-03 22:33:11 +01:00
Darko Miletic
afd2700f26 MDL-30783: Implemented fix 2011-12-30 12:33:57 -03:00
Darko Miletic
7db3d6216d MDL-30778: Implemented intendeduserrole support 2011-12-30 12:16:59 -03:00
Petr Skoda
9574c2ef0d MDL-30950 remove references to removed admin block
Credit goes to Ralf Hilgenstock.
2011-12-30 12:04:41 +01:00
Petr Skoda
daca599ff1 MDL-30943 fix forgotten admin/report/ references 2011-12-28 19:36:23 +01:00
Eloy Lafuente (stronk7)
90022d184e Merge branch 'MDL-30777_t2' of git://github.com/kiklop74/moodle 2011-12-21 00:38:48 +01:00
Eloy Lafuente (stronk7)
bda8c9c92f Merge branch 'MDL-30631' of git://github.com/kiklop74/moodle 2011-12-20 22:02:11 +01:00
Darko Miletic
75c95c8b02 MDL-30777: Properly implemented error message 2011-12-20 11:06:50 -03:00
Darko Miletic
986dc51a72 MDL-30631: Fixed the default grade import for the question for both CC
1.0 and 1.1
2011-12-15 17:14:10 -03:00
Eloy Lafuente (stronk7)
4d856332e4 MDL-28180 backup - on restore always prevent completion_aggr_methd dupes
This covers the last case where dupes could be happening in the
completion_aggr_methd table: Restoring one complete course into
an existing one, adding information. Now we always check if the
aggr_method exists before inserting it.
2011-12-12 00:31:44 +01:00
Eloy Lafuente (stronk7)
184acafab6 MDL-28180 backup - set excluded activities for any non-course operation 2011-12-12 00:30:58 +01:00
Eloy Lafuente (stronk7)
5b14551371 MDL-30466 Backup: delete empty method 2011-11-29 19:47:25 +01:00
Eloy Lafuente (stronk7)
457e9ab606 Merge branch 'wip-mdl-30466' of git://github.com/rajeshtaneja/moodle 2011-11-29 19:45:39 +01:00
Eloy Lafuente (stronk7)
2321e0d661 Merge branch 'MDL-30444' of git://github.com/kiklop74/moodle 2011-11-29 16:39:22 +01:00
Eloy Lafuente (stronk7)
8192d3cf43 Merge branch 'MDL-30435' of git://github.com/kiklop74/moodle 2011-11-29 15:54:28 +01:00
Rajesh Taneja
3c33d77817 MDL-30466 Backup: Fixed duplicate completion record check error 2011-11-28 14:12:41 +08:00
Eloy Lafuente (stronk7)
66d8f36b9e Merge branch 'MDL-30456' of git://github.com/stronk7/moodle 2011-11-25 03:22:09 +01:00
Eloy Lafuente (stronk7)
ef77af3852 MDL-30456 backup - avoid missing deleted users on backup 2011-11-25 03:16:53 +01:00
Eloy Lafuente (stronk7)
ede7105fd9 MDL-27233 move the restorer enrol/ra creation to the very beginning of the restore process
Some early steps in restore are using capability checks to decide how to
restore some information. But at that stage, if the course contents have
been removed and the user had perms at course level only (usually teacher)
the process can fail because some content is not restoreable due to the
lack of permissions.

Moving the restorer step to the beginning really helps is those situations
and it does not hurt at all.

Also, fixed one notice detected when testing this.
2011-11-25 01:07:27 +01:00
Eloy Lafuente (stronk7)
0620787a17 Merge branch 'w47_MDL-27233_m22_restoreenrol' of git://github.com/skodak/moodle 2011-11-24 23:44:24 +01:00
Sam Hemelryk
7355a8e4b7 Merge branch 'wip-mdl-30391' of git://github.com/rajeshtaneja/moodle 2011-11-25 11:29:33 +13:00
Darko Miletic
adf8f7a172 MDL-30435: updated xpath query for CC 1.0 and improved url validity
detection
2011-11-24 17:42:16 -03:00
Darko Miletic
4f26504015 MDL-3044: Fixed validation issue related to the incorrect definition of
xs:language type. All xs:language instances are replaced with xs:token
type. It relaxes validation enough for all the complex or dummy language
strings to be accepted.
2011-11-24 15:40:35 -03:00
Petr Skoda
1f238ad4df MDL-27233 fix variable names
Thanks Eloy!
2011-11-24 10:40:38 +01:00
Petr Skoda
73d000f389 MDL-27233 allow adding of default role to restorers 2011-11-23 18:38:27 +01:00