Commit Graph

9632 Commits

Author SHA1 Message Date
tjhunt 3e10e4292d quiz editing: MDL-17454 first attemtp, and MDL-18554
This is a minimal fix for MDL-18554, I have just added a cancel button and made it work.

The more substantial part of this is MDL-17454, trying to make the quiz editing screen behave appropriately when shuffle questions is on. I am sure Olli will have opinions about this and want to change it further. Rought summary:
* When shufflequestions is off, never restrict manual paging, even if questionsperpage is set.
* When shuffle questions is on:
** Always display the quiz with the defined number of questions per page.
** Remove controls to add things except at the end of the quiz.
** Disable most of the order and paging tab, but still allow the question list to be reordered, in case that helps teachers track which questions they have added.
** Still allow questions to be reordered on the edit tab, but when moving the top question on a page up, reorder with the previous question, rather than moving to the previous page.
* Change the status bar, so that the yellow highlight is reserved for alert information. The more informative stuff is now plain, and moved to under the title. To my mind that associates it more closely with the quiz name. Also it moves Total of grades and Maximum grade closer together.
* JavaScript cleaned up. I learn more about YUI every day.
* Some PHP code clean ups that I forgot to commit separately before making substantive changes.
2009-03-17 09:51:34 +00:00
tjhunt 8c87920373 quiz settings: MDL-17333 drat, missed one lang string. 2009-03-17 07:10:45 +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
dongsheng 64115dc8b3 "REPOSITORY/MDL-18520, hard-coded block list in file system plugin" 2009-03-17 05:21:03 +00:00
thepurpleblob c95defa90b MDL-18555:
Adding better handling for unsupported question types.

Merged from STABLE_19
2009-03-16 14:25:30 +00:00
jerome 0d4723ee62 web service MDL-12886 check that a user is a course participant before to add it to a group 2009-03-13 06:51:30 +00:00
dongsheng fe4126c8c3 "REPOSITORY, SMB/MDL-16907, remove smb plugin from core" 2009-03-13 02:59:45 +00:00
dongsheng 520de3434b "REPOSITORY/MDL-18520, file system plugin added" 2009-03-13 02:54:28 +00:00
Francois Marier 08b2b79b4e Fix drift between CVS and git 2009-03-12 22:21:57 +00:00
thepurpleblob aa907a94fc MDL-18535:
Adding checks for field name mismatches and "proper" error messages.

Merged from STABLE_19
2009-03-12 14:40:32 +00:00
Francois Marier 200164446a Fix drift with CVS 2009-03-11 13:16:54 +00:00
stronk7 1263a0ff1d MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow!
Merged from 19_STABLE
2009-03-11 11:22:55 +00:00
tjhunt f3a076ded4 MDL-18500 New formslib element type duration for periods of time. 2009-03-11 06:07:33 +00:00
tjhunt a292125f20 sort lang file. 2009-03-11 05:37:22 +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
nicolasconnault 1575b030f8 MDL-14961 Merged from MOODLE_19_STABLE 2009-03-10 14:03:37 +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
stronk7 16fcfc720a MDL-18468 Adding admin experimental option to enable split on restore. Thanks for string cleanup, Helen.
Merged from 19_STABLE (more or less)
2009-03-09 23:43:39 +00:00
stronk7 b8f0d7d185 MDL-18468 restore preprocessing (split) - Added $CFG->experimentalsplitrestore option
to enable split of moodle.xml files into upto 19 smaller files for quicker restore.
Merged from 19_STABLE
2009-03-09 23:36:00 +00:00
jerome 6d1c1a6bd9 web service MDL-12886 update web service exception messages 2009-03-09 05:20:16 +00:00
poltawski 6667f9e439 repository/googledocs New repository plugin MDL-16383
Google have now allowed documents to be downloaded via their API
(http://googledataapis.blogspot.com/2009/02/start-downloads.html) so
the google docs repo plugin could be finished.

At the moment i've set the export format hardcoded, hopefully we can allow the
repo api let the user choose later...
2009-03-08 15:53:11 +00:00
dongsheng 60c366e8a6 "REPOSITORY/MDL-13766, improve create function" 2009-03-05 05:40:56 +00:00
dongsheng a75c78d318 "REPOSITORY/MDL-18354, enabled local and upload repository plugins when upgrading" 2009-03-05 04:40:51 +00:00
nicolasconnault 126d92d3dd MDL-18228 Fixed the language issue and removed the grader report preference 2009-03-04 14:20:45 +00:00
thepurpleblob c05878500b MDL-18390:
Correctly report unhandled question types and get string from language pack.
2009-03-03 15:36:17 +00:00
mudrd8mz 9dc1fb4dde MDL-14743 offer a link to the English help file. Merged from 1.9 stable 2009-03-02 14:14:19 +00:00
jerome 6fcd56724c web service MDL-12886 documentation: check if "Display debug messages" is set Off 2009-02-27 01:01:34 +00:00
jerome 839bd5a204 web service MDL-12886 documentation: better display, test if web services are enable, display return type 2009-02-26 08:18:28 +00:00
tjhunt 8bc590f5df qtypes help: MDL-5106 Create questiontype help file dynamically 2009-02-26 07:07:40 +00:00
jerome 87171bd8ee web service MDL-12886 add lang strings for web services 2009-02-26 04:22:26 +00:00
dongsheng 57416b8016 "LANG/MDL-17620, add language string, merged from 1.9" 2009-02-26 02:33:04 +00:00
nicolasconnault 203b7e2e7a MDL-18228 Added a grader report preference for using the new fixed student column, and made it always off if $USER->screenreader is set. 2009-02-25 11:09:07 +00:00
tjhunt a781921fd0 question bank: MDL-16412 Allow admins to enable/disable of each question type 2009-02-25 09:31:49 +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
moodler 011016a9c0 repository MDL-16543 Tidying up some lang strings 2009-02-24 08:00:01 +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 f823a79607 "REPOSITORY/MDL-13766, rename gloabl search button" 2009-02-19 07:28:33 +00:00
skodak 76ae9cbb4e MDL-18274 fixed lang string, thanks Helen 2009-02-19 07:21:21 +00:00
skodak f2ceeea5a4 MDL-18041 improved hints - thanks helen; merged from MOODLE_19_STABLE 2009-02-18 20:32:54 +00:00
sam_marshall 7556422816 MDL-18272, MDL-18271: Conditional availability - grade condition to use percentages not raw grades; use wording rather than >= symbol in form because (apparently) teachers are functionally innumerate. ;) 2009-02-18 17:50:13 +00:00
skodak 7daf91f210 MDL-14589 course section summary string 2009-02-18 09:03:09 +00:00
skodak ad0cf519df MDL-18223 merging missing strings from MOODLE_19_STABLE 2009-02-17 22:49:51 +00:00
skodak 2e3f66d728 MDL-18223 merged spam cleaner into head + removed legacy code + fixed report title 2009-02-17 22:37:48 +00:00
skodak ff08798b11 MDL-11313 merged strings into HEAD (will not be used there) 2009-02-17 22:25:13 +00:00
skodak 5e2f308b91 MDL-18293 exception and DML cleanup 2009-02-17 16:50:36 +00:00
skodak 90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
skodak 644d506ac1 MDL-16698 towards new general editor element + converted course section summaries 2009-02-17 16:18:05 +00:00
sam_marshall 54ab56b349 MDL-18208: Make xmldb give sensible error if you try to generate documentation without having xsl extension installed 2009-02-17 12:53:51 +00:00
nicolasconnault c4c97a6d82 MDL-18004 2009-02-17 11:17:29 +00:00