7487 Commits

Author SHA1 Message Date
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
mjollnir_
0d06b6fda7 MDL-16423 - big refactor of the way callers interact with the portfolio code
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.
2008-09-11 13:42:58 +00:00
jamiesensei
c308138f89 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." Removing Quiz Item Analysis report 2008-09-11 12:59:33 +00:00
jamiesensei
869309b8d8 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets. 2008-09-11 12:48:08 +00:00
tjhunt
ad4cd8374a Improve comment. 2008-09-11 10:37:50 +00:00
tjhunt
5f9c912241 MDL-16447 move quiz-specific pictures out of theme/standard/pix/ 2008-09-11 07:34:51 +00:00
tjhunt
dee2bdc010 MDL-16449 error unexpected event exception in essay question 2008-09-11 03:57:28 +00:00
mjollnir_
0b88fedf88 MDL-16423 - upload assignment types get mime detection (and fixed earlier related regression) 2008-09-10 09:38:04 +00:00
mjollnir_
e4af1deef4 MDL-15833 - added some commented out hints for upload resource (not implemented yet) 2008-09-10 09:36:42 +00:00
tjhunt
cca6e300e7 Refactor getting question bank capabilties in mod/quiz/lib.php - don't hard code them.
Also, functions for getting a URL for editing questions in a particular context, ready for MDL-16409.
2008-09-10 05:28:25 +00:00
mjollnir_
a97bcd684c MDL-15758: fixing regressions i introduced in lib.php v 1.359 2008-09-09 21:06:19 +00:00
nicolasconnault
74cd7b9303 MDL-15666 chat module caller tests and generation 2008-09-09 14:04:29 +00:00
nicolasconnault
f968a736cf MDL-15666 database module caller unit test working (get_sha1 only) 2008-09-09 12:49:32 +00:00
mjollnir_
b4fecea22d MDL-16391 - forum posts with no attachments get to be PORTFOLIO_FORMAT_HTML 2008-09-09 11:25:45 +00:00
mjollnir_
8f95364733 MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT. 2008-09-09 11:01:29 +00:00
mjollnir_
d8606b2078 MDL-15833 - make the portfolio callers use the helper functions to detect expected time. 2008-09-09 09:32:16 +00:00
nicolasconnault
d5849d59ae MDL-15666 Added database and forum caller unit tests 2008-09-09 09:17:49 +00:00
mjollnir_
adf0ff69fa MDL-15768 - fixing missing cap check in export whole forum discussion 2008-09-09 09:10:11 +00:00
skodak
9528568bf0 MDL-16088 scorm new file api conversion 2008-09-09 08:30:00 +00:00
stronk7
46712419fb Fix regression introduced by MDL-12029. Concepts must not be linked by filters. MDL-16372 ; merged from 19_STABLE 2008-09-08 23:06:16 +00:00
piers
527af45775 MDL-11734 - cmi.comments_from_learner not read - write. revamp the handling of array style elements. 2008-09-08 19:45:50 +00:00
jamiesensei
c8b2ab1b00 MDL-7308 "Check all the DB columns used to store grades, and make sure they all use a consistent type." Since quiz->sumgrades is now string "0.00000" (quiz->sumgrades) no longer evaluates as false. Changing to (quiz->sumgrades != 0) 2008-09-08 10:35:14 +00:00
moodler
1470c8a47a Added maxattachments field for setting max number of attachments 2008-09-08 05:58:19 +00:00
moodler
30a9aff589 MDL-14722 Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
piers
4675994ab2 MDL-16299 - Javascript error during scorm player load. SCOID should not be populated - TOC figures this out. 2008-09-08 00:31:15 +00:00
skodak
7e55d513a1 MDL-16072 fixed area browsing 2008-09-07 23:22:23 +00:00
skodak
aa9bcfcd50 MDL-16075 adding missing lang strings 2008-09-07 23:20:51 +00:00