Commit graph

9344 commits

Author SHA1 Message Date
Dan Marsden
03751efe8a SCORM MDL-21568 - use correct storing of grading method - remove old references to bad calls. - hope the upgrade script works cross-db - thanks to Bruce Cota for report/patch 2010-07-08 10:40:46 +00:00
Dan Marsden
8d8740e900 SCORM MDL-22423 fix spacing 2010-07-08 09:47:17 +00:00
Dan Marsden
58b44e1ad3 SCORM MDL-22423 don't include empty raw scores from assets when calculating grade 2010-07-08 09:46:20 +00:00
Dan Marsden
4572edaa1c SCORM MDL-22954 fix typo 2010-07-08 09:23:36 +00:00
Andrew Davis
eac02096d6 forum MDL-23145 switched forum digests over to just use email instead of being chanelled through messaging 2010-07-08 08:23:58 +00:00
Andrew Davis
b58bd1a2fa forum MDL-23145 switched forum digests over to just use email instead of being chanelled through messaging 2010-07-08 08:08:16 +00:00
Martin Dougiamas
36c3fbe324 MDL-20069 Fixed a missing string 2010-07-08 06:46:14 +00:00
Dongsheng Cai
13ce122930 MDL-23142, Portfolio Export should require mod/assignment/lib.php thanks to Dan Marsden, and remove stored_file.php from portfolio 2010-07-08 04:49:46 +00:00
Martin Dougiamas
204f394e27 Converted some quiz events to use frankenstyle component names (spit) 2010-07-08 04:07:23 +00:00
Martin Dougiamas
dcffbe5411 MDL-21861 Made these assignment events more generic, so that they can be used by other activity modules (like Workshop etc). assessable_file_uploaded and assessable_files_done
We are doing it this way because MULTIPLE plagiarism **plugins** may need to handle these events using cron, so it's good to get them in a queue.

The other way to do this would be to call a function in plagiarism core and have that generate the event, but there is not really any advantage in that.   Conceivably something other than plagiarism plugins might be interested in these events later on.
2010-07-08 03:34:22 +00:00
David Mudrak
c2d2eb6ea0 NOBUG workshop: added field evaluation for future usage
The field holds the name of the grading evaluation method recently used
for the workshop or the default one to be used. At the moment there are
no alternatives but 'best' plugin. But I want to have the field there
before 2.0 stable release and also want to include it in workshop
backups.
2010-07-07 21:46:05 +00:00
Andreas Grabs
32d2ddab5d MDL-21227 - now templates can save images on course-context :). Thanks to Petr!!! 2010-07-07 21:37:10 +00:00
Eloy Lafuente
f2e34ee52b MDL-22245 backup - keep subplugin branches connected all the time. Thanks for spotting it David! 2010-07-07 17:26:34 +00:00
David Mudrak
ba2f16c9a7 MDL-21676 Fixed regression - typo in the table alias 2010-07-07 13:37:53 +00:00
aparup
dbd9b303cc Glossary MDL-23063 fixed bug with the way get_record was being called.. kudos to Stephen 2010-07-07 07:21:13 +00:00
Eloy Lafuente
3f9d86cd69 MDL-21432 backup - choice restore (missing steps). Enables activity settings 2010-07-06 22:38:53 +00:00
Petr Skoda
936a54ca05 MDL-23106 removing unused ratings upgrade code 2010-07-06 17:29:55 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
6489e36131 fixed docs typos 2010-07-06 16:04:41 +00:00
Andrew Davis
6d2e69363d message MDL-23101 made email notifications of forum posts work 2010-07-06 08:59:39 +00:00
Andrew Davis
505ab5aaa0 message MDL-23101 made notifications of forum posts work 2010-07-06 07:42:29 +00:00
Dan Marsden
ab8049e868 NOBUG SCORM fix location of icon.gif 2010-07-06 03:39:41 +00:00
Piers Harding
e24445c7ce MDL-22954 - fix method of getting list of attempts, and display of grade (fixes regression) 2010-07-06 03:13:48 +00:00
Dan Marsden
3b4b776a25 SCORM AICC MDL-21354 use correct check for SCORM debug 2010-07-06 01:21:21 +00:00
Dan Marsden
a4c4962f1a SCORM AICC MDL-21354 improved debug handling for AICC objects - thanks to Matteo Scaramuccia for patch. 2010-07-06 01:16:55 +00:00
Dan Marsden
ce4f56bd3e Choice MDL-23092 don't start page output before redirect. 2010-07-05 23:02:17 +00:00
Dan Marsden
9b854b2d21 Choice MDL-23089 use correct strings - thanks to Brian Gray for report/fix 2010-07-05 22:56:24 +00:00
Eloy Lafuente
ffe5025874 NOBUG DB syntax - fix/improve some uses. I haven't tested completion, have you? 2010-07-05 22:48:07 +00:00
Dan Marsden
c83d9e12b9 Choice MDL-23088 fix old get_record call - thanks to Brian Gray for report/patch 2010-07-05 22:44:39 +00:00
Dan Marsden
7aba17d2af Choice MDL-23087 use consistant header with other modules 2010-07-05 22:42:46 +00:00
Tim Hunt
45c4a5c770 quiz MDL-21533 remove all mention of overlib from the quiz, by moving necessary code to qtype_multianswer, which is the only place it is used. 2010-07-05 16:55:39 +00:00
David Mudrak
37fb7c0e1d NOBUG: Fixing trivial variable name mismatch 2010-07-05 10:48:07 +00:00
Martin Dougiamas
e90debf1a0 NOBUG Removed an extraneous {$a} that wasn't needed because it was redundant ;) 2010-07-05 09:22:49 +00:00
Martin Dougiamas
9a5b90053b MDL-22056 Adding pluginname to activity modules to fix gradebook issues caused by MDL-23071 (keeping modulename for n)
AMOS BEGIN
 CPY [modulename,assignment],[pluginname,assignment]
 CPY [modulename,chat],[pluginname,chat]
 CPY [modulename,choice],[pluginname,choice]
 CPY [modulename,data],[pluginname,data]
 CPY [modulename,feedback],[pluginname,feedback]
 CPY [modulename,folder],[pluginname,folder]
 CPY [modulename,forum],[pluginname,forum]
 CPY [modulename,glossary],[pluginname,glossary]
 CPY [modulename,hotpot],[pluginname,hotpot]
 CPY [modulename,imscp],[pluginname,imscp]
 CPY [modulename,label],[pluginname,label]
 CPY [modulename,lesson],[pluginname,lesson]
 CPY [modulename,page],[pluginname,page]
 CPY [modulename,quiz],[pluginname,quiz]
 CPY [modulename,resource],[pluginname,resource]
 CPY [modulename,survey],[pluginname,survey]
 CPY [modulename,url],[pluginname,url]
 CPY [modulename,wiki],[pluginname,wiki]
 CPY [modulename,workshop],[pluginname,workshop]
AMOS END
2010-07-05 05:12:39 +00:00
Dan Marsden
4cec22dce6 SCORM MDL-23074 - fix regression - missing slash 2010-07-05 02:00:02 +00:00
Dan Marsden
b3611e0dda SCORM MDL-23053 add support for conditional activities - completion on view 2010-07-05 00:40:13 +00:00
Dan Marsden
624bcb1606 SCORM MDL-21989 improved english string to state that some browsers may prevent these settings. 2010-07-05 00:35:46 +00:00
Petr Skoda
1d797cace9 fixed recent regression 2010-07-04 20:05:53 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
411b8c238a no more id cvs markers 2010-07-04 12:09:15 +00:00
Petr Skoda
d50eb3d4e1 no more id cvs markers or closing php tags! 2010-07-04 12:08:53 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Eloy Lafuente
332437c511 MDL-22245 backup - implementing changes in subplugins to offline assignments demo 2010-07-03 17:15:49 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak
995f2d51d7 MDL-12192 Language specific label separator instead of hardcoded ': '
New string is available. Use get_string('labelsep', 'langconfig') to be used
as a separator between a label and the labelled text. If you want to
produce <label> HTML element, you may be interested in the new
html_writer::label() method. Simple selects and URL selects now use it.

There are bambillion places where ': ' is hardcoded as a separator. I do
not think we have to fix them manually now (and mass search and replace
would be tricky) but everybody should stop adding new.

Do not abuse 'labelsep' for any other purposes. Note that it may not be
colon in some languages or sites.
2010-07-02 12:15:36 +00:00
Eloy Lafuente
8bf1e5295e MDL-22151 assignment backup - added backup for assignment with subplugin support MDL-22245 2010-07-02 11:24:56 +00:00
Petr Skoda
400475947a MDL-22609 fixed regression in my previous commit, sorry 2010-07-02 10:04:30 +00:00
Petr Skoda
8cf8f2b743 MDL-22609 undoing directory variables magic from last commit, keeping just the userid-->submissionid itemid change 2010-07-02 10:00:00 +00:00
Martin Dougiamas
246c082a4c NOBUG course is not a required param (we assume site level if none specified) 2010-07-02 08:43:27 +00:00
Dongsheng Cai
195827d35b MDL-23019, fixed post_form validation function. 2010-07-02 03:26:55 +00:00