danmarsden [Sun, 7 Dec 2008 21:54:49 +0000 (21:54 +0000)]
skip content structure page:MDL-11908: skip content structure page with multiple scos - if a teacher has set to skip, it should skip! - even with multiple scos.
tjhunt [Fri, 5 Dec 2008 08:56:54 +0000 (08:56 +0000)]
course request: MDL-9854 major cleanup to the course request code.
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
pilpi [Thu, 4 Dec 2008 15:13:22 +0000 (15:13 +0000)]
quiz editing: MDL-17409 converted strings to use $a
converted concatenation to use $a instead for new (committed with the rest of Quiz UI redesign project) strings, created new strings for old strings that did not yet use $a
pilpi [Thu, 4 Dec 2008 13:28:20 +0000 (13:28 +0000)]
quiz editing: MDL-17409 removed ":" from source
removed ":" from source where they occured with new (committed with the rest of Quiz UI redesign project) strings and changed the strings accordingly
samulik [Thu, 4 Dec 2008 12:23:12 +0000 (12:23 +0000)]
course import: MDL-17497 PHP was running out of memory if a category had a lot of courses. Now get_courses only fetches course id and fullname (merge from 19_STABLE)
* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.
Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
ericmerrill [Wed, 3 Dec 2008 16:31:49 +0000 (16:31 +0000)]
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.
poltawski [Mon, 1 Dec 2008 22:23:42 +0000 (22:23 +0000)]
lib: class curl does http proxy tunneling if http proxy set. Most
proxies do not permit this so I think its better to just use pure
pure http MDL-17482
pichetp [Mon, 1 Dec 2008 04:00:54 +0000 (04:00 +0000)]
Modify a DB call so that the first index is not multiple .
Eliminate references to datasetdefinition->type other than 1
as the dataset tables are just used by calculated that used type =1 i.e. LITERAL.
skodak [Sun, 30 Nov 2008 15:42:48 +0000 (15:42 +0000)]
MDL-11984 blocks: new capability block/online_users:viewlist which may be used to restrict viewing of list of online users, if cap not allowed only number of users dispalyed, I hope this will be also faster because only one query used now (insetad of two); for BC reasons enabled by default in all legacy roles
pichetp [Sat, 29 Nov 2008 15:02:27 +0000 (15:02 +0000)]
Displacing <label> to enclose correctly answer text in question display
so no possible XML problem.
Cleaning comments
Better handling of empty responses when grading,
skodak [Fri, 28 Nov 2008 18:24:47 +0000 (18:24 +0000)]
MDL-16865 course defaults default settings are applied later when other settings already present, this fixes warnings during install and other potential problems
pilpi [Fri, 28 Nov 2008 14:07:06 +0000 (14:07 +0000)]
quiz editing: MDL-17398 cleaned up random question display in the edit subtab
made the link in an empty random question more readable, added a link to show category contents after the list of sample questions of a random question
jamiesensei [Fri, 28 Nov 2008 10:14:19 +0000 (10:14 +0000)]
MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.
Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.
Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
danmarsden [Fri, 28 Nov 2008 09:20:59 +0000 (09:20 +0000)]
add time restriction MDL-12588 - add ability to restrict the viewing of SCORM objects using a time/date restriction like most other modules already allow.
tjhunt [Fri, 28 Nov 2008 06:07:11 +0000 (06:07 +0000)]
random essay questions: MDL-8648 Allow essay questions to be selected by random question.
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.
The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.
I also changed the random question code so that I could remove some global variables.