Commit graph

47594 commits

Author SHA1 Message Date
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Eloy Lafuente (stronk7)
5f0ac7652b Merge branch 'MDL-26788_head' of git://github.com/rwijaya/moodle 2011-05-04 11:18:22 +02:00
Dongsheng Cai
99b15d4438 MDL-26388 Recent repository plugin should return draft url 2011-05-04 17:03:19 +08:00
Dongsheng Cai
6e7b113da9 MDL-26388 Recent repository plugin should return draft url 2011-05-04 15:46:15 +08:00
Andrew Davis (andyjdavis)
778361c330 MDL-26838 rating: multiple fixes after a review of rating validation code 2011-05-04 15:43:30 +08:00
Sam Hemelryk
f4c7c735f5 Merge branch 's10_MDL-27330_dropbox_authorization_url_master' of github.com:dongsheng/moodle 2011-05-04 13:53:47 +08:00
Jerome Mouneyrac
543967a9e8 MDL-26250 Create a web service function that enrols users to a certain course 2011-05-04 12:23:18 +08:00
Aaron Barnes
e874292134 MDL-25594 completion: Remove unused column from query
Which is also a reserved word.
2011-05-04 13:02:28 +12:00
Aaron Barnes
0e5e1daaee MDL-26190 completion blocks: Completion blocks shouldn't ever be blank 2011-05-04 12:55:26 +12:00
Tim Hunt
d6522c33a1 MDL-20636 Fix qtype backup issues. 2011-05-03 17:53:12 +01:00
Dongsheng Cai
810aea11df MDL-27330 repository dropbox plugin
Dropbox changed authorization URL, and added a few error check code
2011-05-03 17:41:03 +08:00
Sam Hemelryk
c8ad2c12ba Merged MDL-26388 Fixed whitespace 2011-05-03 16:27:31 +08:00
Sam Hemelryk
870815faed Merged MDL-25805 Renamed property and function to be a little more descriptive 2011-05-03 15:41:34 +08:00
Aaron Barnes
5227344a07 MDL-26628 completion report: Fix hard coded strings in Completion report 2011-05-03 11:24:41 +08:00
Sam Hemelryk
5f1c825dfa Merged MDL-27251 Fixed up whitespace, Fixed broken string, reworded new strings 2011-05-03 10:51:06 +08:00
Eloy Lafuente (stronk7)
bff0e85d37 Merge branch 'MDL-25840' of git://github.com/nebgor/moodle 2011-05-03 01:08:00 +02:00
Eloy Lafuente (stronk7)
069e955519 Merge branch 'MDL-27293-customlang-timeout' of git://github.com/mudrd8mz/moodle 2011-05-02 16:14:05 +02:00
Aparup Banerjee
b9bcad24db MDL-25805 Roles propagated ugly hack for parent seeing child activities into navigation lib to display nav node. 2011-05-02 20:08:08 +08:00
Eloy Lafuente (stronk7)
c0977cccd1 Merge branch 'MDL-26714_master' of git://github.com/timhunt/moodle 2011-05-02 11:46:10 +02:00
Sam Hemelryk
fa49d24312 Merged changes and fixed whitespace issues for MDL-23188 2011-05-02 14:43:24 +08:00
Sam Hemelryk
c0ceb0bab3 Merge branch 'MDL-26955-themedir-plugindirectory' of git://github.com/mudrd8mz/moodle 2011-05-02 14:21:16 +08:00
Sam Hemelryk
0af90dca01 Merge branch 'MDL-27116-themedir-config' of git://github.com/mudrd8mz/moodle 2011-05-02 14:16:13 +08:00
Sam Hemelryk
598a9f7726 Merge branch 'MDL-27155_master' of git://github.com/timhunt/moodle 2011-05-02 14:03:36 +08:00
Sam Hemelryk
290a5db67e Merge branch 'MDL-27246-cutomlang-version' of git://github.com/mudrd8mz/moodle 2011-05-02 12:11:23 +08:00
Dongsheng Cai
f392caba15 MDL-26388, pop up a dialog when attaching a file already being used in draft area. 2011-05-02 10:11:19 +08:00
Tim Hunt
d8a3b87c0e MDL-27340 tablelib.php fix a notice when is false. 2011-05-01 17:36:19 +01:00
Andrew Davis (andyjdavis)
2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
Tim Hunt
64d5c1c376 MDL-27155 qtype_numerical problem with GIFT import. 2011-04-29 14:14:55 +01:00
Rossiani Wijaya
f672e3e920 MDL-26788 - grading in lesson containing essays (head) 2011-04-29 18:20:19 +08:00
Tim Hunt
4c51e56d98 MDL-26714 qtype_multianswer regression from the previous commit for numerical subquestions. 2011-04-28 23:31:07 +01:00
Tim Hunt
bea1a6a73a MDL-20636 Work-in-progress on quiz attempt backup and restore. 2011-04-28 21:21:43 +01:00
Tim Hunt
d1de533164 MDL-20636 qtype_numerical oops, I deleted a function from the wrong place. Fix. 2011-04-28 20:22:45 +01:00
Tim Hunt
5073fb743f MDL-20636 qtype_numerical multi-choice units now work, I think. 2011-04-28 20:06:51 +01:00
Tim Hunt
ae3e2e6e7f MDL-20636 qtype_numerical Fix a bunch of minor issues found by Pierre. 2011-04-28 20:06:49 +01:00
Tim Hunt
5d2465c3f4 MDL-20636 numerical qtype: assorted changes
1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.

2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.

3. Using this to wark students if they enter an answer that is not
recognised as a number.
2011-04-28 20:06:47 +01:00
Tim Hunt
52ad7e0c1b MDL-20636 Tidy-up of numerical questiontype.php. 2011-04-28 20:06:45 +01:00
Tim Hunt
d7d8cee279 MDL-20636 Finish implementing answer processing. 2011-04-28 20:06:43 +01:00
Tim Hunt
b3c9da2f0a MDL-20636 I think I have now find a reliable way to parse responses. 2011-04-28 20:06:41 +01:00
Tim Hunt
544de1c035 MDL-20636 Lots of work on numerical answer matching.
Still more to do. Not all the unit tests pass at the moment.
2011-04-28 20:06:39 +01:00
Tim Hunt
91d431240f MDL-20636 Better way of handling the creation of test questions for different question types. 2011-04-28 20:06:37 +01:00
Tim Hunt
fdd015b779 MDL-20636 Fix some minor editing problems, and a bunch of coding style. 2011-04-28 20:06:35 +01:00
Tim Hunt
1fa3936440 MDL-20636 Fix the numerical qtype editing form. 2011-04-28 20:06:33 +01:00
Tim Hunt
397bd29549 MDL-20636 Fix qtype_numerical get_question_options. 2011-04-28 20:06:31 +01:00
Tim Hunt
0ff173d3f2 MDL-20636 Fix numerical unit tests. 2011-04-28 20:06:29 +01:00
Tim Hunt
50c0296698 MDL-26724 notice from numerical qtype when no answer is given. 2011-04-28 20:06:27 +01:00
ppichet
062f7e95c9 MDL-26445 question -fix numerical unit grade
fix unit penalty grading and display

Signed-off-by: ppichet <pichet.pierre@uqam.ca>
2011-04-28 20:06:25 +01:00
Tim Hunt
f77f47ec56 MDL-20636 Start converting the numerical question type. 2011-04-28 20:06:24 +01:00
stabijoh
b00982db34 MDL-23188 Implement custom menu where possible in core themes, serenity and anomaly 2011-04-27 08:38:15 -04:00
David Mudrak
3dd1d7e701 MDL-27116 theme_config::find_theme_location() respects $CFG->themedir
Credit goes to Jai Gupta for the idea of the patch.
2011-04-27 14:09:08 +02:00
David Mudrak
546b4bf59d MDL-26955 get_plugin_directory() respects $CFG->themedir
If $CFG->themedir is set (it is not usually) and the given theme is not
found in the standard location, then it is expected to be in the custom
$CFG->themedir directory.

Credit goes to Urs Hunkler for the idea of the patch.
2011-04-27 14:09:02 +02:00