20 Commits

Author SHA1 Message Date
Petr Škoda
4c21b22043 MDL-36753 fix invalid sectionid in backup tests 2012-11-21 12:43:55 +01:00
Marina Glancy
384c3510a9 MDL-35339 Course functions unit tests 2012-10-15 14:08:14 +08:00
Adrian Greeve
a689cd1def MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
Petr Skoda
bb7898c6ab MDL-32569 convert remaining backup tests and drop old simpletests 2012-04-21 16:24:33 +02:00
Sam Hemelryk
d4e2d9463e MDL-32353 fixed up very minor whitespace 2012-04-16 15:23:05 +12:00
Eric Merrill
eba9236cea MDL-32353 backup: Flaw in settings logic for user info and anonymise 2012-04-12 11:01:08 -04: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
dbf5a44798 MDL-32149 add backup tests and dropping of extra tables 2012-04-03 22:30:54 +02:00
Eloy Lafuente (stronk7)
2a4ba40f31 MDL-28488 backup - '[backup|restore]:configure cap does not control import mode anymore 2011-09-11 19:09:59 +02:00
Eloy Lafuente (stronk7)
77c2ca69af MDL-28488 backup - make backup and import capabilities independent
Before this change, in order to perform one course import it was
necessary to have both the backupcourse and the backuptargetimport
capabilities. After agreement now each one will control its own
backup mode. Same applies for restore.
2011-09-09 17:46:21 +02:00
Eloy Lafuente
9af849fa73 MDL-24918 backup - fix setting use leading to wrong security check error 2010-10-28 18:04:35 +00:00
Sam Hemelryk
548f565f7d backup MDL-23437 Restore now locks the course_startdate setting if the user doesn't have the rolldates capability 2010-09-10 07:54:15 +00:00
Sam Hemelryk
86234a925a backup MDL-23437 Backup and restore now check moodle/backup|restore:configure capability and lock settings if the user does not have the cap 2010-09-10 07:38:13 +00:00
Eloy Lafuente
df7264331b MDL-23437 backup - restore security checks 2010-09-05 21:49:34 +00:00
Eloy Lafuente
fbc2778d1c MDL-21432 backup - rest of helper files 2010-07-06 22:35:02 +00:00
Eloy Lafuente
2e14f78bd7 MDL-21432 backup - enforce users = no on hub/import backups 2010-05-03 08:54:30 +00:00
Eloy Lafuente
3eeb2fd55d MDL-22141 backup - security always throw exception 2010-05-02 22:41:07 +00:00
Eloy Lafuente
c0772270d7 MDL-22141 implement security checks. sensible settings applied and locked 2010-05-02 22:02:02 +00:00
Eloy Lafuente
69dd0c8cbf MDL-21432 backup 2.0 - initial commit. util dir 2010-04-21 09:17:06 +00:00