Eloy Lafuente (stronk7)
fb1788c598
Merge branch 'MDL-40424-master' of git://github.com/FMCorz/moodle
...
Conflicts:
admin/oacleanup.php
2013-07-17 01:21:51 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224
MDL-40220 use new core_component::get_plugin_types()
2013-07-16 22:31:48 +02:00
Russell Smith
42574d0900
MDL-40584 backup: Query db once per category in precheck
...
The cache is function local and testing against a large database
indicates 10k questions is a large category. Restore already
uses MEMORY_EXTRA and that will have enough space for the couple
of megabtyes a local sql hash will introduce.
2013-07-15 16:44:45 +10:00
Damyon Wiese
d7bf5fd1f7
Merge branch 'MDL-40440-m' of git://github.com/andrewnicols/moodle
2013-07-15 14:42:10 +08:00
Russell Smith
f27cb59c36
MDL-40585 backup: cache XML parent paths
...
For $this->groupedpaths, using a key is faster as there is
no need to do in_array searches.
Parent cache allows dirname calls to be substantially reduced.
2048 was chosen as a cache size as this class operates on chunks
of the restore at a time, 8k questions produces a parent cache of
about 500 paths and uses 300K of memory. Scaling up to 2048 will
use about 1.2M of RAM for really large restores. This is acceptable
for the 48% function call reduction and the 10% runtime improvement
seen.
2013-07-15 15:07:35 +10:00
Frederic Massart
2e4c0c9181
MDL-40424 libraries: Deprecate context_instance_preload_sql()
2013-07-12 17:41:49 +08:00
Ankit Agarwal
db314f34fb
MDL-40425 libraries: Remove context_instance_preload() from core
2013-07-09 15:55:51 +08:00
Frederic Massart
8e8891b76b
MDL-40403 libraries: Deprecate get_parent_contexts()
2013-07-09 13:34:44 +08:00
Yuliya Bozhko
2832093f53
MDL-39558 badges: Add backup/restore to course badges
2013-07-03 09:35:06 +08:00
Andrew Nicols
100360f96c
MDL-40440 Backup: Skip files that already exist
2013-07-02 11:13:03 +01:00
Sam Hemelryk
11fb83fee8
Merge branch 'MDL-40109_master-fix' of git://github.com/dmonllao/moodle
2013-06-19 14:06:41 +12:00
David Monllao
2532b034f4
MDL-40109 behat: Fixing backup feature
2013-06-19 08:53:08 +08:00
Eloy Lafuente (stronk7)
d745d2d45e
MDL-40103 Now xmldb code matches original templates 100%
...
There were still some differences between the php code
used in the issue and the php code generated by the
xmldb editor for the template tables. This commit put
both 100% in sync.
2013-06-18 15:22:51 +02:00
Dan Poltawski
6ef007def6
Merge branch 'MDL-37761-m' of git://github.com/andrewnicols/moodle
2013-06-18 16:47:18 +08:00
Andrew Nicols
b1850c12c1
MDL-37761 Backup: Do not include files in backups when importing courses/activities
...
When we import courses or duplicate activities, the deduplicating nature of
the file_storage system means that we don't actually have to include the
real files in the backup - just their metadata from the file table.
The restoration process needs to know not to expect files from the backup
phase so a flag is set in moodle_backup metadata.
2013-06-18 07:52:04 +01:00
Andrew Nicols
f1454424b5
MDL-40165 Backup: Split out test classes into multiple files
2013-06-18 06:25:13 +01:00
Marina Glancy
5883de26ae
Merge branch 'MDL-40165-m' of git://github.com/andrewnicols/moodle
2013-06-18 12:59:04 +10:00
Sam Hemelryk
36096f0fe9
Merge branch 'MDL-39634_master' of git://github.com/dmonllao/moodle
2013-06-18 14:51:06 +12:00
Eloy Lafuente (stronk7)
27c07947c4
MDL-40103 Fix wrong call, causing restore to fail.
2013-06-18 01:30:14 +02:00
Russell Smith
62d6f183c4
MDL-40103 Backup: Move install.xml templates to inline XML
2013-06-15 15:07:03 +10:00
David Monllao
051e9663f0
MDL-39634 behat: Removing unused arguments
...
Also adding deprecated methods.
2013-06-14 16:14:04 +08:00
Andrew Nicols
fd66d1de70
MDL-40165 Backup: Split out test classes into multiple files
2013-06-13 08:55:54 +01:00
David Monllao
69a397cd2c
MDL-39795 behat: Adapting features to consider spaces
2013-05-27 14:24:20 +08:00
David Monllao
5d7b6307b1
MDL-39586 behat: Closed list of stackeholders
2013-05-09 18:38:13 +08:00
Eloy Lafuente (stronk7)
3705a6dcbe
Merge branch 'MDL-34275-master' of git://github.com/danpoltawski/moodle
2013-05-07 19:15:21 +02:00
Rex Lorenzo
b4d33e02c0
MDL-34275 - Use default copyright license when restoring files
2013-05-07 09:09:38 +01:00
David Monllao
00ea74cb54
MDL-39348 behat: Chaining strings instead of splitting strings in lines
2013-05-03 10:16:44 +08:00
David Monllao
4d40089d88
MDL-39348 behat: Changing to correct activity names
2013-05-03 10:16:44 +08:00
Dan Poltawski
142fa8c75d
Merge branch 'MDL-39438_master' of git://github.com/dmonllao/moodle
2013-05-01 08:32:30 +01:00
David Monllao
5bc7cd922b
MDL-39438 behat: Updating tests
...
According to MDL-38415 changes.
2013-05-01 13:39:06 +08:00
David Monllao
550d842e3c
MDL-39232 behat Normalize feature tags according to component names
2013-04-30 11:54:47 +08:00
Jerome Mouneyrac
3fb83b41a5
MDL-38888 Publish forms display setType warning
2013-04-26 16:45:00 +08:00
Dan Poltawski
0bcdbb7ff1
Merge branch 'MDL-38735' of git://github.com/stronk7/moodle
2013-04-03 09:59:01 +08:00
Eloy Lafuente (stronk7)
5ae69b2aed
MDL-38735 backup: add missing setType() to forms
2013-04-03 02:17:40 +02:00
Eloy Lafuente (stronk7)
991dcb1b82
Merge branch 'MDL-38690_master' of git://github.com/dmonllao/moodle
2013-04-02 21:01:52 +02:00
Eloy Lafuente (stronk7)
d3f422bdc1
Merge branch 'MDL-38687_master' of git://github.com/dmonllao/moodle
2013-04-02 20:46:05 +02:00
Dan Poltawski
534ee16ec0
MDL-35603 backup: fix coding style issues
2013-04-02 14:30:50 +08:00
Dan Poltawski
92d1453bcb
Merge branch 'MDL-35603-import-limit' of git://github.com/rlorenzo/moodle
2013-04-02 14:25:35 +08:00
David Monllao
bdf808de30
MDL-38687 behat: New test
...
According to MDLQA-4590, an admin
can restore a course back up with
it's settings retained.
2013-04-02 14:14:01 +08:00
David Monllao
6cf9a42f6f
MDL-38690 behat: New test
...
According to MDLQA-327, a teacher can
import data from another course.
2013-04-02 13:00:30 +08:00
Eloy Lafuente (stronk7)
51cae58998
Merge branch 'MDL-38689_master' of git://github.com/dmonllao/moodle
2013-04-02 02:41:44 +02:00
Eloy Lafuente (stronk7)
d6dc3019b6
Merge branch 'MDL-38686_master' of git://github.com/dmonllao/moodle
2013-04-02 02:41:33 +02:00
Eloy Lafuente (stronk7)
1c49f7ad19
Merge branch 'MDL-38688_master' of git://github.com/dmonllao/moodle
2013-04-02 02:41:25 +02:00
Rex Lorenzo
c4dbfb2c91
MDL-35603 - Backup - Course import selector notice
...
* added new config option to determine length of courses returned by import
* added text indicator if there are more than X number of courses, similar to how the restore course list currently works
2013-03-28 15:24:51 -07:00
David Monllao
a3dd930ec0
MDL-38686 behat: New restore course test
...
According to MDLQA-4596, a teacher can change
the format of a restored course
2013-03-28 14:43:38 +08:00
David Monllao
135c685381
MDL-38689 behat: New test
...
According to MDLQA-931, a teacher can
copy an activity.
2013-03-28 14:41:41 +08:00
David Monllao
4bd605da79
MDL-38690 behat: Step definition to import a course
2013-03-28 14:35:22 +08:00
David Monllao
00f074620e
MDL-38688 behat: Restore Moodle 2 courses tests
2013-03-28 14:27:14 +08:00
David Monllao
52e8f537b9
MDL-38688 behat: Backup tests
...
Complemented by restore_moodle2_courses.feature
tests.
2013-03-28 14:27:14 +08:00