Commit graph

8031 commits

Author SHA1 Message Date
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
dongsheng
85c30b9c91 "MDL-14129, fix hardcoded print_error" 2008-09-25 01:55:39 +00:00
piers
bf34ac0fb2 MDL-7068 - SCORM 2004 compliance. Handle cmi.interactions hydration (scorm 1.2 to as well). 2008-09-24 23:12:09 +00:00
skodak
db4a3d8ffe MDL-16666 removing all use_html_editor() instances 2008-09-24 21:03:36 +00:00
jamiesensei
8cc901371a MDL-16612 "Response report : Long group names need shortening" 2008-09-24 10:55:55 +00:00
jamiesensei
04299b1f19 MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.
Reverted earlier patch and instead using a different colour for highlighting graded grade. Now using light yellow with a darker yellow border instead of green which is used in reports to highlight the correct answer.
2008-09-24 10:45:05 +00:00
jamiesensei
8968f51fab MDL-16610 "Warnings when a question has a grade of 0" not seeing this issue in HEAD but committing some code to make code for generating html for response cell more robust. 2008-09-24 10:43:45 +00:00
jamiesensei
1c88737ffa MDL-16653 "Adding colour highlighting of correct / incorrect / partially correct answers and tick / cross marks to overview report" 2008-09-24 10:22:57 +00:00
jamiesensei
bfcaf5e684 MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.
Reverted earlier patch and instead using a different colour for highlighting graded grade. Now using light yellow with a darker yellow border instead of green which is used in reports to highlight the correct answer.
2008-09-24 09:10:43 +00:00
skodak
4313348e36 MDL-14679 fixed some more addslashes() 2008-09-23 21:22:04 +00:00
skodak
4370f063b3 MDL-16644 removing stripslahses() and friends 2008-09-23 21:15:41 +00:00
skodak
2fd0e9fe58 MDL-16644 removing striplsahses() and friends 2008-09-23 21:09:46 +00:00
jamiesensei
14133ad913 MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" 2008-09-23 10:39:12 +00:00
jamiesensei
e84cb61554 MDL-16532 "Can width of column for Essay questions be varied?" Concatenate the answers displayed in all responses in responses report for answers above a certain character count (now set to 150). Also added a link to all responses to display a review of the question response. Both the concatenation and links are only showed in the report on the Moodle site and effects are not exported. 2008-09-23 10:21:32 +00:00
jamiesensei
8b92c1e3f6 MDL-16529 "Only include closed attempts in manual grade counts" 2008-09-23 09:52:55 +00:00
jerome
92b2bd00f8 MDL-12297: improvement for fix "assignment view submission" link into "Profil/Activty Report/all logs, merged from 19 2008-09-23 07:47:43 +00:00
jerome
19002f9fcf MDL-12297: fix "assignment view submission" link into "Profil/Activty Report/all logs, merged from 19 2008-09-23 07:28:35 +00:00
tjhunt
739b07112e MDL-16625 Detection of whether a quiz has grades was broken in HEAD.
1. Fix this by factoring out a quiz_has_grades function.
2. Fix the quiz unit tests.
3. Fix quiz_has_feedback to return false for ungraded quizzes.
4. Fix use of get_records to do record_exists in quiz reports.
2008-09-23 07:18:15 +00:00
jamiesensei
e1d2278b51 MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles" should not style response or add feedback image if the response is not yet graded. 2008-09-22 09:20:13 +00:00
nicolasconnault
274e2947a2 MDL-16486 Only using one test $DB connection. Completed most of the implementation. Tests working well now. 2008-09-22 07:06:08 +00:00
skodak
8546def3b6 MDL-16596 basic areafiles formslib element 2008-09-20 20:56:21 +00:00
nicolasconnault
5d1381c2c3 MDL-16486 Implemented the proxy DB class. Sort of working, but still some issues to sort out, like fix_course_sort_order, which updates a record NOT inserted by the unit test. 2008-09-19 14:28:22 +00:00
jamiesensei
452351550b MDL-16567 "Quiz statistics report does not work when the quiz contains descriptions" slightly more elegant and efficient solution to issue. 2008-09-19 10:12:54 +00:00
tjhunt
ea16a91d2e MDL-12391 Prevent browser autocomplete in the quiz. Acutally, there was already code trying to do that, but it was not working. Fix it in HEAD only, because it is not a big deal, and so much has changed, it is not an easy back-port. 2008-09-19 04:54:49 +00:00
tjhunt
ddf977898c Clean up code in a couple of places by using my print_js_call function. 2008-09-19 04:53:03 +00:00
tjhunt
a1f6db1775 Nasty hack fix for MDL-16567 - I am hoping Jamie will come up with a proper fix soon, but I am about to demo this. 2008-09-18 12:47:12 +00:00
tjhunt
7fb0303d89 MDL-16564 Make admin settings work better with the cnfig_plugins table.
Also, take the opportunity to take the quiz-specific stuff out of adminlib.php, to make Petr happy.
2008-09-18 09:55:04 +00:00
tjhunt
766df8f72b MDL-16334 Convert mod/quiz/comment.php to use attemptlib.php - final part of the work on the quiz navigtion, I hope.
MDL-16559 Remove question/comment.html template, and instead just have a function in questionlib.php
MDL-16562 Regression from MDL-16263, notices when regrading.
Sorry, the three got tangled together (coupled through questionlib) while I was fixing bugs in preparation for a demo.
2008-09-18 07:39:10 +00:00
tjhunt
8033d8423f Minor bug fixes. 2008-09-18 04:33:38 +00:00
tjhunt
1aea04dcbf MDL-15452 quiz navigation - followup - avoid a division by 0. 2008-09-18 04:31:11 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
nicolasconnault
4f0d8cc837 MDL-11501 Fixed error in xml file 2008-09-17 06:41:08 +00:00
tjhunt
98e82289b3 MDL-16505 - Removing qtype_datasetdependent questiontype - finish off the database upgrade, after Pierre's previous work. 2008-09-17 05:24:29 +00:00
piers
1881df2733 MDL-7097 - API debug. Change the control of debugging over to SCORM admin settings. 2008-09-16 22:50:16 +00:00
poltawski
83199e454e MDL-16542 - missing global $USER 2008-09-16 21:32:09 +00:00
mjollnir_
5a04379a49 MDL-15758 - make sure there's a break between mutliple-session chat export 2008-09-16 20:42:59 +00:00
piers
6381fa56ed MDL-11501 Scorm New attempts and reviewing. Changes to help customise player/package interactions. 2008-09-16 20:32:50 +00:00
mjollnir_
ad1cfbb17e glossary portfolio caller - fixing tiny bug - incorrectly named string key (thanks dan for finding it!) 2008-09-16 19:42:00 +00:00
mjollnir_
a7d9068300 MDL-15758: fixing up mod/chat supported formats 2008-09-16 17:25:27 +00:00
mjollnir_
276378e6b0 MDL-15777 - updated data file and picture field types to export files using file api.
There's still something about this I don't like - documented in  MDL-16493 and code
2008-09-16 15:48:24 +00:00
mjollnir_
f1068f79c8 MDL-15758 - adding back in changes to default presets for imagegallery for export placeholder 2008-09-16 15:46:20 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
jamiesensei
74b40fadd5 MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles" better not make styles dependent on question type. Just use overall styles. 2008-09-16 10:30:06 +00:00
jamiesensei
2ea2c1f57a MDL-16528 "responses report : improve efficiency of sql" moved the querying for state data all into one big query rather than an individual query for each question in each attempt. 2008-09-16 09:50:24 +00:00
jamiesensei
199b946f04 MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles" 2008-09-16 09:46:57 +00:00
nicolasconnault
31355d28c1 MDL-15666 MDL-16486 2008-09-16 07:33:16 +00:00
piers
1cd167cc44 MDL-7097 - API debug. Add ability to manually poke the SCORM API for 1.2 and 2004. 2008-09-15 19:56:36 +00:00
mjollnir_
759204f88d MDL-16517 - fix regression i introduced in resource mod portfolio implementation 2008-09-15 19:39:46 +00:00
stronk7
cae4bace8f Re-introducing colons in page names + cleaning tabs output. MDL-15896 ; merged from 19_STABLE 2008-09-15 16:24:48 +00:00
mjollnir_
c50466705e MDL-15666 - fixing bugs in resource unit test implementation 2008-09-15 16:08:59 +00:00