Paul Holden
91af0db62a
MDL-80240 gradereport_grader: fix userfields parameter to search sql.
2024-03-04 14:43:36 +00:00
Ilya Tregubov
bbea6e1d31
MDL-68652 mod_forum: Only include gradable users in grading
2023-12-06 12:45:09 +08:00
Ilya Tregubov
ade9f7177a
MDL-68652 core_grades: Refactor grades functions.
...
get_gradable_users now has extra param to retrieve only active
users. Grade reports hase their own grade_report::get_gradable_users
since they decided whether to inlcude active users from report preferences
2023-12-05 10:52:12 +08:00
Ilya Tregubov
daa598b1b4
MDL-78775 core_grades: Fix saving on grader report page
...
When we have a pagination on grader page and search for user
that is not on first page, saving was throwing an error
since page didn't have enough data
2023-10-13 14:09:25 +08:00
Kevin Percy
3f9dd2f210
MDL-78106 gradereport_grader: Force direction when clicking sort arrow
2023-08-28 10:03:10 +08:00
Kevin Percy
a9ea85a15d
MDL-78106 gradereport_grader: Fixed sort arrow size in grader report
2023-08-28 10:00:15 +08:00
Kevin Percy
14b1796860
MDL-78561 grade: Deprecate grade_helper::get_lang_string()
2023-08-10 11:39:50 +08:00
Mathew May
1a1939ac29
MDL-75274 gradereport_grader: Column collapsing
2023-04-13 11:45:17 +08:00
Paul Holden
9efd335f4a
MDL-77882 gradereport_grader: don't search on custom identity field.
...
Currently throws SQL exceptions if site identity configuration has
such a field included.
2023-04-11 22:54:39 +01:00
Mathew May
d017cb5d52
MDL-77825 grade_gradereport: MS SQL fix for user search
2023-04-03 20:17:59 +08:00
Ilya Tregubov
9ba802ca0c
MDL-77033 cores_grades: Refactor cell menus to be reusable.
...
We need similar menus on gradebook setup page. So moving from
grader plugin to core
2023-03-30 20:20:10 +08:00
Jun Pataleta
4858a62623
Merge branch 'MDL-76143-class' of https://github.com/Chocolate-lightning/moodle
2023-03-30 12:37:52 +08:00
Mathew May
d80fb6ce2c
MDL-76143 gradebook: Add search into graderreport
2023-03-30 11:29:01 +08:00
Paul Holden
e4317c27b2
Merge branch 'MDL-77339-master' of https://github.com/meirzamoodle/moodle
2023-03-29 10:21:08 +01:00
Ilya Tregubov
fc9583bae1
MDL-77029 gradereport_grader: Add sorting to grade item columns
2023-03-28 11:22:42 +08:00
Meirza
ab2f3f1bda
MDL-77339 grade: Added class properties that are not declared
...
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-03-27 22:53:04 +07:00
Ilya Tregubov
7656f5b6b0
MDL-76147 gradereport_grader: Move grade items and categories icons to action menu.
2023-03-24 09:26:45 +08:00
Ilya Tregubov
10570acfde
MDL-75156 gradebook: Fix grade handling.
2022-10-11 09:32:58 +04:00
Ilya Tregubov
c8d950bde7
MDL-75156 gradebook: Functions to calculate grade averages.
...
Also include unit tests.
2022-10-07 11:31:41 +04:00
Sujith Haridasan
73d604369d
MDL-71062 core: Step 1 deprecation of print_error function
2022-07-13 08:20:54 +05:30
arjun-kallapur
a5ab9e466e
MDL-66549 grades: Double arrow sort order should be ascending first
2021-09-22 14:13:14 +02:00
Paul Holden
3521d50c13
MDL-67702 gradereport_grader: user filters per report instance.
2020-11-09 23:21:24 +00:00
Shamim Rezaie
97cf42e0ef
MDL-68312 grade: Fix empty links
...
If a link contains no text, the function or purpose of the link will not
be presented to the user. This can introduce confusion for keyboard and
screen reader users.
2020-05-28 19:18:38 +10:00
Marina Glancy
ae0218624f
MDL-68099 gradereport_grader: prevent exception without groups
2020-05-18 15:18:30 +02:00
Jun Pataleta
7c60fac9dc
MDL-63571 grade_report_grader: Set correct type for the context variable
2018-11-22 16:19:38 +08:00
Nick Phillips
9a2da73753
MDL-59169 gradebook: Add groupid to gpr tracking & use
...
Added groupid to grade_plugin_return tracking, modified constructor
to use query params as defaults if passed-in params not supplied,
used groupid tracking in core reports.
grade_get_graded_users_select also fixed to use gpr (otherwise using
it breaks when course current group has changed between render and
submit).
Fixed coding style issue in gpr constructor & documented properties.
Added upgrade.txt noting gpr changes.
2018-08-16 04:03:51 +02:00
Marina Glancy
20060b3b2e
MDL-59055 grades: provide backward-compatibility of changes
2017-08-07 09:56:14 +08:00
Marina Glancy
be85f0cf88
MDL-59055 grades: fix bug displaying item id instead of grade
...
Thanks to Marcelo Santos for initial patch
2017-08-07 09:56:14 +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
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
John Okely
4887d15228
MDL-49983 navigation: Remove 'my' from user context navigation
2015-05-04 12:38:50 +08:00
Adrian Greeve
c9451960e3
MDL-45894 navigation: My grades update to overview report.
...
Part of MDL-45774
2015-04-10 17:17:05 +08:00
Frederic Massart
5dd0cb7bce
MDL-47762 gradereport_user: Hide contribution and weights when relevant
...
The contribution and weight columns should be hidden when the course
total is because they can be used to compute the hidden course total.
2014-10-24 11:48:07 +02:00
Frederic Massart
263bf1a10f
MDL-47725 gradereport_user: Only hide grades when they were altered
...
The method blank_hidden_total_and_adjust_bounds() now checks for more
than just a grade change, and in that cause would hide the grade. We
added a condition to only hide the grade when it effectively changed,
not when its other properties have.
2014-10-20 14:19:02 +08:00
Dan Poltawski
15b57a34df
MDL-46576 grade: fix trailing whitespace
2014-10-06 18:11:25 +01:00
Damyon Wiese
c529f4b30f
MDL-47420 Grades: Get unit tests passing on natural grading branch
...
Part of: MDL-46576
2014-10-03 13:55:24 +08:00
Damyon Wiese
ee07a54be0
MDL-47064 Grades: Peer review cleanups
...
Changes include:
* Search for existing items to reduce DB queries in grade_category::aggregate_grades
* Comments improvements
* Move brackets to be part of lang string
* Convert aggregationhints to be a class variable instead of passing it around
Part of: MDL-46576
2014-10-03 13:55:23 +08:00
Damyon Wiese
53771c404f
MDL-47064 Grades: Fix the contributed weights column for students and teachers.
...
Part of: MDL-46576
2014-10-03 13:55:23 +08:00
Damyon Wiese
5a59aeb14e
MDL-47078 Grades: Allow users to have different max grades due to exclusions etc.
...
This is about making this work with natural weightings.
Part of: MDL-46576
2014-10-03 13:53:01 +08:00
Eloy Lafuente (stronk7)
179eb9cabd
Merge branch 'MDL-46697' of git://github.com/aolley/moodle
2014-08-13 02:08:07 +02:00
Damyon Wiese
5232d3f2c9
MDL-35984 grade: Recalculate min/max for sum of grades when hidden grades are involved.
2014-08-11 15:53:47 +08:00
Adam Olley
780d42d0c6
MDL-46697 gradebook: Only count active users when needed (and only id)
...
The code only needs the id column to perform its count. On courses with a lot of users
fetching the whole user record for them all easily adds up to several hundred MB of
memory.
2014-08-06 16:02:08 +09:30
Melissa Aitkin
02d1a0a575
MDL-32888 Grader report: Refined SESSION and api function use
2013-10-17 12:58:49 +11:00
Melissa Aitkin
d1a4346f86
MDL-32888 Grader report: use SESSION object and DB functions
2013-10-17 12:58:49 +11:00
Melissa Aitkin
d5f6d9ebef
MDL-32888 Grader report: cater for suspended students
2013-10-17 12:58:49 +11:00
Melissa Aitkin
4187784925
MDL-32888 Grader report: refined user search with no reset
2013-10-17 12:58:49 +11:00
Melissa Aitkin
cbe8e5b325
MDL-32888 Grader report: refined user search
2013-10-17 12:58:49 +11:00
Melissa Aitkin
8e4bf6cca6
MDL-32888 Grader report: added user search
2013-10-17 12:58:48 +11:00
Mark Nelson
4e829d48d1
MDL-40468 libraries: removed usages of get_related_contexts_string() in core
...
Also tidied up the functions by removing unused parameters.
2013-07-19 15:17:50 +08:00