Clement Smith
368c1bb674
MDL-50957 grade/report/user: Fix division by zero
...
When using "sum of grades" and $grademax is zero, a division by zero
error occurs in fill_contributions_column() in
grade/report/user/lib.php.
2015-08-24 09:05:30 -05:00
Dan Poltawski
7ee1695850
Merge branch 'MDL-49826_grade_single_view' of git://github.com/davosmith/moodle
2015-08-24 10:39:06 +01:00
Davo Smith
4021aa45ce
MDL-49826 gradereport_singleview: fix permission check
...
Users with capability 'moodle/grade:edit' should be able to edit grade values
- 'moodle/grade:manage' is not needed, as grade items are not being changed.
2015-08-20 14:55:56 +01:00
Dan Poltawski
a9334960dd
Merge branch 'wip-MDL-30315-master' of git://github.com/abgreeve/moodle
2015-08-19 18:30:33 +02:00
Adrian Greeve
9b272cc069
MDL-30315 grades: Fix up function doc block.
...
This was annoying me no end so here is a commit
to set it right.
2015-08-18 17:02:46 +08:00
Adrian Greeve
a9ef9c5e82
MDL-30315 grades: Unit tests for grade import.
2015-08-18 17:02:46 +08:00
Adrian Greeve
0305798c62
MDL-30315 gradebook: Uploading feedback doesn't override grades.
2015-08-18 17:02:45 +08:00
David Monllao
fd76204a8b
Merge branch 'MDL-51100-master' of git://github.com/andrewnicols/moodle
2015-08-17 08:50:49 +08:00
Andrew Nicols
711b1d6b3e
MDL-51100 behat: Remove javascript tag from usermenu steps
...
These tests only needed the javascript tag because of the user menu.
Now that issue has been resolved, they do not need it.
Note: Some were also not using the singleselect feature, so would fail
without changes to use this too as they were not handling proper selection
of the singleselect element.
2015-08-14 08:52:29 +08:00
Frederic Massart
ca81f8c4b2
MDL-50062 grades: Behat tests for aggregation changes
2015-08-06 11:56:44 +08:00
Frederic Massart
e1c5d6618d
MDL-50062 grades: Fix false positives in Behat tests
2015-08-06 10:24:26 +08:00
Frederic Massart
5419cbc9eb
MDL-50062 grades: Carry agg. settings between categories when possible
2015-08-06 10:24:25 +08:00
Dave Cooper
135efd5116
MDL-50062 gradebook: Fixed behaviour when changing aggregation mathods.
2015-08-06 10:24:25 +08:00
Mark Nelson
bc5d93c766
MDL-50535 core_grades: fixed behat failing
2015-07-29 14:23:06 +08:00
Daniel Neis Araujo
9de0c83086
MDL-50834 gradebook: Add help text and link to xml grade import
2015-07-24 09:54:34 -03:00
Andrew Nicols
8aa8a7465b
Merge branch 'MDL-49176_marking_guide' of git://github.com/davosmith/moodle
2015-07-21 11:25:42 +08:00
Eloy Lafuente (stronk7)
b164e2ec30
Merge branch 'MDL-50049-master' of git://github.com/ankitagarwal/moodle
2015-07-09 20:24:13 +02:00
Marina Glancy
6e4b8381bf
MDL-48239 grades: corrected docs url for calculation changes
2015-07-02 15:49:48 +08:00
Marina Glancy
f677ece516
MDL-48239 grades: fix notification class
2015-07-02 15:49:46 +08:00
Eloy Lafuente (stronk7)
3950aa134f
Merge branch 'wip-MDL-48239-master' of git://github.com/abgreeve/moodle
2015-07-02 05:42:08 +02:00
Adrian Greeve
6a7c8feb10
MDL-48239 gradebook: Change to calculated grade item min and max.
...
Regardless of the setting 'Min and max grades used in calculation'
Calculated grade items will always update the min and max raw grade.
2015-07-02 11:13:26 +08:00
Adrian Greeve
f44ffb724a
MDL-48239 gradebook: Behat tests for calculated grade items.
2015-07-02 11:13:25 +08:00
Adrian Greeve
4d4dcc2718
MDL-48239 gradebook: Calculated grades maxgrade now able to be set.
2015-07-02 11:13:25 +08:00
Dan Poltawski
0b45c56da1
Merge branch 'wip-mdl-50481' of https://github.com/rajeshtaneja/moodle
2015-06-30 12:25:52 +02:00
Ankit Agarwal
2149326b8c
MDL-50049 deprecation: Remove usage of deprecated api and cleanup
2015-06-29 17:15:50 +05:30
David Monllao
94f73fdbcc
MDL-50283 gradeform_rubric: No need to escape HTML entities
2015-06-24 11:21:56 +08:00
Dan Poltawski
782300f3a8
Merge branch 'MDL-50283_master' of https://github.com/dmonllao/moodle
2015-06-23 12:37:05 +01:00
Dan Poltawski
20a16512ee
Merge branch 'wip-MDL-49257-master' of git://github.com/marinaglancy/moodle
2015-06-23 11:20:08 +01:00
Marina Glancy
46267b7b25
MDL-49257 grades: behat tests for extra credit
2015-06-23 14:25:50 +08:00
Marina Glancy
deb3d5ed00
MDL-49257 grades: introduce calculation freeze
...
In order to prevent changes in the existing grades when we fix bugs
we are introducing the gradebook code versioning. Each course may
"freeze" the code version to the older date. Freezing is usually done
during upgrade or restore and can be removed by the teacher by pressing
the button and accepting potential grade changes. There is no visible
setting and not possible to change the version back manually.
See MDL-50432 and MDL-50522
2015-06-23 14:25:47 +08:00
Eloy Lafuente (stronk7)
cd1d7c2993
Merge branch 'MDL-50089-master' of git://github.com/merrill-oakland/moodle
2015-06-22 19:58:53 +02:00
Eric Merrill
394ade5f2b
MDL-50089 grades: Use grade item min/max in exports
2015-06-22 12:58:40 -04:00
Dan Poltawski
bf6395107b
Merge branch 'MDL-50091' of git://github.com/timhunt/moodle
2015-06-22 12:06:49 +01:00
Davo Smith
556e33d77c
MDL-49176 gradingform_guide: display newline characters as <br> tags
2015-06-22 10:13:18 +01:00
Tim Hunt
1c733bd604
MDL-50648 grader report: columns misaligned with some permissions
...
If a user can see the grader report and singleview report, but not
the user report ($CFG->grade_profilereport) then the colspans
were wrong and so the columns did not line up under the right headers.
2015-06-19 12:35:54 +01:00
David Monllao
a939ae6da7
MDL-50283 gradingform_rubric: Minor styling fixes
2015-06-19 12:44:07 +08:00
Syxton
e22c8d2ae3
MDL-50283 rubric: Add duplicate row button
...
Adds the ability to duplicate a row in a rubric.
2015-06-19 12:00:23 +08:00
Rajesh Taneja
77f1778c40
MDL-50481 core_grades: Fixed behat feature and step to work with non-js
...
xPath used in step is not using proper oring
and fails with goutee driver. Also, feature don't
really need to be executed in js, so setting that
as non-js
2015-06-19 12:00:11 +08:00
Tim Hunt
2ebeeeaf0a
MDL-50091 grade singleview: use standard API to build the link
...
Acutally the necessary code was already there. There was just some
unnecessary code that was added with the issue number MDL-47746. I have
just stripped out the unused code, which fixes the bug where a missing
activity caused a fatal error.
2015-06-17 13:46:04 +01:00
David Monllao
12a4770d9b
MDL-48618 grades: Testing calculated items with minmaxtouse
2015-06-12 13:19:04 +08:00
Frederic Massart
597fc6db1a
MDL-48618 grades: Behat tests to cover min/max grade changes
...
The values provided as part of this test are similar to values
that can be found in 2.7. This is to ensure that users will not
experience changes in grades.
2015-06-10 12:33:42 +08:00
Frederic Massart
ebea19cb26
MDL-48618 grades: Handling of inconsistencies due to min/max grades
2015-06-10 12:33:41 +08:00
Eric Merrill
c07775dfff
MDL-48618 gradebook: Only use individual min/max for aggrigate grades
2015-06-05 17:05:24 +08:00
jinhofer
59f7fd42e0
MDL-50140 grade/import: Fix for misplaced CSH buttons
2015-06-03 15:44:28 +01:00
jinhofer
0fa9b33463
MDL-50140 grade/import: Added CSH buttons to import grades
...
CSH buttons have been added to CSV Import as well as Paste
from spreadsheet in the following areas:
Encoding, Separator (csv only), Verbose, Preview, Map to,
and Map from.
The heading of Import CSV had a CSH button added as well.
All CSH buttons were given associated language strings.
2015-05-28 07:51:50 -05:00
Damien Bezborodov
e604d38fc7
MDL-50285 gradereport_user: Grade categories calculate wrong with suspended users (Student's view)
2015-05-25 17:43:48 +08:00
Eloy Lafuente (stronk7)
4115105c2c
Merge branch 'MDL-50169' of https://github.com/sk-unikent/moodle
2015-05-19 02:03:07 +02:00
Dan Poltawski
04d73f4fff
Merge branch 'MDL-49949-master' of git://github.com/mastnym/moodle
2015-05-18 15:32:56 +01:00
jinhofer
75a548b5f3
MDL-49764 grade/report/grader: Fixed height issue for IE
2015-05-18 07:47:54 -05:00
Martin Mastny
1be1c66a9b
MDL-49949 grader: Using method to determine item name
2015-05-15 14:58:00 +08:00