* 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.
pilpi [Wed, 26 Nov 2008 16:24:46 +0000 (16:24 +0000)]
quiz editing: MDL-17418 added back (removed comments around) random question preview link for also the random question printing function for the order and paging tab.
thepurpleblob [Wed, 26 Nov 2008 14:34:40 +0000 (14:34 +0000)]
MDL-11090
Passwords are now held in clear text so you can see what the password
is on the config screen.
Still backward compatible with old md5 passwords (which are still not displayed
of course)