Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Petr Skoda
50a8bd6c1d
MDL-14589 file api cleanup
2010-07-11 13:30:33 +00:00
Petr Skoda
f28ee49e98
MDL-14589 adding missing component to moodle_url factory methods, going to convert code to use these factories instead of old filelib.php functions
2010-07-11 09:20:20 +00:00
Petr Skoda
20e5da7d91
MDL-19211 back to the old text format preferences logic + minor refactoring and improvements
2010-07-10 12:12:59 +00:00
Dongsheng Cai
1230b9c96e
MDL-23116, added file type icon to private file block, stop using the short file name from filemanager
2010-07-08 04:38:13 +00:00
Dongsheng Cai
e35194bec4
MDL-22982
...
1. rename repository.class to lib.php
2. fixed repository_callback.php
3. repository_ajax use moodle default exception handler
4. improve file_get_user_used_space performance
2010-07-05 07:27:49 +00:00
jerome mouneyrac
277c7a4033
file MDL-23075 fix format_postdata_for_curlcall when the params is an array of array of array
2010-07-05 02:56:04 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Dongsheng Cai
f79321f1b8
MDL-22548, added sortorder field to files table, drop mainfile field from resource table, use sortorder to decide main file
2010-05-28 07:29:11 +00:00
Dongsheng Cai
f36cb95140
"MDL-16597, fixed filepath"
2010-05-27 03:51:39 +00:00
Petr Skoda
1e06adb47c
MDL-22546 do not accept bogus params in fulldelete()
2010-05-22 21:40:03 +00:00
Petr Skoda
34ff25a6ef
fixed multiple inline docs comment typos
2010-05-21 18:11:57 +00:00
Petr Skoda
3a1055a548
MDL-22532 support for fetching of large files via temp files
2010-05-20 17:13:07 +00:00
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