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
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
Rossiani Wijaya
f9f281b8fe
MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag
2012-03-30 16:26:58 +08:00
Petr Skoda
caee6e6c26
MDL-32251 E_STRICT fixes part 3
2012-03-29 15:24:30 +02:00
Petr Skoda
748e96512b
MDL-32095 fix backup API to be E_STRICT compatible
2012-03-26 16:04:16 +02:00
Petr Skoda
5ec6c45fd4
MDL-32095 fix backup API to be E_STRICT
2012-03-26 15:30:04 +02:00
Sam Hemelryk
8149d6240a
MDL-19125 lib: Fixed up inline comments during integration
2012-03-19 10:08:47 +13:00
Tim Hunt
9665ecd275
MDL-19125 module restrictions: use a capability
...
1. This used to use a complex legacy system which was buggy.
2. It now relies on a new mod/...:addinstance capability for each module.
3. All the legacy code has been stripped out.
4. Old restriction data is upgraded by creating the necessary permission
overrides. Similarly, when old backups are restored, the old settings
are converted to be overrides.
5. The required addinstance capabilities will be added as a separate
commit.
6. There is a developer debug warning about modules that are missing the
addinstance capability, unless they are MOD_ARCHETYPE_SYSTEM mods.
2012-03-15 17:11:27 +00:00
Sam Hemelryk
00f286ed7b
MDL-31175 backup: Fixed undefined in register_dependency
2012-03-12 09:42:50 +13:00
Eloy Lafuente (stronk7)
2ed7cc2730
Merge branch 'w10_MDL-31301_m23_textlibcleanup' of git://github.com/skodak/moodle
2012-03-06 16:06:53 +01:00