Commit Graph

296 Commits

Author SHA1 Message Date
49460d84b1 MDL-11282 Implemented fix. Merging from MOODLE_19_STABLE 2008-02-21 12:22:42 +00:00
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
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
7956944f7c MDL-12933 - Bug in mod/quiz/lib.php break MyMoodle - Fix thanks to Eric Merrill. 2008-01-24 17:13:30 +00:00
98348de3ae MDL-12829 Removed a hard-coded test integer 2008-01-04 09:22:25 +00:00
b35a5a701d MDL-12829 Removed a hard-coded test integer 2008-01-04 09:21:32 +00:00
df270d4c74 MDL-12829 Applied the sql fix 2008-01-04 06:49:30 +00:00
d82b018f77 MDL-12829 Applied the sql fix 2008-01-04 06:24:34 +00:00
eafb9d9eda MDL-12458 fixed gradebook upgrade/update problems when not grades yet in activities; merged from MOODLE_19_STABLE 2007-12-25 20:51:23 +00:00
2a13e454f9 MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".
I also took the opportunity to improve the layout of this message slightly, and clarify the message that tells you that you cannot add or remove questions from the quiz if there are attemts.

Merged from MOODLE_19_STABLE.
2007-12-12 17:23:55 +00:00
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
ced5ee5921 MDL-11966 implemented dategraded and datesubmitted, tweaked altering of grades depending in hidden grades
MDL-11974 improved gradebook CSS
2007-11-01 08:25:05 +00:00
6c58e1985b MDL-6376 - fix minor errors in the previous commit.
More significantly, this patch changes the '1 Students have made 1 attempts' string.

To start with, this code was being produced in five different places, so I made a function to do the work!. Next, as you can see, it is not gramatical. Also, some people find it confusing, as in MDL-6376.

Therefore, it now just says 'Attempts: 1'.

Merged from MOODLE_19_STABLE.
2007-10-30 19:29:45 +00:00
a979298761 mod/quiz: fixed fatal error in quiz_print_recent_mod_activity()
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-10-25 01:26:17 +00:00
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
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
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
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
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
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
5b875ebf82 Take out duplicate $Id$ CVS tags. 2007-09-10 11:07:39 +00:00
f4d24ff5c3 Updating grades will update the grade_item too 2007-09-04 05:56:19 +00:00
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
dc5c68519e Notice on quiz config.html page. 2007-08-13 11:19:51 +00:00
31f626f8c3 MDL-9551 minor cleanup 2007-08-10 21:04:15 +00:00
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
99ebfea247 MDL-10690 - Make quiz name a manditory field. Merged from MOODLE_18_STABLE. 2007-08-03 10:33:29 +00:00
00719c02d6 MDL-10656 - Way to control when Overall feedback is displayed, independantly of the other sorts of feedback. Also, improve the layout of those settings on the quiz editing form. 2007-07-30 10:05:11 +00:00
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
14e6dc791a MDL-10198 - New code to allow files from quiestion attempts to be stored in moodledata and later downloaded. Code thanks to Adriane Boyd, but checked and modified by me, so we share the blame;-) 2007-06-20 15:12:36 +00:00
7a6f4066ce MDL-6043 - Implement course reset function for quizzes. 2007-06-19 22:17:47 +00:00
83d606dd74 MDL-9551 fixed magic quotes when changing grade_item settings 2007-06-11 09:12:14 +00:00
d6dd21084b MDL-9551 Implemented calls of grade_update() function in Quiz 2007-06-10 22:52:41 +00:00
ab0a8ff22c MDL-9608 - Work around Firefox putting the user's password in the quiz password field. Merged from MOODLE_18_STABLE. 2007-04-27 08:33:11 +00:00
a0807a0091 XHTML Strrrrrrict! on quiz module config page.
Fix errors when config changes are saved.

Merged from MOODLE_18_STABLE.
2007-02-28 12:24:54 +00:00
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
f07b9627b6 changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
a23f0aaf95 * Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
2006-12-19 07:03:08 +00:00
99aa18808f Make General feedback more tolerant of whitespace. Merged from MOODLE_17_STABLE. 2006-10-30 16:35:53 +00:00
a4514d91de Renamed new commentary feature to 'general feedback'. 2006-09-19 13:35:42 +00:00
2bb63d99c2 Fixed syntax error. 2006-08-31 09:17:57 +00:00
4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
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
920b93d1e3 Remove horrific code duplication in mod/quiz/lib.php. 2006-08-16 08:46:10 +00:00
1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
bc5694133a Bug #6206 - Quiz can't be created on some mysql configurations. Merged from MOODLE_1.6_STABLE. 2006-08-03 16:30:38 +00:00
a5e7cb78fa Making sure timelimit is converted to integer before being written to database, otherwise postgreSQL complains. Closing bug 5401; merged from MOODLE_15_STABLE 2006-06-02 16:02:10 +00:00
cd70aa32f2 Bug 5247: stop people creating tests with a close date before the open date. 2006-06-01 14:27:37 +00:00