7413 Commits

Author SHA1 Message Date
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
mjollnir_
b2a9505b22 MDL-16514 - adding format to forum mod_form and fixing regression in single forum type add instance 2008-09-15 15:55:11 +00:00
jamiesensei
3d6de8770d MDL-16362 "Quiz - bar graph on results screen" removing var_dump that I forgot to clean up. 2008-09-15 14:08:11 +00:00
jamiesensei
2a1995a476 MDL-16362 "Quiz - bar graph on results screen" there was a bug in my code that would put the graph generation code into an infinite loop if the overall grade for the quiz is 0. Since the change in the type of the field for quiz->grade the old test for quiz->grade being zero doesn't work. Using $quiz->grade as a bool does not work ($quiz->grade is now a string 0.0000), since Moodle 2.0 need to use $quiz->grade == 0. 2008-09-15 13:38:31 +00:00
nicolasconnault
795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18:44 +00:00
mjollnir_
9d7432f650 MDL-16423 - changed button->set_formats to respect more general formats (for later when we have richer export formats that aren't mostly based on mime) 2008-09-15 13:13:21 +00:00
mudrd8mz
91ca18e847 MDL-16355 Do not set lesson maxgrade to 100 but use the real value without multfactor. Merged from 1.9 2008-09-15 11:57:53 +00:00
mudrd8mz
94c823b1d4 MDL-16356 Fix capability name. Merged from 1.9 2008-09-15 11:49:42 +00:00
jamiesensei
3b51802063 MDL-16125 "Improvement to Detailled Responses Report : Format of csv export" Fixed missing format string problem when downloading. 2008-09-15 11:39:15 +00:00
jamiesensei
d3e99e85d4 MDL-16502 "highlight questions that appear not to be working very well according to statistics"
There is a function is_dubious_question on the statistics table passed all the stats for that question and other question data and that returns a bool.
2008-09-15 11:13:31 +00:00
jamiesensei
3db543284b MDL-16501 "moving key to colours on graph to the bottom of the graph gives more horizontal screen space for the graph itself" 2008-09-15 09:16:57 +00:00
tjhunt
4906997bbb MDL-16492: the fix for MDL-16411 broke the fix for MDL-16200. Fix it. 2008-09-15 04:20:23 +00:00
skodak
8429163db9 MDL-16493 file and picture element migrated; waiting for file picker to mature, presets not finished yet 2008-09-14 08:22:44 +00:00
nicolasconnault
617ac19bd2 MDL-16423 Adding a missing $ sign 2008-09-12 19:17:53 +00:00
mjollnir_
37f03ea00b MDL-15666 - change all the portfolio plugins and callers to use exceptions
rather than relying on return values (send_package and prepare_package)

move zipping of temporary files into the exporter class so it can be overridden during unit tests

fix a small todo in mahara plugin
2008-09-12 11:22:15 +00:00
jamiesensei
9176976151 MDL-16463 "Long group names can make drop down box too wide" added an if condition to test the length of the group name. If it is more than 20 characters then we use the string 'this group' instead of the group name. 2008-09-12 08:33:40 +00:00
moodler
81de8d8e64 MDL-16474 Make counts of posts look nicer, and use the scale to show the results, not just a number 2008-09-12 07:26:56 +00:00
mjollnir_
054dd03b80 MDL-15666 - adding extra test to forum portfolio caller 2008-09-11 14:03:41 +00:00
mjollnir_
27dda89ffe MDL-15666 - changes to the portfolio caller tests
now that i changed the api again (adding load_data), rather than add a call to it to
all the callers, i abstracted the caller setup into the parent class (portfoliolib_test)
2008-09-11 13:47:40 +00:00