92 Commits

Author SHA1 Message Date
stronk7
81d18ad5c4 MDL-19579 code coverage - finished adding initial $includecoverage attributes 2009-06-26 18:25:46 +00:00
tjhunt
25ddb7efc9 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
This is the final batch.
2009-06-15 07:57:53 +00:00
mjollnir_
e862c50a76 portfolio/mahara: php-doc for a confusing private method i didn't understand anymore 2009-06-09 19:58:16 +00:00
mjollnir_
780de011da portfolio: MDL-19358 added $cm to require_login check. this will have to change as soon as we implement portfolio exporting for something other than a course module (eg, a blog, blog post, etc) 2009-06-01 18:53:54 +00:00
mjollnir_
766d61cbb8 portfolio: MDL-19358 and MDL-19354 added sesskey() protection when first initating a portfolio export; verify callback class is part of the portfolio_caller_base hierarchy; re-check permissions in the caller when waking up the portfolio exporter object (between requests) 2009-06-01 17:06:28 +00:00
mjollnir_
9e7d38b11a portfolio/ replaced course_setup with $PAGE->set_course which seems to have been missed 2009-05-09 13:15:41 +00:00
mjollnir_
4c7a4ef9df MDL-18734 - documentation and coding style in portfolio/*
Added much needed documentation to the portfolio "scripts" (the libs are all
fine), and moved all parameter fetching from the body of the file to the top.
2009-05-02 13:23:22 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
skodak
add560f300 MDL-14591 adding standard access control 2009-03-28 22:15:12 +00:00
skodak
98335b2da8 MDL-14591 adding standard access control 2009-03-28 22:02:00 +00:00
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