tjhunt
2930500104
MDL-16706 - eliminate miscellaneous inine JavaScript
...
This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.
2008-09-26 10:49:31 +00:00
tjhunt
ac324e05ea
MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves.
2008-09-25 06:40:52 +00:00
tjhunt
739b07112e
MDL-16625 Detection of whether a quiz has grades was broken in HEAD.
...
1. Fix this by factoring out a quiz_has_grades function.
2. Fix the quiz unit tests.
3. Fix quiz_has_feedback to return false for ungraded quizzes.
4. Fix use of get_records to do record_exists in quiz reports.
2008-09-23 07:18:15 +00:00
tjhunt
70491f0658
Remove unnecessary div.
2008-09-04 04:53:28 +00:00
tjhunt
f62040ed1f
MDL-16263 Flagging questions during a quiz attempt. Save flag state on the review page when JS is off too.
2008-09-03 08:32:29 +00:00
tjhunt
c7dcecd1e4
MDL-16263 Flagging questions during a quiz attempt. Flag updating in nav not working on the review page.
2008-09-03 05:38:12 +00:00
tjhunt
f88fb62c40
MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors.
2008-08-15 06:42:38 +00:00
tjhunt
b55797b8cc
MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase. I was able to factor out some commonalities with review.php along the way.
2008-07-15 15:30:39 +00:00
tjhunt
baef998bb9
MDL-15622 - Add the quiz navigation panel to the review page
...
Also, improve the styling a bit.
2008-07-14 15:40:24 +00:00
tjhunt
b9b3aa9459
MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing.
2008-07-10 17:23:56 +00:00
tjhunt
4fc3d7e549
MDL-15539 - Rework review.php to use attemptlib.php - the bulk of the conversion.
2008-07-08 17:47:57 +00:00
tjhunt
78e7a3dd5d
MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase - quite a lot of progress, sorry I am committing this as a big lump, but it took me a while to get the code back to a working state.
...
MDL-15537 - create oo attemptlib.php to hold shared code between attempt, summary and review.php
MDL-15541 - Refactor starting a new attempt into a new file startattempt.php
MDL-15538 - Rework attempt.php to use attemptlib.php
2008-07-08 16:33:47 +00:00
nicolasconnault
739b748b22
MDL-15113 Fixed bug in dmllib code
2008-06-12 09:07:37 +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
tjhunt
9c22b42ef7
MDL-14857 - Clean up summary table generation code at the top of the quiz review page - This is basically a merge of improvements we made at the OU.
2008-05-15 15:32:43 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
tjhunt
44266ca4ef
MDL-13806 - supplimental - bug fixes to the previous commit.
2008-03-25 19:40:42 +00:00
tjhunt
c52c62d1b1
MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.
...
Resource page now done as well. That should be everything.
2008-03-07 12:33:07 +00:00
skodak
65bcf17b95
MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE
2008-02-13 17:03:25 +00:00
fmarier
af5dd7c547
mod/quiz: Revert commit which added the "go back to course" link
2007-11-14 01:13:37 +00:00
fmarier
69b339390a
mod/quiz: Add a link back to the course page after a quiz is completed
2007-11-09 01:17:48 +00:00
tjhunt
f63a4ff2cc
Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.
2007-11-07 15:26:37 +00:00
tjhunt
38e179a4ed
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
...
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
tjhunt
a4faed6925
MDL-10030 - the logic controlling whether students were allowed to see the review screen was wrong.
2007-09-21 16:01:40 +00:00
moodler
49e7a95a4c
Removing the space will make this string work better in RTL languages MDL-10768
2007-08-09 08:48:11 +00:00
tjhunt
99a1bf3d9c
MDL-10374 - Quiz layout improvements, selectively merged from OU-moodle.
2007-07-06 16:37:06 +00:00
mattc-catalyst
01e3838853
MDL-9473: Initialise navlinks array before use
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21
MDL-9615: Correct incorrect use of term breadcrumbs
...
- $crumbs -> $navlinks
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
tjhunt
2d05b47209
MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS - I forgot about the review page.
2007-04-24 17:32:21 +00:00
mattc-catalyst
70c6c0ad70
MDL-9474: Updated build_navigation() to use global $COURSE
...
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()
Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
9ac0c1b328
Breadcrumbs: mod/quiz changes
...
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:23:17 +00:00
tjhunt
121609d80a
MDL-8299 - Wrong capability on review.php. Merged from MOODLE_18_STABLE.
2007-03-20 22:45:19 +00:00
vyshane
0927589412
Xhtml fixes for MDL-7861.
2007-01-09 09:07:16 +00:00
tjhunt
77ed3ba5fd
MDL-8002 - Don't show overall feedback for incomplete quiz attempts.
...
Also, cleanup of mod/quiz/index.php
2006-12-22 12:52:13 +00:00
toyomoyo
4f83ae95ca
adding capabilities
2006-08-31 08:51:09 +00:00
tjhunt
cd06115fa7
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
...
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.
I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
2006-08-25 16:03:54 +00:00
tjhunt
a18fa6d5ba
Get the contexts without referring to undefined variables.
2006-08-23 15:32:06 +00:00
tjhunt
212b7b8cd9
MDL-5270 - give students a feeback comment for their performance in the entire quiz.
...
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +00:00
tjhunt
3b48ba9dc1
Bug #6157 - lang strings using concatenation, not $a. Merged from MOODLE_16_STABLE.
2006-07-24 14:40:48 +00:00
mjollnir_
15db443c87
mod/quiz/review only display grade summary if student allowed to see scores
...
Change to review.php so that the student will only see the grade summary
if they are allowed to view their scores - as determined by quiz options
set by the teacher.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:50:04 +00:00
mjollnir_
9f7f01db04
mod/quiz/review quiz options loaded once per pageload, not once per qn.
...
Moved loading of quiz review options from loop iterating over each qn to be
displayed, to the top of the pageload. Should give efficency gains
on quizes with long pages, as well as making the options available
earlier in the process.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:47:56 +00:00
gustav_delius
7a0b035bf9
Make student name into a link on the review page
2006-04-09 21:58:58 +00:00
gustav_delius
b6e907a245
Manual grading
2006-04-07 16:00:29 +00:00
gustav_delius
0a5b58af89
Many bugfixes accummulated during CVS outage, more to come.
2006-04-05 05:53:18 +00:00
gustav_delius
fe9b5cfd0b
Fixed the links to the question review script.
2006-03-22 21:30:00 +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
michaelpenne
e51b142a78
Removed changes made earlier for ungraded essay questions. Will try to find an alternate method.
2006-02-16 00:30:50 +00:00
gustav_delius
03d1753c1c
Renamed table quiz_newest_states to question_sessions
2006-02-15 08:38:41 +00:00