164 Commits

Author SHA1 Message Date
Petr Skoda
633d5a07af MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
Tim Hunt
4344c5d5d9 MDL-29627 quiz old popup int column => new browsersecurity column.
The new column store more meaningful string constants.
2011-10-13 11:13:18 +01:00
Tim Hunt
cbb8b55c33 MDL-28166 send quiz event notifications asynchronously.
This avoids the problem that you cannot send messages in transactions.

It also means that the quiz submission will not be prevented, and the
message will still be sent eventually, if any part of the messaging
system is giving intermittent errors when the student wants to submit
their quiz.
2011-07-06 14:16:30 +01:00
Eloy Lafuente (stronk7)
5abfa6a930 MDL-20636 changes to quiz and quiz reports upgrade code 2011-06-06 17:16:22 +01:00
Tim Hunt
d3bab68c78 MDL-27408 update all question and quiz plugin version.php files. 2011-05-12 23:18:47 +01:00
Tim Hunt
bb28e3bc5e MDL-27408 Moved the question engine install/upgrade code into the proper place.
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
Tim Hunt
25a03faaca MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
Tim Hunt
a17b297d60 MDL-20636 Add missing defined('MOODLE_INTERNAL') || die(); 2011-02-23 16:00:20 +00:00
Tim Hunt
ba6438471b MDL-20636 Fix top of file boilerplate in mod/quiz. 2011-02-21 16:13:25 +00:00
Eloy Lafuente (stronk7)
909d2b8f63 MDL-25791 quiz - bump version 2011-02-01 09:37:36 +01:00
Petr Skoda
2f20e23ba6 MDL-25791 PULL-125 reverting commits that create null problems during upgrade 2011-01-17 21:08:05 +01:00
Sam Hemelryk
e4e19a65f9 mod-quiz MDL-25791 bumped version number, rebased patch, and removed unwanted phpdoc global 2011-01-14 17:49:12 +08:00
Sam Hemelryk
0022ea3669 mod-quiz MDL-25791 Fixed database discrepancies between a fresh install and an upgraded site within the Quiz module 2011-01-14 17:44:06 +08:00
Andrew Davis
94263cca87 quiz MDL-25297 fixing quiz messaging issues 2010-11-19 09:50:12 +00:00
Andrew Davis
bc68fc9a9b message MDL-25297 refactored quiz to make message notifications work 2010-11-19 05:18:34 +00:00
Tim Hunt
9bb6663e04 quiz MDL-24727 column missed from install.xml 2010-10-20 10:14:19 +00:00
Dongsheng Cai
fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Sam Hemelryk
34e1770111 navigation MDL-20276 Fixed version number 2010-05-21 03:22:51 +00:00
Sam Hemelryk
56ed242b51 navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Tim Hunt
990650f94c quiz: MDL-16478 Allow different open/close dates, etc. for individual students or groups.
This was implemented by Matt Petro of the University of Wisconsin - Madison Engineering
School and Math Department. Many thanks. Reviewed by and committed by Tim Hunt.

This adds a new Overrides tab to the UI, with sub-tabs Group overrides and User overrides.
Each of those lists all the overrides that currently exist, and lets you manage them and
create more.

When a quiz is being attempted, the override that applies to the current user is combined
with the current quiz settings loaded from the quiz table (normally called $quiz).
If there are both user and group overrides, then just the specific user override is used (more specific).
If the user is in several groups, then the overrides are combined to give the most permissive set of options.

There is one new database table quiz_overrides, to store the overrides.
2010-03-08 16:01:38 +00:00
Tim Hunt
5ffd1421a5 manual grading: MDL-20581 Fix potential XSS problem.
Thanks to Penny for spotting this.
Merged from MOODLE_19_STABLE.
2009-11-19 17:31:41 +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
skodak
18b5df9155 MDL-18910 normalised module intro and introformat 2009-04-20 19:29:15 +00:00
tjhunt
84e628a027 quiz settings: MDL-18485 Improve quiz settings form
* Reorder form fields to group things more logically.
** and on the corresponding admin page too.

* Set some options to be 'Advanced' by default:
** Apply penalties.
** Each attempt builds on the last.
** Decimal places for question grades.
** The five 'Extra restrictions on attempts' settings. (password, etc.)
* Admins can still change this to suit their institiution at Administration > Plugins > Activity modules > Quiz.
* These new defaults are applied if the admin had not previously set any fields to be advanced.

* Disable some filds when they are not applicable:
** Grading method, if num attempts = 1
** Penaly scheme, if adaptive mode = no
** Each attempt builds of last, if num attempts = 1
** Review after quiz closed options, if no close date.
** Delay between 1st and 2nd attempts, if num attempts = 1
** Delay between later attempts, if num attempts < 3

* Convert quiz.timelimit to be in seconds, for consistency, and ready for the new duration field type (MDL 18500).
** Including ensuring that backup and restore is backwards compatible.

* MDL-5537 New setting, questiondecimalpoints, so, for example, you can show the quiz grade as an integer, but have fractional question grades.
** There is a 'Same as overall decimal points' option, which is the default.

* Improve some field labels.

* Make corresponding changes in the help files.
2009-03-10 08:39:51 +00:00
tjhunt
96c7d771df quiz: MDL-14926 New capability mod/quiz:reviewmyattempts, separate from mod/quiz:attempt. Merged from MOODLE_19_STABLE. 2009-01-14 07:08:02 +00:00
tjhunt
a733c4b98b mod quiz: MDL-3156 Add an option to display the current user's photo and name on the Quiz attempt and review pages. 2009-01-07 06:32:13 +00:00
jamiesensei
bbf4f440ee MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports" 2008-11-25 12:11:27 +00:00
tjhunt
e4686e896e MDL-16200 question/type/datasetdependent/ missing version.php. This was a mistake made when fixing MDL-6095. 2008-08-26 01:09:23 +00:00
tjhunt
e2249afe2b MDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new admin tree system. 2008-08-26 01:05:01 +00:00
tjhunt
f9a2cf86a9 MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type. 2008-08-15 11:15:08 +00:00
tjhunt
6b22437658 MDL-16058 - Remove obsolete quiz_question_versions table. 2008-08-15 08:23:09 +00:00
tjhunt
4d9f2c368f Remove 'regrade' report from the quiz_report table, since it no longer exists. 2008-07-29 11:53:54 +00:00
jamiesensei
17f1782c12 MDL-15818 "allow quiz reports to register cron routines" - Quiz reports can now include files cron.php which include functions quiz_report_{reportname}_cron that will be executed from the moodle cron. They must also modify their quiz_report record to set cron to the number of seconds between cron execution. 2008-07-24 17:36:33 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
jamiesensei
f37f30d435 MDL-14754 "rename and reorder quiz reports tabs" added new db table quiz_report that lists reports and has a field for their display order. Standard reports are automatically added to table. Reports that are not on disk are ignored. 2008-06-20 13:43:06 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
tjhunt
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
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
tjhunt
bb4598fcf7 Quiz time limit field: Store it in the DB as an int(10), like the other time-related columns. Also, include the unit (minutes) in the forum label. 2007-07-02 06:48:50 +00:00
tjhunt
ac48e43a89 MDL-648 - Email notification and confirmation when quizzes are submitted. Thanks to Graham Miller for implementing this to my design. 2007-06-26 16:34:05 +00:00
skodak
d6dd21084b MDL-9551 Implemented calls of grade_update() function in Quiz 2007-06-10 22:52:41 +00:00
tjhunt
b9ea2b7ad5 Add a unique index to the question_numerical_units table, to prevent duplicate units being created. 2007-02-28 17:19:04 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
toyomoyo
4c2275d557 fix for MDL-7395, adding capaiblity mod/quiz:ignoretimelimits for quiz takers with disability. 2006-11-23 07:52:54 +00:00
tjhunt
a4514d91de Renamed new commentary feature to 'general feedback'. 2006-09-19 13:35:42 +00:00
tjhunt
717cfb0a7b Rename column question_dataset_items->number to itemnumber, to avoid reserved word. 2006-09-19 10:56:00 +00:00
moodler
0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00