Commit graph

11724 commits

Author SHA1 Message Date
Dan Marsden
c9b8a78951 MDL-29690 fix usage of select all/deselect all in choice reports 2011-10-07 21:41:35 +13:00
Aparup Banerjee
73f5ebea0c Merge branch 'wip-MDL-28615-master-squashed' of git://github.com/samhemelryk/moodle 2011-10-05 10:54:05 +08:00
Eloy Lafuente (stronk7)
202c2032fa Merge branch 'MDL-28469' of git://github.com/timhunt/moodle 2011-10-05 01:13:57 +02:00
Sam Hemelryk
a161d96f3a MDL-28615 forum: Fixed up a couple of minor regressions 2011-10-05 11:08:50 +13:00
Tim Hunt
8dd9ccf475 MDL-29447 quiz course reset does not reset the quiz_grades table.
Thank to Jean-Michel Vedrine for working out the basic idea of the fix.
2011-10-04 22:47:44 +01:00
Eloy Lafuente (stronk7)
a361676b22 Merge branch 'MDL-27857-assignment-portfolio' of git://github.com/mudrd8mz/moodle 2011-10-04 12:42:32 +02:00
Sam Hemelryk
0870a06899 Merge branch 'MDL-29621_master_wip' of git://github.com/grabs/moodle 2011-10-04 17:54:00 +13:00
Sam Hemelryk
6fdcc0d44f MDL-28615 forum: Fixed missing context regression 2011-10-04 16:37:16 +13:00
Sam Hemelryk
2bbe5979cb Merge branch 'MDL-28725_wiki_section2' of git://github.com/andyjdavis/moodle 2011-10-04 16:21:16 +13:00
Eloy Lafuente (stronk7)
c72cf85f17 Merge branch 'MDL-29511' of git://github.com/timhunt/moodle 2011-10-04 01:11:20 +02:00
Eloy Lafuente (stronk7)
eefebc2edb Merge branch 'MDL-29570' of git://github.com/timhunt/moodle 2011-10-03 21:42:28 +02:00
Andreas Grabs
af26e3453a MDL-29621 - XHTML not welformed when creating Feedback questions 2011-10-03 18:40:16 +02:00
Tim Hunt
e07cccfc25 MDL-28469 quiz settings pages should be pagelayout admin. 2011-10-03 16:38:34 +01:00
David Mudrak
fd04c5bd87 MDL-27857 Export to portfolio support in the assignment module improved
Portfolio API code in the assignment module expected that the current
user is the author of the submission. Therefore the "Export to
portfolio" button did not work when the submission was viewed by a
teacher (eg at the page with the list of all submissions in the Advanced
upload assignment).

This patch introduces a new callback argument 'submissionid' that holds
explicit ID of the submission the export deals with. With it available,
we do not need to expect the current user is the author of the
submission.

The patch also cleans some strings used for portfolio callback
exceptions.
2011-10-03 10:15:39 +02:00
David Mudrak
b777c798b0 MDL-27857 Assignment does not use form tag to render portfolio export control widget
When this code was used as a part of the grading screen, the default
PORTFOLIO_ADD_FULL_FORM widget led to nested form elements. This patch replaces
the form widget with a plain text link that can be embedded safely.
2011-10-03 10:15:38 +02:00
Aparup Banerjee
6d3ae9103c MDL-26486 Lesson : fixed whitespace 2011-10-03 16:00:24 +08:00
Aparup Banerjee
b735bd19cc Merge branch 'MDL-26486' of git://github.com/rwijaya/moodle 2011-10-03 15:37:50 +08:00
Andrew Davis (andyjdavis)
c04b01f46f MDL-27640 rating: altered the return url provided by mod_data to ratings 2011-10-03 15:17:27 +08:00
Sam Hemelryk
1bbe222d53 Merge branch 'MDL-29296' of git://github.com/rwijaya/moodle 2011-10-03 17:08:21 +13:00
Sam Hemelryk
61ab8f0749 MDL-28615 forum: Revised enrol_sharing_course to use the new enrol_get_shared_courses and fixed permission checking in forum_user_can_see_post 2011-10-03 11:23:30 +13:00
Tim Hunt
c3584ad683 MDL-29511 Fix problems on the quiz review questions page found while investigating this bug. 2011-09-29 21:46:39 +01:00
Tim Hunt
72bbb091a4 MDL-29570 Quiz editing page displays the wrong time in the status line sometimes. 2011-09-29 09:06:11 +01:00
Andrew Davis (andyjdavis)
1323bf5597 MDL-28725 wiki: added urlencode around the section variable when it is being used to construct URLs 2011-09-29 14:57:28 +08:00
Andrew Davis (andyjdavis)
41017112cf MDL-28725 wiki: added missing string
AMOS BEGIN
 CPY [invalidsection,core_admin],[invalidsection,mod_wiki]
AMOS END
2011-09-29 14:57:28 +08:00
Sam Hemelryk
4b71542394 MDL-28615 mod_forum: Fixed the users page that shows all of the users posts 2011-09-29 14:20:58 +13:00
Rossiani Wijaya
c90ba16f51 MDL-26486 lesson mod: fixed grade report error on matching and shortanswers questions 2011-09-28 11:34:14 +08:00
Aparup Banerjee
260316ce48 Merge branch 'MDL-29230' of git://github.com/rwijaya/moodle 2011-09-27 14:52:00 +08:00
Aparup Banerjee
df1ed7d435 Merge branch 'MDL-25241_forum_search_ratings' of git://github.com/andyjdavis/moodle 2011-09-27 11:18:17 +08:00
Sam Hemelryk
87eca3192f Merge branch 'MDL-28424' of git://github.com/timhunt/moodle.git with changes 2011-09-27 11:24:02 +13:00
Eloy Lafuente (stronk7)
e135797586 Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
Eloy Lafuente (stronk7)
1a8ab39b3c Merge branch 'MDL-29427' of git://github.com/timhunt/moodle 2011-09-26 21:47:40 +02:00
Rossiani Wijaya
0343553fbc MDL-29296 lesson mod: fixed regression for continue button on last lesson page. 2011-09-26 16:41:49 +08:00
Aparup Banerjee
94f59561ad Merge branch 'MDL-29464' of git://github.com/timhunt/moodle 2011-09-26 14:32:52 +08:00
Sam Hemelryk
32da08a2e2 Merge branch 'MDL-29428' of git://github.com/timhunt/moodle 2011-09-26 14:03:54 +13:00
Sam Hemelryk
809dae3461 Merge branch 'MDL-29336-numerrors-mapping' of git://github.com/mudrd8mz/moodle 2011-09-26 12:37:12 +13:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Andreas Grabs
2497d0273d MDL-29190 - XHTML not well formed in show_nonrespondents.php 2011-09-23 18:56:47 +02:00
Rossiani Wijaya
6d84e82f3a MDL-29230 lesson_module: fixed question's answer to have 0 value. 2011-09-23 14:02:46 +08:00
Tim Hunt
79a46626d3 MDL-29427 quiz nav: information items should should have a state tooltip 2011-09-22 18:12:43 +01:00
Tim Hunt
572a96edb0 MDL-29428 quiz navigation panel should use 'This page' (accessibility improvement) 2011-09-22 17:56:02 +01:00
David Mudrak
c8f1b818ff MDL-29336 Saving grade mapping table in the Workshop
The Workshop module using the "Number of errors" grading strategy did
not save all items in the grade mapping table. If some assessment form
fields have weight > 1, the number of possible errors is greater that
the number of the assessment form fields. The previous code deleted all
mappings where the number of errors was greater than the number of
fields.

In this patch, the maximum number of possible errors is calculated as a
sum of weights of all fields. Only mappings over this maximum are
deleted now.
2011-09-22 05:33:01 +02:00
Tim Hunt
fabface827 MDL-29464 quiz add random question popup does not update sumgrades. 2011-09-21 16:39:31 +01:00
Tim Hunt
babfb615c9 MDL-28424 Reviewing a quiz in 'secure mode' gives a fatal error.
The problem was when output was being started in relation to when the fake block was added.

Took the opportunity to clean up the quiz renderer API a bit.
2011-09-21 16:37:21 +01:00
Eloy Lafuente (stronk7)
0e89333992 Merge branch 'MDL-26567' of git://github.com/timhunt/moodle 2011-09-21 00:10:30 +02:00
Tim Hunt
71c4154a98 MDL-26567 no grade category option on the quiz settings form.
Also, refine the standard_grading_coursemodule_elements method to add a
help string.

AMOS BEGIN
 CPY [gradecategory,grades],[gradecategoryonmodform,grades]
AMOS END
2011-09-20 11:10:34 +01:00
Andrew Davis (andyjdavis)
667f63fefa MDL-25241 forum: reimplemented the display of ratings on the forum search page 2011-09-20 16:17:00 +08:00
Aparup Banerjee
48a7eed587 Merge branch 'wip-mdl-28726' of git://github.com/rajeshtaneja/moodle 2011-09-20 10:19:17 +08:00
Eloy Lafuente (stronk7)
9d8d55a00e Merge branch 'w37_MDL-29029_m22_admintools' of git://github.com/skodak/moodle 2011-09-19 18:26:55 +02:00
Petr Skoda
b412f9c4c9 MDL-29029 move all the simpletest bits into new tool unittest
AMOS BEGIN
 MOV [pluginname,report_unittest],[pluginname,tool_unittest]
 MOV [unittest:view,report_unittest],[unittest:execute,tool_unittest]
 MOV [dbtest,core_admin],[dbtest,tool_unittest]
 MOV [addconfigprefix,core_simpletest],[addconfigprefix,tool_unittest]
 MOV [all,core_simpletest],[all,tool_unittest]
 MOV [codecoverageanalysis,core_simpletest],[codecoverageanalysis,tool_unittest]
 MOV [codecoveragecompletereport,core_simpletest],[codecoveragecompletereport,tool_unittest]
 MOV [codecoveragedisabled,core_simpletest],[codecoveragedisabled,tool_unittest]
 MOV [codecoveragelatestdetails,core_simpletest],[codecoveragelatestdetails,tool_unittest]
 MOV [codecoveragelatestreport,core_simpletest],[codecoveragelatestreport,tool_unittest]
 MOV [confignonwritable,core_simpletest],[confignonwritable,tool_unittest]
 MOV [coveredlines,core_simpletest],[coveredlines,tool_unittest]
 MOV [coveredpercentage,core_simpletest],[coveredpercentage,tool_unittest]
 MOV [deletingnoninsertedrecord,core_simpletest],[deletingnoninsertedrecord,tool_unittest]
 MOV [deletingnoninsertedrecords,core_simpletest],[deletingnoninsertedrecords,tool_unittest]
 MOV [droptesttables,core_simpletest],[droptesttables,tool_unittest]
 MOV [exception,core_simpletest],[exception,tool_unittest]
 MOV [executablelines,core_simpletest],[executablelines,tool_unittest]
 MOV [fail,core_simpletest],[fail,tool_unittest]
 MOV [ignorefile,core_simpletest],[ignorefile,tool_unittest]
 MOV [ignorethisfile,core_simpletest],[ignorethisfile,tool_unittest]
 MOV [installtesttables,core_simpletest],[installtesttables,tool_unittest]
 MOV [moodleunittests,core_simpletest],[moodleunittests,tool_unittest]
 MOV [notice,core_simpletest],[notice,tool_unittest]
 MOV [onlytest,core_simpletest],[onlytest,tool_unittest]
 MOV [pass,core_simpletest],[pass,tool_unittest]
 MOV [pathdoesnotexist,core_simpletest],[pathdoesnotexist,tool_unittest]
 MOV [prefix,core_simpletest],[prefix,tool_unittest]
 MOV [prefixnotset,core_simpletest],[prefixnotset,tool_unittest]
 MOV [reinstalltesttables,core_simpletest],[reinstalltesttables,tool_unittest]
 MOV [retest,core_simpletest],[retest,tool_unittest]
 MOV [retestonlythisfile,core_simpletest],[retestonlythisfile,tool_unittest]
 MOV [runall,core_simpletest],[runall,tool_unittest]
 MOV [runat,core_simpletest],[runat,tool_unittest]
 MOV [runonlyfile,core_simpletest],[runonlyfile,tool_unittest]
 MOV [runonlyfolder,core_simpletest],[runonlyfolder,tool_unittest]
 MOV [runtests,core_simpletest],[runtests,tool_unittest]
 MOV [rununittests,core_simpletest],[rununittests,tool_unittest]
 MOV [showpasses,core_simpletest],[showpasses,tool_unittest]
 MOV [showsearch,core_simpletest],[showsearch,tool_unittest]
 MOV [skip,core_simpletest],[skip,tool_unittest]
 MOV [stacktrace,core_simpletest],[stacktrace,tool_unittest]
 MOV [summary,core_simpletest],[summary,tool_unittest]
 MOV [tablesnotsetup,core_simpletest],[tablesnotsetup,tool_unittest]
 MOV [testdboperations,core_simpletest],[testdboperations,tool_unittest]
 MOV [testtablescsvfileunwritable,core_simpletest],[testtablescsvfileunwritable,tool_unittest]
 MOV [testtablesneedupgrade,core_simpletest],[testtablesneedupgrade,tool_unittest]
 MOV [testtablesok,core_simpletest],[testtablesok,tool_unittest]
 MOV [thorough,core_simpletest],[thorough,tool_unittest]
 MOV [timetakes,core_simpletest],[timetakes,tool_unittest]
 MOV [totallines,core_simpletest],[totallines,tool_unittest]
 MOV [uncaughtexception,core_simpletest],[uncaughtexception,tool_unittest]
 MOV [uncoveredlines,core_simpletest],[uncoveredlines,tool_unittest]
 MOV [unittestprefixsetting,core_simpletest],[unittestprefixsetting,tool_unittest]
 MOV [unittests,core_simpletest],[unittests,tool_unittest]
 MOV [updatingnoninsertedrecord,core_simpletest],[updatingnoninsertedrecord,tool_unittest]
 MOV [version,core_simpletest],[version,tool_unittest]
AMOS END
2011-09-17 19:43:00 +02:00
Tim Hunt
73a7a0c90d MDL-29360 quiz comment.php has broken JS for the Cancel button.
This swtichest it to more modern YUI3 approach.
2011-09-16 12:03:46 +01:00