Marina Glancy
a6c124f5e3
MDL-25454: using the faster way to check if record exists in db
2011-09-29 17:00:04 +08:00
Marina Glancy
e2558cd3ab
MDL-25454 before skipping course backup make sure that there are no change entries in it's log during the last month. Store the nextstarttime even for courses that were not backed up
2011-09-29 08:56:48 +08:00
Eloy Lafuente (stronk7)
e135797586
Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle
2011-09-27 00:00:20 +02:00
Jean-Michel Vedrine
9107daa0f5
MDL-29270 Fixed question bank backup converter (field rename)
2011-09-25 23:33:00 +02:00
Petr Skoda
aff24313be
MDL-29401 introduce new frankenstyle PARAM types
...
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk
436cfb8bb7
Merge branch 'MDL-26841' of git://github.com/stronk7/moodle
2011-09-20 12:14:13 +12:00
Eloy Lafuente (stronk7)
9ab5df6b8b
MDL-26841 backup - prevent any enrolments info to be handled in IMPORT/HUB operations
2011-09-19 11:21:43 +02:00
Sam Hemelryk
89eda3eeaf
MDL-29185 backup: Removed backup_log table and fixed the backup admin report
2011-09-16 15:51:23 +12:00
Aparup Banerjee
d1e362405e
Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
...
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08:00
Aparup Banerjee
7eae2c5ae2
Merge branch MDL-29187-master of git://github.com/samhemelryk/moodle
...
- resolved conflict.
2011-09-13 13:52:31 +08:00
Aparup Banerjee
f7dd6bda31
Merge branch 'wip-MDL-29188-master' of git://github.com/samhemelryk/moodle
2011-09-13 11:58:21 +08:00
Aparup Banerjee
5433da6064
Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
...
- resolved conflicts.
2011-09-13 11:39:06 +08:00
Sam Hemelryk
f8adfe6cc0
Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle
2011-09-12 18:26:09 +12:00
Eloy Lafuente (stronk7)
59fc0cbdb7
MDL-28488 backup - conditionaly apply defaults based on mode
...
Some modes of backup cannot be preloaded with general backup
settings because they may conflict with the definitions required/set
by the mode (for example, import backups are, by definition, without
users always, so we cannot apply one default in the opposite direction).
So, after the patch, current general_backup setting will be only applied
to general backups, import/hub modes won't be using any default and
automated backup defaults should be loaded here (TODO)
2011-09-11 19:35:56 +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
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +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
Sam Hemelryk
91d284c145
MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently
2011-09-08 09:38:46 +12:00
Sam Hemelryk
63390481c4
MDL-29187 multilang Reviewed the uses of category name and ensured things are being formatted correctly
2011-09-08 09:37:07 +12:00
Sam Hemelryk
8ebbb06adf
MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently
2011-09-08 09:30:27 +12:00
Sam Hemelryk
71e0b3b5c7
MDL-29188 multilang Reviewed the uses of section name and ensured things were being formatted consistently
2011-09-08 09:27:38 +12:00
Eloy Lafuente (stronk7)
4a94d2c61f
Merge branch 'MDL-27001-master' of git://github.com/sammarshallou/moodle
2011-09-06 15:50:26 +02:00
sam marshall
8c40662e22
MDL-27001 'Show description' feature part 1: infrastructure that allows modules to support feature
...
The 'Show description' feature is about optionally including module description on the course page. This change include the necessary infrastructure - new database field, new FEATURE constant, changes to forms to display it, new language strings for it, backup and restore, and old course conversion. (I found the places to change by searching for an existing field in course_modules).
Documentation for the field is included in install.xml and in modinfolib.
2011-09-06 11:03:00 +01:00
Eloy Lafuente (stronk7)
01d6182fa8
MDL-29072 Import course - whitespace fixes
2011-09-05 10:41:57 +02:00
Henning Bostelmann
96576a2ac1
MDL-29072 Import course: Use correct capability for course selection
2011-08-23 19:07:54 +01:00
Sagie Maoz
0d5e5644b8
MDL-26721 automated backups - Fix typo
...
Causing the 'role assignment' backup inclusion to be tied to the users
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-08-08 15:40:55 +08:00
Tim Hunt
a23bda41e4
MDL-28618 question combined feedback: inconsistency in file areas.
...
The (partially|in)?correct feedback fields acutally store their files in a file area with component 'question'. Some code, however, was written as if they were stored in the qtype_whatever area.
2011-08-05 16:45:17 +01:00
Sam Hemelryk
3d738ce735
MDL-28548 Fixed up misleading comments
2011-08-02 11:42:40 +08:00
Dan Marsden
040aa0880b
MDL-28548 allow backup to contain info from multiple plagiarism plugins.
2011-08-01 10:27:39 +12:00
Petr Skoda
14c94235d8
Merge branch 'MDL-28369' of git://github.com/timhunt/moodle
2011-07-25 19:51:48 +02:00
Tim Hunt
ad858cd428
MDL-28369 Question hints not being restored.
2011-07-25 10:05:13 +01:00
Aparup Banerjee
ed6a14eb03
MDL-28453 backup - made temporary restoration courses hidden by default.
2011-07-25 16:34:11 +08:00
Sam Hemelryk
8b6c283f94
Merge branch 'backup_groups_master' of git://github.com/stronk7/moodle
2011-07-11 10:53:38 +08:00
Eloy Lafuente (stronk7)
438606fca3
MDL-28156 restore - fix some notices restoring empty courses
2011-07-10 13:13:23 +02:00
Eloy Lafuente (stronk7)
c8fbcaab1d
MDL-28156 restore - support restoring files without grade items
2011-07-10 00:52:45 +02:00
Eloy Lafuente (stronk7)
f70676a782
MDL-27438 backup - on course backups add course gropus and groupings
2011-07-09 19:27:23 +02:00
Sun Zhigang
858d100fa3
MDL-27833 Backup - Fix can't search courses with non-latin characters during importing
...
PARAM_ALPHANUMEXT filter out all non-latin characters, including
Chinese, Japanese and etc. Use PARAM_NOTAGS instead.
2011-07-07 10:39:47 +02:00
Tim Hunt
6b92faa47f
MDL-27821 backup_exception should not throw away debug info.
2011-07-04 15:35:30 +01:00
Eloy Lafuente (stronk7)
c5b0344b62
Merge branch 'MDL-28152-course-grade-category' of git://github.com/mudrd8mz/moodle
2011-07-01 22:33:04 +02:00
David Mudrak
41f21f92cf
MDL-28152 Improved detection of the course grade_category on course restore
2011-07-01 22:12:30 +02:00
Eloy Lafuente (stronk7)
7ace3a2199
Merge branch 'MDL-28006-convert-gradebook' of git://github.com/mudrd8mz/moodle
2011-07-01 00:09:50 +02:00
Eloy Lafuente (stronk7)
b1273d09dd
Merge branch 'MDL-28116-master' of git://github.com/sammarshallou/moodle
2011-06-30 23:56:53 +02:00
David Mudrak
d46badb176
MDL-28006 restore - improved handling of gradebook 1.9 backups
...
On contrary from a backup created in 2.0, the file gradebook.xml in the
converted MBZ can contain the course grade_item without the
corresponding grade_category record which is something restore_stepslib
did not expect. This patch fixes two places:
1) the gradebook restore does not use mapped itemid but calls
grade_category::fetch_course_category() to get the actual category to
link the course_item with
2) after_execute makes sure that the mapping actually exists before
trying to move the activities from the default root category
2011-06-30 22:40:54 +02:00
sam marshall
c02b60bccc
MDL-28116 Fix issue restoring old backups with duplicate completion rows
2011-06-30 17:33:12 +01:00
David Mudrak
3343677e0a
MDL-28006 Fixed grades subpath handling
...
Registering the grades subpath even if we do not process the grades yet.
This is to prevent from incorrect considering the wrapper as an empty tag.
2011-06-30 15:17:03 +02:00
Sam Hemelryk
54ae8ed032
Merge branch 'MDL-24684_master' of git://github.com/stronk7/moodle
2011-06-30 10:49:29 +08:00
Eloy Lafuente (stronk7)
b7a45fa782
MDL-24684 backup - basic protection against time/memory limits
2011-06-30 03:37:30 +02:00
Eloy Lafuente (stronk7)
f0548d18bf
Merge branch 'MDL-28035' of git://github.com/timhunt/moodle
2011-06-29 20:47:16 +02:00
Eloy Lafuente (stronk7)
fae9cd077c
Merge branch 'MDL-28037' of git://github.com/timhunt/moodle
2011-06-29 20:44:49 +02:00
Sam Hemelryk
7bbf41661b
MDL-27988 backup grade: Calculated grade items calculation references now corrected and idnumber restore improved
2011-06-29 15:26:48 +08:00