Commit graph

5139 commits

Author SHA1 Message Date
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
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