tjhunt
26574bbad7
quiz/questions: Improve documentation of database tables.
2009-03-05 11:24:41 +00:00
tjhunt
790524a32e
quiz overview report: Fix type of the grade columns to be NUMBER(12,7).
...
Also, improve comments.
2009-03-05 11:24:15 +00:00
tjhunt
2457254946
quiz reports: Fix up unit tests.
2009-03-05 08:50:01 +00:00
tjhunt
53004e480f
quiz lib: MDL-17579 should call delete_attempt from questionlib.php rather than trying to do the job itself.
2009-03-04 08:35:05 +00:00
tjhunt
4299df1daf
quiz editing: Refactor the editing actions to make functions in editlib.php for most of them.
...
In the process, do MDL-17456, move/delete questions by question id rather than position, for greater robustness.
2009-02-27 08:45:05 +00:00
tjhunt
1fd211a770
quiz: Fix unit tests.
2009-02-27 08:43:28 +00:00
tjhunt
324d65763c
quiz editing: MDL-17284 Major coding style cleanup.
...
This is a mixture of stuff in the coding guildelines and personal preference.
2009-02-26 08:30:45 +00:00
tjhunt
944efb3e8b
quiz editing: MDL-18376 Since there is no grading for description, we can show more question text. Thanks Olli.
2009-02-26 06:51:35 +00:00
tjhunt
8e84d9788c
quiz editing: MDL-18173 tidy up wording and add cursor: help.
2009-02-25 07:27:02 +00:00
tjhunt
cd120b2344
quiz editing / question bank: MDL-18355 Convert the add question drop-down to be a button that pops up a YUI dialogue.
...
That allows us to have a few sentences explanation of each question type, and is also easier to fit into a tight layout.
This commit should also fix MDL-18214 Layout screwed in Safari with long category names.
2009-02-25 07:14:03 +00:00
tjhunt
5d6f63bf71
quiz editing: tidy up quotes.
2009-02-25 06:53:10 +00:00
tjhunt
3cac440b76
quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not.
2009-02-24 05:16:23 +00:00
tjhunt
1bd66f3914
quiz attempts: MDL-18283 add accept-charset="utf-8" to avoid encoding problems.
2009-02-17 07:21:56 +00:00
tjhunt
2b6ec12cd4
quiz editing: MDL-18016 fix regression, adding questions on the order and paging tab was broken.
2009-02-13 07:12:41 +00:00
tjhunt
7b161e1290
quiz editing: MDL-17284 improve wording for delete -> remove all selected questions.
2009-02-13 07:11:55 +00:00
tjhunt
5bbdaed2a1
quiz editing: MDL-17455 fix non-unique first column in get records. Thanks Olli for spotting this.
2009-02-12 05:04:19 +00:00
tjhunt
4cc11ff992
quiz editing: MDL-17455 fix missing global. Oops.
2009-02-11 10:35:41 +00:00
tjhunt
2a874d65ce
quiz editing: MDL-17455 refactor the editing code to use the locallib functions to print the icons.
...
Also, use the new method in the random question class to get the list of random questions reliably.
2009-02-11 10:08:07 +00:00
tjhunt
68b1b19b16
quiz editing: Whitespace improvements.
2009-02-11 09:48:30 +00:00
tjhunt
ad041fad59
quiz editing: MDL-17296 final attempt to get the display of the open/closed state here to Olli's satisfaction ;-)
2009-02-11 08:12:19 +00:00
tjhunt
ad65ff47d8
quiz: MDL-17873 small efficiency gains.
2009-02-11 07:52:26 +00:00
tjhunt
fbcf399e69
Typo fix in comment.
2009-02-11 07:48:44 +00:00
skodak
0cb93a7e45
MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-)
2009-01-29 19:58:47 +00:00
tjhunt
b7a9dc5193
question bank: MDL-17992 and MDL-17397. Put back questiontext as a separate row option, and increase consistenscy between stand-alone qbank and the display in the quiz editing page.
2009-01-23 05:01:37 +00:00
tjhunt
e4d1d5e010
question bank: MDL-17871 finish refactor of code into one class per column.
...
Needs tidying up, but basically there, so checking it in.
2009-01-22 09:19:37 +00:00
tjhunt
971c6fca06
question bank: MDL-17871 Kill most of the duplicated code between mod/quiz/editlib.php and question/editlib.php
2009-01-22 05:38:18 +00:00
tjhunt
5bd22790c4
question bank: MDL-17871 refactor the code that displays particular information about each question into classes.
...
More work in progress. Print column headers, and improve sorting. These classes are still not used.
2009-01-21 07:21:43 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
tjhunt
5b5e5ab20c
question bank: MDL-17302 refactor question bank display code into a class.
...
Step 2. Remove as many as possbile of the differences between the two classes. This is mostly whitespace and irrelevant code formatting issues, but there are also a few changes to the generated output, taking the best of both views.
2009-01-19 08:50:48 +00:00
tjhunt
f4b879ddea
question bank: MDL-17302 refactor question bank display code into a class.
...
Step 1. Just convert the existing functions quiz_question_showbank and question_showbank and friends into methods of a class and subclass.
More to come.
2009-01-19 05:30:01 +00:00
dongsheng
4acfb3452b
"MDL-17710, remove extra div, merged from 1.9"
2009-01-16 08:54:10 +00:00
dongsheng
8d487d41c6
"QUIZ/MDL-17710, wrap quiz summary by div, merged from 1.9"
2009-01-16 05:34:15 +00:00
tjhunt
a18ba12ca6
quiz / questions: MDL-17919 Bad link edit questions from quiz preview page.
...
Thanks to Ann Adamcik for noticing this. It was a regression from MDL-6085.
2009-01-16 04:47:23 +00:00
skodak
0361508976
MDL-17457 moved all STATEMENTS into install.php
2009-01-15 21:36:48 +00:00
tjhunt
96c7d771df
quiz: MDL-14926 New capability mod/quiz:reviewmyattempts, separate from mod/quiz:attempt. Merged from MOODLE_19_STABLE.
2009-01-14 07:08:02 +00:00
skodak
9c82ff2acd
MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules
2009-01-12 21:13:28 +00:00
skodak
1045a0074c
MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead
2009-01-12 16:52:53 +00:00
tjhunt
940b5fbb72
quiz editing: MDL-17296 further improve display of open and close dates on the editing page.
2009-01-12 07:24:03 +00:00
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