Commit Graph

34 Commits

Author SHA1 Message Date
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
tjhunt
1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
skodak
b2ec10959a workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE 2006-07-11 13:02:42 +00:00
gustav_delius
6037288eeb Fixed code that relied on globals hack. Fixed bug 5261 2006-04-20 23:10:45 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
moodler
ba76a8f5cf Fixing some Javascript errors on IE 2006-04-05 02:40:34 +00:00
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
gustav_delius
dc1f00de19 Some little fixes and more renaming to cleanly separate question code from quiz code
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories

Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
2006-03-01 07:03:57 +00:00
gustav_delius
4f48fb42af Towards removing reference to quiz module from the question code
Renaming tables:
quiz_questions -> question
quiz_states -> question_states

Renaming functions:
quiz_delete_question -> delete_question
quiz_get_question_options -> get_question_options
quiz_get_states -> get_question_states
quiz_restore_state -> restore_question_state
quiz_save_question_session -> save_question_session
quiz_state_is_graded -> question_state_is_graded
quiz_extract_responses -> question_extract_responses
quiz_regrade_question_in_attempt -> regrade_question_in_attempt
quiz_process_responses -> question_process_responses
quiz_isgradingevent -> question_isgradingevent($event)
quiz_search_for_duplicate_responses -> question_search_for_duplicate_responses
quiz_apply_penalty_and_timelimit -> question_apply_penalty_and_timelimit
quiz_print_question_icon -> print_question_icon
quiz_get_image -> get_question_image
quiz_make_name_prefix -> question_make_name_prefix
quiz_get_id_from_name_prefix -> question_get_id_from_name_prefix
quiz_new_attempt_uniqueid -> question_new_attempt_uniqueid
quiz_get_renderoptions -> question_get_renderoptions
quiz_print_quiz_question -> print_question
quiz_get_question_responses -> get_question_responses
quiz_get_question_actual_response -> get_question_actual_response
quiz_get_question_fraction_grade -> get_question_fraction_grade
quiz_get_default_category -> get_default_question_category


Renaming constants:
QUIZ_EVENT.... -> QUESTION_EVENT....
QUIZ_MAX_NUMBER_ANSWERS -> QUESTION_NUMANS
2006-02-28 09:26:00 +00:00
gustav_delius
f02c6f017e Renamed QUIZ_QTYPES to QTYPES 2006-02-24 13:48:43 +00:00
gustav_delius
80a5e194ff Updated quiz scripts to work with the separate question scripts in moodle/question 2006-02-24 10:43:06 +00:00
gustav_delius
4546212ce3 Keep the action icons in the category questions list from wrapping. Eventually this editing page needs to be styled properly with css. 2006-02-22 19:19:42 +00:00
gustav_delius
14afbbf034 Added the much-requested question reordering tool 2006-02-19 16:34:06 +00:00
gustav_delius
c54da50b29 An additional sorting order for category question list 2006-02-18 15:09:08 +00:00
gustav_delius
786187cdfd Removed unnecessary code: questions are only deleted if they have no attempts. 2006-02-15 08:13:14 +00:00
gustav_delius
7c4127efad Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767 2006-02-11 21:07:08 +00:00
skodak
baf4b75fe5 quoting typo; merged from MOODLE_15_STABLE 2005-11-16 16:35:21 +00:00
gustav_delius
c3f806312f Fix for bug 4052 2005-09-17 12:10:35 +00:00
mindforge
f8180ec8d8 Merged from 1.5. 2005-09-14 11:17:24 +00:00
gustav_delius
537daa79be Merged from STABLE. 2005-08-31 16:32:49 +00:00
thepurpleblob
cc93459372 Export now saves file in correct course file area (ie, the current one).
Export now works for published courses where the teacher is not
a teacher on the 'remote' course.
See bug #3996 and bug #3985
2005-08-30 15:13:37 +00:00
gustav_delius
39e3c1f1c3 Merged from STABLE 2005-07-06 07:53:17 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
gustav_delius
ed460c8e04 I am committing the essay question type contributed by Mark Nielsen, see http://moodle.org/mod/forum/discuss.php?d=25845. 2005-06-26 16:21:11 +00:00
mjollnir_
adf19ef5b4 Merged from MOODLE_15_STABLE: Fixing bug 3502 - 2 postgres problems - one in db creation (my fault) and one in '' instead of 0 for int in sql query 2005-06-15 22:49:02 +00:00
gustav_delius
7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
gustav_delius
ee68029a88 merged fix for bug 3329 2005-05-24 16:11:55 +00:00
stronk7
87dddc1445 Replaced some (not all) tabs to spaces.
I've leave unmodified formats and nusoap library
2005-05-16 22:51:16 +00:00
gustav_delius
9402459460 improved display of paging bar on edit page 2005-05-15 08:02:45 +00:00
gustav_delius
8f015ea595 my stupid editor has been eating whitespace 2005-05-14 20:16:31 +00:00
gustav_delius
815bb0cf32 There can now be an arbitrary number of rqp servers of each type.
The remote question types do show up on the editing drop-down like any other question type.
I have disabled rqp on php < 5 for the time being.
2005-05-14 16:21:11 +00:00
gustav_delius
c4aff6543c Fixed bug reported at http://moodle.org/mod/forum/discuss.php?d=23526 2005-05-10 15:00:27 +00:00
gustav_delius
978f438893 "Go" buttons are now enclosed in <noscript> tags. 2005-05-06 07:03:14 +00:00
gustav_delius
ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00