4202 Commits

Author SHA1 Message Date
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
toyomoyo
3c1acb61bb printing user picture for comments 2006-03-01 06:51:06 +00:00
mjollnir_
ecb5d875af Updated the comments around the horrible sql construction in the quiz reports for overview & response 2006-03-01 03:00:33 +00:00
mjollnir_
eeaf5ebce1 Ported the rework of the reports to the responses report. PLEASE try not to load all users into memory and then implode it into a string for the sql - just JOIN, it is what the database is good at :( 2006-03-01 02:46:15 +00:00
mjollnir_
3d45832721 Tidyup of whitespace and commented out stuff from last commit 2006-03-01 02:44:38 +00:00
mjollnir_
03c8c27ee0 By popular request - quiz report now shows students with attempts only, students with no attempts only, students with attempts AND no attempts. This fixes bugs #4406 and #4353 2006-03-01 02:20:32 +00:00
mjollnir_
6ae92cf9b0 Fixing up a badly named quiz table in postgres. PLEASE remember that you cannot just do RENAME - it breaks the sequences 2006-03-01 02:17:47 +00:00
mjollnir_
cfe3f66f47 Added comments in the horribly complicated sql around the quiz report (fixes bug # 4406) 2006-03-01 00:49:49 +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
vyshane
0b3cfe8812 Fixed Bug #4552 2006-02-28 02:51:31 +00:00
toyomoyo
e95dddd7a9 added a line to prevent warning 2006-02-28 01:52:38 +00:00
moodler
735a795229 A few small changes for Vy to continue working on (logs, mostly) 2006-02-27 04:13:03 +00:00
vyshane
e045d2042c Removing the /mod/data/lang/ directory since the language strings will now be stored under /lang/ 2006-02-27 04:04:30 +00:00
toyomoyo
7c0af760aa comments, not comment, typo 2006-02-27 02:16:19 +00:00
toyomoyo
2232755c93 added time created and modified for comments 2006-02-27 02:13:48 +00:00
toyomoyo
8e24bfe7e8 adding date created and date modified for comments 2006-02-27 02:06:35 +00:00
urs_hunkler
259af02332 CSS enhancements and corrections 2006-02-25 17:27:49 +00:00
michaelpenne
6094f43dd5 [Fix] Removed htmlentities on student answer. 2006-02-24 21:31:23 +00:00
michaelpenne
44492c2a18 [Fix] $navigation and $grade_value were undefined when lesson was added to site main page 2006-02-24 21:26:15 +00:00
michaelpenne
0d2df6a049 Removed correct and incorrect colors. 2006-02-24 20:17:41 +00:00
michaelpenne
1ae43a52f9 [BugFix] Bug #4174 - Lesson Essay Question Can't be Graded when attempt not finished 2006-02-24 20:17:08 +00:00
michaelpenne
ee27cca526 [BugFix] Bug #4216 - cancel button 2006-02-24 19:09:14 +00:00
thepurpleblob
7ac1e095b8 Moving export default filename function. 2006-02-24 18:49:01 +00:00
thepurpleblob
d8c2c55bf9 Removed import/export files. Moved to new (question) location 2006-02-24 16:01:44 +00:00
thepurpleblob
7b4ac82a37 Removed from old location 2006-02-24 15:50:39 +00:00
thepurpleblob
71d0be31d6 Removed import export functions 2006-02-24 15:46:59 +00:00
urs_hunkler
5bc572112c class added to the submit button to be able to position it
I optimized display.html and CSS
same class name for different objects is problematic
_ quiz table and question table must not be named with same class
_ surrounding tabel: class="multichoice|etc"
_ answer table: class="answer"
I changed the classname of the "answer" div to class="ablock" (short from "answer-block") that it does not conflict with "answer"
multichoice:
_ changed first row to class="r0"
_ added descriptive classes to the cells
2006-02-24 15:00:27 +00:00
gustav_delius
f02c6f017e Renamed QUIZ_QTYPES to QTYPES 2006-02-24 13:48:43 +00:00
gustav_delius
b2db6c5a41 Removing the developer docs because they are now held in MoodleDocs 2006-02-24 13:38:46 +00:00
gustav_delius
4b32fd66ab Moved function quiz_question_used from mod/quiz/locallib.php to question_used in lib/questionlib. Fixed some more links. 2006-02-24 12:53:47 +00:00
gustav_delius
8a274d4d37 Bumped version number (hadn't been done in a long time) in order to be able to require latest Moodle version in the quiz module. 2006-02-24 10:51:26 +00:00
gustav_delius
8a9ba05a8a Removing questiontypes from their old location, they are now in moodle/question/questiontypes/ 2006-02-24 10:43:59 +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
gbateson
e7801d39dc improved handling of relative URLs for media files in jqz files 2006-02-24 09:57:25 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
vyshane
4e53996865 Made script work with 1.5 2006-02-24 06:14:39 +00:00
toyomoyo
59a488e1aa prints the whole comment when displaying confirmation 2006-02-24 04:30:29 +00:00
toyomoyo
b754b2115c fixing bugs 2006-02-24 04:26:27 +00:00
martinlanghoff
20b36bed42 mod/quiz/backuplib: tiny syntax fix - thanks Nigel 2006-02-24 01:10:08 +00:00
gbateson
4a2360ac71 improved conversion of relative URLs for some Flash players 2006-02-23 21:24:25 +00:00
danmarsden
90ca2ce87d fixed bug with limits not limiting for only enrolled students - limit was counting non-enrolled students as well. - also removed checkboxes to delete response from not-answered column. 2006-02-23 21:20:44 +00:00
gustav_delius
c6293e00db Backing up the 'originalquestion' field 2006-02-23 19:16:39 +00:00
gustav_delius
3eb9904f61 Restoring the 'originalquestion' field 2006-02-23 19:14:51 +00:00
gustav_delius
602d778b1f Experimenting with a new event type to accommodate teacher-marked questions. This is work in progress. 2006-02-23 19:12:46 +00:00
thepurpleblob
cb06a092dc Whoops - ranges for categories on each page were incorrect. Plus added
sesskey to page numbers.
2006-02-23 16:55:13 +00:00
thepurpleblob
4a987dfa67 Improvements to pagination. Linked to all actions now. 2006-02-23 16:05:05 +00:00
thepurpleblob
fb3fe7aa07 Added some basic pagination to categories screen. Probably needs a bit
more refinement.
2006-02-23 15:26:38 +00:00
toyomoyo
7b5aa1b725 case sensitive IP 2006-02-23 03:16:28 +00:00
toyomoyo
f055d14bed fix for string type sort error, bug 4823 2006-02-23 02:34:46 +00:00
danmarsden
348630d87e moving duplicated code into Lib.php as functions & clean up the code a bit. - also now include users group info in text/excel downloads. - preparation for new choice block! 2006-02-23 01:20:24 +00:00