]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoRemoved code which was there to skip a step on Scorm compliance test
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

18 years agoAutomatic installer.php lang files by installer_builder (20070515)
moodler [Tue, 15 May 2007 04:47:30 +0000 (04:47 +0000)]
Automatic installer.php lang files by installer_builder (20070515)

18 years agotaking out a debugging line
toyomoyo [Tue, 15 May 2007 03:39:20 +0000 (03:39 +0000)]
taking out a debugging line

18 years agosome changes to events to make grade_added work
toyomoyo [Tue, 15 May 2007 03:19:01 +0000 (03:19 +0000)]
some changes to events to make grade_added work

18 years agoAdd support for more tabs in module pages. Point 1. MDL-9736
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

18 years agoFollow-up fix bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6".
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".

18 years agoRemoved maxmodel unuseful variable
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

18 years agoMDL-9382: Added fields and orderby parameters to get_user_capability_course, which...
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.)

18 years agoFirst rough cut at a grade_handler for Yu to continue with
moodler [Mon, 14 May 2007 09:38:41 +0000 (09:38 +0000)]
First rough cut at a grade_handler for Yu to continue with

18 years agoEvent handler for new grades
moodler [Mon, 14 May 2007 09:30:56 +0000 (09:30 +0000)]
Event handler for new grades

18 years agoadding csv plug in code, with no event handler
toyomoyo [Mon, 14 May 2007 09:24:09 +0000 (09:24 +0000)]
adding csv plug in code, with no event handler

18 years agoMDL-9506 Added some unit tests, found some errors, and realised they came from incorr...
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.

18 years agoMDL-9506 Finally cracked the category aggregation. However, more thorough unit tests...
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.

18 years agoremoving $qo->generalfeedback = ''; line 640 as generalfeedback is already set in
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().

18 years agoAutomatic installer.php lang files by installer_builder (20070512)
moodler [Sat, 12 May 2007 05:41:36 +0000 (05:41 +0000)]
Automatic installer.php lang files by installer_builder (20070512)

18 years agosome changes to make it easier to override editing icons in child classes and to...
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.

18 years agoSetting import_process =true in defaultquestion() function used on imports
pichetp [Fri, 11 May 2007 13:00:34 +0000 (13:00 +0000)]
Setting import_process =true in defaultquestion() function used on imports

18 years agoAddng two new options to the custom profile fields:
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

18 years agoFixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6". Merged.
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.

18 years agoadded code to write back timestamp
toyomoyo [Fri, 11 May 2007 09:08:30 +0000 (09:08 +0000)]
added code to write back timestamp

18 years agoMDL-9506 Almost completed category aggregation, including generation of raw and final...
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 :-)

18 years agoAutomatic installer.php lang files by installer_builder (20070511)
moodler [Fri, 11 May 2007 06:23:16 +0000 (06:23 +0000)]
Automatic installer.php lang files by installer_builder (20070511)

18 years agowhen inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page...
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')

18 years agoMDL-9506 Finished implementing the propagation of needsupdate flag up the hierarchy...
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.

18 years agoMDL-9506 Fixed a bug with the fetch method. This method should not be called statical...
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.

18 years agoRemoved set_timecreated and just tidied up some time-related things
moodler [Fri, 11 May 2007 02:11:30 +0000 (02:11 +0000)]
Removed set_timecreated and just tidied up some time-related things

18 years agoMDL-9642 auth/CAS: Dependence on external PEAR DB; merged from MOODLE_18_STABLE
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

18 years agoadded clearfix true to clear the contetn in some modules/course forms
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

18 years agograde export plugins
toyomoyo [Thu, 10 May 2007 09:29:58 +0000 (09:29 +0000)]
grade export plugins

18 years agoA few small fixes and clean ups
moodler [Thu, 10 May 2007 09:07:37 +0000 (09:07 +0000)]
A few small fixes and clean ups

18 years agoMDL-9764 Require_course_login() should check cm visibility in frontpage course too...
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

18 years agoMDL-9506 small fix
nicolasconnault [Thu, 10 May 2007 08:58:00 +0000 (08:58 +0000)]
MDL-9506 small fix

18 years agoadding new global variable to deter which export should write the exported timestamp...
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

18 years agoMDL-9506
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.

18 years agoDIsabling Chameleon for the general case
moodler [Thu, 10 May 2007 07:16:33 +0000 (07:16 +0000)]
DIsabling Chameleon for the general case

18 years agoTweaking graphics a bit
moodler [Thu, 10 May 2007 06:38:40 +0000 (06:38 +0000)]
Tweaking graphics a bit

18 years agoBigger beige box for big screens
moodler [Thu, 10 May 2007 06:23:37 +0000 (06:23 +0000)]
Bigger beige box for big screens

18 years agoTidied up some images a bit (smoother when repeated)
moodler [Thu, 10 May 2007 06:05:21 +0000 (06:05 +0000)]
Tidied up some images a bit (smoother when repeated)

18 years agoI really don't like the underlines and color-changing on links ... :-)
moodler [Thu, 10 May 2007 05:57:51 +0000 (05:57 +0000)]
I really don't like the underlines and color-changing on links ...  :-)

18 years agoJust removing the debug stuff from the header
moodler [Thu, 10 May 2007 05:37:52 +0000 (05:37 +0000)]
Just removing the debug stuff from the header

18 years agoremoving extra code
toyomoyo [Thu, 10 May 2007 03:51:55 +0000 (03:51 +0000)]
removing extra code

18 years agoremoved extra code
toyomoyo [Thu, 10 May 2007 03:50:07 +0000 (03:50 +0000)]
removed extra code

18 years agoprefix is no longer needed for the array containing event dataI(e.g. $mod_assignment_...
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.

18 years agoMDL-9506
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

18 years agoadded/changed custom corners lib and calls to add the necessary divs
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.

18 years agoadded clearfix to middle-column wrapper div against collapsing
urs_hunkler [Wed, 9 May 2007 15:44:50 +0000 (15:44 +0000)]
added clearfix to middle-column wrapper div against collapsing

18 years agoadded/changed custom corners lib and calls to add the necessary divs
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

18 years agoadded page my-index to exclude list because it uses layout-table
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

18 years agoadded/changed custom corners lib and calls to add the necessary divs
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

18 years agoFixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6"
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"

18 years agoadded/changed custom corners lib and calls to add the necessary divs
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

18 years agolibrary to add the surrounding divs for custom corners and borders.
urs_hunkler [Wed, 9 May 2007 14:33:42 +0000 (14:33 +0000)]
library to add the surrounding divs for custom corners and borders.

18 years agocustom_corners theme added
urs_hunkler [Wed, 9 May 2007 14:26:59 +0000 (14:26 +0000)]
custom_corners theme added

18 years agoFixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6"
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"

18 years agoMDL-9649 'keep searching' in bulk messaging broken merged from MOODLE_18_STABLE
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

18 years agoMDL-9506 Replaces grade_grades_text.gradesid by composite key userid and itemid.
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.

18 years agoMLD-9506 Grade_grades_raw object now infers grademax and grademin from scale, if...
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.

18 years agoadding support for specific item ids and text feedbacks
toyomoyo [Wed, 9 May 2007 08:45:25 +0000 (08:45 +0000)]
adding support for specific item ids and text feedbacks

18 years agoMDL-9187 Added missing - between week course date periods, merged from
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

18 years agoMDL-9506 Added grade_grades_text object to grade_grades_final and raw objects.
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.

18 years agoFixed incorrect paths to config.php and preset_class.php.
nicolasconnault [Wed, 9 May 2007 08:06:35 +0000 (08:06 +0000)]
Fixed incorrect paths to config.php and preset_class.php.

18 years agochanging grade book db so that grade_grades_text can be referenced from grade_grades_...
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

18 years agoMDL-9506 Unit test tables are now created and emptied using XMLDB. raw.gradescale...
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 :-)

18 years agoAdded CSS class for current language to every page MDL-9750
moodler [Wed, 9 May 2007 06:49:23 +0000 (06:49 +0000)]
Added CSS class for current language to every page  MDL-9750

18 years agomaking grabbing grades from 3rd party mods run 20% of the time
toyomoyo [Wed, 9 May 2007 06:14:09 +0000 (06:14 +0000)]
making grabbing grades from 3rd party mods run 20% of the time

18 years agodropping gradescale for grade_raw and grade_final table
toyomoyo [Wed, 9 May 2007 05:56:34 +0000 (05:56 +0000)]
dropping gradescale for grade_raw and grade_final table

18 years agoRemoved breaking unit test, originally set up to test xhtml validity throughout the...
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.

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Wed, 9 May 2007 01:11:45 +0000 (01:11 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Wed, 9 May 2007 00:50:29 +0000 (00:50 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 - Converting tabs to spaces in groups code
poltawski [Wed, 9 May 2007 00:25:51 +0000 (00:25 +0000)]
MDL-9742 - Converting tabs to spaces in groups code

18 years agoMDL-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

18 years agoMDL-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

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 23:30:58 +0000 (23:30 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 23:19:50 +0000 (23:19 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 Moving tabs to spaces
poltawski [Tue, 8 May 2007 22:50:04 +0000 (22:50 +0000)]
MDL-9742 Moving tabs to spaces

18 years agoadding more validation and a dummy subquestion in MATCH if there is only 2 subquestions.
pichetp [Tue, 8 May 2007 19:19:09 +0000 (19:19 +0000)]
adding more validation and a dummy subquestion in MATCH if there is only 2 subquestions.

18 years agoMDL-9742 Replaced stray tabs with spaces
poltawski [Tue, 8 May 2007 16:25:18 +0000 (16:25 +0000)]
MDL-9742 Replaced stray tabs with spaces

18 years agoMDL-9742 Replaced stray tabs with spaces
poltawski [Tue, 8 May 2007 16:11:58 +0000 (16:11 +0000)]
MDL-9742 Replaced stray tabs with spaces

18 years agoMDL-9742 Converting tabs to spaces
poltawski [Tue, 8 May 2007 15:44:37 +0000 (15:44 +0000)]
MDL-9742 Converting tabs to spaces

18 years agoMDL-9742 - changed tabs to spaces in a few places where there are one
poltawski [Tue, 8 May 2007 15:07:25 +0000 (15:07 +0000)]
MDL-9742 - changed tabs to spaces in a few places where there are one
or two

18 years agoMDL-9741: Fixed broken link on editor help page
sam_marshall [Tue, 8 May 2007 14:57:37 +0000 (14:57 +0000)]
MDL-9741: Fixed broken link on editor help page

18 years agoMDL-9700:
thepurpleblob [Tue, 8 May 2007 14:24:13 +0000 (14:24 +0000)]
MDL-9700:
Added more comprehensive checks for missing fields not exported in
previous versions.
More could be done, but this covers the basics and works for 1.6 (and
probably 1.5) exports.

18 years agoMerege from stable. New strings for xml import error messages.
thepurpleblob [Tue, 8 May 2007 14:15:48 +0000 (14:15 +0000)]
Merege from stable. New strings for xml import error messages.

18 years agoFixed some sintactic errors in sequencinglib.php
csantossaenz [Tue, 8 May 2007 12:40:29 +0000 (12:40 +0000)]
Fixed some sintactic errors in sequencinglib.php

18 years agoRemoving tabs and re-indenting as I seem to have vim misconfigured..
poltawski [Tue, 8 May 2007 12:02:29 +0000 (12:02 +0000)]
Removing tabs and re-indenting as I seem to have vim misconfigured..

18 years agoadd cvs id to file
poltawski [Tue, 8 May 2007 11:43:46 +0000 (11:43 +0000)]
add cvs id to file

18 years agoAdding gradebook base class and export plugins. Refactored from old gradebook. Untest...
toyomoyo [Tue, 8 May 2007 08:59:41 +0000 (08:59 +0000)]
Adding gradebook base class and export plugins. Refactored from old gradebook. Untested code.

18 years agoMDL-9506 Stuck on grade_category->generate_grades. I cannot figure out how to recursi...
nicolasconnault [Tue, 8 May 2007 08:01:55 +0000 (08:01 +0000)]
MDL-9506 Stuck on grade_category->generate_grades. I cannot figure out how to recursively generate raw grades for each category's associated grade_item based on that category's children categories and items. Heaps of other changes with this commit, including a new grade_object::update_from_db() method, which uses the state of the record in DB to update the current object with a matching id (useful when you insert an incomplete object in the DB and want to get the default values as set up in the DB).

18 years agoChanged Ojective Rollup Process
csantossaenz [Tue, 8 May 2007 07:38:11 +0000 (07:38 +0000)]
Changed Ojective Rollup Process

18 years agoAdded function to handle exceptions
csantossaenz [Tue, 8 May 2007 07:25:20 +0000 (07:25 +0000)]
Added function to handle exceptions

18 years agoMDL-9506 Issue 1: adjusting a gradeitem's value would result in a grade_final object...
nicolasconnault [Tue, 8 May 2007 02:20:26 +0000 (02:20 +0000)]
MDL-9506 Issue 1: adjusting a gradeitem's value would result in a grade_final object with gradevalue assigned, even when a gradescale should have been assigned. Issue 2: double grade_final entries when calling grade_item->load_final() after grade_item->generate_final(). Issue 3: Calling grade_item->update_final_grade() without first calling grade_item->generate_final() would result in fatal error. generate_final() is now called if the raw and final arrays' sizes don't match.

18 years ago*** empty log message ***
nicolasconnault [Tue, 8 May 2007 01:48:27 +0000 (01:48 +0000)]
*** empty log message ***

18 years agoadded function callbacks for module specific controls to question bank.
jamiesensei [Mon, 7 May 2007 16:57:23 +0000 (16:57 +0000)]
added function callbacks for module specific controls to question bank.

18 years agofixed links on edit icons so that they return to question bank page.
jamiesensei [Mon, 7 May 2007 15:38:02 +0000 (15:38 +0000)]
fixed links on edit icons so that they return to question bank page.

18 years agochanging param type for returnurl to PARAM_LOCALURL
jamiesensei [Mon, 7 May 2007 15:16:07 +0000 (15:16 +0000)]
changing param type for returnurl to PARAM_LOCALURL

18 years agoAdded some manifest data to the scorm_scoes_data table
csantossaenz [Mon, 7 May 2007 12:55:31 +0000 (12:55 +0000)]
Added some manifest data to the scorm_scoes_data table

18 years agoAdded a function to control the rollup process and changed some stored data
csantossaenz [Mon, 7 May 2007 12:15:16 +0000 (12:15 +0000)]
Added a function to control the rollup process and changed some stored data

18 years agoMDL-9731 Adding admin setting for disableuserimages
poltawski [Mon, 7 May 2007 11:40:02 +0000 (11:40 +0000)]
MDL-9731 Adding admin setting for disableuserimages

18 years agoMDL-9726 - fixed phpdoc comment from MartinD's commit
poltawski [Mon, 7 May 2007 08:34:08 +0000 (08:34 +0000)]
MDL-9726 - fixed phpdoc comment from MartinD's commit

18 years agoMDL-9506 Added category's associated grade_item object, and changed unit tests databa...
nicolasconnault [Mon, 7 May 2007 07:33:11 +0000 (07:33 +0000)]
MDL-9506 Added category's associated grade_item object, and changed unit tests database data so that it creates its own test tables.