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
Dongsheng Cai
ac0628e913
MDL-33177 Fixed restore warning when backup has external contents
2012-05-22 14:43:06 +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
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
Charles Fulton
66150286b5
MDL-28657 backup: make automated backup filenames site admin-configurable
2012-04-20 08:52:56 -07:00
Dan Poltawski
04b16edb6d
Merge branch 'w16_MDL-32434_m23_droptemp' of git://github.com/skodak/moodle
2012-04-16 13:40:32 +08:00
Sam Hemelryk
d4e2d9463e
MDL-32353 fixed up very minor whitespace
2012-04-16 15:23:05 +12:00
Petr Skoda
a66b2ae4f4
MDL-32434 deprecate drop_temp_table() in favour of drop_table()
2012-04-15 12:23:15 +02:00
Eric Merrill
eba9236cea
MDL-32353 backup: Flaw in settings logic for user info and anonymise
2012-04-12 11:01:08 -04:00
Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Dan Poltawski
7a1ed64587
Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle
2012-04-11 09:32:58 +08:00
Eloy Lafuente (stronk7)
6565d55a34
MDL-22895 backup: minor fixes
2012-04-11 01:47:53 +02:00
Eloy Lafuente (stronk7)
f229d83c11
Merge branch 'MDL-22895-master' of git://github.com/ankitagarwal/moodle
2012-04-11 01:44:39 +02:00
Petr Skoda
3f1e87973f
MDL-32323 always create test dirs using standard functions and close handles before delete
2012-04-10 15:27:07 +02:00
Petr Skoda
bd4d412a10
MDL-32323 do not write to system /tmp/ in tests
2012-04-10 15:27:07 +02:00
Sam Hemelryk
5bfeb5ffd3
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
2012-04-10 12:34:37 +12:00
Petr Skoda
4b02743182
MDL-32149 improve testcase naming and list in config file
2012-04-03 22:30:57 +02:00
Petr Skoda
1cbf2a20ca
MDL-32149 setUp() and tearDown() are supposed to be 'protected', add missing blog testcase
2012-04-03 22:30:56 +02:00
Petr Skoda
4ac88d6d10
MDL-32149 remaining phpunit tests for backup/restore
2012-04-03 22:30:55 +02:00
Petr Skoda
dbf5a44798
MDL-32149 add backup tests and dropping of extra tables
2012-04-03 22:30:54 +02:00
Eloy Lafuente (stronk7)
c9d1f4338b
MDL-32251 Two more E_STRICT detected on tests execution
2012-04-03 21:59:25 +02:00
Ankit Agarwal
8331a159c5
MDL-22895 backup: Adding the feature to support backing up and restoring calendar events
2012-04-02 13:58:33 +08:00