111 Commits

Author SHA1 Message Date
skodak
12fab7081e fooMDL-16698 formslib filenamager element: forum converted to use new filemanaer element (no JS/picker integration for now sorry) 2008-11-19 21:53:37 +00:00
skodak
0cde3ede1c MDL-11789 fixed regressions preventing file caching when default used; merged from MOODLE_19_STABLE 2008-11-01 19:28:31 +00:00
stronk7
1349903246 Adding correct Office 2007 mime types. MDL-15987 ; merged from 19_STABLE 2008-10-17 18:05:23 +00:00
scyrma
db3a0b34d4 Files/MDL-14231: reverting previous commit. 2008-10-09 07:00:56 +00:00
scyrma
3da3316d6d Files/MDL-14231: return false on file not found so that the user is warned that the file could not be deleted. (merged) 2008-10-09 06:22:54 +00:00
jerome
f86eb734ee MDL-15800: clean filelib.php, fix https image link into the edit profil page (weblib.php), merged from 19 2008-10-07 02:26:47 +00:00
tjhunt
7a1f5e932a MDL-16706 - eliminate miscellaneous inine JavaScript
A few easy files in lib.
2008-09-26 11:24:52 +00:00
dongsheng
d04ce87faf "MDL-16440, enable curl class to use proxy by defalut" 2008-09-24 01:26:15 +00:00
skodak
a83ad94625 MDL-16596 support for total maxbytes per draft area - proper server-side validation still missing; some minor refactoring 2008-09-21 21:29:41 +00:00
skodak
b5b188ce33 MDL-16596 support for restricting of subdirectory browsing/upload 2008-09-21 20:45:07 +00:00
skodak
b933a13955 MDL-16596 reworked areafiles element 2008-09-21 15:37:07 +00:00
skodak
8546def3b6 MDL-16596 basic areafiles formslib element 2008-09-20 20:56:21 +00:00
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