Commit Graph

99 Commits

Author SHA1 Message Date
scyrma
eb37800b50 MDL-15405: missing check 2008-09-09 09:08:43 +00:00
dongsheng
aae85978ec MDL-13766, users can delele their own cache files in fp. 2008-09-08 08:48:07 +00:00
scyrma
78c809c437 MDL-15405: draftfile url rewriting function now working as it should for a nice bunch of test cases. 2008-09-08 06:09:11 +00:00
skodak
7983d68231 MDL-14589 sample function for draft area files migration and relinking 2008-09-07 22:34:18 +00:00
mjollnir_
0b46f19e89 MDL-16359 - adding support for mimeinfo_from_icon to return all matches
(needed for portfolio format support)
2008-09-05 16:43:44 +00:00
scyrma
98bc644685 MDL-15405: add more (still partial) support for inline files in user profiles. 2008-09-05 11:02:48 +00:00
scyrma
237806f4f0 MDL-14589: clean up function & correct the link to userfile.php. 2008-09-04 09:03:44 +00:00
scyrma
f74e60183e MDL-15405: removing leftover debugging code 2008-09-04 02:07:51 +00:00
scyrma
927ce88759 MDL-15405: Add support for relinking of inline media 2008-09-04 01:56:50 +00:00
scyrma
c7ca878147 MDL-15405: moving function into file_storage & simplify things a bit. 2008-09-02 07:30:18 +00:00
scyrma
c0a15bdf4a MDL-15405: first draft - function to move a file from user_draft to the good filearea, post form-submission. 2008-09-01 10:33:20 +00:00
scyrma
22aa775ab2 MDL-15405: first version of post-upload content rewriting function 2008-09-01 06:15:08 +00:00
dongsheng
c926013059 MDL-13766
1. Change location of cached and downloaded files
2. Clean up expired cache files
3. Remove downloaded files after completing moving
2008-08-28 06:23:23 +00:00
skodak
9e5fa330f3 MDL-14589 new file not found general function 2008-08-16 17:23:19 +00:00
dongsheng
d7e122d69f MDL-13766, add default vaule for cache expired time. 2008-08-13 01:40:09 +00:00
skodak
29e3d7e2dc MDL-16011 improved inline docs and removed obsoleted readfile_chunked() 2008-08-12 15:33:16 +00:00
mjollnir_
15325f557d MDL-16007 - fix up calls to ignore_user_abort 2008-08-12 15:15:38 +00:00
skodak
45c0d22490 MDL-16007 remoevd dontdie param from sent_temp_file() 2008-08-12 15:09:46 +00:00
mjollnir_
b379f7d99b MDL-16007 - add new $dontdie parameter to the send_ file functions 2008-08-12 12:54:54 +00:00
mjollnir_
5035a8b486 MDL-15991 - allow curl library to POST files by integrating with stored_file object. 2008-08-09 13:35:33 +00:00
skodak
0b0bfa9345 MDL-15919, MDL-15920 reworked support for archiving 2008-08-08 10:22:59 +00:00
dongsheng
c8a5c6a4e0 MDL-11789, apply $CFG->filelifetime in send_file function. 2008-08-07 06:09:58 +00:00
skodak
6c0e2d08a9 MDL-14589 improved file handling operations & towards zipping support 2008-08-02 12:45:02 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
dongsheng
6135bd451e "MDL-15822, deal with time-out problem of boxnet lib" 2008-07-28 04:08:22 +00:00
dongsheng
bb2c046d5c MDL-13766
1. Move curl and repository_cache class to filelib.php
2. Name the file before downloading it
3. clean up code
2008-07-18 07:40:12 +00:00
scyrma
b0374a1692 MDL-14279: Fixes for regressions created by the get_file_url massive change (merge from 1.9) 2008-07-11 02:31:19 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
skodak
c87c428e05 MDL-11905 send temp file support; merged from MOODLE_19_STABLE 2008-07-05 15:34:54 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
fmarier
4b270c4c3e filelib: Add .ics files to the mimetypes array (MDL-15188)
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:34:43 +00:00
scyrma
4638009bfc MDL-15032: add quotes to make it possible to correctly send files with names containing spaces (merge from 1.9) 2008-05-28 07:44:35 +00:00
scyrma
5e19ea3206 MDL-13792: fixing problem in the previous patch, where filename contain spaces (merge from 1.9) 2008-05-28 05:17:13 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
thepurpleblob
15c31560d8 MDL-14659
Add bypass list for proxy usage.
2008-05-06 14:59:39 +00:00
sam_marshall
5ef082df38 doc comment change: improved comment on download_file_content to clarify $headers 2008-04-10 12:07:58 +00:00
scyrma
74369ab567 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. (merge from 1.8
and 1.9)
2008-04-08 03:04:52 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
83947a36a8 MDL-14073 New param for download_file_content: skipcertcheck. ssl now used in recaptchalib 2008-03-31 12:13:46 +00:00
sam_marshall
44e02d79ab MDL-14051 Changed timeout behaviour for download_file_content so curl has a read timeout 2008-03-26 13:00:48 +00:00
skodak
36bddcf5fb MDL-13949 removed adobe reader XSS bug workaround; merged from MOODLE_19_STABLE 2008-03-17 12:36:26 +00:00
skodak
f36cbf1d6e MDL-13214 rebuild_course_cache fixes and speed improvements; merged from MOODLE_19_STABLE 2008-02-01 07:48:26 +00:00
skodak
599f06cff1 MDL-11845 fixed security issues in curl related code in new download_file_content() + minor fixes in Snoopy; merged from MOODLE_19_STABLE 2007-12-31 23:18:06 +00:00
skodak
6bf55889dd 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; merged from MOODLE_19_STABLE 2007-12-31 15:37:12 +00:00
poltawski
ee3501f124 MDL-11845 - use the http 1.0 'Moved Temporarily' rather than unhelpful 'Found'
merged from MOODLE_19_STABLE
2007-12-30 23:10:42 +00:00
skodak
5f8bdc17a8 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; merged from MOODLE_19_STABLE 2007-12-30 19:42:51 +00:00
toyomoyo
4f047de2aa making multibyte filename appear correctly under IE download 2007-10-30 00:35:18 +00:00
poltawski
08ec989fd0 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:47:14 +00:00
poltawski
e27f076535 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:45:21 +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