370 Commits

Author SHA1 Message Date
Dan Poltawski
509b17c71d Merge branch 'MDL-32705' of git://github.com/timhunt/moodle 2012-08-21 12:37:43 +08:00
Dan Poltawski
34f5898f5e Merge branch 'MDL-34118' of git://github.com/timhunt/moodle 2012-08-21 12:29:16 +08:00
Eloy Lafuente (stronk7)
040d4c63be Merge branch 'MDL-34756-master' of git://github.com/FMCorz/moodle 2012-08-20 16:34:18 +02:00
Eloy Lafuente (stronk7)
53db05a507 Merge branch 'MDL-28531-master' of git://github.com/FMCorz/moodle 2012-08-20 16:28:09 +02:00
Jason Ilicic
b3e10b89e9 MDL-34529: Fixed ordering of course sections when performing import/restore by adding the sort parameter. 2012-08-20 14:00:45 +02:00
Nathan Mares
4cb18cb080 MDL-34372: Fix query in backup_cron_helper so it works on Postgres 8.3
Amended by stronk7@moodle.org to use uppercase SQL keywords.
2012-08-20 13:27:32 +02:00
Frederic Massart
d5bdbbba26 MDL-34756 Unit Tests: Move backup helper tests 2012-08-20 10:24:37 +08:00
Tim Hunt
3e3ae0ee11 MDL-34118 question backup: a mod can use usages in different ways.
An activity module might want to use question_usages in different ways.
We should suppport this, because it lets people make interesting
activities.

At the moment, the backup and restore code does not support this,
because it uses fixed element names for the question_usage element and
its children. This fix changes things so that a prefix can be appended
to all the element names.
2012-08-17 11:13:10 +01:00
Frederic Massart
4d91f7354e MDL-28531 Backup: Automated backups run when they are scheduled 2012-08-17 15:00:10 +08:00
Tim Hunt
f238bb73d1 MDL-32705 backup ui: add select all/none JavaScript on schema screens 2012-08-16 17:04:05 +01:00
Sam Hemelryk
c52c034064 Merge branch 'MDL-33531_master' of git://github.com/dmonllao/moodle 2012-08-15 11:24:45 +12:00
Petr Škoda
a8c7ff1aeb MDL-34741 remove old unused restore JS code 2012-08-11 20:40:10 +02:00
David Monllao
f4162effeb MDL-33531 backup Added format_string to course shortname 2012-08-10 08:45:26 +08:00
David Monllao
bde0eac589 MDL-33531 backup Avoiding possible Notice 2012-08-10 08:45:26 +08:00
Lorenzo Nicora
ab519e888b MDL-33531 Fixed the regexp to find old backup files, considering backup_shortname backup option 2012-08-10 08:45:26 +08:00
Aparup Banerjee
67ab929cbf Revert "Merge branch 'MDL-28531-master' of git://github.com/FMCorz/moodle"
This reverts commit e5d9cc13ac85df5fbd501ed1bc609875c829d3e1, reversing
changes made to 20c3e2534342bba4f6379573fbe28c89e0ec1d54.
2012-08-07 14:27:01 +08:00
Aparup Banerjee
e5d9cc13ac Merge branch 'MDL-28531-master' of git://github.com/FMCorz/moodle 2012-08-07 13:58:07 +08:00
Frederic Massart
3d515f4896 MDL-28531 Backup: Automated backups run when they are scheduled 2012-08-03 09:30:39 +08:00
Tim Hunt
9dfadf9e97 MDL-34707 backup UI: only include the JS once. 2012-08-02 18:40:49 +01:00
Sam Hemelryk
7d5f2ac2e6 Merge branch 'MDL-29007-master-3' of git://git.luns.net.uk/moodle 2012-07-31 12:05:38 +12: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
Andrew Robert Nicols
d2a27ab01b MDL-29007 Rename moodle-enrol-notification to moodle-core-notification 2012-07-25 16:22:18 +01:00
Dan Poltawski
e1980f8bb9 Merge branch 'w28_MDL-8249_m24_roletranslations' of git://github.com/skodak/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-07-10 09:43:23 +08:00
Petr Skoda
c52551dc3c MDL-8249 localise standard role names and descriptions if empty 2012-07-06 08:22:34 +02:00
Frederic Massart
d4a49ba291 MDL-29470 Backup: fixed unexpected next automated backup date 2012-07-05 09:29:03 +08:00
David Mudrák
7b5f67f77f MDL-33430 Notify user about file aliases failures at the final stage of the restore 2012-06-21 15:22:38 +02:00
David Mudrák
ff8734f21d MDL-33430 Give tasks an access to their current plan's results
This in turn provides access to the plan's results for both structure and
execution steps so they can register something useful there.
2012-06-21 12:28:09 +02:00
David Mudrák
83b2cc562d MDL-33430 Set newcontextid and newitemid when sending file to the pool 2012-06-21 02:31:18 +02:00
David Mudrák
4b6b087faf MDL-33430 Do not restore aliases yet, stash them for later processing 2012-06-21 02:29:34 +02:00
Dan Poltawski
ad9fa9712c Merge branch 'MDL-33756' of git://github.com/stronk7/moodle 2012-06-15 18:38:35 +08:00
Eloy Lafuente (stronk7)
936402278b MDL-33756 backup: converters only available in general course backups. 2012-06-15 02:27:18 +02:00
Eloy Lafuente (stronk7)
0961ca7998 MDL-33682 backup: keep old behavior, aka, use section number on empty section name. 2012-06-13 00:54:21 +02:00
Tim Hunt
ff5d6f8872 MDL-33682 backup: cope with sections called '0'
It was not previously possible to have a section called 0 because of
bugs in the standard course formats, but we hit this with the OU course
format. You got an exception because backup settings tested to see if
their lable was empty, which means a section name of '0' was fatal.
Should work now.
2012-06-12 17:46:47 +01:00
Eloy Lafuente (stronk7)
f0852f474b MDL-33630 backup: invalidate ids cache on temptable drop. 2012-06-10 04:57:40 +02:00
Eloy Lafuente (stronk7)
61aaad4833 Merge branch 'w23_MDL-33583_m23_keepall' of git://github.com/skodak/moodle 2012-06-08 01:56:06 +02:00
Petr Skoda
dbf7784e67 MDL-33583 really keep all automated backup files when told to do so 2012-06-07 11:05:15 +02:00
Petr Skoda
096702f698 MDL-30725 save automated external only backups directly to ext storage, do not pollute file pool
This solution is based on code by Tony Levi, thanks!
2012-06-07 10:49:48 +02:00
Sam Hemelryk
7df271d9b3 Merge branch 'MDL-27559-master-v2' of https://github.com/mackensen/moodle 2012-06-06 08:51:11 +12:00
Aparup Banerjee
380d472314 Merge branch 'wip-mdl-27120' of git://github.com/rajeshtaneja/moodle 2012-05-30 14:22:34 +08: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
Jason Ilicic
ec404105ae mdl-27120 Fixed incorrect variable in parameter when adding form dependencies. 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
Eloy Lafuente (stronk7)
fde4c60911 MDL-33364 automated backup: return and log each course result correctly 2012-05-28 02:44:24 +02:00