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
jamiesensei
2018fb15ae
MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly"
...
Second patch, found a bug while merging and testing in 1.9.
2008-04-30 08:22:20 +00:00
jamiesensei
86a1f1d5b9
MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly"
...
This patch is based on Ann Adamcik's latest code, thanks Ann. Made a couple of small changes.
2008-04-30 04:47:39 +00:00
tjhunt
3192d014f3
Eliminate direct references to $_REQUEST and $_POST in the quiz code.
...
Also, when you edit the quiz, and therefore any preview attempts are deleted automatically, make sure the attempts are deleted properly by calling quiz_delete_attempt on each one, rathern than leaving orphaned junk in the database.
2008-04-23 14:49:22 +00:00
tjhunt
bfecee473a
Revert bogus error -> print_error changes that were stopping my patch from merging.
2008-04-23 14:45:45 +00:00
tjhunt
97344ae331
Improve PHPdocs on a function.
2008-04-23 14:31:21 +00:00
tjhunt
d20e702956
Tidy up whitespace.
2008-04-23 10:54:51 +00:00
jamiesensei
58ffdbb883
MDL-14471 - when attempt data is generated by a script then sometimes quiz_get_latest_attempt_by_user fetches the wrong attempt since timestart for the attempt is not a second apart from the last attempt - "patch to quiz/locallib.php function quiz_get_latest_attempt_by_user which makes the query simpler and also makes it more robust.
...
In the case that there are two attempts started in the same second, which can happen if you are generating random attempt data then the id field is used to tell which is the later attempt."
2008-04-23 06:45:11 +00:00
tjhunt
44847eb868
MDL-14363 - Fix a broken redirect from mod/quiz/ attempt.php to edit.php when the quiz has not questions.
...
Also, when the quiz has no questions, disable the Info, Reports and Preview tabs, which, in this case, just redirect back to the Edit tab anyway.
Finally, change a redirect in quiz view.php, which used a relative URL, to a full url starting $CFG->wwwroot.
2008-04-22 15:19:50 +00:00
tjhunt
92589cb04b
MDL-8682 - yet another followup. The javascript still was not quite right. you cannot rely on the case of element.nodeName.
2008-04-17 13:07:36 +00:00
moodler
9aa82ed6d4
MDL-14399 Merged RTL fixes from 1.9
2008-04-17 08:50:56 +00:00
tjhunt
c711a7aeab
MDL-14391 - Timestart shown twice in quiz overview report, instead of timefinish
2008-04-16 14:39:37 +00:00
jamiesensei
e89e09d21d
MDL-14283 attempt in mdl_question_states is always 1 - typo in attempt.php introduced in Tim's access rules refactor meant that attempt in quiz_attempts table was always set to 1. This meant that only one attempt was shown on the quiz/view.php page as well as causing other problems.
2008-04-09 13:01:40 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
tjhunt
20b8b489ec
MDL-8682 - the last commit caused a regression that stopped it working.
...
!something==somethingelse
is not the same as
something!==somethingelse
in javascript, it seems.
2008-03-31 15:07:14 +00:00
tjhunt
44266ca4ef
MDL-13806 - supplimental - bug fixes to the previous commit.
2008-03-25 19:40:42 +00:00
tjhunt
d45459b7c1
MDL-13978 - Notice when adding a new quiz
2008-03-19 12:21:56 +00:00
pichetp
0410e50698
MDL-12572 splitting code and create get_questions_atttempts_data function
...
improve CVS, XLS and ODS downloads so that data is easily sort.
2008-03-17 14:21:20 +00:00
pichetp
169b607dc4
MDL-13427 Adding strip tags filtering for download and question text
...
limit to CSV download
2008-03-16 00:22:49 +00:00
pichetp
7eb7798b9f
MDL-12572 Removing storage of database search in $SESSION
2008-03-15 20:55:07 +00:00
pichetp
b9568564ed
MDL-12572 Adding storage of database search in $SESSION
...
TODO new getstrings , test echo removing etc.
2008-03-15 12:58:43 +00:00
pichetp
093c15be54
MDL-12572 MDL-13427 New HTML cleaning code
2008-03-11 19:20:03 +00:00
pichetp
92f4826927
MDL-12572 MDL-13427 New HTML export mode useable with Excel or Word
2008-03-11 17:13:33 +00:00
tjhunt
6b84dd19ac
Replace some tabs that managed to slip in. What is Eclipse playing at?
2008-03-07 12:36:16 +00:00
tjhunt
a6a89b9eab
Strip some trailing whitespace.
2008-03-07 12:35:10 +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
tjhunt
05866d85d4
MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.
...
Here are unit tests for all the access rule classes, and the associated bug fixes.
2008-03-06 15:11:50 +00:00
tjhunt
758c50b1cd
MDL-13794 - Reordering tool does not work if you type the same number into two boxes.
...
Also, fix some javascript that did not work in IE7.
2008-03-05 10:16:18 +00:00
moodler
99058191c6
Merged version bumps for release 1.9
2008-03-03 11:49:34 +00:00
nicolasconnault
b64792f664
MDL-13736 Wrapped the link in a div and fixed the style. Merging from MOODLE_19_STABLE
2008-02-29 21:46:14 +00:00
tjhunt
f0079c3e81
MDL-13738 - Invalid context developer debug notice in manual grading.
2008-02-29 16:22:15 +00:00
tjhunt
255985f17b
MDL-12776 - Quiz email notification and separate groups mode - student not in group -> all teachers get email
I have changed it so that if the quiz is set to groups mode, and if the student is not in a group, then only teachers with 'accessallgroups' get emailed.
2008-02-28 22:44:12 +00:00
tjhunt
692b631d9d
MDL-12815 - Quiz uses inconsistent class attribute for the paging bar.
I have added the standard .paging class, but I have left the old class there too, so as not to break existing themes.
2008-02-28 21:43:50 +00:00
nicolasconnault
49460d84b1
MDL-11282 Implemented fix. Merging from MOODLE_19_STABLE
2008-02-21 12:22:42 +00:00
moodler
1d20bb7d51
merged notice fix
2008-02-20 06:52:43 +00:00
tjhunt
ec3fa1d8eb
MDL-13448 - missing the global $db statement. Fix thanks to Samuli Karevaara.
2008-02-19 16:21:36 +00:00
tjhunt
4f67bf8c4d
MDL-13390 - Wrong links in quiz notification emails
2008-02-19 16:19:58 +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
skodak
1f106b3f1d
MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE
2008-02-05 21:40:21 +00:00
nicolasconnault
fb739b77e0
MDL-13050 merging from 1.9
2008-02-04 13:57:36 +00:00
skodak
76cbde4138
MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE
2008-02-01 14:10:49 +00:00
stronk7
044197030b
Deleting core uses of sql_isnull(). MDL-12970 ; merged from 19_STABLE
2008-01-27 01:28:25 +00:00
jamiesensei
b667e698fd
MDL-13156 "insert_category_and_question_ids() function name can cause name conflicts" Fixed :
2008-01-25 07:01:18 +00:00
skodak
dd97c32868
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
2008-01-24 20:33:50 +00:00
tjhunt
7956944f7c
MDL-12933 - Bug in mod/quiz/lib.php break MyMoodle - Fix thanks to Eric Merrill.
2008-01-24 17:13:30 +00:00
nicolasconnault
6dac764d18
MDL-13050 Reverting, it's not working out as well as planned
2008-01-21 13:40:47 +00:00
jamiesensei
ede67707a6
MDL-13034 fixes "insertion of question / category ids at the CONTEXT_MODULE level does not respect whether the instance of the module has been selected for backup" and cleans up code a little.
2008-01-18 14:49:59 +00:00
nicolasconnault
406af084a3
MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules
2008-01-18 14:44:45 +00:00
jamiesensei
c56590192a
whitespace clean up, removed all indentation with tabs and trailing white space
2008-01-13 08:30:39 +00:00
jamiesensei
6923c5546a
MDL-12695 Symantec Norton internet security pop up blocker seems to be stopping user starting a quiz attempt - fixed this by using print_single_button which uses an onclick event to trigger a confirm dialogue, should work better even with popup blockers.
2008-01-12 08:50:32 +00:00