Sam Hemelryk
c23ee732c2
Merge branch 'MDL-26075_head' of git://github.com/grabs/moodle
2011-05-16 11:51:41 +08:00
Sam Hemelryk
d5a99a030c
Merge branch 'start_end_notifications' of git://github.com/stronk7/moodle
2011-05-16 10:06:49 +08:00
Sam Hemelryk
62ff4fe30b
Merge branch 'prevent_profiling_before_install' of git://github.com/stronk7/moodle
2011-05-16 09:56:42 +08:00
Glenn Ansley
3efd551351
MDL-27494 choice - fixing incorrectly named column in backup
2011-05-16 03:24:30 +02:00
Eloy Lafuente (stronk7)
bed4c52c67
Merge branch 'MDL-26436_close_recordsets2_master' of git://github.com/andyjdavis/moodle
2011-05-16 02:45:51 +02:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
bee82469d4
MDL-27408 Database upgrade for adaptive mode.
...
Could really do with more unit tests.
2011-05-13 16:55:14 +01:00
Tim Hunt
0c404c4211
MDL-20636 QE upgrade helper: Make resetting quiz attempts work.
2011-05-13 16:46:47 +01:00
Tim Hunt
d02ac70862
MDL-20636 Add warning about very old attempts to listpreupgrade.php.
2011-05-13 11:57:26 +01:00
Tim Hunt
1ab31a1b92
MDL-20636 Make extracttestcase.php work after the upgrade too.
2011-05-13 11:42:37 +01:00
Tim Hunt
2d43a02323
MDL-20636 Make extracttestcase work.
2011-05-13 11:34:18 +01:00
David Mudrak
17d2e210b7
Renamed converter factory method to more self-descriptive get_converter()
2011-05-13 12:06:10 +02:00
Tim Hunt
c468ce5922
MDL-20636 Fix upgrade of numerical questions.
2011-05-13 11:04:23 +01:00
David Mudrak
1cc0e42a86
The current element's data are passed to the on_element_end() event handler
2011-05-13 10:16:25 +02:00
Rossiani Wijaya
4bb7783ef1
MDL-27386: fixed mform for lesson essay grading (head)
2011-05-13 14:14:19 +08:00
Sam Hemelryk
5b239d6e8e
MDL-27456 Fixed typo in comment/lib.php after last refatoring
2011-05-13 11:18:19 +08:00
David Mudrak
eb3dc80bc3
Merge branch 'master' into backup-convert
2011-05-13 03:16:13 +02:00
David Mudrak
a5ea28b32d
Removing relics of the previous plan/tasks/steps based implementation
...
Kudos to Mark Nielsen for his initial work on this project. In his code,
Mark described the valuable logic of the conversion using a framework
mirroring plan/tasks/steps based architecture of the backup and restore.
My attempt to simplify it led to the current handlers-based
architecture.
2011-05-13 03:09:26 +02:00
David Mudrak
5f3185feb8
MDL-27444 Choice module 1.9 backup converts to 2.0 format
...
So far, user related data are not supported by the project.
2011-05-13 02:42:44 +02:00
David Mudrak
baa6f6a848
Improved course module info conversion
2011-05-13 02:41:47 +02:00
Tim Hunt
aac80ff319
MDL-20636 fix most of the remaining codechecker issues in mod/quiz and lib/questionlib.php.
2011-05-13 00:33:44 +01:00
Tim Hunt
d3bab68c78
MDL-27408 update all question and quiz plugin version.php files.
2011-05-12 23:18:47 +01:00
Tim Hunt
ab6cb45b7b
MDL-27408 fix question engine upgrade issues on MySQL.
2011-05-12 23:17:58 +01:00
Tim Hunt
39759ac468
MDL-27408 fix a few minor bugs with the upgrade from 2.0.
...
More testing, and adaptive mode, still to come.
2011-05-12 21:03:24 +01:00
Tim Hunt
bb28e3bc5e
MDL-27408 Moved the question engine install/upgrade code into the proper place.
...
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
David Mudrak
d5d02635d7
Refactored get_contextid() and unit tests for it
2011-05-12 18:36:03 +02:00
David Mudrak
9b5f1ad5fb
Improved the moodle1_convert stashing subsystem
2011-05-12 18:18:29 +02:00
Andreas Grabs
74e3f2c67e
MDL-26075 Sending Message through Feedback Component throws an error
2011-05-12 17:12:11 +02:00
David Mudrak
beb7de3736
More backup-converter API improvements
...
Added write_xml() helper that writes the given tree-ish structure into
the current xml writer. Improved get_contextid() so that it can use
indices for searching data. Added set_stash() and get_stash() helper
methods.
2011-05-12 15:36:09 +02:00
Rossiani Wijaya
e512715b89
MDL-27161: fixed optional setting for 'require grading' to prevent page lock out (head)
2011-05-12 17:32:00 +08:00
Tim Hunt
dcd03928ab
MDL-20636 split question/engine/lib.php into several smaller files.
2011-05-12 10:28:09 +01:00
Aparup Banerjee
b38f0baad4
MDL-27386 lesson fix mform->score not saving (wip)
2011-05-12 16:00:18 +08:00
Eloy Lafuente (stronk7)
68fabb5c7e
MDL-27481 profiling - prevent data to be sent to DB before it is available
2011-05-12 02:04:13 +02:00
Tim Hunt
25a03faaca
MDL-20636 fix many code-checker issues in mod/quiz.
2011-05-12 00:30:25 +01:00
Tim Hunt
cfd811c8eb
MDL-20636 fix upgrade issue.
2011-05-11 22:29:55 +01:00
Tim Hunt
a2ac234956
MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
...
Conflicts:
lib/filestorage/file_storage.php
mod/quiz/attemptlib.php
mod/quiz/lib.php
mod/quiz/mod_form.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
mod/quiz/report/responses/responses_table.php
mod/quiz/report/statistics/db/install.xml
mod/quiz/report/statistics/qstats.php
mod/quiz/report/statistics/report.php
mod/quiz/report/statistics/statistics_question_table.php
mod/quiz/report/statistics/statistics_table.php
mod/quiz/report/statistics/version.php
mod/quiz/review.php
mod/quiz/reviewquestion.php
mod/quiz/startattempt.php
mod/quiz/styles.css
mod/quiz/view.php
question/type/essay/questiontype.php
question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
question/type/numerical/display.html
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Eloy Lafuente (stronk7)
8298bedab7
MDL-27475 backup - fix start/end notifications order + tests
2011-05-11 20:01:13 +02:00
Tim Hunt
fca599a683
MDL-20636 Question engine upgrade unit tests for description, essay, match and numerical.
2011-05-11 18:17:11 +01:00
Tim Hunt
d04626e4cd
MDL-20636 Question engine upgrade unit tests for shortanswer, random and multichoice.
2011-05-11 17:19:12 +01:00
Tim Hunt
38d42fc476
MDL-27408 question engine upgrade, change to update the quiz settings in config_plugins.
...
Also start creating the unit tests for the upgrade.
2011-05-11 15:32:29 +01:00
Tim Hunt
cd300cf34c
MDL-20636 Initial pass at converting this code to Moodle 2.0 style.
2011-05-11 15:32:26 +01:00
Tim Hunt
cca6d63252
MDL-20636 Refactor the various list pages a bit.
2011-05-11 15:32:24 +01:00
Tim Hunt
5ab62d9d3d
MDL-20636 listpreupgrade done.
2011-05-11 15:32:22 +01:00
Tim Hunt
22cd62caa9
MDL-20636 Cleanup in the upgradehelper plugin.
2011-05-11 15:32:20 +01:00
Tim Hunt
92dcdc88df
MDL-20636 Implement lots of the post-upgrade functionality for the upgrade helper plugin.
2011-05-11 15:32:18 +01:00
Tim Hunt
d98389ffed
MDL-20636 Start of work on a local plugin to help with the question engine upgrade on large sites.
2011-05-11 15:32:16 +01:00
Tim Hunt
0859ff6503
MDL-20636 Re-organise all the old upgrade code, before I start work on it for real.
2011-05-11 15:32:14 +01:00
Dean Lennard
0de4393945
MDL-20636 moved header creation into seperate funciton
2011-05-11 15:04:19 +01:00
Dean Lennard
8e8bd3f967
MDL-20636 Changed renderer function scopes so they can be overridden.
2011-05-11 15:04:13 +01:00
Dean Lennard
2c3e2b53e6
MDL-20636 Added phpDoc comments
2011-05-11 15:04:07 +01:00