Commit Graph

10 Commits

Author SHA1 Message Date
David Mudrak fd04c5bd87 MDL-27857 Export to portfolio support in the assignment module improved
Portfolio API code in the assignment module expected that the current
user is the author of the submission. Therefore the "Export to
portfolio" button did not work when the submission was viewed by a
teacher (eg at the page with the list of all submissions in the Advanced
upload assignment).

This patch introduces a new callback argument 'submissionid' that holds
explicit ID of the submission the export deals with. With it available,
we do not need to expect the current user is the author of the
submission.

The patch also cleans some strings used for portfolio callback
exceptions.
2011-10-03 10:15:39 +02:00
Penny Leach ebb7e78267 portfolio/leap2a MDL-23955 updated leap2a support to 2010-07 version 2010-08-28 10:00:27 +00:00
Dongsheng Cai e525b6f125 MDL-22893, portfolio support 2010-07-13 07:55:47 +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
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
Dan Marsden 4e0effd60c Assignment MDL-7206 implement file browsing api in Assignment mod 2010-04-28 02:16:09 +00:00
Dan Marsden 07270e65cd Assignment MDL-7206 implement file browsing api in Assignment mod 2010-04-28 00:38:30 +00:00
Penny Leach f9e1b640c5 portfolio/assignment MDL-21035 add a leap2a selection entry when exporting multiple files 2010-03-21 17:20:06 +00:00
Penny Leach df3466045c portfolio/assignment MDL-21035 added updated & published fields to leap2a.
also fixed files support in online type
2009-12-18 14:38:22 +00:00
Penny Leach 24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00