7617 Commits

Author SHA1 Message Date
skodak
9d4e4c3da0 MDL-17611 removing XSS risk from mod/feedback:complete, because this capability is meant to be allowed in student roles 2008-12-11 18:06:01 +00:00
tjhunt
8d8d0bfaae forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.
This was visible when, for example, unusual role definitions meant that someone could access a forum without being enrolled in a course.

Note that one of the places that was previously broken was front page forums. Since subscribers.php does not do paging at all, the fact that I have fixed this bug makes this page dangerous on large sites. A proper solution will have to wait until bug 17550 is fixed in HEAD.

This also fixes a minor problem introduced by MDL-12979.
2008-12-11 07:01:57 +00:00
dongsheng
0dfd9e97ea "MDL-17469, fix assignment date when restore course, merged from 1.9" 2008-12-11 04:39:33 +00:00
pilpi
dbd2b0fd45 quiz editing: MDL-17595 changed string from "question name" to "question" 2008-12-10 14:44:40 +00:00
pilpi
d8875b3eae quiz editing: MDL-17590 added an id attribute for the grading input field to make labels work 2008-12-10 12:04:28 +00:00
thepurpleblob
5448544271 MDL-11090
Added absent trim - Thanks Tim :-)

Merged from STABLE_19
2008-12-10 09:39:02 +00:00
tjhunt
e8f99abc68 quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. Merged from MOODLE_19_STABLE.
Also MDL-17585 Improve layout of manual grading forms to make them look more like formslib forms. The standard trick of stealing the HTML and class names that formslib works, so the standard style rules apply to your form.
2008-12-10 09:11:30 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
tjhunt
aafdb447bf quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. Merged from MOODLE_19_STABLE.
And MDL-17568 minor niggles with new queston navigation:
* The bit that scrolls down to the question you just submitted in adaptive mode was not working with random questions.
* Teachers reviewing an open attempt were shown the qusetions as editable, not read only!
2008-12-10 06:26:47 +00:00
tjhunt
be0ba083a0 performance: MDL-17577 only include lib/questionlib.php from the few parts of mod/quiz/lib.php that actually need it. Merged from MOODLE_19_STABLE. 2008-12-10 02:11:42 +00:00
skodak
c144ca1e6f MDL-17115 fixed new DML syntax 2008-12-09 23:52:20 +00:00
skodak
5f501fe105 MDL-15107 DML syntax fix 2008-12-09 23:50:18 +00:00
skodak
ecb45a9e40 MDL-17275 fixed DML syntax 2008-12-09 23:46:03 +00:00
piers
c78b79d037 MDL-17572 - remove php short tags. 2008-12-09 22:00:03 +00:00
danmarsden
46e58e8077 fix php short tags:MDL-17566: Thanks Stephen Bourget 2008-12-09 20:41:44 +00:00
dongsheng
f956739ced "MDL-17391, use repository filter in forum module" 2008-12-08 05:23:31 +00:00
piers
309ee0895b MDL-17115 - SCORM onload API checking. Hunt for the API. Matching part of the patch that fixes scorm version detection. 2008-12-07 22:22:51 +00:00
danmarsden
7325b01691 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. 2008-12-07 21:54:49 +00:00
stronk7
e6b3d18342 MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE 2008-12-07 17:34:37 +00:00
tjhunt
4e6f553d43 quiz editing: MDL-15903 fix the code that updates $quiz->sumgrades,
so we only update the database when something changes, not on every page view.
2008-12-05 05:08:37 +00:00
tjhunt
ab652c35ee quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings. 2008-12-05 04:20:26 +00:00
piers
f2c86f9445 MDL-17115 - SCORM onload API checking. Hunt for the API. 2008-12-05 03:19:56 +00:00
danmarsden
43f4e520be rename api.php file:MDL-17515: Moodle API will treat files called api.php in a special way.... 2008-12-05 02:50:17 +00:00
pilpi
74c640b3a7 quiz editing: MDL-17409 converted string to use $a
created new string
2008-12-04 15:53:30 +00:00
pilpi
5af1b21ab2 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
2008-12-04 15:13:22 +00:00
pilpi
3e6ad1d7a4 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
2008-12-04 13:28:20 +00:00
dongsheng
4faace3781 "MDL-17448, fix assignment due time, merged from 1.9" 2008-12-04 08:17:24 +00:00
piers
b86aa44854 MDL-17310 - Fixup an issue with relative directory paths. Thanks Jonathan. 2008-12-04 03:25:43 +00:00
poltawski
a07e0af03a forum: Portfolio save button was adding an additional '|' when no plugins
available MDL-17467
2008-12-01 20:40:42 +00:00
danmarsden
9316beca89 force scorm update:MDL-17034: force update of SCORM when scorm_simple_play is used. 2008-12-01 03:32:39 +00:00
piers
7554f67190 MDL-16651 - add in delete attempt capability - thanks Dan/Tim. 2008-11-29 17:51:47 +00:00
pilpi
033c8cde6e quiz editing: MDL-17294 removed unnecessary comment 2008-11-28 19:51:30 +00:00
pilpi
588a58b8d9 quiz editing: MDL-17294 improved the error situation handling in process_randomquestion_formdata 2008-11-28 19:43:45 +00:00
pilpi
4897ae1b94 quiz editing: MDL-17294 removed unnecessary comment 2008-11-28 18:58:30 +00:00
pilpi
49a020c672 quiz editing: MDL-17294 removed unnecessary comments 2008-11-28 18:57:43 +00:00
pilpi
38faf00984 quiz editing: MDL-17418 added another random question preview link 2008-11-28 18:49:28 +00:00
pilpi
94da24dc76 quiz editing: MDL-17294 added a call to quiz_question_tostring() 2008-11-28 18:47:46 +00:00
pilpi
8c4d6dd2a2 quiz editing: MDL-17294 removed the $showbreaks parameter from quiz_print_question_list 2008-11-28 18:37:24 +00:00
pilpi
c7c7f25a84 quiz editing: MDL-17294 changed quiz_process_randomquestion_formdata to always return (instead of sometimes redirecting) 2008-11-28 17:29:04 +00:00
pilpi
439d9cbe90 quiz editing: MDL-17452 customized the link tooltip to "Remove empty page" for the link for deleting an empty page 2008-11-28 16:33:48 +00:00
pilpi
8333ad82ae quiz editing: MDL-17398 Added "show category contents" as a tooltip for the link with the category name as its contents 2008-11-28 16:27:42 +00:00
pilpi
3814fb96fc quiz editing: MDL-17398 link to edit random question (configuration) in new UI 2008-11-28 15:43:10 +00:00
pilpi
7b2c3bde9e quiz editing: MDL-17451 CSS and whitespace fixes to truncate overlong question category name
Tested on opera 9.27, IE6, Firefox 3 on Ubuntu Linux 8.04
2008-11-28 15:16:40 +00:00
pilpi
9cdcf82665 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
2008-11-28 14:07:06 +00:00
jamiesensei
2280e147c5 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.
2008-11-28 10:14:19 +00:00
danmarsden
d54e2145ba 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. 2008-11-28 09:20:59 +00:00
skodak
f63d6374a1 MDL-11090 merging forgotten version.php which breaks upgrade badly 2008-11-28 09:15:16 +00:00
danmarsden
86ed86b8dd MDL-17115 - no point in waiting for SCORM API to load when we know JS is disabled. 2008-11-28 06:49:10 +00:00
tjhunt
f24493ec9b 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.
2008-11-28 06:07:11 +00:00