Tim Hunt
25a03faaca
MDL-20636 fix many code-checker issues in mod/quiz.
2011-05-12 00:30:25 +01:00
Tim Hunt
55ca80edde
MDL-20636 Fix lots of problems found by the new improved codechecker.
2011-04-04 20:11:29 +01:00
Tim Hunt
3c6185e979
MDL-20636 Move restart preview button into the quiz nav block & remove unnecessary titles.
...
Also, remove automatic redirects to the quiz edit page. Show a message and a button instead.
2011-02-25 12:12:09 +00:00
Tim Hunt
ba6438471b
MDL-20636 Fix top of file boilerplate in mod/quiz.
2011-02-21 16:13:25 +00:00
Tim Hunt
2709ee45d3
MDL-20636 Working on converting the reports, starting with the manual grading report. Very much a work-in-progress.
...
Also, some random bug-fixing.
2011-02-11 18:47:08 +00:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Tim Hunt
a49cb927fd
NOBUG more consistent use of URLs for the quiz reports.
2010-07-28 15:08:34 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
8319260833
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 11:58:30 +00:00
samhemelryk
55f599f00e
mod-quiz MDL-20276 Created callback methods to expand navigation and settings blocks
2009-09-16 05:15:22 +00:00
nicolasconnault
867847e352
MDL-19813 Converted all print_footer() calls
2009-08-06 14:13:48 +00:00
jamiesensei
bbf4f440ee
MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports"
2008-11-25 12:11:27 +00:00
jamiesensei
c386eaa3df
MDL-15384 'change name of quiz report classes to "quiz_{reportname}_report"' easy to do, changed class name of all reports and changed the code in report.php which instantiates the correct class.
2008-06-24 08:59:29 +00:00
dongsheng
550f965438
"MDL-14129, fix print_error"
2008-06-10 06:27:38 +00:00
nicolasconnault
9cf4a18b41
MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
...
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
jamiesensei
f33c438e5c
MDL-13678 "Change default number of rows per page on quiz reports" Made a new constant to say how many attempts / questions to list per page by default.
2008-05-01 07:08:28 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
skodak
bb5b72244a
MDL-10890 all require_login() in modules reviewed and fixed use of $cm
2007-08-17 12:49:28 +00:00
jamiesensei
9f877cb072
fix for MDL-10835 Results and Preview Tabs broken - requred param 'cmid' missing (for quiz with no questions)
2007-08-14 02:50:56 +00:00
tjhunt
64d8092342
Correct typo.
2006-08-25 11:23:00 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
skodak
1b1d34225b
incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR)
2006-03-04 12:37:29 +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
thepurpleblob
5a90586d36
Changed _variabl() functions to _param() functions.
2005-07-05 15:00:34 +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
7bbe08a267
Merged from stable
2005-06-04 09:58:35 +00:00
gustav_delius
b3ccc054e7
Upgrade all attempts at a quiz to the Moodle 1.5 model on attempts.php and report.php
2005-05-23 20:52:55 +00:00
gustav_delius
1ddb7f4efc
Printing of header moved into plugins themselves to allow them to provide export functionality which does not want a header printed. Thanks to Enrique for doing this.
2005-05-20 08:52:33 +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
stronk7
b681000402
Now quiz->name supports filterall.
2005-04-03 00:19:11 +00:00
moodler
0e4ababb5a
Spiffy tabs!! :-)
2005-03-15 09:55:58 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
gustav_delius
76cacec819
split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle.
2005-01-08 20:06:00 +00:00
moodler
de9bc13e8a
Merged pathname checking from stable
2004-09-29 07:02:22 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
d1290cec39
fixed capitalization and quoting of attribute values
2004-09-12 17:34:35 +00:00
gustav_delius
90fcc576ea
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
2004-08-21 20:20:58 +00:00
stronk7
eaefa1c0e8
Added missing cmid parameter when calling add_to_log() function
...
for report and review actions :-)
2004-02-16 20:22:32 +00:00
moodler
3334a25495
Edit button on quiz reports
2003-12-29 09:24:16 +00:00
moodler
0a8d8da96a
Show standard reports first
2003-11-20 16:01:21 +00:00
moodler
8b0ef9b0cb
Improvements to simplestat (more info in HTML display plus downloads XLS an TXT)
2003-07-28 02:04:58 +00:00
moodler
40b1a22162
Further changes to tidy up reports
2003-07-24 16:48:10 +00:00
moodler
29d5d0b40c
New modular plugin structure for quiz reports.
...
The code for reviewing an existing attempt is now separate
in review.php and now has a log entry of it's own.
The overview and regrade reports are now in separate subdirectories
under the "report" directory. Each has a primary "report.php" file
which implements the report as a class.
These existing reports are very simple, but now more complex ones
can easily be written. (I am about to do one).
2003-07-24 05:18:00 +00:00
moodler
96192c4459
After doing a quiz that has been shuffled, present the feedback in the
...
same order. Note that shuffled ANSWERS may still appear reshuffled.
When viewing reports, all shuffling is switched off so that quizzes
always appear in the default order (for easier comparison).
Also a few tweaks, robustness etc
2003-04-16 13:10:48 +00:00
moodler
0bf2925db8
Minor fixes
2003-04-11 14:44:12 +00:00
moodler
72e5815533
More fixes resulting from random question feature
2003-04-09 08:11:20 +00:00
moodler
34d52ad7d2
First implementation of completely random questions.
...
When you add a random question to a quiz, then a question
is chosen randomly from the same category.
Questions are not repeated in a particular quiz attempt.
This still needs more testing, but it's looking OK so far.
2003-04-09 06:32:51 +00:00
moodler
ef4145f6ae
Changes to make regrading work properly if the quiz has changed
...
and also an exptended timelimit for when regrading is REALLLLY slow
fue to some other unknown reason (as yet)
2003-03-20 07:28:53 +00:00
moodler
b0e3a92523
Clean sweep through all the important changing all include(), include_once()
...
and require() to require_once()
2003-01-05 14:19:20 +00:00