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
0ac940b3bf
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
2009-11-04 19:24:12 +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
stronk7
74c288a100
MDL-18577 drop enums support - step2: enums out from install.xml files
2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7
MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts.
2009-05-01 01:19:16 +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
26574bbad7
quiz/questions: Improve documentation of database tables.
2009-03-05 11:24:41 +00:00
skodak
0cb93a7e45
MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-)
2009-01-29 19:58:47 +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
skodak
9c82ff2acd
MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules
2009-01-12 21:13:28 +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
98e82289b3
MDL-16505 - Removing qtype_datasetdependent questiontype - finish off the database upgrade, after Pierre's previous work.
2008-09-17 05:24:29 +00:00
tjhunt
4906997bbb
MDL-16492: the fix for MDL-16411 broke the fix for MDL-16200. Fix it.
2008-09-15 04:20:23 +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
skodak
775f811a66
MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes
2008-08-16 12:16: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
4f089b2155
MDL-6095 - Question bank tables are created by the quiz module. The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 woudl have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue.
2008-08-15 07:23:18 +00:00
tjhunt
14d701d67e
MDL-15819 - Review the RISK_XXX flags on all quiz and question capabilites.
2008-08-13 07:05:42 +00:00
moodler
120b375891
MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary
2008-07-31 08:01:46 +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
Francois Marier
6800d78e06
Drift between CVS and git
...
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
04264aeda4
MDL-15343 mod upgrade savepoints implemented (the xmldb generator is not updated yet)
2008-06-22 23:35:52 +00:00
skodak
eee5d9bb85
MDL-14956 DDL exceptions
2008-06-22 16:51:55 +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
skodak
b1f93b1512
MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl
2008-06-15 10:32:50 +00:00
skodak
219f652b91
MDL-14679 upgrade $DB conversion
2008-05-31 18:05:42 +00:00
tjhunt
a6a89b9eab
Strip some trailing whitespace.
2008-03-07 12:35:10 +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
1061756d8e
Minor whitespace fixup.
2007-11-07 15:41:20 +00:00
stronk7
fcdea90774
Second pass. Modules. Some more default comments are out. MDL-11385
2007-09-24 22:17:05 +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
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +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
Martin Langhoff
08103c9364
cvsimport fixups
2007-07-07 14:18:30 +12: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
stronk7
73710a4679
Fixing typo causing some (a few) sites to break on upgrade. Credit
...
goes to Rafa Gutierrez. MDL-9316
Merged from MOODLE_18_STABLE
2007-04-12 15:34:47 +00:00
tjhunt
d2ab495693
MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix. Merged from MOODLE_17_STABLE.
2007-03-14 21:24:44 +00:00
tjhunt
31f6834e36
Fix upgrade that MySQL could not cope with.
2007-03-01 16:47:55 +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
vyshane
2585a68d54
Merged from 1.8.
2007-02-16 08:46:55 +00:00
Martin Langhoff
f3f7610c90
cvsimport fixups -- cvshead had strayed from upstream
2007-01-04 13:15:04 +13:00