82 Commits

Author SHA1 Message Date
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
poltawski
683dacd065 Removing the obsolete plugins which depend on alredy removed libs
MDL-16417
2008-11-29 20:27:04 +00:00
poltawski
ee91cf9591 portfolio: MDL-16417 - Adding googledocs/picasa plugins
* Added simple library for googleapi things
* Respository plugins to follow
2008-11-29 20:24:25 +00:00
skodak
214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
mjollnir_
62e7195480 MDL-16587 portfolio export formats - support straight file export not just RICHHTML (html + attachments) , it doesn't make sense in things like box.net 2008-11-11 19:54:50 +00:00
dongsheng
18729a5138 "MDL-16341, fix parameters list" 2008-11-03 03:58:23 +00:00
dongsheng
b3e6e8047b "MDL-16341, add upload function for flickrlib" 2008-11-03 03:22:55 +00:00
nicolasconnault
5ab88978b9 MDL-17091 Adding part of GoogleData API from the Zend Framework, in order to support portfolio and repository functions. Also completed basic portfolio plugin. 2008-10-31 15:33:45 +00:00
nicolasconnault
0d4231f0e3 MDL-16341 Finished flickr plugin 2008-10-31 09:14:06 +00:00
nicolasconnault
a55d94d4ac MDL-16341 Almost finished portfolio flickr plugin. Modified phpflickr->request method so it can upload files, but having permission issue (only read) 2008-10-25 13:35:20 +00:00
mjollnir_
14cb94ebfe portfolio/mahara tighter url for continuing to portfolio to enter the folder and highlight the new file 2008-10-21 09:55:04 +00:00
mjollnir_
6be1dcae99 MDL-16587 bit of a large refactor of the portfolio formats. still more to come. 2008-10-11 17:33:20 +00:00
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
moodler
1369d8e172 Fixed some wording ... 2008-09-17 08:15:10 +00:00
mjollnir_
612a14c570 MDL-16520 - better handling of resuming exports in portfolio 2008-09-16 19:02:30 +00:00
mjollnir_
c737eed82f MDL-16535 - nicer messages about invalid exports 2008-09-16 17:50:55 +00:00
mjollnir_
abcd0fc53e MDL-16414 - make the handling of the download portfolio plugin nicer 2008-09-16 14:23:41 +00:00
mjollnir_
6b6f1c056d MDL-14591 - added security in file serving in pull portfolio plugins 2008-09-16 14:17:32 +00:00
mjollnir_
ff347f9978 MDL-16519 - added some more help text to box.net config page 2008-09-16 13:01:34 +00:00
mjollnir_
6e6cf8a366 MDL-16520 - print info about current export 2008-09-16 12:28:20 +00:00
mjollnir_
a476313639 MDL-16520 - make the already exporting portfolio error more user friendly 2008-09-16 10:41:17 +00:00
mjollnir_
447192d36b MDL-16521 - made folder optional in box.net portfolio transfer 2008-09-16 08:05:50 +00:00
mjollnir_
5d37f13c18 MDL-16521- 'share' parameter must be int for create folder in box.net 2008-09-16 08:00:11 +00:00
mjollnir_
f2e933bb09 MDL-16516 - fixing bad regression in mahara portfolio plugin 2008-09-15 17:14:51 +00:00
mjollnir_
13e7e76575 MDL-15760 - move boxnet folder creation from prepare_package into send_package 2008-09-15 14:01:57 +00:00
mjollnir_
fae696850a MDL-15362 - make sure we log the transfer on an xmlrpc request in mahara plugin 2008-09-12 15:32:14 +00:00
mjollnir_
37f03ea00b MDL-15666 - change all the portfolio plugins and callers to use exceptions
rather than relying on return values (send_package and prepare_package)

move zipping of temporary files into the exporter class so it can be overridden during unit tests

fix a small todo in mahara plugin
2008-09-12 11:22:15 +00:00
dongsheng
539b3d13d5 MDL-15488
1. Move flickr lib to lib/flickrlib.php
2. Create a new flickr plugin for public access, the original one will be
a personal repository, user need to login to access his/her own photos.
2008-09-12 03:32:31 +00:00
mjollnir_
fd64f09831 MDL-16422 add option to share files and new folders in box.net portfolio plugin 2008-09-11 14:13:58 +00:00
mjollnir_
0d06b6fda7 MDL-16423 - big refactor of the way callers interact with the portfolio code
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.
2008-09-11 13:42:58 +00:00
mjollnir_
2e6a355ddb MDL-15760 - fix teeny notice-causing bug in box.net portfolio plugin 2008-09-11 13:38:22 +00:00
mjollnir_
354c9a5014 MDL-16414 - backing out earlier patch to try and fix this 2008-09-10 13:51:23 +00:00
mjollnir_
3d7fe06982 MDL-16414 - make the download plugin just redirect to the file url 2008-09-10 13:07:16 +00:00
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