skodak [Wed, 16 May 2007 20:08:26 +0000 (20:08 +0000)]
MDL-9418 use proper addslashes before each insert; merged from MOODLE_18_STABLE
skodak [Wed, 16 May 2007 18:17:14 +0000 (18:17 +0000)]
MDL-9825, MDL-9798, MDL-9799 - new workaround for the object trouble in IE caused by UFO; reverting previous patches; merged from MOODLE_18_STABLE
nicolasconnault [Wed, 16 May 2007 15:04:35 +0000 (15:04 +0000)]
MDL-9506 Created new grade_tree object for working with a tree of grade_categories and items.
bobopinna [Wed, 16 May 2007 14:30:25 +0000 (14:30 +0000)]
Fixed bug with correct_responses elements
bobopinna [Wed, 16 May 2007 08:34:25 +0000 (08:34 +0000)]
Fixed double indexed elements problem
toyomoyo [Wed, 16 May 2007 08:21:46 +0000 (08:21 +0000)]
new grade book export plugins development
moodler [Wed, 16 May 2007 08:03:37 +0000 (08:03 +0000)]
Merged MDL-9826 from stable
nicolasconnault [Wed, 16 May 2007 07:47:04 +0000 (07:47 +0000)]
MDL-9506 Fixed a couple of failing unit tests, due to new test data
nicolasconnault [Wed, 16 May 2007 03:17:46 +0000 (03:17 +0000)]
MDL-9506 Reorganised unit tests a bit, added some stubs and tests for grade_category, and corrected missing grade_finals for orphan grade_items and categories.
nicolasconnault [Wed, 16 May 2007 02:47:56 +0000 (02:47 +0000)]
MDL-9506 grade_category::display_grades() and grade_category::get_tree() correctly built the headers for a HTML table of grades, with two layers of categories and one layer of grade_items. Empty filler cells are used when a 1st or 2nd level category doesn't exist for a grade_item.
pichetp [Wed, 16 May 2007 02:18:29 +0000 (02:18 +0000)]
modifiyng save question so that $SESSION is not used MDL-8565
pichetp [Wed, 16 May 2007 02:05:40 +0000 (02:05 +0000)]
correcting for modifications done in numerical question units code
skodak [Tue, 15 May 2007 21:13:23 +0000 (21:13 +0000)]
MDL-9824 do not use sesskey check when user already logged out in logout.php; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 20:56:40 +0000 (20:56 +0000)]
MDL-9380 Adding a Resource of Type directory leads to SQL errors, patch by Andrew Schmadeke; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 20:22:15 +0000 (20:22 +0000)]
MDL-9799 can not use forms due to object bug in IE :-( ; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 19:56:08 +0000 (19:56 +0000)]
MDL-9730 resource name is now used in accessibility pdf link instead of summary hat may not be always present; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 19:42:53 +0000 (19:42 +0000)]
MDL-9823 Disclaimer HRef is repeated twice in the Link - Policy.php for some urls; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 16:58:05 +0000 (16:58 +0000)]
MDL-9821 incorrect permission to modify templates for non-editing teacher in db module; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 16:45:53 +0000 (16:45 +0000)]
MDL-5958 reverting the permission change in db/lib/access.php - course creator permissions must be defined only above the course level!
they must not be enabled at module level
nicolasconnault [Tue, 15 May 2007 09:59:53 +0000 (09:59 +0000)]
MDL-9506 Experimental development of numbering and displaying of category and items tree/table. Messy work :-)
exe-cutor [Tue, 15 May 2007 08:49:54 +0000 (08:49 +0000)]
Merging fixes from 1.8 stable
toyomoyo [Tue, 15 May 2007 08:49:49 +0000 (08:49 +0000)]
fixing grade exports
skodak [Tue, 15 May 2007 08:41:55 +0000 (08:41 +0000)]
MDL-9798 fallback to html mimetype when missing index.php, index.html; merged from MOODLE_18_STABLE
skodak [Tue, 15 May 2007 08:33:22 +0000 (08:33 +0000)]
MDL-9798 workaround for handling of object tag in buggy IE; merged from MOODLE_18_STABLE
moodler [Tue, 15 May 2007 07:50:19 +0000 (07:50 +0000)]
Merged brackets fixes from stable
csantossaenz [Tue, 15 May 2007 06:41:25 +0000 (06:41 +0000)]
Removed code which was there to skip a step on Scorm compliance test
moodler [Tue, 15 May 2007 04:47:30 +0000 (04:47 +0000)]
Automatic installer.php lang files by installer_builder (
20070515)
toyomoyo [Tue, 15 May 2007 03:39:20 +0000 (03:39 +0000)]
taking out a debugging line
toyomoyo [Tue, 15 May 2007 03:19:01 +0000 (03:19 +0000)]
some changes to events to make grade_added work
stronk7 [Mon, 14 May 2007 16:57:33 +0000 (16:57 +0000)]
Add support for more tabs in module pages. Point 1. MDL-9736
Merged from MOODLE_18_STABLE
nfreear [Mon, 14 May 2007 13:28:21 +0000 (13:28 +0000)]
Follow-up fix bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6".
bobopinna [Mon, 14 May 2007 12:27:12 +0000 (12:27 +0000)]
Removed maxmodel unuseful variable
This could fix also cmi.interactions.n.learner_response problem
sam_marshall [Mon, 14 May 2007 12:11:47 +0000 (12:11 +0000)]
MDL-9382: Added fields and orderby parameters to get_user_capability_course, which allows for greatly improved performance in the case where you want more information about the courses. (However, the function does still basically suck.)
moodler [Mon, 14 May 2007 09:38:41 +0000 (09:38 +0000)]
First rough cut at a grade_handler for Yu to continue with
moodler [Mon, 14 May 2007 09:30:56 +0000 (09:30 +0000)]
Event handler for new grades
toyomoyo [Mon, 14 May 2007 09:24:09 +0000 (09:24 +0000)]
adding csv plug in code, with no event handler
nicolasconnault [Mon, 14 May 2007 08:18:03 +0000 (08:18 +0000)]
MDL-9506 Added some unit tests, found some errors, and realised they came from incorrect setup unit test data, which I corrected (grade finals for item 3 were set to 2-digit ints although item 3 was a scale of 1-7.
nicolasconnault [Mon, 14 May 2007 04:14:22 +0000 (04:14 +0000)]
MDL-9506 Finally cracked the category aggregation. However, more thorough unit tests need to be written, with exact expectations instead of ranges, as currently used. All unit tests pass.
pichetp [Sun, 13 May 2007 15:07:07 +0000 (15:07 +0000)]
removing $qo->generalfeedback = ''; line 640 as generalfeedback is already set in
import_headers().
moodler [Sat, 12 May 2007 05:41:36 +0000 (05:41 +0000)]
Automatic installer.php lang files by installer_builder (
20070512)
jamiesensei [Fri, 11 May 2007 22:22:14 +0000 (22:22 +0000)]
some changes to make it easier to override editing icons in child classes and to make several lists work well with each other on the same page.
pichetp [Fri, 11 May 2007 13:00:34 +0000 (13:00 +0000)]
Setting import_process =true in defaultquestion() function used on imports
ikawhero [Fri, 11 May 2007 12:16:44 +0000 (12:16 +0000)]
Addng two new options to the custom profile fields:
1. Force unique - force the field data to be unique
2. Signup - display the field on the signup page
MDL-9702
nfreear [Fri, 11 May 2007 11:29:46 +0000 (11:29 +0000)]
Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6". Merged.
toyomoyo [Fri, 11 May 2007 09:08:30 +0000 (09:08 +0000)]
added code to write back timestamp
nicolasconnault [Fri, 11 May 2007 08:46:34 +0000 (08:46 +0000)]
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 :-)
moodler [Fri, 11 May 2007 06:23:16 +0000 (06:23 +0000)]
Automatic installer.php lang files by installer_builder (
20070511)
gbateson [Fri, 11 May 2007 05:28:28 +0000 (05:28 +0000)]
when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset')
nicolasconnault [Fri, 11 May 2007 03:29:00 +0000 (03:29 +0000)]
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.
nicolasconnault [Fri, 11 May 2007 02:43:46 +0000 (02:43 +0000)]
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.
moodler [Fri, 11 May 2007 02:11:30 +0000 (02:11 +0000)]
Removed set_timecreated and just tidied up some time-related things
skodak [Thu, 10 May 2007 12:30:14 +0000 (12:30 +0000)]
MDL-9642 auth/CAS: Dependence on external PEAR DB; merged from MOODLE_18_STABLE
urs_hunkler [Thu, 10 May 2007 10:46:42 +0000 (10:46 +0000)]
added clearfix true to clear the contetn in some modules/course forms
toyomoyo [Thu, 10 May 2007 09:29:58 +0000 (09:29 +0000)]
grade export plugins
moodler [Thu, 10 May 2007 09:07:37 +0000 (09:07 +0000)]
A few small fixes and clean ups
skodak [Thu, 10 May 2007 09:02:41 +0000 (09:02 +0000)]
MDL-9764 Require_course_login() should check cm visibility in frontpage course too; merged from MOODLE_18_STABLE
nicolasconnault [Thu, 10 May 2007 08:58:00 +0000 (08:58 +0000)]
MDL-9506 small fix
toyomoyo [Thu, 10 May 2007 08:23:44 +0000 (08:23 +0000)]
adding new global variable to deter which export should write the exported timestamp in grade_grades_final table
nicolasconnault [Thu, 10 May 2007 08:08:43 +0000 (08:08 +0000)]
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.
moodler [Thu, 10 May 2007 07:16:33 +0000 (07:16 +0000)]
DIsabling Chameleon for the general case
moodler [Thu, 10 May 2007 06:38:40 +0000 (06:38 +0000)]
Tweaking graphics a bit
moodler [Thu, 10 May 2007 06:23:37 +0000 (06:23 +0000)]
Bigger beige box for big screens
moodler [Thu, 10 May 2007 06:05:21 +0000 (06:05 +0000)]
Tidied up some images a bit (smoother when repeated)
moodler [Thu, 10 May 2007 05:57:51 +0000 (05:57 +0000)]
I really don't like the underlines and color-changing on links ... :-)
moodler [Thu, 10 May 2007 05:37:52 +0000 (05:37 +0000)]
Just removing the debug stuff from the header
toyomoyo [Thu, 10 May 2007 03:51:55 +0000 (03:51 +0000)]
removing extra code
toyomoyo [Thu, 10 May 2007 03:50:07 +0000 (03:50 +0000)]
removed extra code
toyomoyo [Thu, 10 May 2007 03:46:10 +0000 (03:46 +0000)]
prefix is no longer needed for the array containing event dataI(e.g. $mod_assignment_events", $events is sufficient.
nicolasconnault [Thu, 10 May 2007 02:34:01 +0000 (02:34 +0000)]
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
urs_hunkler [Wed, 9 May 2007 18:29:36 +0000 (18:29 +0000)]
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.
urs_hunkler [Wed, 9 May 2007 15:44:50 +0000 (15:44 +0000)]
added clearfix to middle-column wrapper div against collapsing
urs_hunkler [Wed, 9 May 2007 15:34:14 +0000 (15:34 +0000)]
added/changed custom corners lib and calls to add the necessary divs
urs_hunkler [Wed, 9 May 2007 15:33:05 +0000 (15:33 +0000)]
added page my-index to exclude list because it uses layout-table
urs_hunkler [Wed, 9 May 2007 15:03:01 +0000 (15:03 +0000)]
added/changed custom corners lib and calls to add the necessary divs
nfreear [Wed, 9 May 2007 14:40:02 +0000 (14:40 +0000)]
Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6"
urs_hunkler [Wed, 9 May 2007 14:39:13 +0000 (14:39 +0000)]
added/changed custom corners lib and calls to add the necessary divs
urs_hunkler [Wed, 9 May 2007 14:33:42 +0000 (14:33 +0000)]
library to add the surrounding divs for custom corners and borders.
urs_hunkler [Wed, 9 May 2007 14:26:59 +0000 (14:26 +0000)]
custom_corners theme added
nfreear [Wed, 9 May 2007 14:15:33 +0000 (14:15 +0000)]
Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6"
poltawski [Wed, 9 May 2007 10:05:08 +0000 (10:05 +0000)]
MDL-9649 'keep searching' in bulk messaging broken merged from MOODLE_18_STABLE
nicolasconnault [Wed, 9 May 2007 09:01:56 +0000 (09:01 +0000)]
MDL-9506 Replaces grade_grades_text.gradesid by composite key userid and itemid.
nicolasconnault [Wed, 9 May 2007 08:56:08 +0000 (08:56 +0000)]
MLD-9506 Grade_grades_raw object now infers grademax and grademin from scale, if scaleid is given at the time of insert of update.
toyomoyo [Wed, 9 May 2007 08:45:25 +0000 (08:45 +0000)]
adding support for specific item ids and text feedbacks
poltawski [Wed, 9 May 2007 08:39:14 +0000 (08:39 +0000)]
MDL-9187 Added missing - between week course date periods, merged from
MOODLE_18_STABLE
nicolasconnault [Wed, 9 May 2007 08:10:27 +0000 (08:10 +0000)]
MDL-9506 Added grade_grades_text object to grade_grades_final and raw objects.
nicolasconnault [Wed, 9 May 2007 08:06:35 +0000 (08:06 +0000)]
Fixed incorrect paths to config.php and preset_class.php.
toyomoyo [Wed, 9 May 2007 07:52:00 +0000 (07:52 +0000)]
changing grade book db so that grade_grades_text can be referenced from grade_grades_final
nicolasconnault [Wed, 9 May 2007 07:50:28 +0000 (07:50 +0000)]
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 :-)
moodler [Wed, 9 May 2007 06:49:23 +0000 (06:49 +0000)]
Added CSS class for current language to every page MDL-9750
toyomoyo [Wed, 9 May 2007 06:14:09 +0000 (06:14 +0000)]
making grabbing grades from 3rd party mods run 20% of the time
toyomoyo [Wed, 9 May 2007 05:56:34 +0000 (05:56 +0000)]
dropping gradescale for grade_raw and grade_final table
nicolasconnault [Wed, 9 May 2007 05:42:06 +0000 (05:42 +0000)]
Removed breaking unit test, originally set up to test xhtml validity throughout the site.
poltawski [Wed, 9 May 2007 01:11:45 +0000 (01:11 +0000)]
MDL-9742 Converting tabs to spaces
poltawski [Wed, 9 May 2007 00:50:29 +0000 (00:50 +0000)]
MDL-9742 Converting tabs to spaces
poltawski [Wed, 9 May 2007 00:25:51 +0000 (00:25 +0000)]
MDL-9742 - Converting tabs to spaces in groups code
poltawski [Wed, 9 May 2007 00:06:29 +0000 (00:06 +0000)]
MDL-9742 - Converting tabs to spaces in groups code
poltawski [Tue, 8 May 2007 23:44:31 +0000 (23:44 +0000)]
MDL-9742 - Converting tabs to spaces in groups code
poltawski [Tue, 8 May 2007 23:30:58 +0000 (23:30 +0000)]
MDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 23:19:50 +0000 (23:19 +0000)]
MDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 22:50:04 +0000 (22:50 +0000)]
MDL-9742 Moving tabs to spaces