Eloy Lafuente (stronk7)
44c280c63e
MDL-20636 changes to mod/quiz DB layer
2011-06-06 17:16:35 +01:00
Eloy Lafuente (stronk7)
5abfa6a930
MDL-20636 changes to quiz and quiz reports upgrade code
2011-06-06 17:16:22 +01:00
Tim Hunt
54771d89d1
Merge remote-tracking branch 'moodle/master' into MDL-20636_master_new_question_engine
...
Conflicts:
lib/db/upgrade.php
mod/quiz/lib.php
2011-06-06 17:14:59 +01:00
Eloy Lafuente (stronk7)
36e91f1de1
MDL-20636 Whitespace fixes
2011-06-06 16:38:46 +01:00
Eloy Lafuente (stronk7)
4561302dec
MDL-20636 Prepare stuff for cleaner merging
2011-06-06 16:38:23 +01:00
Tim Hunt
60006d2971
MDL-20636 remove bogus include that breaks cron.
2011-05-27 20:43:20 +01:00
Tim Hunt
612106b3a4
MDL-20636 fix URL handling for previews to always use Moodle URL.
...
Also, make the preview window big enough. #367
2011-05-27 11:49:23 +01:00
Wale Olujide
dc0373c852
MDL-20636 Make more space for the qusetion name in the question bank view #580 .
2011-05-27 10:31:37 +01:00
Tim Hunt
c014b989ba
MDL-27649 Convert the calculated question types to use the new variants mechanism.
2011-05-26 21:53:47 +01:00
Tim Hunt
1da821bbde
MDL-27649 support question variants as a first-class concept in the question engine.
2011-05-26 21:23:56 +01: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
Tim Hunt
449bfe90c6
MDL-20636 quiz let users with capability mod/quiz:grade, but not mod/quiz:viewreports see the manual grading report in the navigation. OU bug #412 .
2011-05-20 18:25:07 +01:00
Tim Hunt
e35ba43c91
MDL-20636 make syncronised datasets work for calculated* questions.
2011-05-19 19:06:07 +01:00
Tim Hunt
0eb253f7f6
MDL-20636 quiz restart preview button was missing since the renderer refactor.
2011-05-19 19:05:25 +01:00
Tim Hunt
39153237f5
MDL-20636 fix broken links in the statistics report.
2011-05-19 18:11:52 +01:00
Tim Hunt
2178cd3a12
MDL-20636 Dean's refactoring had broken the quiz summary page.
2011-05-19 17:52:52 +01:00
Eloy Lafuente (stronk7)
94a74f549a
MDL-26704 gradebook: adding TODO comment to avoid forgetting
2011-05-17 11:58:22 +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
Tim Hunt
25a03faaca
MDL-20636 fix many code-checker issues in mod/quiz.
2011-05-12 00:30:25 +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
Tim Hunt
cd300cf34c
MDL-20636 Initial pass at converting this code to Moodle 2.0 style.
2011-05-11 15:32:26 +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
Andrew Davis (andyjdavis)
4433f871f2
MDL-26704 gradebook: added some intelligence to the dates displayed on the user outline activity report
2011-05-10 11:14:16 +08:00
Tim Hunt
78a61cd6d0
MDL-20636 quiz renderers. Some final clean-ups.
2011-05-09 14:22:20 +01:00
Dean Lennard
7933ab8c67
MDL-20636 Code Checked
2011-05-09 12:31:13 +01:00
Dean Lennard
37015e0cd1
MDL-20636 Convverted html to html::writer and code checked
2011-05-09 12:31:11 +01:00
Dean Lennard
88c7e2a9b6
MDL-20636 Changed guest access and enrollment code checking
2011-05-09 12:31:09 +01:00
Dean Lennard
56cef201da
MDL-20636 Created view object in renderer file
2011-05-09 12:31:07 +01:00
Dean Lennard
3b7efd6d8f
MDL-20636 Added viuew object as class
2011-05-09 12:31:05 +01:00
Dean Lennard
fcd5e24506
MDL-20636 Code checked
2011-05-09 12:31:03 +01:00
Dean Lennard
da59992eda
MDL-20636 Made changes to view and renderer sections
2011-05-09 12:31:01 +01:00
Dean Lennard
8d47043fee
MDL-20636 updates to code
2011-05-09 12:30:59 +01:00
Dean Lennard
cbe8754358
MDL-20636 code checked
2011-05-09 12:30:57 +01:00
Dean Lennard
7886376a12
MDL-20636 changed accessrules to return the button instead of eco it and applied this change to render file
2011-05-09 12:30:55 +01:00
Dean Lennard
213d4cff9c
MDL-20636 updates to view/renderer code
2011-05-09 12:30:53 +01:00
Dean Lennard
06eb64b8ba
MDL-20636 added view page to the renderer file
2011-05-09 12:30:51 +01:00
Dean Lennard
13040e1452
MDL-20636 changes made to renderers, attempt and view
2011-05-09 12:30:49 +01:00
Dean Lennard
63be47d932
MDL-20636 Made changes to the three files and code checked
2011-05-09 12:30:47 +01:00
Dean Lennard
bcd42560e3
MDL-20636 Updated code to include html writer
2011-05-09 12:30:45 +01:00
Dean Lennard
9f335e76fa
MDL-20636 Fixed issues raised
2011-05-09 12:30:43 +01:00
Dean Lennard
606e07d574
MDL-20636 Attempt as converting attempt.php over to renderer
2011-05-09 12:30:41 +01:00
Tim Hunt
b3782c71bf
MDL-20636 My go and creating a renderer for mod/quiz/review.php.
...
Note that this breaks the attempt.php page; there are a lot of methods that are missing PHPdoc comment; there are probably now some unused methods that could be deleted; and there are a couple of places which could be handled a bit better.
But, overall, I think this way makes sense.
2011-05-09 12:30:39 +01:00
Tim Hunt
c749527bec
MDL-20636 Finished backup and restore of attempt data. Yay
2011-05-05 21:26:25 +01:00
Tim Hunt
bea1a6a73a
MDL-20636 Work-in-progress on quiz attempt backup and restore.
2011-04-28 21:21:43 +01:00