skodak
4230372f19
removed unused $varprefix
2007-05-17 14:05:36 +00:00
skodak
14488335e1
MDL-9840 - added missing installation of core event handlers during initial install
2007-05-17 14:04:22 +00:00
nicolasconnault
a39cac258d
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 :-)
2007-05-17 09:04:52 +00:00
toyomoyo
85e287deaa
development code, missing GUI and formslib for second form
2007-05-17 08:55:29 +00:00
toyomoyo
2becf502b3
fixing footer
2007-05-17 08:53:56 +00:00
skodak
24be194445
merging forgotten changes from MOODLE_18_STABLE
2007-05-17 08:48:47 +00:00
nicolasconnault
607a0bbbc9
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.
2007-05-17 04:13:42 +00:00
nicolasconnault
8ff4550af2
MDL-9506 Refactored some of the category methods into grade_tree, same for unit tests.
2007-05-17 02:22:32 +00:00
martinlanghoff
6c146b7d7f
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
2007-05-16 23:19:15 +00:00
skodak
c1f7441a05
MDL-9392 resource_popup: not working; merged from MOODLE_18_STABLE
2007-05-16 21:29:12 +00:00
skodak
ec74e82d5c
MDL-9618 Form remove option logic is incorrect - patch by Mark Nielsen; merged from MOODLE_18_STABLE
2007-05-16 20:32:01 +00:00
skodak
68d0c80c21
MDL-9761 Student's Gradebook view doesn't follow defaults establ;ished by the Instructor; patch by Jason Skinner; merged from MOODLE_18_STABLE
2007-05-16 20:25:12 +00:00
skodak
13569fd43b
MDL-9418 use proper addslashes before each insert; merged from MOODLE_18_STABLE
2007-05-16 20:08:26 +00:00
skodak
9eb64c947a
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
2007-05-16 18:17:14 +00:00
nicolasconnault
e835361626
MDL-9506 Created new grade_tree object for working with a tree of grade_categories and items.
2007-05-16 15:04:35 +00:00
bobopinna
91e7b2b18a
Fixed bug with correct_responses elements
2007-05-16 14:30:25 +00:00
bobopinna
92733802a9
Fixed double indexed elements problem
2007-05-16 08:34:25 +00:00
toyomoyo
985d1ee11b
new grade book export plugins development
2007-05-16 08:21:46 +00:00
moodler
b6b354e36e
Merged MDL-9826 from stable
2007-05-16 08:03:37 +00:00
nicolasconnault
e81235897c
MDL-9506 Fixed a couple of failing unit tests, due to new test data
2007-05-16 07:47:04 +00:00
nicolasconnault
c78b0cc59a
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.
2007-05-16 03:17:46 +00:00
nicolasconnault
0dfe77317a
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.
2007-05-16 02:47:56 +00:00
pichetp
65654c0646
modifiyng save question so that $SESSION is not used MDL-8565
2007-05-16 02:18:29 +00:00
pichetp
dde9b164ca
correcting for modifications done in numerical question units code
2007-05-16 02:05:40 +00:00
skodak
8eb81bd9e7
MDL-9824 do not use sesskey check when user already logged out in logout.php; merged from MOODLE_18_STABLE
2007-05-15 21:13:23 +00:00
skodak
a7156b5d7f
MDL-9380 Adding a Resource of Type directory leads to SQL errors, patch by Andrew Schmadeke; merged from MOODLE_18_STABLE
2007-05-15 20:56:40 +00:00
skodak
e38bbf52c4
MDL-9799 can not use forms due to object bug in IE :-( ; merged from MOODLE_18_STABLE
2007-05-15 20:22:15 +00:00
skodak
7b8f289cdf
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
2007-05-15 19:56:08 +00:00
skodak
e61c34cfe5
MDL-9823 Disclaimer HRef is repeated twice in the Link - Policy.php for some urls; merged from MOODLE_18_STABLE
2007-05-15 19:42:53 +00:00
skodak
7bf579b243
MDL-9821 incorrect permission to modify templates for non-editing teacher in db module; merged from MOODLE_18_STABLE
2007-05-15 16:58:05 +00:00
skodak
606361b9c2
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
2007-05-15 16:45:53 +00:00
nicolasconnault
5e16f809f8
MDL-9506 Experimental development of numbering and displaying of category and items tree/table. Messy work :-)
2007-05-15 09:59:53 +00:00
exe-cutor
1531d1efef
Merging fixes from 1.8 stable
2007-05-15 08:49:54 +00:00
toyomoyo
a2422359a0
fixing grade exports
2007-05-15 08:49:49 +00:00
skodak
2b53417835
MDL-9798 fallback to html mimetype when missing index.php, index.html; merged from MOODLE_18_STABLE
2007-05-15 08:41:55 +00:00
skodak
28b2891e4c
MDL-9798 workaround for handling of object tag in buggy IE; merged from MOODLE_18_STABLE
2007-05-15 08:33:22 +00:00
moodler
ae3e06dd24
Merged brackets fixes from stable
2007-05-15 07:50:19 +00:00
csantossaenz
b7500e489f
Removed code which was there to skip a step on Scorm compliance test
2007-05-15 06:41:25 +00:00
moodler
e2eb83135a
Automatic installer.php lang files by installer_builder (20070515)
2007-05-15 04:47:30 +00:00
toyomoyo
85ac09edc6
taking out a debugging line
2007-05-15 03:39:20 +00:00
toyomoyo
9492291c82
some changes to events to make grade_added work
2007-05-15 03:19:01 +00:00
stronk7
3b98c475cd
Add support for more tabs in module pages. Point 1. MDL-9736
...
Merged from MOODLE_18_STABLE
2007-05-14 16:57:33 +00:00
nfreear
a84dea2c30
Follow-up fix bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6".
2007-05-14 13:28:21 +00:00
bobopinna
a5fcd78018
Removed maxmodel unuseful variable
...
This could fix also cmi.interactions.n.learner_response problem
2007-05-14 12:27:12 +00:00
sam_marshall
3bb92bbe04
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.)
2007-05-14 12:11:47 +00:00
moodler
bfe7297e47
First rough cut at a grade_handler for Yu to continue with
2007-05-14 09:38:41 +00:00
moodler
ca4bcf58ec
Event handler for new grades
2007-05-14 09:30:56 +00:00
toyomoyo
7f999ccbdc
adding csv plug in code, with no event handler
2007-05-14 09:24:09 +00:00
nicolasconnault
dda0c7e666
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.
2007-05-14 08:18:03 +00:00
nicolasconnault
096858ffcf
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.
2007-05-14 04:14:22 +00:00