Commit Graph

289 Commits

Author SHA1 Message Date
Eric Merrill 9840da227e MDL-37973 gradebook Return a maxgrade of '-' if grade type is TEXT
Including tests for correct return from
grade_edit_tree_column_range->get_item_cell()

This commit includes some special code just for 2.4 in the test
related to a bug in assign.
2013-09-19 11:28:40 -04:00
Tim Hunt 5039961852 MDL-31487 fix FEATURE_CONTROLS_GRADE_VISIBILITY for quiz.
This is a followup to MDL-18301. That fix missed the following points:

1. On the edit categories and items screens, all items had an eye-con to
control the visibility, even if the visibility was controlled by the
module.

2. Changing the visibility of a grade category change the visibility of
all items within it, even if the visibility was controlled by the
module.

3. The quiz ingored $cm->visible when controlling whether its grade item
was visible.
2013-08-08 09:56:53 +01:00
Andrew Davis 4dd5ce20ff MDL-36090 core_grade: added logging of overriding of student grades 2013-06-05 08:58:16 +08:00
Andrew Davis f34634eaf3 MDL-35859 core_grade:fixed an optional parameter call to use the array version 2013-05-13 09:53:24 +08:00
Andrew Davis b164a8904a MDL-29327 core_grade: removing some code that is messing up the categories and items screen when no grade categories are used 2013-01-04 08:58:34 +08:00
Andrew Davis 0d02aa53ad MDL-36331 core_grade: fixed up 2 incorrect default return URLs 2012-11-12 11:56:19 +08:00
Rajesh Taneja 7482a71401 MDL-34777 Accessibility: Add proper id to select input 2012-10-31 11:35:43 +08:00
Rajesh Taneja 7400be1b6e MDL-34777 Accessibility: Add labels to input elements in gradebook 2012-09-20 11:28:55 +08:00
Rossiani Wijaya b1fec412e3 MDL-34777 grading: add label to select and input tag
Conflicts:

	mod/assign/lang/en/assign.php
	mod/assign/locallib.php
2012-09-18 13:18:57 +08:00
Eric Merrill 13f87cb21e MDL-34985 gradebook Fixing issue where default parent in Full View Add Category could be inconsistent.
Turns out the correct default was already computed, but was not being applied to the setting.
2012-08-20 17:09:40 -04:00
Petr Škoda b8b4f65b9c MDL-34741 use 2in3 in gradebook 2012-08-11 20:40:07 +02:00
Rossiani Wijaya f8e371f068 MDL-34559: removing accesshide class 2012-08-07 13:34:34 +08:00
Rossiani Wijaya 29bea63484 MDL-34559 accessibility compliance for grade: Add forform input text and select tag 2012-08-03 11:53:49 +08:00
Dan Poltawski 4ea5885e87 Merge branch 'wip-MDL-34463-master' of git://github.com/abgreeve/moodle 2012-07-24 16:16:45 +08:00
Adrian Greeve d40604724b MDL-34463 - lib - Alteration of the get_context_instance function to utilize the new function context_XXXX::instance(). 2012-07-24 14:04:40 +08:00
Dan Poltawski 5082d87c03 Merge branch 'wip-mdl-32940' of git://github.com/rajeshtaneja/moodle 2012-07-24 13:39:59 +08:00
Rajesh Taneja 61cca0b7fc MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT 2012-07-23 17:21:05 +08:00
Jean-Philippe Gaudreau dacd5daa7a MDL-31516 Fixing grade_edit_tree::format_number 2012-07-23 12:21:50 +12:00
Frederic Massart 455dc0de61 MDL-18301 Gradebook: Added feature for components to control grade visibility 2012-07-06 09:52:46 +08:00
Andrew Davis c84d86e0b7 MDL-30880 grade: added a check for the feedback property existing before it is used 2012-06-04 09:17:06 +07:00
Ruslan Kabalin c5883e7994 MDL-18095 gradebook: Make sure grade override flag is cleared whenever required
The check for feedback and grade equality between recorded values and the current
form ones before removing override flag is not really required.
2012-05-08 11:53:31 +01:00
Andrew Davis 692e4f7b4d MDL-26523 grade: fixed a called to addHelpButton() that was asking for a non-existent string 2012-04-27 09:13:36 +07:00
Sam Hemelryk 3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fe.
2012-04-11 17:18:58 +12:00
Sam Hemelryk 5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Petr Skoda 54352ac979 MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
Rossiani Wijaya f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Petr Skoda e2bb3c9275 MDL-32094 some more E_STRICT fixes 2012-03-18 20:40:20 +01:00
Andrew Davis a153c9f2fe MDL-30999 grade: updated Grade API phpdocs 2012-02-14 14:04:19 +07:00
Aparup Banerjee c47b8c7d0c Merge branch 'MDL-30288_override_checkbox' of git://github.com/andyjdavis/moodle 2011-11-24 16:14:37 +08:00
Andrew Davis 185db1c962 MDL-30288 gradebook: prevented grade grade feedback being wrapped in a text to html div tag which was causing it to look like feedback had been edited when it hadn't 2011-11-24 11:27:13 +08:00
Mary Evans 24050190e3 MDL-29226 RTL fixes - additions and amendments 2011-11-19 00:53:14 +00:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Sam Hemelryk 367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Andrew Davis 76ea4e1f67 gradebook MDL-24455 moved printing of page header until after all of the potential redirect points to avoid a warning being printed before redirecting. 2010-10-01 03:54:59 +00:00
Petr Skoda ace9051cc1 MDL-24321 switching to stdClass in /g*/ 2010-09-21 08:16:49 +00:00
Petr Skoda 4cc977a64d fixing messed up property_exists() regression - sorrrry 2010-09-17 20:36:49 +00:00
Petr Skoda 182a8a83c4 initialized objects 2010-09-17 19:11:24 +00:00
Petr Skoda 4d27bc7929 fixed phpdocs and using property_exists() which is required by PHP 5.3 2010-09-17 19:05:23 +00:00
Petr Skoda 6ef4878b86 spelling fixes 2010-09-17 18:56:53 +00:00
David Mudrak cb616be854 MDL-21695 Making old_help_icon() deprecated
Some of the callers have never been fully implemented (help file never existed)
so I just dropped the help icon. In other cases, new help_icon() is
used. The help icons support in the messaging must be reviewed by the
subsystem maintainer.
2010-08-16 15:29:46 +00:00
Andrew Davis e2a8447777 gradebook MDL-19070 Added a guard to protect against a potential error 2010-08-11 07:28:57 +00:00
Andrew Davis 5174f3c5c4 gradebook MDL-23750 category and item page had extra cells due to partial refactoring 2010-08-11 06:54:40 +00:00
Jonathan Harker c71f326514 MDL-20876 Fix remaining split() calls. 2010-07-20 03:27:36 +00:00
Andrew Davis 2821c4955b gradebook MDL-22931 made some of the setting labels more specific and made blocks show on category setting screen 2010-07-08 07:09:10 +00:00
Andrew Davis 3f781a221c gradebook MDL-23042 missing help topic being reported due to incorrect component name 2010-07-05 03:29:35 +00:00
Petr Skoda 64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak fffc7ddf5a MDL-21695 Gradebook help conversion finished 2010-06-27 21:30:44 +00:00
Andrew Davis 4592df46cb gradebook MDL-22670 Altered grade_edit_tree::format_number() to trim to a minimum of 1 decimal place. Longer numbers are limited to 4 decimal places. 2010-06-23 05:11:12 +00:00
David Mudrak 81ff6f1c3a MDL-21695 Replaced grade/overridden.html
AMOS BEGIN
 HLP grade/overridden.html,[overridden_help,core_grades]
AMOS END
2010-06-21 06:50:24 +00:00
David Mudrak 12b0938c2b MDL-21695 Replaced grade/plusfactor.html
AMOS BEGIN
 HLP grade/plusfactor.html,[plusfactor_help,core_grades]
AMOS END
2010-06-18 15:41:47 +00:00