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
Aparup Banerjee
648baa788c
Merge branch 'MDL-28657-master' of https://github.com/mackensen/moodle
2012-05-02 13:55:39 +08: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
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
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
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
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
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
Sam Hemelryk
9394d86367
Merge branch 'MDL-26037' of git://github.com/stronk7/moodle
2012-03-05 14:03:34 +13:00
Petr Skoda
6f3451e540
MDL-31301 remove all uses of moodle_strtolower() and deprecated it
2012-03-03 11:46:26 +01:00
Eloy Lafuente (stronk7)
cb7fc350cb
MDL-26037 restore: fixes for mssql, php 5.4 and small improvs
2012-03-01 13:18:45 +01:00
Tony Levi
a4df8560cc
MDL-26037: import: display search box even when no courses are currently displayed
2012-03-01 13:18:45 +01:00
Tony Levi
d0c94a1e84
MDL-26037: restore/import: check through all courses instead of only first 250
2012-03-01 13:18:45 +01:00
Eloy Lafuente (stronk7)
ac6dc09c26
MDL-29248 backup: take rid of the setting and code handling the 'private' user filearea
2012-03-01 13:09:47 +01:00
Eloy Lafuente (stronk7)
f88224624d
MDL-29248 backup: delete user_files settings, lang strings and uses
2012-03-01 13:09:47 +01:00
David Mudrak
85aad2ef97
MDL-30982 Documenting some parts of backup settings machinery
2012-02-27 11:59:43 +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
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
Petr Skoda
daca599ff1
MDL-30943 fix forgotten admin/report/ references
2011-12-28 19:36:23 +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)
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
Petr Skoda
d53e3298c0
MDL-27233 add new options to keep enrols and groups purging existing course in restore
2011-11-23 18:38:27 +01:00
Eloy Lafuente (stronk7)
43fb30d652
Merge branch 'wip-mdl-30394' of git://github.com/rajeshtaneja/moodle
2011-11-23 13:37:37 +01:00
Rajesh Taneja
d6e23c1466
MDL-30394 Backup: Removed popup, inserted by 27790 during restore in new course
2011-11-22 12:03:26 +08:00
Eloy Lafuente (stronk7)
1acad8eed7
MDL-30192 restore - prevent any extra info to be created for deleted users
2011-11-18 13:03:08 +01:00
Eloy Lafuente (stronk7)
acb8164304
MDL-29956 ims-cc - disabling export and cleaning some unused code
...
This commits cleans some code (settings and dependencies)
and one file included previous by error.
Also it disables all the IMS-CC export feature by default, being
possible to enable it under demand by setting (@ config.php):
$CFG->enablebackupconverters = true;
2011-11-14 21:32:05 +01:00
Mark Nielsen
42dffc6feb
MDL-29956: Implement common cartridge export (r16882)
2011-11-14 21:25:08 +01:00