445 Commits

Author SHA1 Message Date
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
skodak
a17c57b5e3 Partially reversed patch for http://tracker.moodle.org/browse/MDL-5136, caching of filtered uploaded html files is disabled now MDL-5136 , Eloy is changing the column type in cache_text back to TEXT. 2006-09-22 18:08:53 +00:00
skodak
ba4e0b059d fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox. 2006-09-20 17:51:59 +00:00
sam_marshall
ba75ad9400 Minor changes to send_file():
* Wrote phpdoc comment that documents all parameters
* Added $mimetype param (default empty) that can be used if MIME type is already known and doesn't need guessing from filename
2006-07-05 11:10:37 +00:00
skodak
aba588a726 Bug #5802 - Incorrect length in http partial content (206) packets.; merged from MOODLE_16_STABLE 2006-06-30 07:23:08 +00:00
sam_marshall
c0381e22da Added way to get a textual description of a file (e.g. 'Word document') based on its MIME type. 2006-03-09 13:14:33 +00:00
sam_marshall
3ce73b147f filelib - Added support for looking up icons via MIME type as well as via extension 2006-03-09 12:07:11 +00:00
tjhunt
34763a795a Change fulldelete(), so it does not give an error if the thing you try to delete does not exist. 2006-03-01 12:13:09 +00:00
thepurpleblob
b9709b76d9 Corrected oversight with uploaded file filters change
See http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 12:54:24 +00:00
thepurpleblob
2f9bd37cc3 Added proper check for $CFG->filteruploadedfiles, so that text/plain files
are not converted to text/html if this is 'off'
See discussion: http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 10:43:23 +00:00
skodak
68913aecd0 ignore set_time_limit() errors 2006-01-16 22:55:17 +00:00
skodak
8914cb828c ignore ini_set() result 2006-01-16 22:23:52 +00:00
skodak
4c8c65ecd5 added byteserving, fixed cookieless mode, changed timeout handling, minor code cleanup 2006-01-16 22:21:41 +00:00
martinlanghoff
2037106308 Merged from MOODLE_15_STABLE - readfile_chunked() - do not timeout on slow (dial up) clients, and flush buffers explicitly to avoid hogging memory when ob is on 2006-01-16 04:02:28 +00:00
moodler
6aaa17c7cc Merging language-pack-related updates from Eloy's MOODLE_16_UTF8 branch.
Do not use that branch any more!!
2006-01-04 08:23:42 +00:00
skodak
85e006261a fixed IE and https problems; merged from MOODLE_15_STABLE 2005-09-19 17:13:06 +00:00
skodak
9b76b4519e formal RFC151 compliance; merged from MOODLE_15_STABLE 2005-09-12 18:45:40 +00:00
dhawes
609d84e378 new .dmg format (icon to follow) and .tgz tar gzip alias 2005-08-04 18:31:59 +00:00
skodak
69faecceaf new parameter forcedownload; merged from MOODLE_15_STABLE 2005-07-12 08:05:42 +00:00
moodler
5395334d00 Added support for all Open Office 1.0 and 2.0 file types (bug 3068) 2005-05-04 15:19:00 +00:00
moodler
f401cc9719 Moved a generic function over 2005-04-26 15:51:31 +00:00
moodler
a00420fb30 Added some new types for Hotpot files 2005-04-25 14:09:19 +00:00
moodler
18bf47ef30 Added some more file types for programming (bug 2994) 2005-04-21 12:40:45 +00:00
moodler
a1e93da26c Improvements to timezone import interface 2005-04-10 09:31:58 +00:00
moodler
a370c8950e Tidied up some strings and added some mime types for flash etc 2005-03-07 11:42:52 +00:00
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +00:00
defacer
7ab8bb7160 Adding workaround for PHP < 4.3.0 where file_get_contents does not exist. 2005-02-25 02:46:05 +00:00
defacer
a43b5308c8 Fixed a typo in get_records_csv.
Made put_records_csv accept array of arrays as well as array of objects.
2005-02-25 02:06:42 +00:00
defacer
a77b98ebe6 Added function put_records_csv. This will be used to convert the results of
the Olson DST parser to csv format prior to importing. Could find other uses
as well.
2005-02-25 01:54:06 +00:00
defacer
599f38f9db New filelib, with get_records_csv(). 2005-02-24 02:36:45 +00:00