Commit Graph

50 Commits

Author SHA1 Message Date
scyrma 0f4aa108d9 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.
2008-04-08 03:00:30 +00:00
toyomoyo f3768c4094 making multibyte filename appear correctly under IE download 2007-10-30 00:32:27 +00:00
poltawski c3b4148b48 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.

merged from MOODLE_19_STABLE
2007-10-19 14:48:38 +00:00
poltawski 8569a0b96f MDL-11766 download_file_content is quite broken with proxies - lacking global
CFG definition, so must never have worked, also incorrectly specified proxyhost..

Merged from MOODLE_19_STABLE
2007-10-19 11:46:58 +00:00
nfreear 23ae278546 Fix MDL-7436 Accessibility "Indicate type of resource in the name of the resource". Merged 2007-09-25 15:36:43 +00:00
moodler 4cd5906993 Added new mime-types for Office 2007 documents MDL-9940 2007-08-23 06:42:24 +00:00
Martin Langhoff f5c39e0b23 cvsimport fixups 2007-08-29 13:13:58 +12:00
toyomoyo 9725881e50 MDL-10856, fixing mp3 filter by placing utf.js include in <head> 2007-08-17 04:57:08 +00:00
moodler ee87411fa9 Merged support for flv from stable 1.8 2007-07-19 05:45:17 +00:00
skodak e2dd0ea71e MDL-8802 fixed byteserving broken by adobe anti xss patch 2007-04-04 19:43:53 +00:00
skodak 5b78424ea3 MDL-9017 add mime type for ico files 2007-03-23 13:05:34 +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