Aparup Banerjee
63e9bb60e6
MDL-27447 Backup - added quiz module 1.9 backup converter
2011-06-02 10:35:08 +08:00
David Mudrak
034b0e4a30
Fixed applying convert_path recipes on sub-paths of grouped elements
...
Grouped elements contain arrays with the sub-paths. This patch makes
sure that the sub-paths are pre-cooked recursively. However because the
recipes do not distinguish the full path to the element, only the
implicit recipe (making the tags lowecase) is applied. To avoid
potential data loss (for example dropfields recipe would delete all
fields from the whole grouped tree, not only the direct descendants of
the path where the recipe is declared), explicit recipes are forbidden
for grouped elements. The developer has to convert the $data manually as
needed.
2011-06-02 03:26:52 +02:00
David Mudrák
193407a096
Merge pull request #9 from nebgor/MDL-27449
...
MDL-27449 SCORM module 1.9 converter
2011-05-30 23:35:26 -07:00
Aparup Banerjee
a1cac902ec
MDL-27449 Backup - migrating scorm file within scorm module 1.9 backup converter
2011-05-31 11:29:48 +08:00
David Mudrák
ba1e221a0d
Merge pull request #7 from rwijaya/MDL-27441b
...
MDL-27441 mod_feedback 1.9 backup conversion
2011-05-30 16:26:18 -07:00
Aparup Banerjee
0e7269d11d
MDL-27449 Backup - added scorm module 1.9 backup converter
2011-05-30 14:20:35 +08:00
David Mudrák
071f617c52
Merge pull request #6 from rwijaya/MDL-27446b
...
MDL-27446 mod_lesson
2011-05-29 22:46:31 -07:00
Rossiani Wijaya
a6486a827f
MDL-27441 mod_feedback: added conversion code to restore 1.9 backup to 2.1 site
2011-05-30 11:29:13 +08:00
Rossiani Wijaya
b44739c868
MDL-27446 mod_lesson: added conversion code to restore 1.9 backup to 2.1 site
2011-05-30 10:56:31 +08:00
David Mudrak
93264625f2
The source passed to the migrate_directory() may not exist
...
In case the source $rootpath passed to the migrate_directory() does not
exist, an empty array is returned by the method. Note that if the
directory exists and is empty, the directory itself is converter so
there would be a new record created. However, the restore process
ignores these records anyway, as the directory records are created
automatically by certain file api methods.
2011-05-29 00:38:23 +02:00
David Mudrak
214c492447
Converter file manager's methods take relative path within the backup instead of the absolute path
2011-05-29 00:18:19 +02:00
David Mudrák
64f7da2402
Merge pull request #2 from rwijaya/MDL-27450
...
MDL-27450 mod_survey: added conversion code to restore 1.9 backup to 2.1
2011-05-27 06:44:30 -07:00
David Mudrák
455fc30367
Merge pull request #1 from nebgor/MDL-27440_chunkyfix
...
MDL-27440 Backup - added database module 1.9 backup converter
2011-05-27 06:34:38 -07:00
David Mudrak
66f79e50a3
Files conversion support improved
...
The new file manager class is introduced. Once its public properties are
set, one can use it to migrate either a single file or a whole
directory. The course_files conversion reworked so that it uses the new
manager now. The files.xml written at the very end of the conversion,
giving all handlers a chance to migrate the files they need.
2011-05-27 04:13:34 +02:00
David Mudrak
826d17f274
MDL-27444 The choice module backup converter now uses on-start and on-end handlers to write <options> wrapper
...
This is mainly for the demonstration purposes, the previous form works
as well.
2011-05-26 18:37:15 +02:00
David Mudrak
f6f7a7266c
Merge branch 'master' into backup-convert
...
Conflicts:
backup/util/xml/parser/processors/simplified_parser_processor.class.php
backup/util/xml/parser/simpletest/testparser.php
2011-05-26 17:30:27 +02:00
David Mudrak
6cfa5a3220
Added support for the on_xxx_start() event handler for MOD and BLOCK sub-paths
2011-05-26 16:59:59 +02:00
David Mudrak
4ddf9ac6b5
Added base class for the activity module subplugins
2011-05-26 16:59:51 +02:00
Rossiani Wijaya
39a35cc589
MDL-27450 mod_survey: added conversion code to restore 1.9 backup to 2.1 site
2011-05-26 13:25:18 +08:00
Aparup Banerjee
4c9c90fbe2
MDL-27440 Backup - added database module 1.9 backup converter
2011-05-26 11:32:05 +08:00
Eloy Lafuente (stronk7)
16b5541dd2
weekly release 2.1dev
2011-05-26 00:26:54 +02:00
Eloy Lafuente (stronk7)
c4cee99c7b
MDL-27625 rating - fix one merging problem
2011-05-25 22:34:51 +02:00
Eloy Lafuente (stronk7)
f2e725930b
MDL-27471 rating - whitespace cleanup
2011-05-25 16:54:51 +02:00
Eloy Lafuente (stronk7)
5b52ce19c5
Merge branch 'MDL-27625_master' of git://github.com/stronk7/moodle
...
Conflicts:
mod/forum/lib.php
2011-05-25 16:37:43 +02:00
David Mudrak
d777f26837
MDL-27445 Fixed the deprecated call
2011-05-25 12:13:26 +02:00
Aparup Banerjee
d1711071f4
MDL-27445 added moodle1 backup converter for label
2011-05-25 12:08:00 +02:00
Eloy Lafuente (stronk7)
5693d56cd8
MDL-27625 rating - consider RATING_UNSET_RATING a valid rating value
2011-05-25 12:00:16 +02:00
Eloy Lafuente (stronk7)
28e2b08582
Merge branch 'MDL-27594' of git://github.com/stronk7/moodle
2011-05-25 10:16:10 +02:00
David Mudrak
ad28527828
MDL-27445 Fixed the deprecated call
2011-05-24 16:31:28 +02:00
Aparup Banerjee
b391176a0b
MDL-27445 added moodle1 backup converter for chat
2011-05-24 16:17:51 +02:00
David Mudrak
2fe7d14a04
The generation of module.xml and friends moved to a later phase
...
This is needed to give the modules a chance to actually rewrite course
modules related information. Resource module needs this so it is able to
split its own information into its successors (url, folder, page etc).
2011-05-24 16:01:04 +02:00
David Mudrak
8bcefb3254
Activity module handler get_moduleid() replaced with get_cminfo()
2011-05-24 16:01:00 +02:00
David Mudrak
6357693c8b
Extended debugging information thrown by an exception
2011-05-24 16:00:55 +02:00
Eloy Lafuente (stronk7)
d4dd06591b
MDL-27594 backup - out unused (and incorrect) condition + stronger tests
2011-05-24 11:55:39 +02:00
Eloy Lafuente (stronk7)
eb78f0632d
MDL-27594 backup - fix start/end notifications on empty chunks
2011-05-24 11:01:00 +02:00
Sam Hemelryk
85d0c7f6b2
MDL-22833 Cleaned up afterburner footer
2011-05-24 15:54:49 +08:00
Sam Hemelryk
12b3d58286
Merge branch 'MDL-22833' of git://github.com/MaryE/moodle.git
2011-05-24 15:32:27 +08:00
David Mudrak
8b866ce4b1
Merge branch 'MDL-27439' of git://github.com/nebgor/moodle into backup-convert
2011-05-24 09:21:38 +02:00
Eloy Lafuente (stronk7)
b47dcdf0de
MDL-27471 minor fixups
2011-05-23 12:42:15 +02:00
Sam Hemelryk
2b04c41c58
MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
...
* Added the component and ratingarea fields and implemented it throughout
the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
API.
2011-05-23 12:35:39 +02:00
Eloy Lafuente (stronk7)
7a01a2d0ca
Merge branch 'MDL-27532-master' of git://github.com/sammarshallou/moodle
2011-05-23 10:29:33 +02:00
Sam Hemelryk
2c2034c9c3
Merge branch 'master_MDL-25177_choice_windowfix' of git://github.com/danmarsden/moodle
2011-05-23 11:32:23 +08:00
Sam Hemelryk
34997cf89e
Merge branch 'MDL-27530_head' of git://github.com/grabs/moodle
2011-05-23 11:24:39 +08:00
Aparup Banerjee
0193d9dfe7
MDL-27428 accessibility : added a fourth argument to event's subscription and delegation methods to specify selector actions.
...
- selected actions will fire the event through to the relevant handling functions.
2011-05-23 11:13:52 +08:00
Aparup Banerjee
f93844f3d7
MDL-27428 accessibility : added keyboard support to navigational menus loaded via ajax.
2011-05-23 11:13:36 +08:00
Aparup Banerjee
eb25449ae6
MDL-27428 accessibility : added keyboard navigation to dock arrow keys expand and collapse. enter and space will toggle actions.
2011-05-23 11:13:20 +08:00
Aparup Banerjee
32561cafd4
MDL-27428 accessibility : made navigation and settings menu category span nodes navigable using tabs with tabindex=0
2011-05-23 11:12:53 +08:00
Aparup Banerjee
1e22cd351f
MDL-27428 accessibility : allowed enter/space/left_arrow/right_arrow to expand/collapse navigation & settings menu branches
...
- note: a menu node branch that is a link will be followed instead of toggling the branch.
2011-05-23 11:12:35 +08:00
Eloy Lafuente (stronk7)
54b8f33421
MDL-27594 backup - fix start/end notifications on empty chunks
2011-05-23 00:58:45 +02:00
David Mudrak
8312ab674a
Course files conversion
2011-05-20 11:59:41 +02:00