26213 Commits

Author SHA1 Message Date
toyomoyo
1b07462560 added code to write back timestamp 2007-05-11 09:08:30 +00:00
nicolasconnault
2df712352d MDL-9506 Almost completed category aggregation, including generation of raw and final grades held by these categories. Only a few small glitches remain, that cause these grades not to be generated properly. This is the last critical element of the gradebook API, so I'm looking forward to finishing it :-) 2007-05-11 08:46:34 +00:00
moodler
57b4877d87 Automatic installer.php lang files by installer_builder (20070511) 2007-05-11 06:23:16 +00:00
gbateson
34caf003e0 when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset') 2007-05-11 05:28:28 +00:00
nicolasconnault
77d2540eea MDL-9506 Finished implementing the propagation of needsupdate flag up the hierarchy when a lower element justifies it. All unit tests pass. The next task is to implement the generation of raw grades and final grades based on this needsupdate setting. 2007-05-11 03:29:00 +00:00
nicolasconnault
1d4b666828 MDL-9506 Fixed a bug with the fetch method. This method should not be called statically when setting an internal object. For example, when the grade_category is calling its load_parent_category, it should not call grade_category::fetch, but new grade_category. Otherwise, the method assigns the new variables to the calling object. 2007-05-11 02:43:46 +00:00
moodler
b55997c112 Removed set_timecreated and just tidied up some time-related things 2007-05-11 02:11:30 +00:00
skodak
e52f2d582e MDL-9642 auth/CAS: Dependence on external PEAR DB; merged from MOODLE_18_STABLE 2007-05-10 12:30:14 +00:00
urs_hunkler
05ef9fdd03 added clearfix true to clear the contetn in some modules/course forms 2007-05-10 10:46:42 +00:00
toyomoyo
a216f661d6 grade export plugins 2007-05-10 09:29:58 +00:00
moodler
f744267a28 A few small fixes and clean ups 2007-05-10 09:07:37 +00:00
skodak
63c9ee991f MDL-9764 Require_course_login() should check cm visibility in frontpage course too; merged from MOODLE_18_STABLE 2007-05-10 09:02:41 +00:00
nicolasconnault
cb64c6b257 MDL-9506 small fix 2007-05-10 08:58:00 +00:00
toyomoyo
76127f3797 adding new global variable to deter which export should write the exported timestamp in grade_grades_final table 2007-05-10 08:23:44 +00:00
nicolasconnault
8f4a626d5c MDL-9506
grade_grades_raw
    added grade_item object
    added load_grade_item()
    added call to grade_item->flag_for_update() when object is inserted, deleted or updated
grade_grades_final
    added grade_item object
    added load_grade_item()
grade_grades_text
    added grade_item object
    added load_grade_item()
grade_item
    added qualifies_for_update()
    added call to grade_category->flag_for_update() when object is inserted, deleted or updated (only when qualifies_for_update() is true)

However since I have made this last set of changes, the unit tests are performing extremely slow, and several of them fail. I suspect that there is a serious performance issue involved in using objects too heavily, instead of performing more SQL queries, especially when updates are concerned. Often a complete object is SELECTed before it is amended in an object form then UPDATEd.

In the next iteration I will look at this seriously, and put together some tests with thousands of users and many grade_items, to see how well the API responds.
2007-05-10 08:08:43 +00:00
moodler
ad9757c53e DIsabling Chameleon for the general case 2007-05-10 07:16:33 +00:00
moodler
0987c638d0 Tweaking graphics a bit 2007-05-10 06:38:40 +00:00
moodler
3b5006c9ff Bigger beige box for big screens 2007-05-10 06:23:37 +00:00
moodler
07c42b6ec3 Tidied up some images a bit (smoother when repeated) 2007-05-10 06:05:21 +00:00
moodler
bfca5ef8f2 I really don't like the underlines and color-changing on links ... :-) 2007-05-10 05:57:51 +00:00
moodler
ed6770129f Just removing the debug stuff from the header 2007-05-10 05:37:52 +00:00
toyomoyo
8df8bbfbd0 removing extra code 2007-05-10 03:51:55 +00:00
toyomoyo
e8565225c9 removed extra code 2007-05-10 03:50:07 +00:00
toyomoyo
ecca85812f prefix is no longer needed for the array containing event dataI(e.g. $mod_assignment_events", $events is sufficient. 2007-05-10 03:46:10 +00:00
nicolasconnault
8c8462437d MDL-9506
grade_category:
    new parent_category object
    new load_parent_category() method
    new flag_for_update() recursive method
grade_item:
    new category object
    changed get_category() to load_category() and updated testgradeitem
    added missing idnumber field
    new flag_for_update() recursive method
2007-05-10 02:34:01 +00:00
urs_hunkler
132148ad2e added/changed custom corners lib and calls to add the necessary divs
The SCORM course makes big problems because the  scorm content is absolutely positioned. All surrounding divs collapse.
2007-05-09 18:29:36 +00:00
urs_hunkler
8986786c60 added clearfix to middle-column wrapper div against collapsing 2007-05-09 15:44:50 +00:00
urs_hunkler
eb1ed65076 added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:34:14 +00:00
urs_hunkler
c07a4e05c1 added page my-index to exclude list because it uses layout-table 2007-05-09 15:33:05 +00:00
urs_hunkler
f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
nfreear
09a3135031 Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6" 2007-05-09 14:40:02 +00:00
urs_hunkler
939c95479b added/changed custom corners lib and calls to add the necessary divs 2007-05-09 14:39:13 +00:00
urs_hunkler
d94f580294 library to add the surrounding divs for custom corners and borders. 2007-05-09 14:33:42 +00:00
urs_hunkler
e82ea0a3d9 custom_corners theme added 2007-05-09 14:26:59 +00:00
nfreear
ce3735d453 Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6" 2007-05-09 14:15:33 +00:00
poltawski
d6ff5b31ba MDL-9649 'keep searching' in bulk messaging broken merged from MOODLE_18_STABLE 2007-05-09 10:05:08 +00:00
nicolasconnault
5de0c5cb76 MDL-9506 Replaces grade_grades_text.gradesid by composite key userid and itemid. 2007-05-09 09:01:56 +00:00
nicolasconnault
6c76ea8dfa MLD-9506 Grade_grades_raw object now infers grademax and grademin from scale, if scaleid is given at the time of insert of update. 2007-05-09 08:56:08 +00:00
toyomoyo
f67e327e37 adding support for specific item ids and text feedbacks 2007-05-09 08:45:25 +00:00
poltawski
b6903c43eb MDL-9187 Added missing - between week course date periods, merged from
MOODLE_18_STABLE
2007-05-09 08:39:14 +00:00
nicolasconnault
70f9a148af MDL-9506 Added grade_grades_text object to grade_grades_final and raw objects. 2007-05-09 08:10:27 +00:00
nicolasconnault
95ec7c3146 Fixed incorrect paths to config.php and preset_class.php. 2007-05-09 08:06:35 +00:00
toyomoyo
ec19392b06 changing grade book db so that grade_grades_text can be referenced from grade_grades_final 2007-05-09 07:52:00 +00:00
nicolasconnault
6527197b4e MDL-9506 Unit test tables are now created and emptied using XMLDB. raw.gradescale and final.gradescale have been removed in favour of a single gradevalue. Scale value is no longer rounded until moment of display. A number of other changes which you can look at by browsing the diff :-) 2007-05-09 07:50:28 +00:00
moodler
b0b4ffe1ec Added CSS class for current language to every page MDL-9750 2007-05-09 06:49:23 +00:00
toyomoyo
7ea9b0953d making grabbing grades from 3rd party mods run 20% of the time 2007-05-09 06:14:09 +00:00
toyomoyo
48b8bba944 dropping gradescale for grade_raw and grade_final table 2007-05-09 05:56:34 +00:00
nicolasconnault
251aa315d1 Removed breaking unit test, originally set up to test xhtml validity throughout the site. 2007-05-09 05:42:06 +00:00
poltawski
72d2845296 MDL-9742 Converting tabs to spaces 2007-05-09 01:11:45 +00:00
poltawski
e9e928b68d MDL-9742 Converting tabs to spaces 2007-05-09 00:50:29 +00:00