Commit graph

7367 commits

Author SHA1 Message Date
tjhunt
829eabfec2 New option on close_window_button to reload the page that opened this pop-up, as the pop-up is closed. Needed in preparation for MDL-16334. 2008-09-18 07:34:45 +00:00
nicolasconnault
a5905c9975 MDL-16486 Fixed mistyped function call 2008-09-18 07:34:18 +00:00
jerome
edb50637d7 MDL-15402: remove has_multiple_instance(), API will know there is multiple instance if the function get_instance_option_names() return a not empty object. 2008-09-18 05:21:51 +00:00
jerome
1b79955a70 MDL-15402: refactor get_admin_option_names() into get_type_option_names() 2008-09-18 03:19:52 +00:00
jerome
06e65e1e67 MDL-15402: remove has_admin_config() and has_instance_config() from repository lib and all repository plugins 2008-09-18 02:36:17 +00:00
nicolasconnault
294c7286c3 MDL-15666 MDL-16486 2008-09-17 14:41:16 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
dongsheng
2de72cb521 "MDL-16539, fix a syntax error" 2008-09-17 08:24:45 +00:00
dongsheng
9e5f5f9fcf "MDL-16539, fix warning when create new foler" 2008-09-17 07:11:50 +00:00
dongsheng
fda7529b7f "MDL-14706, comment value check code to make progress bar work" 2008-09-17 07:02: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_
06844b49f4 MDL-16535 - better handling of the expired error 2008-09-16 18:17:28 +00:00
mjollnir_
c737eed82f MDL-16535 - nicer messages about invalid exports 2008-09-16 17:50:55 +00:00
nicolasconnault
356e001031 MDL-16483 minor fixes 2008-09-16 16:40:15 +00:00
mjollnir_
8bd49ec01f fixing int() should be (int) in file storage 2008-09-16 15:56:19 +00:00
nicolasconnault
ba14791091 MDL-16483 Reverting as Petr ordered... I mean, suggested. 2008-09-16 14:35:15 +00:00
mjollnir_
45b7e6104d MDL-14591 - better handling of variable headers in portfolio export 2008-09-16 14:22:26 +00:00
mjollnir_
2726b40598 MDL-14591 - fixed up the ordering of the deferring to plugins in admin_config_form 2008-09-16 13:01:13 +00:00
mjollnir_
6e6cf8a366 MDL-16520 - print info about current export 2008-09-16 12:28:20 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
mjollnir_
a476313639 MDL-16520 - make the already exporting portfolio error more user friendly 2008-09-16 10:41:17 +00:00
jerome
948c286025 MDL-15402: implement readonly repository instances (support flickr_public) 2008-09-16 09:08:36 +00:00
moodler
babe6a0ab1 MDL-12563 Fixed RSS dates so that they are always GMT 2008-09-16 08:57:34 +00:00
mjollnir_
f2e933bb09 MDL-16516 - fixing bad regression in mahara portfolio plugin 2008-09-15 17:14:51 +00:00
mjollnir_
932e78b53b MDL-15666 - fake writting files in test portfolio exporter so that we can test integration between callers and plugins 2008-09-15 16:10:55 +00:00
nicolasconnault
3cc60460e8 MDL-15666 Subclassing exporter class so that only local files are written 2008-09-15 13:45:14 +00:00
nicolasconnault
795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18:44 +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
moodler
b7d66e5305 Forgot the README 2008-09-15 06:14:11 +00:00
moodler
838a8eb146 MDL-16500 Removed the old Jabber class from the module and moved to a new one called xmpphp in core libraries
Also cleaned up some notices in message/edit.php
2008-09-15 05:55:58 +00:00
skodak
a78bee285d MDL-16433 themes and javascript files are not blocked by running upgrade anymore 2008-09-14 08:40:23 +00:00
skodak
91b59e05ed MDL-16491 fixed typos, versions were not saved in upgrade savepoints 2008-09-14 07:39:41 +00:00
skodak
797f19e881 MDL-14589 image resizing and conversion support 2008-09-13 19:38:44 +00:00
mjollnir_
de01a5071e MDL-14591 - added some phpdocs, moved the transfer log insert into its own method and streamlined how it's called.
Also added a parameter to verify reawaken so that when we are just viewing queued transfer logs it can be in a different session (sesskey verification)
2008-09-12 15:31:17 +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
skodak
0bd47adcd0 MDL-14589 no file browsing if not logged-in 2008-09-12 08:22:41 +00:00
moodler
56dae0a227 MDL-16473 Merged style fix for user pics from 1.9 2008-09-12 06:56:11 +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
skodak
b8d9c71915 MDL-15906 file picker improvements - it now keeps current file after failed server side validation or submission (input element used instead of button element) 2008-09-11 23:11:24 +00:00
stronk7
3128242122 Prevent get_users_by_capability() to return deleted users. MDL-16323 ; merged from 19_STABLE 2008-09-11 22:17:20 +00:00
skodak
9c98b43986 MDL-16468 never mail deleted users; merged from MOODLE_19_STABLE 2008-09-11 19:54:39 +00:00
mjollnir_
11ae365cf2 MDL-16423 - fixing regression i introduced in refactor with missing global 2008-09-11 14:12:07 +00:00
mjollnir_
27dda89ffe MDL-15666 - changes to the portfolio caller tests
now that i changed the api again (adding load_data), rather than add a call to it to
all the callers, i abstracted the caller setup into the parent class (portfoliolib_test)
2008-09-11 13:47:40 +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
jamiesensei
869309b8d8 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets. 2008-09-11 12:48:08 +00:00
tjhunt
4b600aa005 MDL-16410 Implement the delete question type functionality on the question type administration screen. 2008-09-11 11:01:20 +00:00
tjhunt
1d1ca5ef85 MDL-16457 Remove support for old-style filterconfig.html files 2008-09-11 10:22:22 +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