Commit Graph

79 Commits

Author SHA1 Message Date
stronk7 f5553c87a3 MDL-18658 add support for m4a files in the multimedia filter + missing mimetypes. Credit goes to Ralf Krause, thanks! 2009-07-28 16:41:58 +00:00
nicolasconnault c373242b42 MDL-14412 Applied Michael's patches to fix ram/rm support in firefox 2009-05-07 08:55:50 +00:00
skodak 03acab4231 MDL-18384 better symlink support, do not recurse symlinks when deleting - patch by Matt Oquist, thanks 2009-04-05 20:55:55 +00:00
jerome 4dc25063e8 link resource MDL-16272 fix anchor into the url (not urlescaped anymore) 2009-02-05 02:25:40 +00:00
skodak b29f0b5d59 MDL-11789 fixed regressions preventing file caching when default used 2008-11-01 19:27:36 +00:00
stronk7 f81e0a1d06 Adding correct Office 2007 mime types. MDL-15987 2008-10-17 18:03:21 +00:00
scyrma 2efc9eb251 Files/MDL-14231: reverting previous commit. 2008-10-09 07:11:19 +00:00
scyrma bd0185707b Files/MDL-14231: return false on file not found so that the user is warned that the file could not be deleted. 2008-10-09 06:20:17 +00:00
jerome 0dd18fa6f6 MDL-15800: clean filelib.php, fix https image link into the edit profil page (weblib.php), and also into the YUI integration (ajaxlib.php) 2008-10-07 02:09:51 +00:00
dongsheng f20c125374 MDL-11789, apply $CFG->filelifetime in send_file function. 2008-08-07 06:09:18 +00:00
scyrma 4c87067821 MDL-14279: Fixes for regressions created by the get_file_url massive change 2008-07-11 02:28:31 +00:00
scyrma 4770b4b6b3 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually 2008-07-10 09:48:43 +00:00
skodak 733818ca2e MDL-11905 send temp file support 2008-07-05 15:34:28 +00:00
fmarier 7b30c23b87 filelib: Add .ics files to the mimetypes array.
Required so that .ics files can be attached to e-mails using the email_to_user
function. The facetoface module is doing this.

(from Nigel McNie <nigel@catalyst.net.nz>)
2008-06-09 05:33:52 +00:00
scyrma 50789c3cbc MDL-15032: add quotes to make it possible to correctly send files with names containing spaces 2008-05-28 07:43:41 +00:00
scyrma c9e47cd096 MDL-13792: fixing problem in the previous patch, where filename contain spaces 2008-05-28 05:15:39 +00:00
sam_marshall 0bd80872c5 doc comment change: improved comment on download_file_content to clarify $headers 2008-04-10 12:08:28 +00:00
scyrma 061a4b01be MDL-13792 - Commiting Patch by Skodak, fixing problem with japanese characters under some conditions. This has been reported to work, if nobody else
comes foward with bugs related to this, it will need to be changed everywhere else where there is no urlencoding done at this time. (1.9 - original
patch)
2008-04-08 03:02:49 +00:00
nicolasconnault 08cebb831a MDL-14073 New param for download_file_content: skipcertcheck. ssl now used in recaptchalib. Merging from HEAD 2008-03-31 12:17:59 +00:00
sam_marshall f1d31dfee3 MDL-14051 Changed timeout behaviour for download_file_content so curl has a read timeout 2008-03-26 12:59:51 +00:00
skodak 6b3281b20e MDL-13949 removed adobe reader XSS bug workaround 2008-03-17 12:35:35 +00:00
skodak 8d8105fdf7 MDL-13214 rebuild_course_cache fixes and speed improvements 2008-02-01 07:47:47 +00:00
skodak dc2c453d63 MDL-11845 fixed security issues in curl related code in new download_file_content() + minor fixes in Snoopy 2007-12-31 23:16:56 +00:00
skodak 5cc576de2f MDL-12782 magpie now uses download_file_content() - that should solve several remote RSS issues including proxy user/password + several download_file_content() improvements + other minor fixes 2007-12-31 15:36:48 +00:00
poltawski 5738a677f2 MDL-11845 - use the http 1.0 'Moved Temporarily' rather than unhelpful 'Found' 2007-12-30 23:09:29 +00:00
skodak 593eb8ee75 MDL-11845 removing curl emulation library, snoopy has better support for proxies and seems to be more reliable on different platforms; spelling correction cURL instead of Curl; adding all proxy admin settings; better debug messages for file downloading; SOCKS5 proxy support 2007-12-30 19:42:04 +00:00
toyomoyo 8b405ab59b making multibyte filename appear correctly under IE download 2007-10-30 00:33:45 +00:00
poltawski 612f6992c5 MDL-11840 - curl was set to use CONNECTs for all http requests. This is disallowed
by most http proxies to prevent tunneling. Added some debugging in case of failure.
2007-10-19 14:45:54 +00:00
poltawski 30a16e7e83 MDL-11766 download_file_content is quite broken with proxies - lacking global
CFG definition, so must never have worked, also incorrectly specified proxyhost..
2007-10-19 11:44:04 +00:00
nfreear 42ead7d7cd Fix MDL-7436 Accessibility "Indicate type of resource in the name of the resource" 2007-09-25 14:59:16 +00:00
nicolasconnault 76ca1ff134 MDL-11075 Now saving to temp file, then outputting using filelib's readfile_chunked() method. Also cleaned up whitespace in filelib.php (blame vim!). 2007-08-31 13:54:13 +00:00
moodler 68da9722db Merged new mime-types and icons for Microsoft files MDL-9940 2007-08-23 06:50:37 +00:00
Martin Langhoff 13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
toyomoyo 3ace5ee456 merged fix for MDL-10856, mp3 filter does not work for uploaded html files 2007-08-17 04:57:52 +00:00
moodler 759bc3c89a Added support for flv 2007-07-19 05:43:33 +00:00
sam_marshall 6ae5e482e2 MDL-10083 CSV mimetype/icon support 2007-06-11 15:36:08 +00:00
ikawhero 08297dcb3c New mimetype for Inspiration application.
Icon and code patch from Julian Ridden.
2007-05-03 07:15:30 +00:00
skodak 1659a9982d MDL-9403 Add "application/xhtml+xml" mime type for *.xhtml resource files 2007-04-17 22:14:15 +00:00
skodak c57d88740f MDL-8802 fixed byteserving broken by adobe anti xss patch; merged from MOODLE_18_STABLE 2007-04-04 19:45:17 +00:00
skodak 2c793dc775 MDL-9017 add mime type for ico files; merged from MOODLE_18_STABLE 2007-03-23 13:06:51 +00:00
skodak e10bc44045 MDL-7586 added opendocument mimetype icons, created by Pete Harlow, see http://opendocumentfellowship.org/icon/examples 2007-01-20 15:00:17 +00:00
skodak 60f9e36ee8 MDL-8223 - last global $course hacks removed 2007-01-19 10:29:03 +00:00
skodak ee7f231d08 revised adobe XSS protection SC#346 2007-01-06 15:22:23 +00:00
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak b8806cccdf Adobe Acrobat JavaScript Execution Bug SC#346 2007-01-03 23:35:03 +00:00
skodak 8ee88311d1 MDL-8018 testing and bugfixing of curl emulation library + added download_file_content() into filelib.php 2007-01-02 22:44:59 +00:00
skodak 2098f6ddbb MDL-8029 obsoleted file_get_contents() emulation removed from filelib 2006-12-30 21:14:24 +00:00
skodak 70ee284143 MDL-8007 mimetype support for htc files, see http://support.microsoft.com/kb/306231 2006-12-29 20:57:48 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
skodak 4db69ffb82 Scalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many Browsers MDL-6878, patch submitted by Geoffrey Rowland, thanks! 2006-10-08 08:13:41 +00:00