Issue Details (XML | Word | Printable)

Key: MDL-14591
Type: New Feature New Feature
Status: Open Open
Priority: Blocker Blocker
Assignee: Penny Leach
Reporter: Martin Dougiamas
Votes: 1
Watchers: 7
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

META: Develop new Portfolio API

Created: 29/Apr/08 01:57 PM   Updated: 03/Oct/08 07:25 AM
Return to search
Component/s: Portfolio API
Affects Version/s: 1.9
Fix Version/s: 2.0

Issue Links:
Dependency
 
Relates

Participants: Martin Dougiamas and Penny Leach
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 Description  « Hide
This issue will track all the subtasks associated with developing the new Portfolio API.

     http://docs.moodle.org/en/Development:Portfolio_API

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
mjollnir_ committed 2 files to 'Moodle CVS' - 25/Jul/08 04:31 PM
MDL-14591: fixing merge issues in portfolio
MODIFY user/portfolio.php   Rev. 1.2    (+1 -1 lines)
MODIFY user/tabs.php   Rev. 1.53    (+2 -1 lines)
mjollnir_ committed 4 files to 'Moodle CVS' - 25/Jul/08 06:31 PM
MDL-14591: changed the definition of portfolio_add_button
        to support passing the callbackfile explicitly if necessary
        and added my name next to some TODOs so I can find them later
MODIFY mod/assignment/lib.php   Rev. 1.333    (+4 -4 lines)
MODIFY mod/assignment/type/online/assignment.class.php   Rev. 1.57    (+3 -3 lines)
MODIFY lib/portfoliolib.php   Rev. 1.3    (+18 -7 lines)
MODIFY mod/assignment/type/upload/assignment.class.php   Rev. 1.52    (+5 -5 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 25/Jul/08 07:02 PM
MDL-14591 committing missing portfolio icons
MODIFY pix/i/portfolio.gif   Rev. 1.1    (+0 -0 lines)
MODIFY pix/t/portfolio.gif   Rev. 1.1    (+0 -0 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 25/Jul/08 11:32 PM
MDL-14591: make the portfolio exporter redirect to nicer places in case of error.
MODIFY lib/portfoliolib.php   Rev. 1.5    (+2 -2 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 28/Jul/08 03:35 PM
MDL-14591 added my name next to a portfolio todo
MODIFY user/tabs.php   Rev. 1.55    (+2 -2 lines)
mjollnir_ committed 3 files to 'Moodle CVS' - 01/Aug/08 08:23 PM
MDL-14591 many small fixes to portfolio
MODIFY lang/en_utf8/portfolio.php   Rev. 1.6    (+2 -0 lines)
MODIFY lib/portfoliolib.php   Rev. 1.12    (+55 -6 lines)
MODIFY portfolio/add.php   Rev. 1.4    (+14 -6 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 02/Aug/08 05:02 PM
MDL-14591: portfolio - fixing regression I introduced when refactoring
MODIFY portfolio/add.php   Rev. 1.5    (+1 -1 lines)
MODIFY lib/portfoliolib.php   Rev. 1.13    (+1 -1 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 05/Aug/08 12:07 AM
 MDL-14591 portfolio: small fixes and improvements.
MODIFY portfolio/add.php   Rev. 1.6    (+32 -27 lines)
MODIFY lib/portfoliolib.php   Rev. 1.14    (+30 -1 lines)
Mitsuhiro Yoshida committed 5 files to 'Lang CVS' - 05/Aug/08 11:44 AM
MDL-15928 Translated a new string for admin.
MDL-15758 Translated a new string for forum.
MDL-14591 Translated new strings for portfolio.
Brushed up an automatically generated translation file for TinyMCE.
MODIFY ja_utf8/portfolio.php   Rev. 1.6    (+8 -1 lines)
MODIFY ja_utf8/Attic/tinymce.php   Rev. 1.5    (+20 -20 lines)
MODIFY ja_utf8/forum.php   Rev. 1.73    (+2 -1 lines)
MODIFY ja_utf8/admin.php   Rev. 1.285    (+2 -1 lines)
MODIFY ja_utf8/README   Rev. 1.776    (+1 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 06/Aug/08 01:35 AM
MDL-14591 - fixing bug related to queued transfers
MODIFY lib/portfoliolib.php   Rev. 1.17    (+1 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 12/Aug/08 10:48 PM
MDL-14591 just a small tidyup and extra phpdocs
MODIFY lib/portfoliolib.php   Rev. 1.23    (+15 -3 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 13/Aug/08 11:37 PM
 MDL-14591 - fixed a bug and a notice
MODIFY portfolio/add.php   Rev. 1.10    (+0 -1 lines)
MODIFY lib/portfoliolib.php   Rev. 1.24    (+4 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 14/Aug/08 05:14 PM
MDL-14591 - adding missing portfolio error string
MODIFY lang/en_utf8/portfolio.php   Rev. 1.11    (+1 -0 lines)
Mitsuhiro Yoshida committed 2 files to 'Lang CVS' - 14/Aug/08 11:03 PM
MDL-14591 Translated a new string for portfolio.
MODIFY ja_utf8/portfolio.php   Rev. 1.11    (+1 -0 lines)
MODIFY ja_utf8/README   Rev. 1.786    (+1 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 16/Aug/08 05:28 PM
MDL-14591 error string added
MODIFY fr_utf8/portfolio.php   Rev. 1.7    (+2 -1 lines)
mjollnir_ committed 3 files to 'Moodle CVS' - 19/Aug/08 10:30 PM
MDL-14591 - adding my name next to todos so I can find them later
MODIFY mod/data/lib.php   Rev. 1.196    (+5 -5 lines)
MODIFY mod/glossary/lib.php   Rev. 1.226    (+2 -2 lines)
MODIFY mod/forum/lib.php   Rev. 1.712    (+5 -5 lines)
mjollnir_ committed 3 files to 'Moodle CVS' - 20/Aug/08 11:58 PM
 MDL-14591 - better security when reawakening an interupted export
MODIFY portfolio/add.php   Rev. 1.14    (+3 -1 lines)
MODIFY lib/portfoliolib.php   Rev. 1.35    (+12 -1 lines)
MODIFY lang/en_utf8/portfolio.php   Rev. 1.19    (+1 -0 lines)
Mitsuhiro Yoshida committed 5 files to 'Lang CVS' - 21/Aug/08 02:24 AM
MDL-15075. Update a translated help file for grade aggregation based on lang/en_utf8 change.
MDL-14591 Translated a new string for portfolio.
MDL-13766 Translated a new string for repository.
Translated a new string for simpletest.
MODIFY ja_utf8/repository.php   Rev. 1.8    (+1 -0 lines)
MODIFY ja_utf8/portfolio.php   Rev. 1.15    (+1 -0 lines)
MODIFY ja_utf8/README   Rev. 1.792    (+1 -1 lines)
MODIFY ja_utf8/simpletest.php   Rev. 1.8    (+6 -5 lines)
MODIFY ja_utf8/help/grade/aggregation.html   Rev. 1.5    (+4 -4 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 22/Aug/08 09:25 PM
MDL-14591 - fixups related to cancelling requests and reawakening them
MODIFY portfolio/add.php   Rev. 1.15    (+16 -4 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 22/Aug/08 09:47 PM
MDL-14591 - added support for portfolio plugins to force queueing and fixed a couple bugs.
MODIFY lib/portfoliolib.php   Rev. 1.37    (+28 -4 lines)
martignoni committed 1 file to 'Lang CVS' - 27/Aug/08 05:44 PM
MDL-14591 string added
MODIFY fr_utf8/repository.php   Rev. 1.10    (+2 -1 lines)
mjollnir_ committed 3 files to 'Moodle CVS' - 29/Aug/08 08:36 PM
MDL-14591 - misc improvements to portfolio api
MODIFY lib/portfoliolib.php   Rev. 1.39    (+34 -10 lines)
MODIFY portfolio/type/download/Attic/lib.php   Rev. 1.6    (+0 -1 lines)
MODIFY portfolio/file.php   Rev. 1.3    (+2 -7 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 31/Aug/08 12:37 AM
MDL-15362 - better robustness in wakeup
MDL-14591 - fixed a bug in portfolio queued transport (not saving updates)
MODIFY lib/portfoliolib.php   Rev. 1.40    (+1 -0 lines)
MODIFY portfolio/type/mahara/Attic/lib.php   Rev. 1.2    (+13 -3 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 31/Aug/08 12:39 AM
 MDL-14591 - fixing bug in last commit that would have broken for 'push' portfolio transfers
MODIFY lib/portfoliolib.php   Rev. 1.41    (+1 -1 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 01/Sep/08 10:07 PM
 MDL-14591 - notice to user if the remote system has forced queueing
MODIFY lib/portfoliolib.php   Rev. 1.42    (+9 -0 lines)
MODIFY lang/en_utf8/portfolio.php   Rev. 1.20    (+1 -0 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 02/Sep/08 01:56 AM
MDL-15948 - Updated a translated string for recaptcha based on lang/en_utf8 change.
MDL-14591 - Translated a new string for portfolio.
MODIFY ja_utf8/auth.php   Rev. 1.71    (+3 -3 lines)
MODIFY ja_utf8/portfolio.php   Rev. 1.16    (+3 -2 lines)
MODIFY ja_utf8/README   Rev. 1.801    (+1 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 02/Sep/08 06:29 PM
MDL-14591: improvements to configuring already-broken portfolio plugins
MODIFY lib/portfoliolib.php   Rev. 1.44    (+7 -4 lines)
Nicolas Connault committed 3 files to 'Moodle CVS' - 02/Sep/08 08:14 PM
MDL-14591 New "warning" form element
MODIFY theme/standard/styles_color.css   Rev. 1.173    (+13 -4 lines)
MODIFY lib/formslib.php   Rev. 1.153    (+9 -6 lines)
ADD lib/form/warning.php   Rev. 1.1    (+0 -0 lines)
Nicolas Connault committed 1 file to 'Moodle CVS' - 02/Sep/08 08:23 PM
MDL-14591 Changed element's 2nd param (elementLabel) to class name(s). Defaults to .formwarning
MODIFY lib/form/warning.php   Rev. 1.2    (+5 -3 lines)
Nicolas Connault committed 1 file to 'Moodle CVS' - 02/Sep/08 08:47 PM
MDL-14591 Changed element's 2nd param (elementLabel) to class name(s). Defaults to .formwarning
MODIFY lib/form/warning.php   Rev. 1.3    (+3 -0 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 02/Sep/08 08:54 PM
MDL-14591 - changed nico's form warning element to use notifyproblem class so that it's synonymous with notify (by default)
MODIFY theme/standard/styles_color.css   Rev. 1.174    (+0 -8 lines)
MODIFY lib/form/warning.php   Rev. 1.4    (+2 -2 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 02/Sep/08 08:56 PM
MDL-14591 - use new warning form element rather than static when configuring a broken portfolio plugin
MODIFY lib/portfoliolib.php   Rev. 1.45    (+2 -4 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 02/Sep/08 11:42 PM
 MDL-14591 - better dealing with sanity checks in plugins
MODIFY lib/portfoliolib.php   Rev. 1.46    (+9 -6 lines)
mjollnir_ committed 9 files to 'Moodle CVS' - 03/Sep/08 12:21 AM
MDL-14591 - added a get_name static method to portfolio plugins and use this as a default title for adding new instances.

also fixed a small bug in 'cleanup' function. nico - your flickr plugin is missing a string for the name
MODIFY portfolio/type/boxnet/Attic/lib.php   Rev. 1.14    (+4 -0 lines)
MODIFY lib/portfoliolib.php   Rev. 1.47    (+10 -2 lines)
MODIFY lang/en_utf8/portfolio_download.php   Rev. 1.2    (+1 -0 lines)
MODIFY portfolio/type/flickr/Attic/lib.php   Rev. 1.2    (+4 -0 lines)
MODIFY lang/en_utf8/portfolio_mahara.php   Rev. 1.4    (+1 -0 lines)
MODIFY portfolio/type/download/Attic/lib.php   Rev. 1.7    (+4 -0 lines)
MODIFY lib/adminlib.php   Rev. 1.255    (+3 -3 lines)
MODIFY portfolio/type/mahara/Attic/lib.php   Rev. 1.8    (+4 -0 lines)
MODIFY lang/en_utf8/portfolio_boxnet.php   Rev. 1.3    (+1 -0 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 03/Sep/08 12:37 AM
MDL-14591 - added some debugging to something that isn't implemented to make sure it gets fixed later
MODIFY mod/data/lib.php   Rev. 1.197    (+2 -1 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 03/Sep/08 12:44 AM
MDL-14591 -Translated new strings for portfolio plugins.
MODIFY ja_utf8/portfolio_mahara.php   Rev. 1.5    (+1 -0 lines)
MODIFY ja_utf8/portfolio_boxnet.php   Rev. 1.4    (+2 -1 lines)
MODIFY ja_utf8/portfolio_download.php   Rev. 1.2    (+2 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 04/Sep/08 06:32 PM
MDL-14591 - fixed some comments and changed some print_errors to exceptions in portfolio/add
MODIFY portfolio/add.php   Rev. 1.18    (+11 -8 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 05/Sep/08 08:40 PM
MDL-14591 - improved phpdocs in portfolio_exporter class, fixed 2 bugs
MODIFY lib/portfoliolib.php   Rev. 1.50    (+56 -2 lines)
martignoni committed 1 file to 'Lang CVS' - 08/Sep/08 03:03 AM
MDL-14591 new string
MODIFY fr_utf8/portfolio.php   Rev. 1.16    (+3 -2 lines)
martignoni committed 2 files to 'Lang CVS' - 08/Sep/08 03:18 AM
MDL-14591 new strings translated
MODIFY fr_utf8/portfolio_boxnet.php   Rev. 1.2    (+2 -1 lines)
MODIFY fr_utf8/portfolio_download.php   Rev. 1.2    (+2 -1 lines)
mjollnir_ committed 9 files to 'Moodle CVS' - 08/Sep/08 09:44 PM
MDL-14591 - split portfoliolib into logical parts for better readability

Especially as some of the functions shared by base classes (portfolio plugin vs caller) were the same
it was getting a bit unweildy to have all this in one file.
ADD lib/portfolio/caller.php   Rev. 1.1    (+0 -0 lines)
ADD lib/portfolio/constants.php   Rev. 1.1    (+0 -0 lines)
ADD lib/portfolio/plugin.php   Rev. 1.1    (+0 -0 lines)
ADD lib/portfolio/exceptions.php   Rev. 1.1    (+0 -0 lines)
ADD lib/portfolio/formats.php   Rev. 1.1    (+0 -0 lines)
MODIFY portfolio/type/download/Attic/lib.php   Rev. 1.8    (+2 -1 lines)
MODIFY lib/portfoliolib.php   Rev. 1.52    (+91 -2158 lines)
ADD lib/portfolio/forms.php   Rev. 1.1    (+0 -0 lines)
ADD lib/portfolio/exporter.php   Rev. 1.1    (+0 -0 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 08/Sep/08 09:47 PM
MDL-14591 - fix up call to exporter->get_base_filearea
MODIFY portfolio/type/download/Attic/lib.php   Rev. 1.9    (+1 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 10/Sep/08 08:49 PM
MDL-14591 - add get_base_file_url for pull portfolio plugins to use
MODIFY lib/portfolio/plugin.php   Rev. 1.3    (+11 -0 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 10/Sep/08 09:51 PM
MDL-14591 - fix misnamed member variable in exporter class
MODIFY lib/portfolio/exporter.php   Rev. 1.4    (+1 -1 lines)
mjollnir_ committed 2 files to 'Moodle CVS' - 12/Sep/08 11:31 PM
MDL-14591 - added some phpdocs, moved the transfer log insert into its own method and streamlined how it's called.
Also added a parameter to verify reawaken so that when we are just viewing queued transfer logs it can be in a different session (sesskey verification)
MODIFY lib/portfolio/exporter.php   Rev. 1.6    (+26 -4 lines)
MODIFY lib/portfolio/plugin.php   Rev. 1.4    (+1 -0 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 16/Sep/08 09:01 PM
MDL-14591 - fixed up the ordering of the deferring to plugins in admin_config_form
MODIFY lib/portfolio/forms.php   Rev. 1.2    (+12 -9 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 16/Sep/08 10:17 PM
MDL-14591 - added security in file serving in pull portfolio plugins
MODIFY portfolio/file.php   Rev. 1.4    (+1 -0 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 16/Sep/08 10:22 PM
MDL-14591 - better handling of variable headers in portfolio export
MODIFY lib/portfolio/exporter.php   Rev. 1.9    (+5 -1 lines)
mjollnir_ committed 1 file to 'Moodle CVS' - 17/Sep/08 05:41 AM
MDL-14591 - recover gracefully from portfolio cron
MODIFY lib/portfoliolib.php   Rev. 1.64    (+6 -2 lines)
Petr Skoda committed 3 files to 'Moodle CVS' - 29/Mar/09 06:02 AM
MDL-14591 adding standard access control
MODIFY portfolio/file.php   Rev. 1.5    (+7 -0 lines)
MODIFY portfolio/add.php   Rev. 1.21    (+2 -0 lines)
MODIFY portfolio/Attic/already.php   Rev. 1.5    (+3 -0 lines)
Petr Skoda committed 2 files to 'Moodle CVS' - 29/Mar/09 06:15 AM
MDL-14591 adding standard access control
MODIFY portfolio/type/download/Attic/file.php   Rev. 1.4    (+7 -0 lines)
MODIFY portfolio/type/mahara/Attic/preconfig.php   Rev. 1.2    (+7 -0 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 14/Oct/09 04:53 PM
MDL-14591 improved docs when copying files - thanks Nicolas forspotting this
MODIFY lib/file/file_storage.php   Rev. 1.36    (+7 -5 lines)