Commit Graph

17 Commits

Author SHA1 Message Date
Penny Leach 90636e2b41 portfolio MDL-24251 make sure $PAGE context is set up properly 2010-09-17 09:39:56 +00:00
Sam Hemelryk d54343ef28 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 05:56:55 +00:00
Sam Hemelryk 477969b6b4 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 02:23:36 +00:00
Penny Leach 59dd457e4b portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes:

- leap2a portfolio format, and xml writer
- proof of concept implementation in forum and assignment modules
- a lot of refactoring of the portfolio formats in general:
    - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats
    - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml

it touches modules other than assignment and forum, because the format api
changed and now each place in moodle that exports portfolio content has to deal
with the formats it supports slightly differently.

At the moment the Mahara portfolio still doesn't support this format, because I
haven't done the Mahara side yet. The "file download" plugin supports it
though.

Still todo:

- Add support for the other places in Moodle (glossary, data, etc)
- Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff
- Fix a bunch of TODOs
2009-12-03 14:26:37 +00:00
Penny Leach edf1fc350a portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/* 2009-11-18 13:27:38 +00:00
Penny Leach 5d0dbf130d portfolio MDL-20872 elegant handling of cleanup/display race condition
lots of work to elegantly resolve the issue between interactive browser
sessions and "pull" portfolio plugins that cause a race condition where we lose
the ability to display information to the user if the pull cleans up the export
first.  this also improves the portfolio transfer log display for later
2009-11-18 12:27:15 +00:00
Moodle HQ git importer 8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +00:00
skodak 58fa5d6f75 MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:47:26 +00:00
skodak cc4245a3cd MDL-16483 - stopped using MoodleUnitTestCase in tests where $DB not needed 2009-01-10 13:23:37 +00:00
skodak d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
mjollnir_ 51122d6c67 MDL-16587 & MDL-15666: portfolio unit test framework expanded to do 3d rather than 2d testing (caller + plugin + new: exportformat) 2008-10-13 10:20:05 +00:00
nicolasconnault c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
nicolasconnault 356e001031 MDL-16483 minor fixes 2008-09-16 16:40:15 +00:00
nicolasconnault b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
mjollnir_ 932e78b53b MDL-15666 - fake writting files in test portfolio exporter so that we can test integration between callers and plugins 2008-09-15 16:10:55 +00:00
nicolasconnault 3cc60460e8 MDL-15666 Subclassing exporter class so that only local files are written 2008-09-15 13:45:14 +00:00
nicolasconnault 795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18:44 +00:00