moodler [Sat, 19 May 2007 04:38:43 +0000 (04:38 +0000)]
Automatic installer.php lang files by installer_builder (
20070519)
pichetp [Fri, 18 May 2007 12:51:38 +0000 (12:51 +0000)]
correcting datasets to $datasets line 248
jmg324 [Fri, 18 May 2007 11:57:46 +0000 (11:57 +0000)]
MDL-9802 added my:manageblocks capability so admins can define whether users can add/remove blocks from myMoodle page
skodak [Fri, 18 May 2007 09:52:11 +0000 (09:52 +0000)]
MDL-984adding forgottent rs_close() - thanks Eloy! merged from MOODLE_18_STABLE
skodak [Fri, 18 May 2007 09:20:52 +0000 (09:20 +0000)]
MDL-9842 Groups from groupings not moved to "Not in a grouping"; merged from MOODLE_18_STABLE
toyomoyo [Fri, 18 May 2007 08:49:00 +0000 (08:49 +0000)]
bug fixes for gradebook import/export
nicolasconnault [Fri, 18 May 2007 08:05:53 +0000 (08:05 +0000)]
MDL-9506 New grade_category::set_as_parent($children) method (non-static). Crucial method for adding categories over children. 4 constraints have been set up, and successfully tested in unit tests. However, the method fails when it comes to updating the children's parent fields. The test data may be missing some required fields.
nicolasconnault [Fri, 18 May 2007 05:34:30 +0000 (05:34 +0000)]
MDL-9506 Fixed up the grade_tree and its unit tests. The main change to notice is in grade_category, where the array returned by get_children() is indexed by sortorder. The associated unit tests have been updated to reflect this important change.
skodak [Thu, 17 May 2007 19:48:57 +0000 (19:48 +0000)]
MDL-9846 Typo in password policy
thepurpleblob [Thu, 17 May 2007 17:44:06 +0000 (17:44 +0000)]
Check if the files exist. Display tick if they do and cross if not.
skodak [Thu, 17 May 2007 15:44:07 +0000 (15:44 +0000)]
MDL-9843 get_cached_events does not handle components properly;
whitespace cleanup;
minor coding style changes - such as always returning arrays from get cached and file events;
marked some functions as eventslib internal only
skodak [Thu, 17 May 2007 14:05:36 +0000 (14:05 +0000)]
removed unused $varprefix
skodak [Thu, 17 May 2007 14:04:22 +0000 (14:04 +0000)]
MDL-9840 - added missing installation of core event handlers during initial install
nicolasconnault [Thu, 17 May 2007 09:04:52 +0000 (09:04 +0000)]
MDL-9506 Elements of the array returned by grade_category::get_children are now indexed by sortorder, to work more easily with grade_tree methods.
New get_sortorder method for grade_category and grade_item. This is used when the type of an object is unknown, and could be either one. Because categories have a "virtual" sortorder (through their grade_item), they can transparently return one as well.
Unit tests fail for grade_tree at present because of faulty implementation which is being fixed. The $depth attribute has been completely removed, as well as a number of switch statements, in favour of an $index variable which is exploded and used to build strings of array keys for eval statements (unset and array_splice). Can't wait to get all this working :-)
toyomoyo [Thu, 17 May 2007 08:55:29 +0000 (08:55 +0000)]
development code, missing GUI and formslib for second form
toyomoyo [Thu, 17 May 2007 08:53:56 +0000 (08:53 +0000)]
fixing footer
skodak [Thu, 17 May 2007 08:48:47 +0000 (08:48 +0000)]
merging forgotten changes from MOODLE_18_STABLE
nicolasconnault [Thu, 17 May 2007 04:13:42 +0000 (04:13 +0000)]
MDL-9506 Successfully implemented the grade_tree methods for moving an element somewhere else in the tree. Tests pass successfully. However the test data doesn't yet include more than 1 top-category, so I can't test moving it. Direct insertion and deletion have not yet been tested, although insertion is used by the move_element method.
nicolasconnault [Thu, 17 May 2007 02:22:32 +0000 (02:22 +0000)]
MDL-9506 Refactored some of the category methods into grade_tree, same for unit tests.
martinlanghoff [Wed, 16 May 2007 23:19:15 +0000 (23:19 +0000)]
get_my_courses() if the parameters passed are identical to the defaults... MDL-7416
We are using the defaults then ;-)
Credits for spotting it go to Yu!
Blames for the thinko to MartinL
skodak [Wed, 16 May 2007 21:29:12 +0000 (21:29 +0000)]
MDL-9392 resource_popup: not working; merged from MOODLE_18_STABLE
skodak [Wed, 16 May 2007 20:32:01 +0000 (20:32 +0000)]
MDL-9618 Form remove option logic is incorrect - patch by Mark Nielsen; merged from MOODLE_18_STABLE
skodak [Wed, 16 May 2007 20:25:12 +0000 (20:25 +0000)]
MDL-9761 Student's Gradebook view doesn't follow defaults establ;ished by the Instructor; patch by Jason Skinner; merged from MOODLE_18_STABLE
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.