117 Commits

Author SHA1 Message Date
skodak
190af29fef MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE 2007-11-14 11:52:21 +00:00
toyomoyo
cccade627d MDL-12140, making most common non-weighted and weighted settings easy for teachers 2007-11-14 02:12:40 +00:00
skodak
0758a08e2a MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison
2007-11-13 15:08:59 +00:00
toyomoyo
99eb95fd33 MDL-12141, category names should be mandatory 2007-11-13 02:53:18 +00:00
skodak
61a5ee1647 MDL-11995 prevent deleting of grade items attached to external activities 2007-11-01 15:09:02 +00:00
skodak
6cc3e350d4 MDL-11966 fixed typo in grader report causing fatal errors
MDL-11993 refactored code for item headers and icons
2007-11-01 11:42:31 +00:00
skodak
0f392ff4f0 MDL-11957 improving and cleanup in grade overriding 2007-10-30 11:40:50 +00:00
skodak
6e75c7f8e5 MDL-11955 required scale selection when grade type is scale 2007-10-29 20:35:05 +00:00
skodak
26ed030543 MDL-11718 course settings for reports - for now only user report (rank and showing of hidden items) 2007-10-27 15:33:43 +00:00
skodak
bfe0c0ddcf MDL-11835 proper labels for aggregation coef - weight and extra credit 2007-10-20 19:12:33 +00:00
skodak
89a5f82768 MDL-11278 improved forced category settings - refactoring + regrading forced + new setting to hide forced settings in UI 2007-10-20 15:00:31 +00:00
skodak
d297269d79 2007-10-19 08:51:52 +00:00
nicolasconnault
8ad36f4cc3 Added copyright notice 2007-10-10 06:34:20 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
skodak
e072450699 MDL-11578 , MDL-11578 , MDL-11573 :
* renamed Preferences to "My report preferences"
* renamed Site defaults to "Report defaults"
* rename Change site defaults to "Change report defaults"
* reintroduced Inherit option to Grader preferences - Nicolas was right, it is not possible to implement preference overrides without it with our current get_pref inplementation
* new separate option in plugin selector "Course settings"
* moved displaytype, decimals and aggregation position to "Course settings"
* created new table grade_settings + related functions grade_get/set_preference()
* user report now uses grade_seq class instead of grade_item::fetch_all(); added preloading of grade items into grade_grade instances
* other minor bugfixing/cleanup/improvements

Please note that the Grader report preferences and its defaults must be resaved again - sorry.
2007-10-08 23:09:10 +00:00
skodak
fa234b6739 MDL-11611 reimplemented displaytype and decimals disabling logic in grade item edit form for dispa - now works for new items too 2007-10-07 10:51:52 +00:00
nicolasconnault
3126103b74 Re-enabling inherit options for range and average rows in grader report 2007-10-04 15:07:08 +00:00
skodak
6f0078e5a0 moving the class instantiation a bit earlier so that we can safely modify it 2007-10-04 08:48:04 +00:00
nicolasconnault
9f2e50fc0f Instantiating a full $grade_item object, otherwise the get_displaytype() method is not available and causes a fatal error 2007-10-04 07:44:13 +00:00
skodak
9376f5a66a MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector 2007-10-03 20:24:59 +00:00
skodak
284abb0925 MDL-11495 grade letter setting improvements:
* in_null for decimals defaults checks
* store letter settings only in database - no cfg settings
* separate configuration page for letters only - pluginselector+admin tree
* new capability to manage grade letters - similar to scales and outcomes
* added grade_letters db index
* grade letters related minor bugfixing
2007-09-28 20:12:43 +00:00
skodak
dafbc521ba MDL-11495 removed GRADE_DECIMALS_DEFAULT null constant, is_null() used instead for tests, -1 used in menu options 2007-09-28 11:08:44 +00:00
nicolasconnault
206f995349 Fixing OU report issues 2007-09-26 12:25:16 +00:00
nicolasconnault
31a6c06c46 MDL-11433 Implemented grade_items.decimals instead of user preference in grader report. 2007-09-25 14:40:49 +00:00
nicolasconnault
1796708d81 Replacing GRADE_REPORT_GRADE_DISPLAY_TYPE... by GRADE_DISPLAY_TYPE... 2007-09-25 08:22:20 +00:00
skodak
3f2b0c8aba MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
nicolasconnault
41f22daa71 MDL-11353 Completed the implementation. This included a new method in grade_item: get_displaytype(), since that value could be set to default, and we must then look up to course, then site values. And the get_letter() method in grade_grade has been modified to first check the grade_letters table. All works like a dream! 2007-09-19 15:37:46 +00:00
nicolasconnault
ac5b0a4919 MDL-11339 Moved the gradedisplaytype element from user prefs to the display element of the grade_item settings 2007-09-19 14:28:26 +00:00
nicolasconnault
109bf12cda MDL-11340 Finished! 2007-09-19 14:12:34 +00:00
nicolasconnault
bc6969ddeb MDL-11340 Almost complete: Just need the "Add grade letter" button 2007-09-19 13:49:26 +00:00
skodak
85c9ebb926 MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere() 2007-09-18 18:37:58 +00:00
nicolasconnault
a5b8be622c MDL-11275 added (submissions). Also fixed :
Issue:
    Teachers can edit grader report preferences (including switches for quickgrading and
    quickfeedback), but do not have access to the "Turn editing on/off" button, so they
    can't do quickgrading.
Solutions:
    1.Decouple the quickgrading and quickfeedback modes from the editing mode,
        and turn them on/off through the preferences page. New capability: moodle/grade:edit
        * preferences: don't show quickgrading if no capability grade:edit
        * If quickgrading is switched off as a preference and user doesn't have manage cap, show edit icons around grades when in editing mode
2007-09-17 17:31:48 +00:00
skodak
8fafbc0ea3 MDL-11296 fixed incorrect detection of duplicate scales in course 2007-09-15 21:17:11 +00:00
skodak
31314c1270 fixed wrong $options - this->keepdrop_options used instead 2007-09-15 13:23:28 +00:00
nicolasconnault
e171963b3e MDL-11278 Implementation is complete, but grade_categories records in DB are not affected by global settings. This way, when global settings are switched back to "Do not Force", the original category settings will be in place. 2007-09-14 17:21:30 +00:00
nicolasconnault
83d387c290 MDL-11238 Removed reference to $grade_grade->feedback and replaced with grade_grade_text->feedback. Also instantiated the $grade_grade object properly instead of just get_record(), so that its set_hidden() method could be accessible. 2007-09-13 04:02:55 +00:00
skodak
b2bc96d10b MDL-7380 added new groups API functions for use in course related pages (very similar to functions for activities) + fixed grade code to use these new functions 2007-09-06 10:19:24 +00:00
skodak
c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
skodak
9c8d38fa97 MDL-11092 events are not used for changed raw grades anymore + minor cleanup in handling of raw grades (now used only for modules or other external plugins that produce grades) 2007-08-31 22:42:05 +00:00
toyomoyo
fc69d5577a MDL-10933, only 1 manual grade item can be added 2007-08-31 08:41:04 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
nicolasconnault
4ccb300e63 MDL-10829 Help page for the calculation field and interface 2007-08-14 08:30:10 +00:00
nicolasconnault
b31a9f3dbb MDL-10829 Added get_grade_item() to the grade_item class, for cases when we don't whether an object is a category or a grade_item. The new interface for viewing and adding idnumbers (no editing) is 99% finished. Help strings still to do. 2007-08-14 06:05:07 +00:00
nicolasconnault
d638075d2a Fixed a little typo 2007-08-13 18:35:28 +00:00
skodak
76317c73a2 MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
nicolasconnault
384960dd68 MDL-9628 Simplified and improved the expanding/collapsing of categories. There are now three view types: full, aggregates only and grades only. 2007-08-09 16:41:39 +00:00
skodak
f60c61b1b2 improved hiding support in grade/ 2007-08-09 16:19:06 +00:00
skodak
fb0e357051 various locking improvements and fixes, cron locktime support stilll missing 2007-08-09 09:03:14 +00:00
nicolasconnault
ca96d0c4ad MDL-10724 Finished help strings for scale and outcome edit forms 2007-08-08 09:09:46 +00:00
nicolasconnault
4d910cad01 MDL-10724 Finished help strings for grade and outcome item edit forms 2007-08-08 06:12:55 +00:00