1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-03 23:46:09 +01:00

7804 Commits

Author SHA1 Message Date
agrabs
c65e59bae9 MDL-18716 - ALL Notification E-Mails are sent to System Admins 2009-03-29 01:30:38 +00:00
skodak
76b7b5925d MDL-14679 fixed DML 2009-03-28 15:59:26 +00:00
fmarier
13ca1e06b8 mod/resource: MDL-18691 allow custom resource types to specify their name in their own lang directory
Before this change, the full name of the resource type had to be stored in the "resource" namespace (for example in /mod/resource/lang/en_utf8/resource.php).

Now it can be put in the "resource_foo" namespace:

e.g. in /mod/resource/type/foo/lang/en_utf8/resource_foo.php:

<?php
  $string['resourcetypefoo'] = 'Link to a Foo Bar document';
?>
2009-03-27 03:21:10 +00:00
danmarsden
66c7d3731f SCORM MDL-18626 - fix SCORM navigation breadcrumbs 2009-03-27 01:46:39 +00:00
danmarsden
4b5ee1bf34 Choice MDL-18600 fix sort to be sorted by surname,firstname - thanks to Mihai Sucan for the fix 2009-03-26 21:23:25 +00:00
skodak
342650a7aa MDL-18417 fixed DML conversion 2009-03-26 21:15:12 +00:00
danmarsden
0362f01320 AICC MDL-18702 Completion Logic incorrect - thanks to Martin Holden for the fix! 2009-03-26 20:22:43 +00:00
dongsheng
8d96a7b4e6 "EDITOR/MDL-16698, replace htmleditor element with editor element in forum, move draft files to correct file area" 2009-03-26 02:52:59 +00:00
tjhunt
dab9be1ad1 quiz manual grading: MDL-17586 'Grade all 4 ungraded attempts' acutally does the opposite' 2009-03-26 01:50:22 +00:00
dongsheng
2d9b3ef2d7 "DATA/MDL-18136, change to moodle coding style and fix incorrect parameter of data_get_field_from_id" 2009-03-25 01:49:52 +00:00
thepurpleblob
344e15e666 MDL-18542:
Just noticed a couple of oddnesses in the diff.....
2009-03-24 11:12:33 +00:00
thepurpleblob
f62f7d8f8e MDL-18542:
Reverting various checkins related to this bug.
PLUS... proper 1 line fix included (merged from STABLE19)
2009-03-24 10:52:50 +00:00
tjhunt
72b9b78682 quiz: MDL-18637 fix 1.9-style DB code merged to HEAD by mistake. 2009-03-24 04:15:49 +00:00
mudrd8mz
081a9b0dad MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE 2009-03-23 09:53:02 +00:00
tjhunt
ffdd703a99 MDL-18637 fix Moodle 1.9-style {$CFG->prefix}tablename in HEAD, and a few missing $DB->s.
I did not fix all the DB problems in search, there are too many there for me to be prepared to clean up other people's mess.

(For once, it was not me making this mistake ;-))
2009-03-23 05:19:53 +00:00
tjhunt
c159da4ce5 Fix typo. 2009-03-23 03:57:45 +00:00
tjhunt
44d1cba4af quiz: MDL-18635 log every single hit to mod/quiz/attempts.php
I don't know why the quiz only logged every 10 minutes. No other part of Moodle worked like that. However, it has always been like that and I did not have a good reason to change it until now.

What was a problem becuase it made it harder to catch people doing a primitive DOS attack against the server by hitting Reload repeatedly.
2009-03-23 01:59:30 +00:00
poltawski
a99543ca32 mod/forum - invalid html in q&a forum MDL-18305
thanks to Neil Streeter for the patch
2009-03-20 13:39:07 +00:00
thepurpleblob
6bfa3f3ecf MDL-18542:
Aaargh... yet another one missed. Hopefully that's it.

Merged from STABLE_19
2009-03-20 11:36:17 +00:00
thepurpleblob
ff7636f7ff MDL-18542:
Missed the format field for textarea.

Merged from STABLE_19
2009-03-19 21:17:25 +00:00
thepurpleblob
cfd7998216 MDL-18542:
Correctly deals with field types that have multiple parts (e.g. data and lat/long)
Thanks to Eloy for spotting this.

Merged from STABLE_19
2009-03-19 20:45:40 +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
5ecfab5148 quiz outline report: MDL-18285 Show regrade date, not last attempt date.
I also took the opportunity to clean up the code a bit.
2009-03-18 05:16:49 +00:00
mark-nielsen
ab1e7c397f shortanswer grading: MDL-18347 shortanswer was not grading correctly with custom scoring set to No, merged from 19 2009-03-17 16:27:40 +00:00
sam_marshall
fdec3d4f88 MDL-18582: Made config.php consistently require_once 2009-03-17 10:52:27 +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
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