Commit graph

9841 commits

Author SHA1 Message Date
poltawski
db935a79f0 Fix 'drow-down' typo MDL-18320
merged from MOODLE_19_STABLE
2009-03-25 09:43:19 +00:00
poltawski
a786341bb9 documentation/workshop MDL-2605 - bad helpfile link
merged from MOODLE_19_STABLE
2009-03-25 09:33:06 +00:00
tjhunt
c468795ce9 switch roles: MDL-18132 New Role allow switches page finished.
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
91eb445ca0 switch roles: MDL-18132 Convert allow override page to use the shared code. 2009-03-25 02:17:14 +00:00
jerome
71b77297a9 web service MDL-12886 add standard Course web service functions 2009-03-20 06:53:03 +00:00
danmarsden
caab877486 MDL-18564 choice - fix grammar - thanks to Ray Lawrence for the report 2009-03-18 23:04:30 +00:00
exe-cutor
1f4650184e MDL-18597 Merged from STABLE 2009-03-18 13:22:31 +00:00
thepurpleblob
10b4a508ae MDL-18579:
Provide nicer message if 'Stop on error' is selected and errors are found.

Merged from STABLE_19
2009-03-18 11:15:51 +00:00
tjhunt
e0b7cfcb31 quiz settings: MDL-18583 When a quiz has no grade, make it clear that you can only enter one lot of overall feedback.
When the maximum grade for the quiz is 0, we disable all the overall feedback form controls except for the first, and display an explanitory message.
2009-03-18 07:33:56 +00:00
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