Commit Graph

271 Commits

Author SHA1 Message Date
Petr Skoda 346c5887b1 MDL-24751 using new memory constants 2010-10-19 10:13:15 +00:00
Dongsheng Cai 047bce2fe8 MDL-24382 uploadsingle type assignment should respect course maxbytes too. 2010-10-04 03:37:12 +00:00
Aparup Banerjee 6aac01ca84 assignment MDL-23683 online assignment filearea changed for consistency from 'online_submission' to 'submission' 2010-09-30 06:30:34 +00:00
Aparup Banerjee abc89a8bda assignment MDL-24382 fixed enforcing file size limit in single upload 2010-09-30 03:49:59 +00:00
Aparup Banerjee 682a19234b assignment MDL-24373 cleaned up code. 2010-09-24 07:15:27 +00:00
Aparup Banerjee 694b7aef38 assignment MDL-24373 removed file count check to display button to manage assignment files submitted. file limits are managed entirely via the file manager ui. 2010-09-24 07:09:42 +00:00
Sam Hemelryk 14f001a993 mod-assignment MDL-19803 Fixed up a couple of minor deprecated calls 2010-09-22 08:08:24 +00:00
Petr Skoda 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Sam Hemelryk 169348bcda mod-assignment MDL-22254 Fixed up incorrect string in online assignment header 2010-09-20 07:44:18 +00:00
Dan Marsden bce59524ce Plagiarism API MDL-13680 add plagiarism support for user submitted files - currently only added to single and advanced Assignment types - other modules to come in future. 2010-09-20 07:32:31 +00:00
Petr Skoda 91421f3ead a few spelling fixes 2010-09-18 12:07:01 +00:00
Petr Skoda d94278c7aa fixed incorrect $f 2010-09-18 11:56:01 +00:00
Sam Hemelryk c7bb34b626 mod-assignment MDL-23848 Merged to head: students can now view previously submit assignments if they no longer have the submit capability. 2010-09-17 02:52:24 +00:00
Aparup Banerjee b8f037ba81 assignment MDL-24106 some assignment changes were left out for offline assignment type , fixed processing grading. 2010-09-16 03:15:41 +00:00
Petr Skoda ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +00:00
Dan Marsden 902eca4252 Assignment MDL-23992 - use fullname instead of username for exported files to improve privacy 2010-09-02 09:49:04 +00:00
Aparup Banerjee c663653f8b assignment MDL-23998
clarified 'revert to draft' button in a advanced upload assignment with a help icon.
button 'no more submissions' changed to say 'Prevent submission updates'.
2010-09-02 06:16:45 +00:00
Aparup Banerjee 2d2746753b assignment mdl-24001 fixed toggling the 'revert to draft'/ 'no more submissions' button in a advanced upload assignment grading form loses editing data. 2010-08-31 07:55:12 +00:00
Aparup Banerjee 291ee13470 assignment MDL-23820 improved grading pages for file type assignments.
- uploadsingle response now uses file manager instead of file picker.
 - both uploadsingle and advancedupload assignment types have their grading pages with response file management in line (not a separate page).
 - bit of a css issue YUI's tree view rendering (a table) within a table that had borders is fixed.
2010-08-30 02:58:57 +00:00
Petr Skoda c0c757120d MDL-23984 removing unnecessary temp dir when exporting all online assignments, fixing missing text_format 2010-08-29 16:54:03 +00:00
Penny Leach ebb7e78267 portfolio/leap2a MDL-23955 updated leap2a support to 2010-07 version 2010-08-28 10:00:27 +00:00
Aparup Banerjee f1af9d3511 assignment MDL-22852 changed url to moodle url. 2010-08-26 07:28:16 +00:00
Eloy Lafuente 51ea278bf0 MDL-23479 backup - example assignment offline subplugin support 2010-08-06 02:29:43 +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 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 16d8bacbd7 assignment MDL-22893 very temporary fix for 'revert to draft' button 2010-07-26 09:19:12 +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
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
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
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
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
Dongsheng Cai ce2a1c4da9 MDL-22893, assignment module should use filepicker and filemanager 2010-07-09 09:21:52 +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
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
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
Petr Skoda 1628ba8bbe fixed recent regression + simplified code a bit 2010-06-28 13:15:03 +00:00