Commit graph

7559 commits

Author SHA1 Message Date
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
moodler
c3f9ee10fd MDL-9683 Fixed a typo in an error string name invalidseeky -> invalidsesskey 2008-09-08 02:35:22 +00:00
skodak
3445b38281 MDL-14589 fixed undefined itemid 2008-09-07 23:21:31 +00:00
skodak
a4e936d47d MDL-14589 adding missing lang strings 2008-09-07 22:35:03 +00:00
skodak
7983d68231 MDL-14589 sample function for draft area files migration and relinking 2008-09-07 22:34:18 +00:00
skodak
a20c017def MDL-14589 /. files are not created anymore when browsing empty areas, yay! 2008-09-07 22:23:10 +00:00
skodak
4287fc0df5 MDL-15906 filepicker support in all file functions in formslib 2008-09-07 13:30:46 +00:00
skodak
96fef79f5f MDL-14589 /. files are not created anymore when browsing empty areas, yay! 2008-09-07 10:06:26 +00:00
skodak
cfe9446817 MDL-14589 list of user areas is read only 2008-09-07 09:57:35 +00:00
peterbulmer
f76a259e10 MDL-14488 - start sql query with unique field - credit David Monllaó 2008-09-07 06:00:22 +00:00
skodak
ec8b711fb3 MDL-15919 do not modify $file_record parameters when creating new files 2008-09-06 21:33:07 +00:00
skodak
84dabeef01 MDL-16374 support for file browsing in modules 2008-09-06 18:18:36 +00:00
skodak
38b4de5258 MDL-16374 support for file browsing in modules 2008-09-06 18:07:17 +00:00
skodak
d6f7cbfd98 MDL-16374 support for file browsing in modules 2008-09-06 17:00:43 +00:00
skodak
787a016fd2 MDL-16374 support for file browsing in modules 2008-09-06 17:00:43 +00:00
nicolasconnault
6b98209524 MDL-15666 Unit tests can all be run from lib/simpletest/testportfoliolib.php. See requires at the end of the file. 2008-09-06 14:36:45 +00:00
nicolasconnault
837e6a44f7 MDL-16369 Added error info in accesslib 2008-09-06 13:19:26 +00:00
nicolasconnault
f689028c7e MDL-16369 Added error info in accesslib 2008-09-06 13:17:15 +00:00
nicolasconnault
6511446349 MDL-15666 Fixed error that caused blank page in unit test. Including generator library. Partly fixed generator. 2008-09-06 11:24:57 +00:00
nicolasconnault
7399a49d44 MDL-14081 fixed error in eventslib unit tests 2008-09-06 11:22:30 +00:00
skodak
6e73ac4214 MDL-14589 added new method for creating stored file from url (please note it is limited by available memory) 2008-09-06 10:09:33 +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_
0b46f19e89 MDL-16359 - adding support for mimeinfo_from_icon to return all matches
(needed for portfolio format support)
2008-09-05 16:43:44 +00:00
jbeedell
b91de8a599 Essential patch for MDL-11992 course tagging. This prevents a bug that removes offical tags for a course when a user adds a personal tag to that course. 2008-09-05 14:49:06 +00:00
mjollnir_
150533305c MDL-14591 - improved phpdocs in portfolio_exporter class, fixed 2 bugs 2008-09-05 12:40:46 +00:00
scyrma
98bc644685 MDL-15405: add more (still partial) support for inline files in user profiles. 2008-09-05 11:02:48 +00:00
scyrma
dd64e31031 MDL-14589: itemid should be 0 in user_* fileareas, but not in user_draft. 2008-09-05 10:47:34 +00:00
scyrma
00c32c5430 MDL-14589: strrpos is needed to check the last occurence
MDL-15405: return the existing file in case one is found
2008-09-05 09:23:36 +00:00