Commit Graph

133 Commits

Author SHA1 Message Date
John Okely
b6a1e366a7 MDL-46576 core_grades: MDL-47006 Refactor weightings code for readibility 2014-10-03 13:54:07 +08:00
Frederic Massart
ae93f35317 MDL-46827 core_grades: Allow reset of weights on categories 2014-10-03 13:51:29 +08:00
Jetha Chan
200e5173c0 MDL-47007 core_grade: weights now shown on edit screen as percentages 2014-10-03 13:51:29 +08:00
Andrew Davis
b14c5870fb MDL-47055 core_grade: implemented support for extra credit within natural weighting 2014-10-03 13:51:29 +08:00
Andrew Davis
45da536113 MDL-47011 core_grade: added the ability to override grade_item weight 2014-10-03 13:49:41 +08:00
John Okely
677bc07377 MDL-46576 core_grades: Add weights to natural (MDL-47006) 2014-10-03 13:49:22 +08:00
John Okely
b5e00814b3 MDL-46576 code_grade: Rename "Sum of grades" aggregation to "Natural" 2014-10-03 13:48:55 +08:00
Damyon Wiese
bfe969e8b3 MDL-46139 Grades: Add a column to grade_grades to record how a grade is aggregated 2014-10-03 13:47:42 +08:00
Andrew Davis
0e99979638 MDL-20250 core_grade: added some settings to disable or hide gradebook functionality 2014-09-26 10:19:00 +08:00
Frederic Massart
ef93efbf9d MDL-46818 core_grade: Prevent form checker to catch move fields 2014-09-10 10:43:16 +08:00
Mark Nelson
742d9165b7 MDL-46818 core_grades: added YUI form change validation 2014-09-01 23:02:13 -07:00
Eric Merrill
e3a65c9eab 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()
2013-09-19 10:21:35 -04:00
Tim Hunt
3987312883 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 10:03:47 +01:00
Sam Hemelryk
f44e7d0a77 Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle
Conflicts:
	user/view.php
2013-01-09 09:34:22 +13:00
Andrew Davis
bd26d932ff 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:25:41 +08:00
Dan Poltawski
0e35ba6ffc MDL-36357 cleanup - remove double semicolons 2012-11-15 09:51:26 +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
Rossiani Wijaya
29bea63484 MDL-34559 accessibility compliance for grade: Add forform input text and select tag 2012-08-03 11:53:49 +08:00
Jean-Philippe Gaudreau
dacd5daa7a MDL-31516 Fixing grade_edit_tree::format_number 2012-07-23 12:21:50 +12: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
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
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
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
Andrew Davis
3f781a221c gradebook MDL-23042 missing help topic being reported due to incorrect component name 2010-07-05 03:29:35 +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
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
David Mudrak
d4a11ee52a MDL-21695 Replaced grade/multfactor.html
AMOS BEGIN
 HLP grade/multfactor.html,[multfactor_help,core_grades]
AMOS END
2010-06-18 13:56:40 +00:00
Andrew Davis
e229506dab gradebook MDL-22670 added a comment above a function to make its purpose more clear 2010-06-18 06:10:22 +00:00
Andrew Davis
67485c7f3e gradebook MDL-22670 added trimming of trailing zeros 2010-06-04 06:04:20 +00:00
Andrew Davis
3cf33f5181 gradebook MDL-22670 added function to trim trailing zeros 2010-06-04 03:59:49 +00:00
David Mudrak
b37760fcf8 MDL-21695 Replaced grade/droplow.html
AMOS BEGIN
 HLP grade/droplow.html,[droplow_help,core_grades]
AMOS END
2010-05-24 15:41:05 +00:00
David Mudrak
f89b71eb4b MDL-21695 Tranferred grade/aggregation.html into the help string
AMOS BEGIN
 HLP grade/aggregation.html,[aggregation_help,core_grades]
AMOS END
2010-05-24 09:51:22 +00:00
David Mudrak
3869ab1ac6 MDL-21695 gradebook: Extra credit help strings
String aggregationcoefextraweight is used when editing an item which is
aggregated by Mean of grades (with extra credit) and was reworded to
Extra credit weight (because in fact it is the weight of the extra
credit - if it equals zero, the grade is not extra)

String aggregationcoefextrasum is used for Sum of grades and Simple
weighted mean of grades, meaning a checkbox extra credit yes/no

String aggregationcoefextra is used in the header of table Categories
and items (either Simple view or Full view). It must contain the information
about both meanings of aggregation.

AMOS BEGIN
 HLP grade/aggregationcoefcombo.html,[aggregationcoefextra_help,core_grades]
 HLP grade/aggregationcoefextra.html,[aggregationcoefextraweight_help,core_grades]
 HLP grade/aggregationcoefextrasum.html,[aggregationcoefextrasum_help,core_grades]
AMOS END
2010-05-21 13:46:28 +00:00
David Mudrak
53267b7970 MDL-21695 Replacing grade/aggregateoutcomes.html
AMOS BEGIN
 HLP grade/aggregateoutcomes.html,[aggregateoutcomes_help,core_grades]
AMOS END
2010-05-21 13:45:29 +00:00
Andrew Davis
be3df7fb70 gradebook MDL-21596 fixed a reference to a non-existent string 2010-05-19 03:48:28 +00:00
Andrew Davis
84d32de3a6 gradebook MDL-22495 fixed the move to links on the categories and items page 2010-05-18 09:54:02 +00:00
David Mudrak
c8d463dd97 MDL-21695 help/grade/aggregateonlygraded.html
AMOS BEGIN
 HLP grade/aggregateonlygraded.html,[aggregateonlygraded_help,core_grades]
AMOS END
2010-05-18 06:06:35 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Sam Hemelryk
7d89f0b08b grade-tree MDL-20204 Fixed two regressions 2010-03-04 03:51:55 +00:00
Petr Skoda
8cea545e0b MDL-20204 started refactoring of html_table + more cleanup 2010-02-17 19:33:24 +00:00
Petr Skoda
4ee753eb83 MDL-20204 converting html_span to html_writer 2010-02-17 17:17:45 +00:00