239 Commits

Author SHA1 Message Date
Charles Fulton
293f42b67a MDL-21572 grade: make user profile fields configurable 2012-07-13 09:00:12 +08:00
Dan Poltawski
c865e08fab Merge branch 'MDL-32860_user_iterator' of git://github.com/andyjdavis/moodle 2012-05-28 14:56:48 +08:00
Marina Glancy
559276b153 MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Andrew Davis
728ff21b9f MDL-32860 grade: refactored graded_users_iterator 2012-05-21 09:11:25 +07:00
Frederic Massart
6189c7b4d3 MDL-32978 Gradebook: Fix strict standards notices 2012-05-14 13:27:06 +08:00
Andrew Davis
78ab98bc5e MDL-27322 grade: added the ability to not have suspended students included in a grade export 2012-05-10 08:34:51 +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 f9f281b8fee75c2416d71bae7583fd026b9ccabb.
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
Andrew Davis
a153c9f2fe MDL-30999 grade: updated Grade API phpdocs 2012-02-14 14:04:19 +07:00
Aparup Banerjee
e59a1dd670 MDL-25561 Gradebook : fixed whitespaces 2011-12-20 16:02:55 +08:00
Andrew Davis
5625d33d17 MDL-25561 grade: made the student names clickable on the user report 2011-12-12 15:57:04 +08:00
Marina Glancy
c97933ffa3 MDL-30161: link from gradebook (grading analysis) only appears now in Grader report but for all items; in User report the link under activity name contains userid 2011-11-08 14:09:50 +08:00
David Mudrak
eff314b06a MDL-29920 Performance improvements in the gradebook reports
Both methods get_activity_link() and get_grade_analysis_url() now cache
the results of the check whether the activity module provides grade.php
or not. Previously, get_activity_link() called file_exists() in every
call and get_grade_analysis_url() did not check the existence at all.

Note that this solution is still sub-optimal as apparently both methods
do very similar job. This should be refactored one day by a brave
developer who works on gradebook. Meanwhile, even this suboptimal
solution is more effective than the previous one for most courses.
2011-11-03 13:44:41 +01:00
David Mudrak
bb17ac1e32 MDL-29920 Gradebook grader report now supports grade analysis link
When grade analysis link is enabled, an icon is displayed next to each
grade of a module that supports grade.php file. The parameters needed to
identify the particular user and grade are passed to the grade.php
script.
2011-11-01 20:53:48 +01:00
David Mudrak
25ab1d50e2 MDL-29920 The link from gradebook back to the activity contains itemnumber
The activity module must have a chance to display appropriate grades
report per itemnumber. Most activity modules have just one grade items
si they can ignore the param. Complex modules like the Workshop need this.
2011-11-01 18:18:45 +01:00
sam marshall
73ca5f01c5 MDL-29501 Gradebook should not show links to activities that aren't available to user 2011-10-13 10:29:45 +01: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
Andrew Davis (andyjdavis)
8de7c8a7ff MDL-27920 gradebook: fixes following integration review 2011-06-23 15:58:44 +08:00
Andrew Davis (andyjdavis)
7ce5df8620 MDL-27920 gradebook: export was always excluding course totals and xml export was failing 2011-06-21 11:13:34 +08:00
Andrew Davis (andyjdavis)
4f82032a16 MDL-27153 gradebook - fixed an SQL error in grade export 2011-04-18 02:04:57 +02:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Andrew Davis (andyjdavis)
656d17c2c6 gradebook MDL-20946 fixed average calculation where users have multiple gradeable roles 2011-04-04 11:35:47 +02:00
Andrew Davis
0077f57198 gradebook MDL-16103 prevented outcomes in gradebook showing the same icon as the activity they are attached to as it makes them hard to find. 2010-11-30 09:03:43 +00:00
Andrew Davis
f7fcf4cd47 gradebook MDL-24867 now hiding some items from the gradebook nav box if youre not within a course 2010-11-08 08:23:24 +00: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
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
e1513ca905 initialized objects and code cleanup 2010-09-17 19:10:55 +00:00
Petr Skoda
f951066758 missing global $USER 2010-09-17 19:07:00 +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
Rossiani Wijaya
b285c5aa42 MDL-20138 - convert &amp to ampersand symbol in Grades tooltip (for simple and full view). 2010-09-13 09:58:41 +00:00
Andrew Davis
b593bf4d2e gradebook MDL-24021 filter out deleted users from the user selector that is used in the user and overview report 2010-09-02 04:17:56 +00:00
Petr Skoda
b11681e036 MDL-23784 fixed more incorrect pix links 2010-08-12 18:38:56 +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
Martin Dougiamas
45a639d54c MDL-23076 Revert gradebook to get module string name from modulename, not pluginname (for now) 2010-07-05 05:29:07 +00:00
Petr Skoda
b5e7b2bf2b MDL-23071 standardising gradebook plugin names
AMOS BEGIN
 MOV [modulename,gradeimport_csv],[pluginname,gradeimport_csv]
 MOV [modulename,gradeimport_xml],[pluginname,gradeimport_xml]
 MOV [modulename,gradeexport_ods],[pluginname,gradeexport_ods]
 MOV [modulename,gradeexport_txt],[pluginname,gradeexport_txt]
 MOV [modulename,gradeexport_xls],[pluginname,gradeexport_xls]
 MOV [modulename,gradeexport_xml],[pluginname,gradeexport_xml]
 MOV [modulename,gradereport_grader],[pluginname,gradereport_grader]
 MOV [modulename,gradereport_outcomes],[pluginname,gradereport_outcomes]
 MOV [modulename,gradereport_overview],[pluginname,gradereport_overview]
 MOV [modulename,gradereport_user],[pluginname,gradereport_user]
AMOS END
2010-07-04 13:08:11 +00:00
Dongsheng Cai
c46aeeab9c MDL-22574, fixed outcomes import form 2010-06-08 05:23:44 +00:00
David Mudrak
d4dcfc6b8f MDL-20204 Fixed regression in the recent url_select improvements
Now, url_select checks for valid URLs in optgrouped lists and paramater
'selected' is converted to the local URL form, too. The patch also
fixes a legacy handling of thr Gradebook plugins selector.
2010-05-31 15:30:45 +00:00
Andrew Davis
54caa598ee gradebook MDL-22522 fixed navigation issues around editing letters 2010-05-25 07:03:06 +00:00
Sam Hemelryk
4d5059d4f3 navigation MDL-22321 Fixed up the navigation in the grades section 2010-05-05 03:27:22 +00:00
Petr Skoda
c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Petr Skoda
000c278cff MDL-20204 new pix_icon renderable widget 2010-02-11 14:59:00 +00:00
Petr Skoda
f1a3e072fa MDL-20204 using url_select 2010-02-10 10:55:51 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Andrew Davis
b9cc756ef3 grader report MDL-21367 when an item is unhidden its category should unhide to 2010-02-03 02:26:44 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
8ae8bf8a14 MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions 2010-01-02 13:17:54 +00:00
Petr Skoda
b52706307c MDL-21198 $OUTPUT->icon() improvements 2009-12-31 10:06:56 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00