[moodle] / moodle / file.php Repository:

Log of /moodle/file.php

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Nov 1 06:02:06 2009 WST (4 months, 2 weeks ago) by skodak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.59: +3 -3 lines
Diff to previous 1.59
MDL-20693 new NO_DEBUG_DISPLAY define

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu May 21 17:44:26 2009 WST (9 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.58: +100 -78 lines
Diff to previous 1.58
MDL-18111 improving file api comments and docs, fixing license header

Revision 1.46.2.5 - (view) (download) (annotate) - [select for diffs]
Thu Apr 9 17:30:32 2009 WST (11 months, 1 week ago) by skodak
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_195, MOODLE_196, MOODLE_197, MOODLE_19_MERGED, MOODLE_19_WEEKLY
Changes since 1.46.2.4: +18 -12 lines
Diff to previous 1.46.2.4 , to branch point 1.46 , to next main 1.60
MDL-18820 add module_is_moddata_trusted() callback to file.php (improved anti XSS protection for contrib modules); HEAD already has this feature

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sun Mar 29 00:07:24 2009 WST (11 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.57: +1 -7 lines
Diff to previous 1.57
MDL-14589 removed obsoleted comments

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sun Jan 18 00:25:09 2009 WST (14 months ago) by skodak
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
MDL-14992 refactored use of session_write_close()

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Tue Jan 6 06:37:20 2009 WST (14 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sun Aug 17 01:23:19 2008 WST (19 months ago) by skodak
Branch: MAIN
Changes since 1.54: +3 -8 lines
Diff to previous 1.54
MDL-14589 new file not found general function

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Aug 1 06:15:32 2008 WST (19 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.53: +35 -118 lines
Diff to previous 1.53
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

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 17:55:11 2008 WST (20 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.52: +5 -1 lines
Diff to previous 1.52
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)

Revision 1.46.2.4 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 17:48:43 2008 WST (20 months, 1 week ago) by scyrma
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_192, MOODLE_193, MOODLE_194
Changes since 1.46.2.3: +5 -1 lines
Diff to previous 1.46.2.3 , to branch point 1.46
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Jul 5 22:18:30 2008 WST (20 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.51: +12 -5 lines
Diff to previous 1.51
MDL-13776 assignment attachment access now verified in module context; merged from MOODLE_19_STABLE

Revision 1.46.2.3 - (view) (download) (annotate) - [select for diffs]
Sat Jul 5 22:17:29 2008 WST (20 months, 2 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.46.2.2: +12 -5 lines
Diff to previous 1.46.2.2 , to branch point 1.46
MDL-13776 assignment attachment access now verified in module context

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri May 16 05:40:09 2008 WST (22 months ago) by skodak
Branch: MAIN
Changes since 1.50: +14 -14 lines
Diff to previous 1.50
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

Revision 1.44.2.3 - (view) (download) (annotate) - [select for diffs]
Tue May 13 10:16:53 2008 WST (22 months, 1 week ago) by stronk7
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_1810, MOODLE_1811, MOODLE_186, MOODLE_187, MOODLE_188, MOODLE_189, MOODLE_18_MERGED, MOODLE_18_WEEKLY
Changes since 1.44.2.2: +7 -5 lines
Diff to previous 1.44.2.2 , to branch point 1.44 , to next main 1.60
Backporting MDL-14495 to 18_STABLE

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Apr 30 12:09:29 2008 WST (22 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.49: +10 -10 lines
Diff to previous 1.49
"MDL-14129, fix print_error call"

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 02:55:36 2008 WST (22 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.48: +7 -5 lines
Diff to previous 1.48
New setting in require_login() to avoid certain scripts (file.php)
to mess $SESSION->wantsurl. MDL-14495 ; merged from 19_STABLE

Revision 1.46.2.2 - (view) (download) (annotate) - [select for diffs]
Sat Apr 26 02:52:47 2008 WST (22 months, 3 weeks ago) by stronk7
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_191
Changes since 1.46.2.1: +7 -5 lines
Diff to previous 1.46.2.1 , to branch point 1.46
New setting in require_login() to avoid certain scripts (file.php)
to mess $SESSION->wantsurl. MDL-14495

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Fri Apr 4 10:54:20 2008 WST (23 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.47: +10 -10 lines
Diff to previous 1.47
MDL-14129, remove all the other error() call

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 15:17:11 2008 WST (23 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
MDL-14128, remove all error(getstring()) to print_error()

Revision 1.46.2.1 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 14:09:56 2008 WST (23 months, 2 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
MDL-14128, remove all uses of error(get_string())

Revision 1.44.2.2 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 03:09:08 2007 WST (2 years, 5 months ago) by skodak
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_183, MOODLE_184, MOODLE_185
Changes since 1.44.2.1: +2 -2 lines
Diff to previous 1.44.2.1 , to branch point 1.44
MDL-11434 $CFG->filelifetime = 0 has no effect; patch by Chris Fryer; backported from HEAD

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Sep 25 17:37:58 2007 WST (2 years, 5 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_19, MOODLE_19_BETA
Branch point for: MOODLE_19_STABLE
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
MDL-11434 $CFG->filelifetime = 0 has no effect; patch by Chris Fryer

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Apr 3 00:13:41 2007 WST (2 years, 11 months ago) by skodak
Branch: MAIN
Changes since 1.44: +8 -2 lines
Diff to previous 1.44
MDL-9168 nested site policy when forcelogin enabled; merged from MOODLE_18_STABLE

Revision 1.44.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Apr 3 00:12:26 2007 WST (2 years, 11 months ago) by skodak
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_181, MOODLE_182
Changes since 1.44: +8 -2 lines
Diff to previous 1.44
MDL-9168 nested site policy when forcelogin enabled

Revision 1.31.6.1 - (view) (download) (annotate) - [select for diffs]
Sun Mar 25 22:48:27 2007 WST (2 years, 11 months ago) by moodler
Branch: MOODLE_16_STABLE
CVS Tags: MOODLE_165, MOODLE_166, MOODLE_167, MOODLE_168, MOODLE_169, MOODLE_16_WEEKLY
Changes since 1.31: +8 -6 lines
Diff to previous 1.31 , to next main 1.60
Restoring changes all the changes in MOODLE_16_STABLE since MOODLE_16_BETA.

This had to be done because the MOODLE_16_STABLE branch tags were moved.

Hopefully after this MOODLE_16_STABLE will be back to how it was (and a
proper branch) but some of the history may look a bit odd.

See MDL-9032 for more discussion and details.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri Dec 29 06:21:48 2006 WST (3 years, 2 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_18, MOODLE_18_BETA
Branch point for: MOODLE_18_STABLE
Changes since 1.43: +20 -14 lines
Diff to previous 1.43
MDL-8015 improved file uploading
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Nov 20 16:31:48 2006 WST (3 years, 3 months ago) by toyomoyo
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE, MOODLE_18_GROUPS_PRE_MERGE
Branch point for: MOODLE_18_GROUPS
Changes since 1.42: +6 -4 lines
Diff to previous 1.42
adding attachment for blogs

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Oct 2 04:04:53 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_17, MOODLE_171, MOODLE_172, MOODLE_173, MOODLE_174, MOODLE_175, MOODLE_176, MOODLE_177, MOODLE_17_BETA, MOODLE_17_BETA2, MOODLE_17_MERGED, MOODLE_17_WEEKLY
Branch point for: MOODLE_17_STABLE
Changes since 1.41: +3 -2 lines
Diff to previous 1.41
Advanced Upload assignment type - student can't read teacher's uploaded response file MDL-6771

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Sep 25 16:53:10 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.40: +5 -2 lines
Diff to previous 1.40
fix for MDL-6599 - problem with hiding of resource when $CFG->preventaccesstohiddenfiles enabled

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sat Sep 23 17:38:39 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.39: +3 -5 lines
Diff to previous 1.39
debugging and error reporting level fixes and improvements MDL-6671

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 14:38:27 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.38: +7 -2 lines
Diff to previous 1.38
removed moodle specific debug messages from file.php

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 01:51:59 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.37: +2 -4 lines
Diff to previous 1.37
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.

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Sep 17 01:15:18 2006 WST (3 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.36: +7 -6 lines
Diff to previous 1.36
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE

Revision 1.31.2.2 - (view) (download) (annotate) - [select for diffs]
Sun Sep 17 01:11:00 2006 WST (3 years, 6 months ago) by skodak
CVS Tags: MOODLE_163, MOODLE_164, MOODLE_16_MERGED
Changes since 1.31.2.1: +7 -6 lines
Diff to previous 1.31.2.1 , to branch point 1.31 , to next main 1.60
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 17:08:07 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.35: +2 -3 lines
Diff to previous 1.35
changing sql calls from user_students table to role_assignments table

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 14:43:01 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
fixing missing bracket

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 11:18:55 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
replacing legacy calls

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Sep 5 16:50:23 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32
adding capabilities

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Jul 31 06:44:50 2006 WST (3 years, 7 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_17_NEWGROUPS_PRE
Branch point for: MOODLE_17_NEWGROUPS
Changes since 1.31: +2 -1 lines
Diff to previous 1.31
SC #280 force downloading of database files; merged from MOODLE_16_STABLE

Revision 1.31.2.1 - (view) (download) (annotate) - [select for diffs]
Mon Jul 31 06:43:58 2006 WST (3 years, 7 months ago) by skodak
CVS Tags: MOODLE_162
Changes since 1.31: +2 -1 lines
Diff to previous 1.31
SC #280 force downloading of database files

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 20:54:24 2006 WST (4 years ago) by thepurpleblob
Branch: MAIN
CVS Tags: MOODLE_16, MOODLE_161, MOODLE_16_BETA
Branch point for: MOODLE_16_STABLE, MOODLE_17_ROLES
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
Corrected oversight with uploaded file filters change
See http://moodle.org/mod/forum/discuss.php?d=40177

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Jul 12 16:05:42 2005 WST (4 years, 8 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_16_AUTHREFACTOR_PRE, MOODLE_16_MULTIENROL_MP1, MOODLE_16_MULTIENROL_PRE, MOODLE_16_UTF8_PRE
Branch point for: MOODLE_16_AUTHREFACTOR, MOODLE_16_MULTIENROL, MOODLE_16_UTF8
Changes since 1.29: +17 -4 lines
Diff to previous 1.29
new parameter forcedownload; merged from MOODLE_15_STABLE

Revision 1.29.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Jul 12 16:01:39 2005 WST (4 years, 8 months ago) by skodak
Branch: MOODLE_15_STABLE
CVS Tags: MOODLE_152, MOODLE_153, MOODLE_154, MOODLE_15_MERGED
Changes since 1.29: +17 -4 lines
Diff to previous 1.29 , to next main 1.60
new parameter forcedownload

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue May 17 09:00:48 2005 WST (4 years, 10 months ago) by martinlanghoff
Branch: MAIN
CVS Tags: MOODLE_15, MOODLE_151, MOODLE_15_BETA
Branch point for: MOODLE_15_STABLE
Changes since 1.28: +2 -1 lines
Diff to previous 1.28
Merged from MOODLE_14_STABLE - Unlock session during fileserving.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Mar 7 19:34:16 2005 WST (5 years ago) by moodler
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
Call new lib/filelib.php

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sun Feb 27 04:43:30 2005 WST (5 years ago) by skodak
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
slashargument test fix

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Feb 23 07:36:18 2005 WST (5 years ago) by skodak
Branch: MAIN
Changes since 1.25: +38 -12 lines
Diff to previous 1.25
SC#98 protection of uploaded files in resources, please review and test

Revision 1.22.2.5 - (view) (download) (annotate) - [select for diffs]
Thu Jan 13 15:13:43 2005 WST (5 years, 2 months ago) by moodler
Branch: MOODLE_14_STABLE
CVS Tags: MOODLE_144, MOODLE_145, MOODLE_14_MERGED
Changes since 1.22.2.4: +3 -1 lines
Diff to previous 1.22.2.4 , to branch point 1.22 , to next main 1.60
Small fix that prevents large files from hogging the session... Just this
should be good for most situations but 1.4.3 maintainers feel free to
do this more comprehensively as per the moodle.org discussion on it.  ;-)

Revision 1.22.2.4 - (view) (download) (annotate) - [select for diffs]
Thu Dec 23 05:30:04 2004 WST (5 years, 2 months ago) by skodak
Branch: MOODLE_14_STABLE
Changes since 1.22.2.3: +2 -2 lines
Diff to previous 1.22.2.3 , to branch point 1.22
Reverting accept-ranges change, it did break PDFs on one site - see http://moodle.org/mod/forum/discuss.php?d=16465

Revision 1.22.2.3 - (view) (download) (annotate) - [select for diffs]
Sun Dec 19 22:03:02 2004 WST (5 years, 3 months ago) by moodler
Branch: MOODLE_14_STABLE
CVS Tags: MOODLE_143
Changes since 1.22.2.2: +4 -1 lines
Diff to previous 1.22.2.2 , to branch point 1.22
Fix for SC44 to disallow dots in $file parameter

Revision 1.22.2.2 - (view) (download) (annotate) - [select for diffs]
Thu Dec 16 06:18:48 2004 WST (5 years, 3 months ago) by skodak
Branch: MOODLE_14_STABLE
Changes since 1.22.2.1: +3 -2 lines
Diff to previous 1.22.2.1 , to branch point 1.22
improved directory handling and PDF compatibility SC#5

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed Dec 15 02:57:33 2004 WST (5 years, 3 months ago) by skodak
Branch: MAIN
Changes since 1.24: +89 -86 lines
Diff to previous 1.24
new handling of uploaded files, please TEST, TEST, TEST

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Sep 30 02:19:29 2004 WST (5 years, 5 months ago) by dhawes
Branch: MAIN
Changes since 1.23: +46 -34 lines
Diff to previous 1.23
Added a file level phpdoc docblock tag. Also converted double quote strings to single quote literals.

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Sep 7 22:13:19 2004 WST (5 years, 6 months ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_15_LDAP_PRE
Branch point for: MOODLE_15_LDAP
Changes since 1.22: +4 -4 lines
Diff to previous 1.22
Merged from stable

Revision 1.22.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Sep 7 22:11:59 2004 WST (5 years, 6 months ago) by moodler
Branch: MOODLE_14_STABLE
CVS Tags: MOODLE_141, MOODLE_142
Changes since 1.22: +4 -4 lines
Diff to previous 1.22
CourseID is now mandatory on file.php

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Aug 18 13:59:14 2004 WST (5 years, 7 months ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_13_MERGED, MOODLE_14, MOODLE_14_BETA
Branch point for: MOODLE_14_STABLE
Changes since 1.21: +2 -1 lines
Diff to previous 1.21
Added a 404 header but it seems not to work ... not sure why not.

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Aug 18 13:47:55 2004 WST (5 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20
Remove possible path disclosure and add a translatable error message

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Aug 10 18:44:29 2004 WST (5 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19
Don't put HTML and text files through clean_text.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Aug 4 17:45:45 2004 WST (5 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18
FIxed link after file not found error

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri May 28 09:17:37 2004 WST (5 years, 9 months ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_131, MOODLE_134, MOODLE_135, MOODLE_14_RESOURCE_PRE, Moodle_13_pre14merge
Branch point for: MOODLE_13_STABLE, MOODLE_14_RESOURCE
Changes since 1.17: +3 -1 lines
Diff to previous 1.17
Use forcelogin on site files if it's defined   bug 1486

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat May 1 11:33:10 2004 WST (5 years, 10 months ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_13, Moodle_13_Beta
Branch point for: Moodle_14_dev
Changes since 1.16: +7 -1 lines
Diff to previous 1.16
Parameters fix for files.

This allows

   http://example.com/file.php/1/somefile.swf?a=xxx&b=xxxx

Thanks to Bernard Boucher!

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Apr 26 11:41:45 2004 WST (5 years, 10 months ago) by moodler
Branch: MAIN
Changes since 1.15: +11 -7 lines
Diff to previous 1.15
file.php now calculates content-length correctly for filtered text and HTML files.

Bug 1240

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Apr 1 10:32:04 2004 WST (5 years, 11 months ago) by moodler
Branch: MAIN
CVS Tags: PREBLOCKS
Changes since 1.14: +6 -4 lines
Diff to previous 1.14
Can now handle a  $CFG->filelifetime  to determine cacheability of files

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Mar 16 15:20:00 2004 WST (6 years ago) by moodler
Branch: MAIN
CVS Tags: Moodle_12, Moodle_121
Changes since 1.13: +5 -1 lines
Diff to previous 1.13
Some security fixes with directory listing

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Mar 11 10:14:14 2004 WST (6 years ago) by moodler
Branch: MAIN
Changes since 1.12: +19 -13 lines
Diff to previous 1.12
Added an option on the filters page to control whether uploaded
files are parsed by filters.    bug 1128

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Mar 9 14:44:27 2004 WST (6 years ago) by moodler
Branch: MAIN
Changes since 1.11: +15 -6 lines
Diff to previous 1.11
Filter text files as well

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Mar 9 14:28:01 2004 WST (6 years ago) by moodler
Branch: MAIN
Changes since 1.10: +7 -2 lines
Diff to previous 1.10
If the uploaded file is HTML, then put it through the filters

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Nov 28 01:23:36 2003 WST (6 years, 3 months ago) by moodler
Branch: MAIN
CVS Tags: PREGROUPS
Changes since 1.9: +3 -1 lines
Diff to previous 1.9
Decode pathinfo in case it has encoded spaces etc in it

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Jan 15 18:55:52 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
CVS Tags: Moodle_109, Moodle_109_B1, Moodle_11, Moodle_111, Moodle_11b, dev-2003041600
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Jan 15 13:32:14 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
Bummer ... I introduced a new bug in 1.0.8.1 with pathinfo.  Fixed.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Jan 12 14:53:24 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.6: +7 -5 lines
Diff to previous 1.6
Cleaned up file argument processing a bit

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Jan 5 22:19:17 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
Clean sweep through all the important changing all include(), include_once()
and require() to require_once()

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Sep 5 19:56:20 2002 WST (7 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4
Better error message when invalid arguments are supplied.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Sep 2 17:06:43 2002 WST (7 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3
Added Content-disposition header to help some browsers suggest the right
filename when saving pictures and files.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Aug 26 17:48:00 2002 WST (7 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.2: +6 -2 lines
Diff to previous 1.2
Changes to use a new configuration variable: CFG->slasharguments

If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc.  Unfortunately
it doesn't seem to work on some PHP installations.

If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 23:48:24 2001 WST (8 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.1: +7 -4 lines
Diff to previous 1.1
Several changes related to the front page, so that it now works OK.

Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Thu Nov 22 14:23:56 2001 WST (8 years, 3 months ago) by martin
Branch: moodle
CVS Tags: base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.60
moodle

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Nov 22 14:23:56 2001 WST (8 years, 3 months ago) by martin
Branch: MAIN
Branch point for: moodle
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.10