skodak
d1aa1e4855
MDL-17758 fixed hardcoded /admin/ links
2009-01-01 14:25:29 +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
mjollnir_
5f98870bf2
MDL-16526 - don't notify admins about misconfigured plugins, only plugin instances.
2008-09-18 09:57:08 +00:00
mjollnir_
2512cb3509
MDL-14591 - recover gracefully from portfolio cron
2008-09-16 21:41:26 +00:00
mjollnir_
b816c08a3f
MDL-16526 - added admin notifications for misconfigured portfolio plugins.
...
does not get triggered while admin is currently editing, only when users use it.
2008-09-16 19:09:30 +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_
9d7432f650
MDL-16423 - changed button->set_formats to respect more general formats (for later when we have richer export formats that aren't mostly based on mime)
2008-09-15 13:13:21 +00:00
mjollnir_
11ae365cf2
MDL-16423 - fixing regression i introduced in refactor with missing global
2008-09-11 14:12:07 +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
nicolasconnault
ef6f0f603d
MDL-15666 new unit test for new button class
2008-09-10 17:08:14 +00:00
mjollnir_
d1581fc53b
MDL-16423 - make the button object more robust by detecting errors better
2008-09-10 16:46:23 +00:00
mjollnir_
380a251f58
MDL-16423 - fixing bugs in last commit (portfolio_add_button refactor)
2008-09-10 16:43:33 +00:00
mjollnir_
ce09fecc99
MDL-16423 - refactor of portfolio_add_button into class for much better usability
...
currently portfolio_add_button still exists and just acts as a wrapper around the class
so i have not changed any calling code to use the new objects yet.
2008-09-10 16:34:08 +00:00
mjollnir_
bee4bce2a9
MDL-15833 - provide helper functions to determine expected time, and allow admins to set thresholds.
2008-09-09 08:57:51 +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_
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