Commit graph

7978 commits

Author SHA1 Message Date
tjhunt
de57941d2a quiz editing: unindent entire file. 2009-03-17 08:21:37 +00:00
tjhunt
eeab18f0b3 quiz settings: MDL-17333 Resolve the interrelations between shufflequestions and questionsperpage.
* change the wording of the settings.
* add a repaginate now checkbox (disabled if shuffle is on).
* JavaScript to automatically check the checkbox when qpp changes.
* (remove some irrelevant return value checks now we use exceptions.)
2009-03-17 07:08:33 +00:00
tjhunt
cf0e8bdba8 database mod: XHTML strict! 2009-03-17 04:28:47 +00:00
tjhunt
66aa084c6d database mod: XHTML strict! 2009-03-17 04:22:48 +00:00
thepurpleblob
268104371b MDL-18567:
Check for (boolean) false coming back from database instead of real data

Merged from STABLE_19
2009-03-16 16:37:31 +00:00
thepurpleblob
410b53deed MDL-18542
Can now uncheck checkboxes and have them stored correctly.

Merged from STABLE_19
2009-03-16 15:38:06 +00:00
gbateson
94328e504c recalcualte grades when HotPot grading method changes 2009-03-16 01:52:15 +00:00
agrabs
b7a479588a MDL-17721 - feedback items now have a label which is printed on analysing and excel
export
2009-03-13 14:35:25 +00:00
thepurpleblob
f24222e2a2 MDL-18535:
Adding checks for field name mismatches and "proper" error messages.

Merged from STABLE19
2009-03-12 14:45:13 +00:00
agrabs
ed93c78b8e MDL-18529 - the editing textbox of questions now has a with of 80 chars.
additionally I added the item information from feedback for 1.9
2009-03-12 11:04:21 +00:00
Francois Marier
200164446a Fix drift with CVS 2009-03-11 13:16:54 +00:00
tjhunt
692e0c3395 MDL-18521 Countdown timer should be visible on the summary page 2009-03-11 07:10:57 +00:00
tjhunt
1d9673b648 quiz timer js: Fix typo (that was not causing problems) 2009-03-11 07:00:36 +00:00
tjhunt
26da840f6b quiz and qtypes: Regressions from MDL-7308 since '0.0000000' is not empty() in PHP. 2009-03-11 06:36:25 +00:00
dongsheng
6b49eb8b72 "DATA/MDL-18024, use rid instead page to comment a record, merged from 1.9" 2009-03-11 05:33:55 +00:00
dongsheng
f77569e1ad "DATA/MDL-18136, fix pagination in data mod, merged from 1.9" 2009-03-11 04:22:40 +00:00
dongsheng
c19df282a6 "CHAT/MDL-14949, remove mod/chat:talk capability and check chat and readlog capabilities respectively, merged and modified from 1.9" 2009-03-11 02:34:20 +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
danmarsden
f13ffcd556 MDL-18460 - SCORM Report - remove duplicated header - thanks Vlas Voloshin for the report. 2009-03-10 01:17:42 +00:00
tjhunt
15b60b640f lesson upgrade: My guess at how to fix the regressions from MDL-17101. 2009-03-09 03:11:29 +00:00
poltawski
3b8b9b6a8b forum/subscribe to all forums broken - MDL-15317
Was calling has_capability on $cm rather than a context..
thanks to Garret Gengler for the fix.
2009-03-08 23:50:37 +00:00
agrabs
6133bd1633 MDL-18473 - many thanks to Manolescu Dorel, who contributed these two functions 2009-03-07 00:40:37 +00:00
mark-nielsen
13b92708d2 lesson grading: MDL-17101 The lesson module was sending the incorrect raw grade values. Correcting the values by calculating the actual raw grade before sending to gradebook. Merged from MOODLE_19_STABLE and updated for trunk. 2009-03-06 19:03:46 +00:00
tjhunt
f5831eeac0 quiz editing: coding style cleanup. 2009-03-06 04:06:48 +00:00
tjhunt
26574bbad7 quiz/questions: Improve documentation of database tables. 2009-03-05 11:24:41 +00:00
tjhunt
790524a32e quiz overview report: Fix type of the grade columns to be NUMBER(12,7).
Also, improve comments.
2009-03-05 11:24:15 +00:00
tjhunt
2457254946 quiz reports: Fix up unit tests. 2009-03-05 08:50:01 +00:00
tjhunt
53004e480f quiz lib: MDL-17579 should call delete_attempt from questionlib.php rather than trying to do the job itself. 2009-03-04 08:35:05 +00:00
dongsheng
5b4773c2b7 "CHAT/MDL-14651, move down DOCTYPE declaration" 2009-03-04 07:15:18 +00:00
dongsheng
ad9c22aa12 "FORUM/MDL-15968, respect mod/forum:viewqandawithoutposting in forum_search_posts, merged from 1.9" 2009-03-03 06:48:03 +00:00
stronk7
3b348bbf4d MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones. Merged from 19_STABLE 2009-03-02 23:41:55 +00:00
piers
8f54becce7 MDL-18412 - fixed incorrect config var name. thanks Anthony. 2009-03-02 23:16:47 +00:00
piers
074b6db255 MDL-18148 - AICC compliance fixes from Martin Holden. 2009-03-02 23:07:44 +00:00
piers
932bba0197 MDL-18148 - AICC compliance fixes from Martin Holden. 2009-03-02 19:36:12 +00:00
sam_marshall
08ec7ec62e MDL-18401: Glossary page bar should highlight current page 2009-02-27 12:58:23 +00:00
tjhunt
4299df1daf quiz editing: Refactor the editing actions to make functions in editlib.php for most of them.
In the process, do MDL-17456, move/delete questions by question id rather than position, for greater robustness.
2009-02-27 08:45:05 +00:00
tjhunt
1fd211a770 quiz: Fix unit tests. 2009-02-27 08:43:28 +00:00
piers
e23cc5d2e5 MDL-18148 - AICC compliance fixes. Fixing general new file API problems, and stripslashes_safe(). 2009-02-26 18:19:05 +00:00
piers
e341f9c187 MDL-18148 - AICC compliance fixes from Martin Holden. 2009-02-26 16:31:23 +00:00
tjhunt
324d65763c quiz editing: MDL-17284 Major coding style cleanup.
This is a mixture of stuff in the coding guildelines and personal preference.
2009-02-26 08:30:45 +00:00
tjhunt
944efb3e8b quiz editing: MDL-18376 Since there is no grading for description, we can show more question text. Thanks Olli. 2009-02-26 06:51:35 +00:00
piers
898b282355 MDL-18212 - switch to addslashes_js - thanks Tim. 2009-02-25 22:56:59 +00:00
tjhunt
8e84d9788c quiz editing: MDL-18173 tidy up wording and add cursor: help. 2009-02-25 07:27:02 +00:00
tjhunt
cd120b2344 quiz editing / question bank: MDL-18355 Convert the add question drop-down to be a button that pops up a YUI dialogue.
That allows us to have a few sentences explanation of each question type, and is also easier to fit into a tight layout.

This commit should also fix MDL-18214 Layout screwed in Safari with long category names.
2009-02-25 07:14:03 +00:00
tjhunt
5d6f63bf71 quiz editing: tidy up quotes. 2009-02-25 06:53:10 +00:00
tjhunt
3cac440b76 quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not. 2009-02-24 05:16:23 +00:00
dongsheng
2949cac7d2 "DATA MOD/MDL-18079, respect mod/data:comment capability when adding comments, merged form 1.9" 2009-02-23 07:30:02 +00:00
sam_marshall
3ae8d0dd80 MDL-18322: Fix debug warning on course view page when forum has grouping set 2009-02-19 17:41:40 +00:00
dongsheng
d7860ff9f1 "RESOURCE/MDL-17696, remove extra div, merged from 1.9" 2009-02-18 08:10:35 +00:00
skodak
90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00