99 Commits

Author SHA1 Message Date
mjollnir_
9b69a0ce56 MDL-16406 - trying to mitigate box.net problems slightly. 2008-09-10 12:04:30 +00:00
mjollnir_
dd0f962c21 MDL-15760 - removing out of date comment in boxnet portfolio plugin 2008-09-10 11:03:25 +00:00
dongsheng
615a28597e MDL-16403
1. move boxnet lib to moodle lib folder
2. fix a notice
2008-09-10 03:10:42 +00:00
mjollnir_
53aa4841c4 MDL-15760 improvements to create folder handling in box.net portfolio plugin 2008-09-09 21:03:37 +00:00
mjollnir_
237d80e06e MDL-16341 - flickr plugin should allow only one instance to be configured 2008-09-09 13:32:48 +00:00
mjollnir_
2f6bd2a9a7 MDL-15362 - localised mnet server fault strings and added size to send_content_ready
so mahara can check user quotas earlier in the transfer
2008-09-09 09:01:31 +00:00
mjollnir_
0a15415458 MDL-14591 - fix up call to exporter->get_base_filearea 2008-09-08 13:47:39 +00:00
mjollnir_
87fcac8d78 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.
2008-09-08 13:44:36 +00:00
mjollnir_
ea0de12f10 MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
mjollnir_
432ad8bf3b MDL-15777 - better handling of integration with file api in portfolio mahara plugin 2008-09-05 12:42:27 +00:00
mjollnir_
89e12bd5a6 MDL-16353 - help for boxnet portfolio plugin admin config 2008-09-05 12:39:17 +00:00
mjollnir_
9f3ef2238d MDL-14591 - fixed some comments and changed some print_errors to exceptions in portfolio/add 2008-09-04 10:32:17 +00:00
mjollnir_
0f71f48bcb 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
2008-09-02 16:21:14 +00:00
mjollnir_
b0482154d8 MDL-16180 - better checking of mnet support in mahara portfolio plugin (and removed unnecessary sanity check code that's handled by the main portfolio api) 2008-09-02 15:43:55 +00:00
mjollnir_
7254f56ef6 MDL-16180 - make sure mnet auth is enabled in mahara portfolio plugin sanity check 2008-09-02 15:28:25 +00:00
mjollnir_
aae8cfdc5f MDL-15362 - better error checking in mahara portfolio plugin 2008-09-02 10:32:16 +00:00
mjollnir_
1c59721175 MDL-15362 - send sha1 of entire zipfile to mahara, not just contents 2008-09-01 14:36:12 +00:00
mjollnir_
aed2937f43 MDL-15362 - misc improvements to mahara portfolio plugin 2008-09-01 14:01:29 +00:00
mjollnir_
d5dfe1b361 MDL-15362 - better robustness in wakeup
MDL-14591 - fixed a bug in portfolio queued transport (not saving updates)
2008-08-30 16:37:40 +00:00
mjollnir_
254f2d0534 MDL-15362 - mahara portfolio plugin.
currently the code on the mahara side is in the mahoodle-phase2 branch. it'll be merged into head shortly and should be in 1.1 which is going to alpha next week
2008-08-30 11:39:43 +00:00
nicolasconnault
75d226d74d MDL-15666 Generating test data on-the-fly using the generator! 2008-08-29 14:46:55 +00:00
mjollnir_
2eb07e7904 MDL-14591 - misc improvements to portfolio api 2008-08-29 12:36:56 +00:00
nicolasconnault
7e95408b01 MDL-15666 MDL-16177
Refactored the generator script into proper Object Oriented code. It can now be used as a CLI tool, as a web form or as an included library with a function call. Stub implementation is demonstrated in portfolio unit tests.
2008-08-29 08:01:55 +00:00
skodak
90658eefb0 MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup 2008-08-26 05:45:07 +00:00
mjollnir_
4dc67f1e92 MDL-15768 - set userobject in the caller before checking permissions. 2008-08-22 16:35:26 +00:00
mjollnir_
5012851256 MDL-14591 - fixups related to cancelling requests and reawakening them 2008-08-22 13:25:53 +00:00
mjollnir_
beb4ac1a5d MDL-14591 - better security when reawakening an interupted export 2008-08-20 15:58:29 +00:00
mjollnir_
349242a31d MDL-16127 - smarter handling of supported formats in callers 2008-08-20 13:30:37 +00:00
mjollnir_
3403520190 MDL-16134 - exception handling in portfolio code 2008-08-19 14:20:32 +00:00
mjollnir_
ac6a549219 MDL-16047 - nicer handling of interupted exports 2008-08-19 10:17:39 +00:00
nicolasconnault
d50475e64f MDL-15666 Adding test file with stub methods. 2008-08-19 09:21:30 +00:00
mjollnir_
899ffdfbdd MDL-15758 - fixing bugs nico found in testing 2008-08-14 12:40:20 +00:00
mjollnir_
f812bbe834 MDL-14591 - fixed a bug and a notice 2008-08-13 15:37:02 +00:00
mjollnir_
d96a1acc0b MDL-15777 more fixes for portfolio to use file api
this introduces portfolio/file.php to serve portfolio related files - access check is delegated to the plugin.
and also two new classes in the portfolio plugin tree - push vs pull.
2008-08-12 13:17:34 +00:00
mjollnir_
68b7eed0f7 MDL-15992: box.net file rename - fixing warning 2008-08-11 15:30:38 +00:00
mjollnir_
a226b58d75 MDL-15992 - added smarter renames to the portfolio box.net plugin around the box.net client library 2008-08-11 11:24:32 +00:00
mjollnir_
d67bfc32a1 MDL-15777 - updated most of the portfolio code to use files api.
Not done:

- forum (the rest of the module isn't using files api yet)
- database mod (touches other parts of the code (ods and excel libs)
- portfolio download plugin (needs discussion with petr about userfiles)

all of these have been disabled in the meantime.
2008-08-09 14:24:58 +00:00
mjollnir_
84a449853f MDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
This allows us to always have a unique id for a portfolio export which can be used as itemid for files api.
Also it makes the session smaller :)
2008-08-06 15:27:42 +00:00
mjollnir_
6fdd8fa76f MDL-14591 portfolio: small fixes and improvements. 2008-08-04 16:07:37 +00:00
mjollnir_
7c61a8f047 MDL-14591: portfolio - fixing regression I introduced when refactoring 2008-08-02 09:02:00 +00:00
mjollnir_
9eb0a77292 MDL-14591 many small fixes to portfolio 2008-08-01 12:23:32 +00:00
mjollnir_
ffcfd8a777 MDL-15762 log portfolio transfers and notify the user when there are dups 2008-07-30 16:38:13 +00:00
mjollnir_
bb63fc3e0c MDL-15834 portfolio supported_formats doesn't need to be abstract 2008-07-29 12:10:14 +00:00
mjollnir_
a239f01e57 MDL-15860 - add global portfolio enabled switch 2008-07-29 11:27:16 +00:00
mjollnir_
b3abd2c692 removed shorttag 2008-07-28 12:27:18 +00:00
mjollnir_
8801ab068e MDL-15856: fixing box.net plugin 2008-07-28 10:44:52 +00:00
mjollnir_
5071079cb2 MDL-15830 & MDL-15832: added a new intermediate abstract caller class for modules & removed PORTFOLIO_FORMAT_HTML 2008-07-25 15:17:23 +00:00
mjollnir_
2f68e760c1 MDL-15760: boxnet portfolio plugin should only be allowed one instance 2008-07-25 08:22:14 +00:00
mjollnir_
67a87e7db2 portfolio checkin-
see http://git.catalyst.net.nz/gw?p=moodle-r2.git;a=shortlog;h=refs/heads/portfolio for changelog

commit point is this hash on that branch: f9642af4e8bd319d4ecdfd83589db61a8fa6fef2

This comes with two plugins, box.net & download
2008-07-25 08:14:11 +00:00