1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-31 22:12:56 +02:00

5025 Commits

Author SHA1 Message Date
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
skodak
4bc2486747 MDL-10382 adding some more checks to prevent JS errors when hardFreezing elements with disabledIf conditions 2007-07-12 09:17:55 +00:00
skodak
943e3dcdd2 MDL-10382 new fix, I hope it works now 2007-07-12 07:57:26 +00:00
toyomoyo
7e3c9767db grade edit form, and adding set_locktime for grade_grades and grade_item 2007-07-12 06:42:44 +00:00
jamiesensei
df2c2310e5 Reverted previous fix for MDL-10382 Allow removing of elements with disabledIf conditions - "This fix has broken disabledIf in many forms. The problem is that if the dependentOn element is an element in a group then elementExists will return false." 2007-07-12 06:01:17 +00:00
skodak
454cf87189 MDL-10421 $fields= typo 2007-07-11 17:27:46 +00:00
nicolasconnault
474bad4698 MDL-9628 Enabling multiple feedback and grades update. Feedbacks now working, but grades don't (at least scales don't) 2007-07-11 16:54:11 +00:00
skodak
a4820aef30 fixed notice in update_raw_grade 2007-07-11 14:53:47 +00:00
skodak
de359e3c2e fixed notice in update_final_grade 2007-07-11 14:33:09 +00:00
moodler
708d13d159 Add some caching to get_list_of_timezones 2007-07-11 09:11:44 +00:00
nicolasconnault
6e30bd442d MDL-10392 updated links to edit_grade form, corrected the loop for table rows, which only initialised the $element object at the end of the loop
MDL-10211  Removed showfeedback preference
MDL-10286 Changed tooltip so that it surrounds the grade in a span when edit mode is off, and surrounds the edit icon otherwise
MDL-10287 Deleted edit_feedback and edit_feedback files and links to this form
MDL-10368 Removed show/hide feedback toggle
2007-07-11 07:30:04 +00:00
moodler
3fad470e9a FIxed a notice 2007-07-11 02:45:40 +00:00
skodak
c86caae78a MDL-9137 new grade_grades field overridden; item edit form fixes; other minor fixes and improvements 2007-07-10 18:08:24 +00:00
skodak
98353ff194 MDL-9137 new grade_grades field overridden 2007-07-10 08:55:06 +00:00
skodak
f3d528cf43 removing settings upgrade code that is not needed 2007-07-10 08:09:44 +00:00
skodak
6b6f345266 MDL-6855 fixing id in new grade tables to be unsigned in unut tests 2007-07-10 07:57:58 +00:00
skodak
8c6c185a1c do not use role functions in upgrade scripts if roles not setup yet 2007-07-10 07:46:19 +00:00
skodak
197ba19cae MDL-6855 fixing id in new event and grade tables to be unsigned 2007-07-10 07:35:43 +00:00
nicolasconnault
ce0c946a1f MDL-10386
- Renamed grade_report_shownotes preference to grade_report_showfeedback
- Added grade_report_quickgrading and grade_report_quickfeedback preferences
- Re-organised the grade_get_icons() function: The icons are all prepared first,
    then the preferences and conditions are applied to the selection of icons.
    This allows for a third $icons parameter, an array of icon names, which
    explicitly sets which icons should be returned by the function, regardless
    of preferences and options.
- Identified and fixed MDL-10391 bug with updating boolean user preferences (advcheckbox used)
2007-07-09 19:59:45 +00:00
skodak
bc7afe29c3 fixed loggeduser foreign keys 2007-07-09 13:58:17 +00:00
nicolasconnault
27626e7147 MDL-9268 Removing "turn feedback on" button in favour of the new user/cfg preference grade_report_shownotes; Re-displaying the calculation icons 2007-07-09 11:58:24 +00:00
toyomoyo
52bb13dc9f adding group support for get_role_users 2007-07-09 06:22:56 +00:00
skodak
d5fab31f08 grade category edit form improved, fixed aggregation 2007-07-08 21:37:55 +00:00
skodak
854386bc04 MDL-10382 Allow removing of elements with disabledIf conditions 2007-07-08 21:31:14 +00:00
skodak
d3f14e423d MDL-10364 fixed de/normalization of calculation formulas in item edit form 2007-07-08 19:24:41 +00:00
skodak
5132aa7fd5 fixed default needsupdate property 2007-07-08 18:18:32 +00:00
skodak
004081182d MDL-10226 fixed item unit tests 2007-07-08 15:14:26 +00:00
skodak
5656785b6f MDL-10226 fixed categroy unit tests 2007-07-08 15:07:16 +00:00
skodak
15b462da4b MDL-10226 fixed breakage in grade computing 2007-07-08 15:03:46 +00:00
skodak
f8e6e4dbea MDL-10226 improved regrading of final grades - optimised db access, partial regrading when raw grade updated 2007-07-08 14:57:19 +00:00
nicolasconnault
9aa1e44853 MDL-9268 2007-07-08 14:51:41 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
skodak
aaff71daf4 MDL-10365 Improved handling of history when inserting/updating/deleting in new grade reports;first part 2007-07-06 12:49:28 +00:00
nicolasconnault
d2e87c0c39 MDL-10364 Added calculation icon, changed customdata to set_data for feedback form. 2007-07-06 12:41:33 +00:00
tjhunt
21988c8e20 Small improvement to print_table. Lets you apply a class attribute to particular table rows. 2007-07-06 11:29:25 +00:00
nicolasconnault
a69e733573 MDL-10364 Added the showcalculations preference and re-factored preferences_form.php (much, much smaller now!) 2007-07-06 08:23:17 +00:00
nicolasconnault
1dd1bc8eaa MDL-10287 Finished implementing form 2007-07-06 06:10:20 +00:00
jamiesensei
43914931f7 validation can return an empty array() or true to indicate no errors. array() is preferred since then parent class validation functions can be chained. Changing moodle_form validation method to return array() so that chaining works in question types. Shouldn't affect other forms code. 2007-07-06 04:03:51 +00:00
stronk7
4d248a2e80 New $CFG->xmldbreconstructprevnext setting to allow edition of XMLDB
out from the XMLDBEditor, ignoring the prev/next stuff, that will be
automatically regenerated by the Editor by simply loading and saving
the edited file. Credit goes to skodak!
2007-07-05 16:24:24 +00:00
nicolasconnault
657e52d4da MDL-10286 Implementing the view feedback page. Added links to the user, module and scale when applicable. 2007-07-05 07:01:48 +00:00
toyomoyo
eca3af25cb MDL-7077, MDL-10181, adding notes for students 2007-07-05 06:53:17 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00