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_
150533305c
MDL-14591 - improved phpdocs in portfolio_exporter class, fixed 2 bugs
2008-09-05 12:40:46 +00:00
nicolasconnault
77ac22a5b6
MDL-15666 sha1 tests for glossary callers. Entry caller test currently fails.
2008-09-04 11:44:48 +00:00
mjollnir_
3bb8a2c75c
MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers
2008-09-04 10:38:44 +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_
3304eb44cf
MDL-14591 - better dealing with sanity checks in plugins
2008-09-02 15:42:15 +00:00
mjollnir_
e6b8473257
MDL-14591 - use new warning form element rather than static when configuring a broken portfolio plugin
2008-09-02 12:56:23 +00:00
mjollnir_
36facf2e0b
MDL-14591: improvements to configuring already-broken portfolio plugins
2008-09-02 10:29:09 +00:00
stronk7
ebdf895759
Swapping portfolio_exception and portfolio_export_exception. Was
...
causing some problems under PHP 5.2.5 (Win32 packages).
2008-09-02 09:22:36 +00:00
mjollnir_
f1ebc1926e
MDL-14591 - notice to user if the remote system has forced queueing
2008-09-01 14:07:29 +00:00
mjollnir_
31ca68c4c3
MDL-14591 - fixing bug in last commit that would have broken for 'push' portfolio transfers
2008-08-30 16:39:08 +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_
2eb07e7904
MDL-14591 - misc improvements to portfolio api
2008-08-29 12:36:56 +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_
83f600583e
MDL-14591 - added support for portfolio plugins to force queueing and fixed a couple bugs.
2008-08-22 13:47:51 +00:00
mjollnir_
e35691563b
MDL-16134 - fixing up exception throws.
2008-08-21 09:07:00 +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_
23cbde0a14
MDL-16134 - fixing regression introduced by conversion to exceptions
2008-08-20 09:31:31 +00:00
mjollnir_
f240dc7036
MDL-16134 - fixing regression introduced by conversion to exceptions
2008-08-20 09:11:20 +00:00
mjollnir_
cc8696b2ef
MDL-15666 - fixed up the dup test and changed setup to mock the user
2008-08-19 16:14:17 +00:00
mjollnir_
192ce92b2c
MDL-16048 - beginning of printing useful summary during export
...
MDL-16046 - bugfix of previous commit (added field to portfolio_tempdata but forgot to change insert)
2008-08-19 15:23:47 +00:00
mjollnir_
3403520190
MDL-16134 - exception handling in portfolio code
2008-08-19 14:20:32 +00:00
mjollnir_
7812e882b0
MDL-16124 - faux class structure for portfolio formats for better support for subtyping.
2008-08-19 11:00:00 +00:00
mjollnir_
ac6a549219
MDL-16047 - nicer handling of interupted exports
2008-08-19 10:17:39 +00:00
nicolasconnault
2876d73b93
MDL-15767 Fixing a couple of typos
2008-08-19 06:35:40 +00:00
mjollnir_
866d543fde
MDL-15758 - slight change to the portfolio_add_button contract to be more flexible.
2008-08-14 16:01:12 +00:00
mjollnir_
f812bbe834
MDL-14591 - fixed a bug and a notice
2008-08-13 15:37:02 +00:00
mjollnir_
62a99deabe
MDL-14591 just a small tidyup and extra phpdocs
2008-08-12 14:48:32 +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_
7e51bbcee9
MDL-15995 - portfolio cron. currently just cleans up any orphaned transfer data
...
Later should be extended to add hooks in the plugins
2008-08-11 12:50:26 +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_
8f182eef86
MDL-15935 - print a different message to the user when their portfolio export has been queued
2008-08-05 17:39:35 +00:00
mjollnir_
294b4928fe
MDL-14591 - fixing bug related to queued transfers
2008-08-05 17:35:08 +00:00
mjollnir_
0b1ebfb744
MDL-15934 - fix small bug in cleanup
2008-08-05 13:30:53 +00:00
mjollnir_
04f35360ac
MDL-15934 - new table and infastructure for portfolio callers to store export data that is too big to put in the session.
2008-08-05 13:24:47 +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_
a50ef3d34f
MDL-15865 - admin portfolio settings are now a settingspage rather than an admin page.
2008-07-29 10:51:18 +00:00
jamiesensei
f79855150a
removed extra white space at the end of the file that was causing error "Cannot modify header information - headers already sent by (output started at moodle-HEAD\lib\portfoliolib.php:1932)".
2008-07-28 10:49:49 +00:00
mjollnir_
8801ab068e
MDL-15856: fixing box.net plugin
2008-07-28 10:44:52 +00:00
mjollnir_
3f871282a1
MDL-14591: make the portfolio exporter redirect to nicer places in case of error.
2008-07-25 15:32:44 +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_
ed1fcf794b
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
2008-07-25 10:31:10 +00:00