Commit graph

8018 commits

Author SHA1 Message Date
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
tjhunt
1bd66f3914 quiz attempts: MDL-18283 add accept-charset="utf-8" to avoid encoding problems. 2009-02-17 07:21:56 +00:00
skodak
3156b8ca48 MDL-14589 implemented browsing of course section files + fixed bug when getting parent dirs of stored files 2009-02-16 20:47:22 +00:00
stronk7
23a6c9d68c MDL-18243 data module filter - make it cross-db by using sql_compare_text() ; merged from 19_STABLE 2009-02-16 17:58:50 +00:00
poltawski
041a1e4173 performance/mymoodle MDL-18241 - Assigments were very expensive
Reworked to take queries out of loops and let it scale. Unfortunately
I don't think we can get the get_users_by_capability() call out of the
loop on assignments.

Real query numbers before/after:
Teacher: 12,509 / 314
Student: 127 / 72
Admin: 718 / 133

Conflicts:

	mod/assignment/lib.php

Merged from 19_STABLE (with dmlib changes)
2009-02-16 13:14:30 +00:00
stronk7
aab0cd1851 MDL-18244 sql_length() - apply new function to resource names filter ; merged from 19_STABLE 2009-02-15 23:23:41 +00:00
tjhunt
2b6ec12cd4 quiz editing: MDL-18016 fix regression, adding questions on the order and paging tab was broken. 2009-02-13 07:12:41 +00:00
tjhunt
7b161e1290 quiz editing: MDL-17284 improve wording for delete -> remove all selected questions. 2009-02-13 07:11:55 +00:00
tjhunt
5bbdaed2a1 quiz editing: MDL-17455 fix non-unique first column in get records. Thanks Olli for spotting this. 2009-02-12 05:04:19 +00:00
tjhunt
4cc11ff992 quiz editing: MDL-17455 fix missing global. Oops. 2009-02-11 10:35:41 +00:00
tjhunt
2a874d65ce quiz editing: MDL-17455 refactor the editing code to use the locallib functions to print the icons.
Also, use the new method in the random question class to get the list of random questions reliably.
2009-02-11 10:08:07 +00:00