1855 Commits

Author SHA1 Message Date
Aparup Banerjee
380d472314 Merge branch 'wip-mdl-27120' of git://github.com/rajeshtaneja/moodle 2012-05-30 14:22:34 +08:00
Rossiani Wijaya
6b0e5f4d6d MDL-32766 course view section log: fixed the forth param for restore rule specification to use course_section 2012-05-30 15:41:07 +12:00
Dan Poltawski
0a16fa45ec Merge branch 'wip-MDL-33373-master' of git://github.com/marinaglancy/moodle 2012-05-30 11:03:11 +08:00
Marina Glancy
f1bd371c79 MDL-33373 fixed bug in backup of files as a regression from MDL-28666 2012-05-30 10:11:41 +08:00
Rajesh Taneja
e7b24943e6 MDL-27120 backup: fixed docblock and code cleanup 2012-05-29 16:22:45 +08:00
Tony Levi
7f98b12f91 MDL-27120: Cache DB operations in restore_dbops 2012-05-29 14:44:07 +08:00
Tony Levi
066af1bbc7 MDL-27120: Cache dirname transformations in progressive_parser::dirname 2012-05-29 14:44:07 +08:00
Adam Olley
28729e23a4 mdl-27120 Fix static cache for backup_xml_transformer::register_link_encoders() 2012-05-29 14:44:07 +08:00
Jason Ilicic
ec404105ae mdl-27120 Fixed incorrect variable in parameter when adding form dependencies. 2012-05-29 14:44:07 +08:00
Ashley Holman
d729ef29cf MDL-27120 Add global cache to backup_xml_transformer::register_link_encoders() 2012-05-29 14:44:07 +08:00
Ashley Holman
631764ea2f MDL-27120 More efficient use of QuickForms in backup UI 2012-05-29 14:44:06 +08:00
Ashley Holman
f213bbd77a MDL-27120 backup: replace sequential scan search with hash-based lookup. 2012-05-29 14:44:06 +08:00
Aparup Banerjee
7f1fcda5ad Revert "Merge branch 'wip-mdl-27120' of git://github.com/rajeshtaneja/moodle"
MDL-27120 backup: reverting due to phpunit failure at backup/converter/moodle1/tests/fixtures/lib_test.php test_stash_storage()

This reverts commit c70b7fd81fa8d40e453ad7f5fa1759df48ae549f, reversing
changes made to e6f55285852d7dd7dd669578934c5d5b0f7e6557.
2012-05-29 14:29:09 +08:00
Aparup Banerjee
c70b7fd81f Merge branch 'wip-mdl-27120' of git://github.com/rajeshtaneja/moodle 2012-05-29 10:26:21 +08:00
Sam Hemelryk
48cb6e0b1c Merge branch 'MDL-33364' of git://github.com/stronk7/moodle 2012-05-28 13:51:22 +12:00
Eloy Lafuente (stronk7)
fde4c60911 MDL-33364 automated backup: return and log each course result correctly 2012-05-28 02:44:24 +02:00
Sam Hemelryk
c31081d0a4 Merge branch 'MDL-32766' of git://github.com/rwijaya/moodle
Conflicts:
	version.php
2012-05-28 11:19:06 +12:00
Dongsheng Cai
ac0628e913 MDL-33177 Fixed restore warning when backup has external contents 2012-05-22 14:43:06 +08:00
Rossiani Wijaya
15a848ba90 MDL-32766 course log: specify log for viewing course section 2012-05-22 13:50:40 +08:00
Dan Poltawski
2b4f1cbc32 Merge branch 'wip-files23' of git://github.com/marinaglancy/moodle 2012-05-21 18:19:32 +08:00
Dan Poltawski
04acd26663 Merge branch 'MDL-33079' of git://github.com/stronk7/moodle 2012-05-21 13:26:36 +08:00
Dongsheng Cai
6723372514 MDL-28666 Extends repository to support references
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Rajesh Taneja
f2bfe26aea MDL-27120 backup: fixed docblock and code cleanup 2012-05-21 11:02:16 +08:00
Tony Levi
0c99b72299 MDL-27120: Cache DB operations in restore_dbops 2012-05-21 11:02:16 +08:00
Tony Levi
55f6d9d378 MDL-27120: Cache dirname transformations in progressive_parser::dirname 2012-05-21 11:02:16 +08:00
Adam Olley
16bf868513 mdl-27120 Fix static cache for backup_xml_transformer::register_link_encoders() 2012-05-21 11:02:16 +08:00
Jason Ilicic
67bf69416e mdl-27120 Fixed incorrect variable in parameter when adding form dependencies. 2012-05-21 11:02:16 +08:00
Ashley Holman
588605efa6 MDL-27120 Add global cache to backup_xml_transformer::register_link_encoders() 2012-05-21 11:02:16 +08:00
Ashley Holman
01ab87feda MDL-27120 More efficient use of QuickForms in backup UI 2012-05-21 11:02:16 +08:00
Ashley Holman
9e4b9a00cc MDL-27120 backup: replace sequential scan search with hash-based lookup. 2012-05-21 11:02:16 +08:00
Eloy Lafuente (stronk7)
128af10645 MDL-32005 Avoid some notices restoring old backup files without idnumber 2012-05-18 13:36:03 +02:00
Eloy Lafuente (stronk7)
ad4dc7d265 MDL-33079 Enable IMS-CC export (backup converter) 2012-05-18 01:35:07 +02:00
Dan Poltawski
12ba24a8f8 Merge branch 'MDL-24419' of git://github.com/stronk7/moodle 2012-05-17 11:19:02 +08:00
Eloy Lafuente (stronk7)
71cbb2516b MDL-24419 (6): Backup and restore fixes and improvements
- annotate used grouping
- reorganize restore methods
- roll availability dates
- observe $CFG->enableavailability
- observe $CFG->enablegroupmembersonly
- TODO: 2 TODOs
2012-05-17 03:58:51 +02:00
Sam Hemelryk
333127136a Merge branch 'MDL-23016c' of git://github.com/srynot4sale/moodle 2012-05-17 11:53:08 +12:00
Eloy Lafuente (stronk7)
dd420abadf Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
Conflicts:
	lib/db/upgrade.php
	lib/phpunit/lib.php
	version.php

Fixed:
    lib/db/upgrade.php - duplicate course->sectioncache add code
    lib/db/install.xml - cleanup needed because xmldb editor was not used
    lib/phpunit/classes/util.php - cleanup $GROUPLIB_CACHE on test reset
2012-05-16 23:53:47 +02:00
Aaron Barnes
1d09e12936 MDL-32016 unit tests: Remove hard coded file hash and calculate dynamically 2012-05-16 11:55:39 +12:00
Andrew Robert Nicols
74b714df7e MDL-32005 Add idnumber field to groups and groupings 2012-05-15 09:38:51 +01:00
sam marshall
ce4dfd2703 MDL-24419 (4): Add conditional availability support to sections; section cache
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.

This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)

In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.

The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
sam marshall
1cf121e1d2 MDL-24419 (1): Core restore steps should have after_restore function
At present core restore steps cannot have an after_restore function,
even though plugin restore steps can. Technically it would be possible
to just override the launch_after_restore_methods function but this
is not very neat. Instead, I added code to call after_restore function
(exactly the same way after_execute works).
2012-05-14 11:15:14 +01:00
Dan Poltawski
637bc17400 MDL-32508 backup: coursedisplay now included in backup 2012-05-04 11:00:53 +08:00
Aparup Banerjee
648baa788c Merge branch 'MDL-28657-master' of https://github.com/mackensen/moodle 2012-05-02 13:55:39 +08:00
Dan Poltawski
e5055d3e5e Merge branch 'master_MDL-32102' of git://github.com/danmarsden/moodle 2012-04-24 15:17:43 +08:00
Eloy Lafuente (stronk7)
93f9755c74 MDL-29262 phpunit: fix forgotten mock objects to avoid strict notices 2012-04-23 15:01:14 +02:00
Dan Poltawski
e0ed91ba39 Merge branch 'MDL-29262' of git://github.com/stronk7/moodle
Conflicts:
	version.php
2012-04-23 12:42:16 +08:00
Dan Marsden
cbed6472b4 MDL-32102 Course completion - only restore user completion if not adding to existing course 2012-04-23 11:30:11 +12:00
Eloy Lafuente (stronk7)
749fd68cbb MDL-29262 restore: Clean controller obj form DB once finished ok 2012-04-23 00:14:32 +02:00
Eloy Lafuente (stronk7)
6e803b9fe4 MDL-29262 backup: Clean controller obj form DB once finished ok 2012-04-23 00:03:37 +02:00
Petr Skoda
4ca04fb58b MDL-32569 remove remaining references to simpletest and improve events test 2012-04-21 17:08:30 +02:00
Petr Skoda
bb7898c6ab MDL-32569 convert remaining backup tests and drop old simpletests 2012-04-21 16:24:33 +02:00