Commit graph

7236 commits

Author SHA1 Message Date
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
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_
36b1cfd6c2 MDL-14591 - fix misnamed member variable in exporter class 2008-09-10 13:51:01 +00:00
mjollnir_
d5d9b23989 MDL-14591 - add get_base_file_url for pull portfolio plugins to use 2008-09-10 12:49:14 +00:00
mjollnir_
5ec4b6978c fix typo in boxlib library (renamefile) 2008-09-10 11:52:29 +00:00
tjhunt
6f49dd0f36 MDL-16411 Oops, I had the logic backwards. 2008-09-10 10:30:43 +00:00
tjhunt
d849880e56 MDL-16411 Move all plugintype_pluginname_version values from config to config_plugins 2008-09-10 10:15:05 +00:00
dongsheng
911e0eb050 MDL-13766
1. change css className
2. add comments
2008-09-10 07:11:47 +00:00
tjhunt
bdff6b85d9 MDL-16409 - Finish the report. 2008-09-10 05:34:09 +00:00
tjhunt
cca6e300e7 Refactor getting question bank capabilties in mod/quiz/lib.php - don't hard code them.
Also, functions for getting a URL for editing questions in a particular context, ready for MDL-16409.
2008-09-10 05:28:25 +00:00
jerome
d9dc2150ae MDL-15402: display title attribut for show/hide image in the repository administration 2008-09-10 04:12:42 +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_
2e0c7925ec MDL-16403A - save state in portfolio before redirecting to steal control url. 2008-09-09 14:08:59 +00:00
mjollnir_
a200c487f2 MDL-16405 - throw the right exception during admin operations to avoid unnecessary debugging notice. 2008-09-09 13:44:16 +00:00
nicolasconnault
2341547ccc MDL-15666 Fixed some fatal errors in database generation 2008-09-09 10:17:48 +00:00
mjollnir_
2ddd044af8 MDL-16390 - detect duplicates when copying files to portfolio export area and handle it nicer
this will mean that there will only be one file, and the filename will be set to whatever the first one was, but it's better than getting the error.
2008-09-09 09:56:56 +00:00
scyrma
eb37800b50 MDL-15405: missing check 2008-09-09 09:08:43 +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
tjhunt
05efb0e52f MDL-6751 Admin page for question types. This does the bulk of the work:
MDL-16407 Add to admin/settings/plugins.php to link to the new manage page, and pull in any qtype settings pages
MDL-16408 Write the manage question types page, to display the table of installed types
2008-09-09 08:43:40 +00:00
tjhunt
3843d2745e Whitespace and comment improvements. 2008-09-09 08:35:38 +00:00
scyrma
86a246e929 MDL-16319: set a css sheet for the content of the editor - fixing the issue
with the default font size. This commit also reactivates the media plugin.
2008-09-09 05:29:07 +00:00
scyrma
3bea11c8c1 MDL-14679: regression caused by a missing '>'. 2008-09-09 02:23:47 +00:00
skodak
106f3b6779 MDL-16394 user profile browsing and serving improvements 2008-09-08 23:16:48 +00:00
poltawski
2a389207d1 Allow portfolio plugins to register event handlers - MDL-16392 2008-09-08 21:51:54 +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
tjhunt
b032b49099 MDL-16348 Reorganise admin tree:
* New Capability report put under Users -> Permissions
* Miscellaneous category renamed to Development
* Unit tests and Functional DB test moved to be under Development.
* The hard-coded hack that was used to change the permission that controls the Backups and stats reports replaced with settings.php files.
* There were two hidden Miscellaneous things in the old category, so I moved them. Multilan upgrade now under Lanuages, and Online assignment cleanup now under Plugins -> Activity modules. Both still hidden.

There was already a way for admin report plugins to control where they appeared in the tree, but it was not documented, so see http://docs.moodle.org/en/Development:Admin_reports
2008-09-08 11:32:31 +00:00
dongsheng
aae85978ec MDL-13766, users can delele their own cache files in fp. 2008-09-08 08:48:07 +00:00
tjhunt
1ea118e4bd MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden. 2008-09-08 07:01:41 +00:00
tjhunt
ad944e7832 MDL-16343 New PARAM_ type, PARAM_CAPABILITY. 2008-09-08 07:00:49 +00:00
scyrma
78c809c437 MDL-15405: draftfile url rewriting function now working as it should for a nice bunch of test cases. 2008-09-08 06:09:11 +00:00
moodler
757f30a20c MDL-15348 Add changes for filepicker to support the display of existing files 2008-09-08 05:41:45 +00:00