189 Commits

Author SHA1 Message Date
Dongsheng Cai
ea1780adf3 MDL-13766, implemented user quota 2010-05-11 06:49:51 +00:00
Eloy Lafuente
637a60dc5f NOBUG mimetypes - improve a bit mimeinfo_from_icon() so, before using the
"return last" strategy (leading to all images returning image/tiff always)
it will try one "return by extension match" if possible.
2010-05-04 14:19:00 +00:00
David Mudrak
1b80c913cb MDL-22061 get_mimetype_description() does not rely on get_string() returning square brackets 2010-05-04 12:54:48 +00:00
Dongsheng Cai
b6accf69a0 "MDL-13766, fixed download dir" 2010-05-04 06:59:03 +00:00
Martin Dougiamas
9057a84818 MDL-14589 Check input better, preventing notices when using an editor without draftfiles 2010-05-01 08:58:27 +00:00
Dongsheng Cai
e5051df334 "MDL-13766, fix non-js filepicker" 2010-04-29 07:01:00 +00:00
Dongsheng Cai
b5e9bf485f "MDL-21021, fixed private file url" 2010-03-25 07:22:26 +00:00
Penny Leach
fda8369f38 filelib MDL-21752 fixed case where mimeinfo_from_icon was including document/unknown when there were better options 2010-03-16 18:58:08 +00:00
Dongsheng Cai
133fd70ba5 "MDL-13766, improve filemanager to browse user_private area files" 2010-03-15 06:12:39 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
jerome mouneyrac
5db608f435 file API MDL-20616 added support for multiple array POST parameters in the function download_file_content(). Also added unit tests. 2010-02-16 09:04:55 +00:00
Dongsheng Cai
2539ce37a6 "MDL-21170, fixed pix_url output problem, improve javascript-static.js for new filemanager" 2010-01-21 06:37:04 +00:00
Petr Skoda
f2ab0d0694 MDL-21240 more migration to html_writer 2010-01-18 20:39:47 +00:00
Dongsheng Cai
99eaca9d3d "MDL-21170, major update to filepicker, complete rewrote filepicker javascript code to use YUI3, need furthur polish" 2010-01-15 07:48:38 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
jerome mouneyrac
50f9599130 flash upgrader MDL-20841 move the send the flashupgrader from filelib.php to pluginfile.php 2009-12-04 04:11:01 +00:00
jerome mouneyrac
b5bbeaf02c flash upgrader MDL-20841 New config setting excludeoldflashclients will set a minimum version for flash clients. A check in the standard_head_html is run once, and will set a session variable with the current flash version. If the current flash version is lower than the minimum requirement, then Moodle will serve alternate content whenever a flash file is requested. The alternate file will ask the user to upgrade flash, merged from 1.9 2009-12-02 06:38:16 +00:00
Dongsheng Cai
bb54697b1b "MDL-16910, fixed icons" 2009-11-18 07:23:28 +00:00
Andrew Davis
6959330979 all MDL-20821 Removed more deprecated functions 2009-11-18 06:05:10 +00:00
Dongsheng Cai
f9fd0be9de "MDL-17391, document file_type_to_ext class" 2009-11-13 08:51:49 +00:00
Tim Hunt
3c2cfc8f3f blocks: MDL-20710 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:16:56 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
David Mudrak
8302aae15e Fixed passing 'itemid' param in case of no item 2009-10-24 09:45:25 +00:00
skodak
06f0784845 MDL-20616 support for array of arrays in postdata 2009-10-21 18:24:12 +00:00
dongsheng
56a7bf6837 " MDL-16597, ajax file manager element" 2009-09-17 08:47:23 +00:00
dongsheng
f0e5f031c7 "MDL-16596, imporve non-javascript file manager, add useful functions to filelib" 2009-09-03 06:53:40 +00:00
mudrd8mz
d5934b3594 MDL-20001 use passed $itemid instead of $data->id 2009-08-05 11:19:34 +00:00
mudrd8mz
db2cc99bf3 NOBUG: documenting file_prepare_standard_editor() 2009-08-05 10:08:45 +00:00
mudrd8mz
19fbc61756 NOBUG: fixing and documenting file_postupdate_standard_editor()
Fixed a hardcoded name of the field to hold the trust info (the previous name comes from the glossary module). Added some documentation based on my experiences.
2009-08-04 19:35:00 +00:00
stronk7
a184479acb MDL-18658 add support for m4a files in the multimedia filter + missing mimetypes. Credit goes to Ralf Krause, thanks! Merged from 19_STABLE 2009-07-28 16:47:01 +00:00
skodak
7f0fedc0b5 MDL-14589 fixed incorrect condition testing if files allowed when postprocessing editor element data, thanks Nicolas for reporting this 2009-07-14 08:25:51 +00:00
samhemelryk
405efa5f95 filelib MDL-19707 Modified file_extension_icon to use extisting function mimeinfo and reverted
two uses of file_extension_icon in course-lib that were incorrect
2009-07-08 01:52:16 +00:00
samhemelryk
2dcb7d0be0 lib-filelib MDL-19707 Modified file_extension_icon() to accept full filename 2009-07-07 04:03:33 +00:00
samhemelryk
9dffa7af76 lib-filelib MDL-19707 Added file_extension_icon() and file_mimetype_icon()
After talking with Tim we decided that this would be a better solution than adding more methods to $OUTPUT
2009-07-07 03:56:15 +00:00
dongsheng
4dbb2b0507 "MDL-19180, repository url plugin, if users provide a url of webpage, this plugin could list all images in this page" 2009-06-28 09:38:32 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
samhemelryk
ba21c9d440 lib MDL-19236 added phpdocs and copyrights 2009-05-25 08:27:25 +00:00
skodak
33488ad66a MDL-18111 improving file api comments and docs, fixing license header 2009-05-21 08:42:22 +00:00
skodak
64a19b3828 MDL-18111 improving file api comments and docs, fixing license header 2009-05-21 08:25:52 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
skodak
45126617fb MDL-14589 fixed recent file api improvements regression 2009-05-19 13:01:37 +00:00
Moodle HQ git importer
33374f7672 Fixing drift between CVS and git 2009-05-19 00:38:47 +00:00
skodak
1b7f3041f0 MDL-14589 file api improvements - converting more params to general $options array 2009-05-18 19:04:07 +00:00
skodak
a19a06d09e MDL-14589 file api improvements - converting more params to general $options array 2009-05-18 19:04:06 +00:00
skodak
b96ddb7d55 MDL-19002 adding noclean option to editor utility functions 2009-05-11 18:24:19 +00:00
nicolasconnault
2458773012 Removed cvs conflict diff line 2009-05-07 12:20:28 +00:00
nicolasconnault
7c59f3be9d MDL-14412 Applied Michael's patches to fix ram/rm support in firefox. Merged from MOODLE_19_STABLE 2009-05-07 08:57:46 +00:00
skodak
989c16eeb9 MDL-16692 converted glossary comments to new editor + file API fixes 2009-05-05 08:57:12 +00:00