Commit graph

2059 commits

Author SHA1 Message Date
skodak
58fa5d6f75 MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:47:26 +00:00
tjhunt
19f5b2dbee accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:36 +00:00
tjhunt
d1be90991b quiz editing: XHTML strict 2009-01-09 05:26:26 +00:00
tjhunt
e476804cdb quiz editing: MDL-17296 improve display of open and closde dates on the editing page. 2009-01-09 03:17:18 +00:00
tjhunt
d1077efebe quiz editing: MDL-17594 In RTL languages, the editing UI has horizontal scrolling.
Work around YUI bug that is causing this.
2009-01-08 08:06:08 +00:00
tjhunt
edd5246bdd quiz editing: MDL-17416 Clean layout when starting a new attempt. 2009-01-07 09:26:47 +00:00
tjhunt
b4a2e41313 quiz editing: MDL-17284 fix infinite redirect bug. 2009-01-07 07:12:37 +00:00
tjhunt
a733c4b98b mod quiz: MDL-3156 Add an option to display the current user's photo and name on the Quiz attempt and review pages. 2009-01-07 06:32:13 +00:00
tjhunt
807a1a8427 question bank database: MDL-17608 Drop originalquestion field from the question_states table - it was never used for anything. 2009-01-06 05:20:21 +00:00
tjhunt
f330327c7d Fix typos. 2009-01-06 05:19:15 +00:00
tjhunt
477c217f5c MDL-17294 Eliminate some commented out code, and clean up the 'no questions in quiz' special case. 2009-01-05 05:26:08 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
skodak
81911e4d34 MDL-16613 sesskey cleanup 2009-01-02 10:36:27 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
pilpi
28e6ac1174 quiz editing: MDL-17730 skip links; mistake in previous commit 2008-12-26 00:34:39 +00:00
pilpi
5669badfaf quiz editing: MDL-17730 skip links 2008-12-26 00:29:17 +00:00
pilpi
0d9f073436 quiz editing: MDL-17728 made YUI dialogs closable on press of the ESC key 2008-12-23 15:27:50 +00:00
pilpi
93cc3ea45e quiz editing: MDL-17417 added logging for random question creating 2008-12-16 22:36:29 +00:00
pilpi
0b31bfe8c3 quiz editing: MDL-17664 Removed unneeded yui js includes 2008-12-16 11:21:22 +00:00
tjhunt
acf149ad15 quiz: MDL-17578 Review quiz_get_view_actions and quiz_get_post_actions. 2008-12-14 13:32:45 +00:00
tjhunt
e285b6a8b6 quiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to students in the quiz UI, 2008-12-12 07:24:47 +00:00
dongsheng
60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +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
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
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
ecb45a9e40 MDL-17275 fixed DML syntax 2008-12-09 23:46:03 +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
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
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
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
tjhunt
16590517fa fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices
A new install has NOT NULL DEFAULT 0.
2008-11-27 05:12:11 +00:00