Commit graph

1276 commits

Author SHA1 Message Date
Eloy Lafuente
51ea278bf0 MDL-23479 backup - example assignment offline subplugin support 2010-08-06 02:29:43 +00:00
Eloy Lafuente
1e7dc21300 MDL-23479 backup - assignment revised & old code deleted (but restore logs). Support for subpluggins added 2010-08-06 02:27:36 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Aparup Banerjee
22d27f5cff assignment MDL-23608 fixed so that late submission times appearing red in all themes 2010-08-02 06:00:41 +00:00
Aparup Banerjee
437239d191 assignment MDL-22609 reverting to userid as print_user_files is updated to lookup the submission. 2010-07-30 02:39:38 +00:00
Aparup Banerjee
109f6d0fdc assignment MDL-22609 reverting to userid as print_user_files is updated to lookup the submission. 2010-07-30 02:28:41 +00:00
Aparup Banerjee
03f91f6d14 assignment MDL-22893 file count limit is now controlled by the files api options passed in. allow deleting of files via files manager when files count is at the limit. 2010-07-29 08:46:02 +00:00
Aparup Banerjee
96f3544025 assignment MDL-22609 notice when no submission yet - fixed. 2010-07-29 08:12:58 +00:00
aparup
1bd24d10cc assignment MDL-22609 notice when no submission yet - fixed. 2010-07-28 02:42:21 +00:00
aparup
2ea89456ce assignment MDL-22893 combined finalize/unfinalize button(form) into the grading form for multiple upload assignment type.
redirections tweaked so that the grading person returns to the single submission grading display.
2010-07-27 08:25:27 +00:00
aparup
3db4e0112f assignment MDL-22609 notice when no submission yet in single upload grading. - fixed. 2010-07-27 08:16:40 +00:00
aparup
31f56ef630 assignment MDL-22609 missed changes for changing file's itemid = submission->id rather than user->id 2010-07-27 08:13:30 +00:00
David Mudrak
bf1da11afd NOMDL assignment recent activity: fixed missing properties needed for user avatar 2010-07-26 21:58:21 +00:00
David Mudrak
09d35ae38e NOMDL assignment: fixed recent activity report for separate groups mode
There were two typos here. The first one ($cm->userid) led to incorrect
groups list. But the second one ($interset) caused that the intersection
of the group lists was never used. I just spotted this during copy &
pasting into workshop 2.0
Also fixed the heading size to what other modules use.

Merged from 1.9
2010-07-26 21:29:20 +00:00
aparup
16d8bacbd7 assignment MDL-22893 very temporary fix for 'revert to draft' button 2010-07-26 09:19:12 +00:00
aparup
cd0fe5a458 assignment MDL-22893 just changed a locally used class name. 2010-07-26 09:12:31 +00:00
aparup
2a576f94f7 assignment MDL-22893 revert and fixed displaying files with 'revert to draft' button.. 2010-07-26 03:23:37 +00:00
aparup
87f702a048 assignment MDL-22609 more changes for file's itemid = submission->id rather than user->id , thanks Davo! 2010-07-26 02:27:24 +00:00
aparup
b001cbbf1c assignment MDL-22893 changed $submission->userid to $USER->id : bug when no submission. 2010-07-26 02:07:31 +00:00
Sam Hemelryk
f4136193b7 mod-assignment MDL-22686 Implemented solution for overflow hidden of submission table 2010-07-20 05:19:22 +00:00
Dongsheng Cai
493a82f69e "MDL-22659, Thanks Davo Smith's patch on assignment plugin validation and preprocess" 2010-07-19 16:04:16 +00:00
aparup
289bcf7305 Assignment MDL-22843
- allowed filearea 'response' to be served from uploadsingle assignment type. (fixed regression)
2010-07-19 08:22:56 +00:00
aparup
2b9d57c484 Assignment MDL-22843
- fixed file manager using wrong file area when grading my own submission.
 - also removed extra slash in rendered file folder tree links.
2010-07-19 06:23:03 +00:00
aparup
be9608feaa Assignment MDL-23261
submission and response files display tree rendering fixed broken url and filearea is now passed down to sub dirs being rendered (fixes links)
2010-07-19 03:32:24 +00:00
Penny Leach
68952f5eef assignment portfolio support MDL-22001 disable online text portfolio support until text formats is fixed :( 2010-07-18 14:22:59 +00:00
Dongsheng Cai
b12ce9449f MDL-22609, fixed assignment files tree view 2010-07-14 09:41:13 +00:00
aparup
38430d3521 Assignment MDL-22893
- response files uploading now uses the new file picker element in single upload type.
2010-07-14 09:05:30 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
aparup
6ad4b78fcf Assignment MDL-22893
- response files uploading now uses the new file manager element in advanced upload type. (@TODO: single upload->use file picker)
 - fixed file manager using $USER->id, now using the submission->userid to display the file area files.
2010-07-13 09:54:59 +00:00
Dongsheng Cai
e525b6f125 MDL-22893, portfolio support 2010-07-13 07:55:47 +00:00
aparup
489c2f1b7a Assignment MDL-22893 put safety require_once as encountered moodleform class not found err. 2010-07-12 07:33:21 +00:00
aparup
e1d4da0507 Assignment MDL-22893 oops, corrected the moodle_url instantiation to put param in an array. 2010-07-12 07:12:46 +00:00
aparup
be534597c1 Assignment MDL-22893 fixed display of response files and the redirect when (advanced) uploading multiple response file. 2010-07-12 07:04:33 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Dongsheng Cai
ce2a1c4da9 MDL-22893, assignment module should use filepicker and filemanager 2010-07-09 09:21:52 +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
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
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
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
David Mudrak
37fb7c0e1d NOBUG: Fixing trivial variable name mismatch 2010-07-05 10:48:07 +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
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +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
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
d992f53d8c mod/assignment MDL-22609 Checking in Aparup's patch fixing the file upgrade (itemid now is submission->id, not user->id). Also fixed some buggy uses of $OUTPUT->notification in uploadsingle->upload() (redirect works better) 2010-07-01 09:41:06 +00:00
aparup
261b585daa Assignment MDL-22611 cosmetics - spaces after if and no spaces in parenthesis. - thanks petr 2010-07-01 09:05:08 +00:00