5017 Commits

Author SHA1 Message Date
skodak
ba74762bda regular whitespace cleanup in grade code 2007-07-18 19:56:07 +00:00
skodak
e1d2692a73 fixed problem with quickgrading overriding nonexistent grades with no grade 2007-07-18 19:53:24 +00:00
urs_hunkler
966c9a686c corrected a wrong closing div 2007-07-18 19:51:11 +00:00
skodak
9580a21f1c MDL-9137 added new aggregation needed for upgrade - weighted + extra credit
minor item edit form cleanup
fixed minor bug in grader/lib.php
2007-07-18 19:29:32 +00:00
urs_hunkler
53c914f8e2 added a wrapper div to be able to handle content shorter than the side columns 2007-07-18 15:41:26 +00:00
nicolasconnault
8c5a416edd MDL-10478 Added category preference aggregationview. This one is linked with the more global preferences and $CFG. However, a category-specific preference needs implementing: grade_report_categorystate{$catid}, which equals GRADE_CATEGORY_EXPANDED or GRADE_CATEGORY_CONTRACTED. I've written a stub in grade/report/grader/lib.php around line 492 for pruning out the grade_tree according to these prefs.
We'll also need to implement the actions for the -/+ icons.
2007-07-18 14:54:35 +00:00
nicolasconnault
32b97bb24a MDL-10490 Letter type implemented 2007-07-18 11:34:55 +00:00
skodak
af15f9cc53 MDL-10439 yet another attempt to fix definition_after_data() - see the bug report for sample usage 2007-07-18 08:48:28 +00:00
toyomoyo
61f774e8f6 merged fix for MDL-10469, users with doanything has no courses showing 2007-07-18 07:02:54 +00:00
nicolasconnault
5e623a335f MDL-10345 Fixed bug that changed a null scale finalgrade to 1 due to passing through bounded_number(1, null, 3) 2007-07-18 05:17:45 +00:00
nicolasconnault
db4c796818 MDL-9628 Refactored display "Raw" string into "Real" to avoid confusion with raw vs final grades 2007-07-17 19:04:50 +00:00
stronk7
01516fd39a And key fields are lowercased too. End of MDL-10413
Merged from MOODLE_18_STABLE
2007-07-17 18:57:31 +00:00
stronk7
470617ba0a And index fields are lowercased too. Part of MDL-10413
Merged from MOODLE_18_STABLE
2007-07-17 18:55:51 +00:00
nicolasconnault
e50ce569d9 MDL-10481
Two new preferences: averagesdecimalpoints and rangesdecimalpoints
Two new constants: GRADE_REPORT_PREFERENCE_INHERIT and GRADE_REPORT_PREFERENCE_DEFAULT with string values
removed GRADE_REPORT_GRADE_DISPLAY_TYPE_INHERIT in favour of the above
Added a number of language strings.
2007-07-17 18:46:21 +00:00
tjhunt
4f2c86ad81 OU bug 3463 - warnings when you start an attempt in 'each attempt builds on last' mode. 2007-07-17 15:27:59 +00:00
skodak
2a8c101f69 MDL-10065 move lib/simpletest/grade/simpletest elsewhere
+ fixed categroy locking unittest and minor problem with return value
2007-07-17 14:25:20 +00:00
thepurpleblob
d717df34e0 MDL-10495:
Course Managers role's now in same order as Manage Roles screen.
2007-07-17 13:13:35 +00:00
skodak
128c87a442 MDL-10439 call definition_after_data() from moodleform constructor only when form submitted 2007-07-17 07:48:58 +00:00
skodak
cea2542bfe MDL-10111 aggragationcof for weighted categories and extra items in old gradebook 2007-07-17 07:24:35 +00:00
nicolasconnault
bb384a8e29 MDL-10477 Mainly the percentage grade display type 2007-07-16 19:46:54 +00:00
tjhunt
efe256e4a9 Stop the 'remove rqp' environment message from appearing after the question type is gone. 2007-07-16 13:23:13 +00:00
skodak
b8e9305e70 use min max bounds in update_final_grade() 2007-07-16 07:16:08 +00:00
jamiesensei
bb90bf3fb2 when element is frozen should not escape html entities in htmleditor. 2007-07-16 06:04:20 +00:00
skodak
8ce0363638 MDL-8096 fixed & in htmlarea httpsrequired parameter - xhtml strict fix 2007-07-15 15:15:30 +00:00
skodak
76a50d1767 fix for upgrade trouble caused by recen grade import table changes - it was IMO easier to recreate the tables instead of fixing the upgrade code 2007-07-15 13:38:39 +00:00
stronk7
e9371f46d1 Most probable default value for applicationid is 1 (moodle). 2007-07-14 22:40:41 +00:00
stronk7
3fd7eae4c9 Deleting duplicate applicationid field, adding one missing fk and
minor reordering of logic of mnet stuff.
2007-07-14 22:38:35 +00:00
stronk7
6392a62dad Moving mnet_application somewhere before mnet_host
and creating missing FK in mnet_host
2007-07-14 22:29:17 +00:00
mjollnir_
808fae8f05 fixing a small syntax oddity that breaks get_my_courses in postgres. quoting " means escape table, not string 2007-07-14 19:36:59 +00:00
stronk7
d3f31bf2d9 Big reordering of table creation, following all dependencies (FKs)
Small fix in some FKs pointing to wrong tables. Nothing else changed.
2007-07-14 19:20:43 +00:00
stronk7
0f3fcb64b4 Reordering a bit mnet_application table and fixing missing tag that
was preventing installation of head.
2007-07-14 18:46:03 +00:00
nicolasconnault
1a61400873 Optimising the grader report 2007-07-14 04:18:35 +00:00
mjollnir_
2520258128 Merged Donal's changes to MNET to allow moodle to also network with mahara.
changelog follows

    [MNET-manual] added version.php, install.xml and upgrade.php patches
    Route remote users back to their home server without going through jump.php and land.php
    Display app-specific strings in the user view
    Display the application icon in the Remote Host block
    Hide the 'logs' tab if the application under review is not Moodle
    Hide the 'logs' tab if the application under review is not Moodle
    Update user record to note that picture == 1 once a picture has been
    transferred.
    Change 2 to uri - is this fluid?
    Add application paramter to bootstrap function
    Find the application
    Workaround for PHP5.2.2 bug: http://bugs.php.net/bug.php?id=41293
    $HTTP_RAW_POST_DATA was not being populated
    Ensure we get an application for our Peer
    Update the URI to use for MNET
    The default 'wantsurl' should be empty
    Use the appropriate 'land' url for the remote application
    Add hidden form elements for 'application'
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
2007-07-14 03:00:12 +00:00
nicolasconnault
388234f4c5 Optimising the grader report 2007-07-13 19:02:40 +00:00
nicolasconnault
bd6c9ddb46 MDL-10286 Updated overlib.js (2 years diff!) and enabled overlib for HTML feedback format 2007-07-13 10:09:51 +00:00
skodak
b121b54432 one more category locking fix 2007-07-13 09:12:23 +00:00
skodak
7a7a53d32a updated category locking to work the same as hiding - locking of category now locks all children too 2007-07-13 09:05:36 +00:00
skodak
938e00b6cb grade_tree minor cleanup - grades not included anymore; fixed categroy item position in grader report 2007-07-13 08:59:46 +00:00
jamiesensei
c0056e2227 fix for MDL-10440 IE7 and IE6 on win xp error when changing "disable" state of "Start date" 2007-07-13 08:14:37 +00:00
skodak
fb46b5b6ef fixed == typo, thanks Nicolas and Yu 2007-07-13 07:51:10 +00:00
nicolasconnault
eea6690ac0 MDL-9628 Refactored variables and method from grader_report into grade/report/lib.php, and renamed grade_report.php to grade/report/grader/lib.php. Updated links to these files. 2007-07-13 07:05:04 +00:00
nicolasconnault
8ba894e049 renaming constant 2007-07-13 05:41:04 +00:00
nicolasconnault
936f135023 MDL-9628 New constants in gradelib.php: GRADE_EDIT_URL and GRADE_EDIT_DIR
Also renamed $report->get_user_pref() to $report->get_pref() , because the returned preference may come from $CFG if it isn't defined as a user preference.
2007-07-13 05:26:45 +00:00
toyomoyo
85c7bd5bcd adding feedback to grade import temp table and rename rawgrade to
finalgrade
2007-07-13 05:01:32 +00:00
skodak
79eabc2ab2 major grade editing fixes and improvements - grader form now knows if grade is editable; fixed broken quickgrading; feedback format is handled the same way as in the rest of moodle - automatically converted to FORMAT_HTML when editor enabled; fixed calculation of grades that was breaking locking 2007-07-12 22:31:20 +00:00
skodak
920a0fb2eb MDL-10437 moved editing forms to grade/edit/ directory - these should be shared by all reports, there were too many files in grader directory anyway 2007-07-12 19:40:28 +00:00
skodak
9d452f139f MDL-10364 calcualtion validation improvements 2007-07-12 17:36:18 +00:00
skodak
9029762c3c MDL-10364 calcualtion validation improvements 2007-07-12 17:23:29 +00:00
nicolasconnault
4ba9941c4b MDL-10386 Refactored the grader report file (index.php), and extracted the grade_report_grader class out of it. The index file now only calls upon the class' main methods. Certain elements and code blocks in the class can be abstracted for other reports (such as the paging, sorting arrows and several general purpose variables). 2007-07-12 16:36:38 +00:00
skodak
68d2023487 MDL-10433 Upgrade: undo_groupings() causes warnings (before groupings exist) 2007-07-12 15:31:49 +00:00