Commit graph

26523 commits

Author SHA1 Message Date
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
poltawski
e670e7fc30 MDL-9742 - Converting tabs to spaces in groups code 2007-05-09 00:25:51 +00:00
poltawski
dd87bde774 MDL-9742 - Converting tabs to spaces in groups code 2007-05-09 00:06:29 +00:00
poltawski
46e15fa354 MDL-9742 - Converting tabs to spaces in groups code 2007-05-08 23:44:31 +00:00
poltawski
a9d71982b0 MDL-9742 Converting tabs to spaces 2007-05-08 23:30:58 +00:00
poltawski
307f1bcbf5 MDL-9742 Converting tabs to spaces 2007-05-08 23:19:50 +00:00
poltawski
43ab9aa463 MDL-9742 Moving tabs to spaces 2007-05-08 22:50:04 +00:00
pichetp
d1c432e207 adding more validation and a dummy subquestion in MATCH if there is only 2 subquestions. 2007-05-08 19:19:09 +00:00
poltawski
9f439b177d MDL-9742 Replaced stray tabs with spaces 2007-05-08 16:25:18 +00:00
poltawski
2ee60b4944 MDL-9742 Replaced stray tabs with spaces 2007-05-08 16:11:58 +00:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
sam_marshall
3ef1be377b MDL-9741: Fixed broken link on editor help page 2007-05-08 14:57:37 +00:00
thepurpleblob
460135234c 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.
2007-05-08 14:24:13 +00:00
thepurpleblob
fe219f8d76 Merege from stable. New strings for xml import error messages. 2007-05-08 14:15:48 +00:00
csantossaenz
7de38ebfcd Fixed some sintactic errors in sequencinglib.php 2007-05-08 12:40:29 +00:00
poltawski
840b7addef Removing tabs and re-indenting as I seem to have vim misconfigured.. 2007-05-08 12:02:29 +00:00
poltawski
9c186e9ba1 add cvs id to file 2007-05-08 11:43:46 +00:00
toyomoyo
c10ddfb3c0 Adding gradebook base class and export plugins. Refactored from old gradebook. Untested code. 2007-05-08 08:59:41 +00:00
nicolasconnault
2c72af1f08 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). 2007-05-08 08:01:55 +00:00
csantossaenz
33cf55bf96 Changed Ojective Rollup Process 2007-05-08 07:38:11 +00:00
csantossaenz
0506995042 Added function to handle exceptions 2007-05-08 07:25:20 +00:00
nicolasconnault
0aa32279b7 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. 2007-05-08 02:20:26 +00:00
nicolasconnault
3504e07b1d *** empty log message *** 2007-05-08 01:48:27 +00:00
jamiesensei
85c375c3f8 added function callbacks for module specific controls to question bank. 2007-05-07 16:57:23 +00:00
jamiesensei
0de94538ee fixed links on edit icons so that they return to question bank page. 2007-05-07 15:38:02 +00:00
jamiesensei
7cd4fda6e7 changing param type for returnurl to PARAM_LOCALURL 2007-05-07 15:16:07 +00:00
csantossaenz
af8ed6dcba Added some manifest data to the scorm_scoes_data table 2007-05-07 12:55:31 +00:00
csantossaenz
1536b92d5f Added a function to control the rollup process and changed some stored data 2007-05-07 12:15:16 +00:00
poltawski
5c6f918fee MDL-9731 Adding admin setting for disableuserimages 2007-05-07 11:40:02 +00:00
poltawski
c3d1fbe943 MDL-9726 - fixed phpdoc comment from MartinD's commit 2007-05-07 08:34:08 +00:00
nicolasconnault
f151b07393 MDL-9506 Added category's associated grade_item object, and changed unit tests database data so that it creates its own test tables. 2007-05-07 07:33:11 +00:00
jamiesensei
64eeaf4753 removed all session fromurl and returnurl stuff from question bank editing code. Returnurls are now passed as get/post params. 2007-05-07 07:13:14 +00:00
jamiesensei
f86c2c84b1 fixed error in import.php category object fetching logic 2007-05-07 07:08:41 +00:00
jamiesensei
561fe61df3 return to the proper page after editing a question in the question bank. 2007-05-07 06:35:33 +00:00
jamiesensei
d340fde6c4 oops. Accidentally committed a change in default no of category items displayed which I'd changed for debug purposes. Reverting change. 2007-05-07 05:57:49 +00:00
jamiesensei
986effb653 pass the category list page param from page to page in question bank editing pages. 2007-05-07 05:53:20 +00:00
jamiesensei
400edee1ec always make sure that page param is in the pageurl 2007-05-07 05:30:06 +00:00
jamiesensei
81be5cdec3 added argument to constructor to specify the name of the page parameter used to pass the page no of the list. Default to 'page' 2007-05-07 05:25:44 +00:00
jamiesensei
a4758a8632 require_login is in 'question_edit_setup' we don't need to call it again here. 2007-05-07 05:12:09 +00:00
toyomoyo
db76f84627 merged fix for MLD-9727, capability typo 2007-05-07 05:00:22 +00:00