skodak
f2e4a0818a
preparation for 1.9 beta 2 - setting correct requires in mods and plugins
2007-10-10 16:09:17 +00:00
skodak
03cedd6283
MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-)
2007-10-10 12:19:27 +00:00
tjhunt
6f3b54c8aa
MDL-9076 - Move the 'Add 3 more overall feedbacks' button inside that group of elements on the quiz settings form.
...
To make this possible, I added an extra argument to the repeat_elements method, which other people may find helpful on other forms.
2007-10-09 15:44:06 +00:00
tjhunt
e2833e8700
MDL-11617 - 'Student may review' heading on quiz settings form is now misleading. I have fixed some lang strings and improved the help. Also, finish off the clarification of how various capabilites affect quiz review that was started in MDL-11580.
2007-10-09 15:19:07 +00:00
skodak
1223d24a73
MDL-11580 support for hidden state modification in gradebook from activities (quiz now only) - part 1
...
the hiding/unhiding should be IMO locked in gradebook UI when activity overrides it
2007-10-04 22:57:14 +00:00
tjhunt
01600b5190
MDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
...
Also, reviewing the new code made me realise that the code in mod/quiz/report/overview/report.php was a mess, so I cleaned it up a bit.
2007-10-04 15:57:09 +00:00
toyomoyo
fb72e817d9
MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set
2007-10-04 08:22:55 +00:00
skodak
8df73369ce
MDL-11517 reserved word MOD used in table alias in questions backup code
2007-09-29 16:26:13 +00:00
tjhunt
771b1a46f7
MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE.
2007-09-26 20:45:23 +00:00
tjhunt
fba3ea31bc
MDL-8682: Pressing enter when answering a short answer question can submit the wrong one. To fix this, I have disabled the enter key unless the keyboard focus is on a submit button (or inside a text box or HTML editor).
...
MDL-9451: Quiz answers can be lost if user navigates before page reloads. I am not totally sure I have fixed this, but I hope so. I moved the printing of the hidden form field with the list of questions on the page to the end of the form, so no answers will be processed unless the whole form loaded. Note that you could still lose data, but only if the page takes a really long time to load and you answer the first question and click submit before the whole quiz is loaded.
MDL-11463: The quiz uses two different timers, which is silly. I have removed the javascript that was ocasionally used to put a timer in the browser's title bar. Now we only use the one in the page for all cases.
Because MDL-8682 also needed javascript, I renamed timer.js to quiz.js so it could be a library of all the quiz's JavaScript, and started including it properly with require_js.
2007-09-26 18:15:31 +00:00
tjhunt
f59dba8497
MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
...
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
tjhunt
44888f691a
Add $Id$ tags.
2007-09-26 10:13:23 +00:00
tjhunt
c0ca082d2f
Remove spurious characters from some SQL statements.
2007-09-25 14:39:42 +00:00
stronk7
fcdea90774
Second pass. Modules. Some more default comments are out. MDL-11385
2007-09-24 22:17:05 +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
tjhunt
f0bb0a8738
MDL-10338 - quiz index page does not work in weekscss format. Merged from MOODLE_18_STABLE.
2007-09-21 11:10:37 +00:00
tjhunt
b5a16eb72e
MDL-6376 - Include quizzes on the MyMoodle page. Initial implementation by Stephen Bourget, with refinements by Tim Hunt. The logic for which quizzes are listed is very similar to the lesson module.
2007-09-21 11:05:04 +00:00
tjhunt
e63faf2b50
MDL-10376 - since roles and capabilities came along, the quiz was not very gracious if you were logged in as guest, or really logged in on the server, but using guest access to look a a particular course, or were enrolled in a course, but in a role that did not let you preview or attempt quizzes. This patch should clean up the logic for all these cases.
2007-09-20 15:14:24 +00:00
tjhunt
260812ba06
MDL-10972 - The lang string 'fullname', which is normally used for course fullnames, was being used for a person's full name in some quiz reports. This dual usage is not translatable into all languages. Merged from MOODLE_18_STABLE.
2007-09-19 15:52:27 +00:00
tjhunt
6ef56c991f
MDL-6043 - supplimental - make corse reset function update quiz open and close dates. Thanks to Shamim Rezaei for the implementation, which I edited slightly.
2007-09-19 15:38:14 +00:00
tjhunt
fca490bca0
MDL-6315 - When processing a manul grading action, if both the comment and the score are blank - as might be the case on the 'Grade all' page of the manual grading when the teacher uses it to grade some, but not all of the students - then do not record the question as graded. Merged from MOODLE_18_STABLE.
2007-09-19 10:56:24 +00:00
tjhunt
6c554fc9b8
XHTML Strictness. Merged from MOODLE_18_STABLE.
2007-09-19 10:32:09 +00:00
tjhunt
01c4e87acf
MDL-11095 - Use absolute path to include tabs.php, not a relative path, for greater robustness. Merged from MOODLE_18_STABLE.
2007-09-19 10:26:39 +00:00
tjhunt
c767d3b7d3
MDL-11317 - Slashes displayed in incorrect responses for short answer questions. Fix by adding stripslashes in the appropriate place. Merged from MOODLE_18_STABLE.
2007-09-18 12:15:22 +00:00
tjhunt
07a7d85924
MDL-11267 - Anywone who can view quiz reports can delete student attempts. Merged from MOODLE_18_STABLE.
2007-09-17 16:17:24 +00:00
nicolasconnault
b159da787a
MDL-11282 Using notice_yesno(), but not sure how to provide a backlink with the cancel action...
2007-09-14 19:32:50 +00:00
tjhunt
e8666d9abb
MDL-11081 and MDL-11211 - Implement quiz_question_list_instances. The lach of this function was causing a horrible dataloss bug: MDL-11211. Fix thanks to Janne Mikkonen, refined by me. Merged from MOODLE_16_STABLE.
2007-09-13 17:29:08 +00:00
tjhunt
8472a14d71
MDL-11213 - Quiz preview attempts show up in item analysis. Fix thanks to Jean-Michel Vedrine. Merged from MOODLE_18_STABLE.
2007-09-13 16:25:00 +00:00
tjhunt
5b875ebf82
Take out duplicate $Id$ CVS tags.
2007-09-10 11:07:39 +00:00
jamiesensei
5d5a477f1a
removing redundant string fetches
2007-09-04 13:28:50 +00:00
jamiesensei
6943c3b9ca
removed stray echo statement
2007-09-04 12:42:03 +00:00
moodler
f4d24ff5c3
Updating grades will update the grade_item too
2007-09-04 05:56:19 +00:00
mattc-catalyst
5ada3c8e3a
MDL-10888: groupings - mod/quiz - add groupings support
2007-08-27 03:56:39 +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
skodak
5bf243d131
MDL-10383 - groups/groupings refactoring nearly finished ;-)
2007-08-16 11:06:48 +00:00
skodak
1d68419596
MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9
2007-08-15 19:28:11 +00:00
tjhunt
a462602a06
MDL-10858 - Edit field sizes for overall feedback are silly. Merged from MOODLE_18_STABLE.
2007-08-15 12:45:23 +00:00
tjhunt
acda04bfb9
MDL-10834 - Restore of quiz module may create calendar events without a date/time. Fix thanks to Derek Woolhead. Merged from MOODLE_17_STABLE.
2007-08-14 13:33:39 +00:00
jamiesensei
e7e62d45be
Fix for MDL-10823 Access to question edit page denied from quiz preview screen.
2007-08-14 04:22:05 +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
dc5c68519e
Notice on quiz config.html page.
2007-08-13 11:19:51 +00:00
jamiesensei
b36e36aa05
removed all ASes from table aliases in question / quiz code - MDL-10344
2007-08-12 13:57:57 +00:00
skodak
31f626f8c3
MDL-9551 minor cleanup
2007-08-10 21:04:15 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
moodler
9216897888
Removing the space will make this string print better in RTL languages MDL-10768
2007-08-09 08:49:05 +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
f5e9cb1e9c
MDL-10759 - Bogus get_context_instance call in quiz_print_recent_mod_activity. Merged from MOODLE_17_STABLE.
2007-08-08 11:30:50 +00:00
jamiesensei
62f34fdb20
fix for some notices in insert_category_ids function.
2007-08-08 03:29:29 +00:00
tjhunt
0675e5eb8f
MDL-9519 - incorrectuse of language strings in quiz. Merged from MOODLE_18_STABLE.
2007-08-06 13:22:59 +00:00
moodler
c74fd1e85c
Added grade.php file to make MDL-10674 work
2007-08-06 05:38:58 +00:00