/[drupal]/contributions/modules/filefield/field_file.inc
ViewVC logotype

Log of /contributions/modules/filefield/field_file.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


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

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 28 04:03:24 2009 UTC (7 months ago) by quicksketch
Branch: MAIN
CVS Tags: DRUPAL-6--3-1, DRUPAL-6--3-2, HEAD
Changes since 1.32: +14 -12 lines
Diff to previous 1.32
#439952: Add $account parameter to field_file_save_file().

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 12 21:22:17 2009 UTC (7 months, 2 weeks ago) by quicksketch
Branch: MAIN
CVS Tags: DRUPAL-6--3-0
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
Comment typo cleanup.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 30 01:19:34 2009 UTC (8 months ago) by quicksketch
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-RC1
Changes since 1.30: +8 -27 lines
Diff to previous 1.30
#417774: Add Public FileField API Functions and fix field_file_references() to not be field specific.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 28 07:05:10 2009 UTC (8 months ago) by quicksketch
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29
Tiny PHPdoc correction.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 28 06:13:07 2009 UTC (8 months ago) by quicksketch
Branch: MAIN
Changes since 1.28: +14 -13 lines
Diff to previous 1.28
Code style cleanup, mostly comments and PHPdoc.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 05:46:52 2009 UTC (8 months ago) by quicksketch
Branch: MAIN
Changes since 1.27: +14 -3 lines
Diff to previous 1.27
#414212: File Not Deleted When Deleting Node with Multiple Revisions.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 19 01:50:08 2009 UTC (8 months, 1 week ago) by quicksketch
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-BETA2, DRUPAL-6--3-0-BETA3
Changes since 1.26: +19 -10 lines
Diff to previous 1.26
Code style fixes.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 16 23:44:59 2009 UTC (8 months, 1 week ago) by quicksketch
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
#404054 by seals: Double space in watchdog string.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 15 06:21:21 2009 UTC (8 months, 2 weeks ago) by quicksketch
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-BETA1
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
#367267 by markus_petrux: Set empty files to NULL instead of unsetting.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 11 01:43:47 2009 UTC (8 months, 2 weeks ago) by quicksketch
Branch: MAIN
Changes since 1.23: +6 -3 lines
Diff to previous 1.23
#370531: Properly handle revisions of FileFields.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 4 00:42:50 2009 UTC (9 months, 3 weeks ago) by dopry
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-ALPHA7
Changes since 1.22: +6 -13 lines
Diff to previous 1.22
#296869 by dopry, remove replace option from field_file_save_file and field_file_save_upload.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 3 23:22:11 2008 UTC (11 months, 3 weeks ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-ALPHA6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
Clean up some PHP warnings.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 16 07:13:23 2008 UTC (12 months, 1 week ago) by dopry
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
change module in watchdog entry from imageapi to filefield... sillly copy and past errors.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 16 07:10:40 2008 UTC (12 months, 1 week ago) by dopry
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19
#333994 by Grunog2, Not setting file permissions on uploads.   set perms to 644 after file_save_upload in field_file.inc

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 31 01:54:37 2008 UTC (12 months, 4 weeks ago) by dopry
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18
#319114 by pasqualle, fix notices in field_file_save_file using variable names copy and pasted from field_file_save_upload.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 00:59:10 2008 UTC (13 months, 2 weeks ago) by drewish
Branch: MAIN
Changes since 1.17: +4 -5 lines
Diff to previous 1.17
#318993 by stella, Patch for problems found in code review.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 27 15:05:22 2008 UTC (15 months ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-ALPHA-4, DRUPAL-6--3-0-ALPHA5
Changes since 1.16: +1 -2 lines
Diff to previous 1.16
#296704 by Amitaibu, "$file->uid = $user->uid" is set twice.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 27 13:06:35 2008 UTC (15 months ago) by drewish
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
#299380 by grandcat, use file_get_mimetype() when mimedetect.module is not installed.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 16 20:08:34 2008 UTC (15 months, 1 week ago) by drewish
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14
Removing trailing whitespace.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 31 17:07:03 2008 UTC (15 months, 4 weeks ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-alpha2, DRUPAL-6--3-0-ALPHA-1, DRUPAL-6--3-0-ALPHA-2, DRUPAL-6--3-0-ALPHA-3
Changes since 1.13: +101 -1 lines
Diff to previous 1.13
#289335 by drewish, Add field_file_save_file() to create files from the filesystem.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 13 05:00:03 2008 UTC (16 months, 2 weeks ago) by dopry
Branch: MAIN
Changes since 1.12: +17 -21 lines
Diff to previous 1.12
set mode and use recursive flag for mkdir in field_file_check_directory.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 13 02:34:31 2008 UTC (16 months, 2 weeks ago) by dopry
Branch: MAIN
Changes since 1.11: +4 -3 lines
Diff to previous 1.11
establish a default value for files as a files array with all empty or 0 valued elements.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 7 05:50:32 2008 UTC (16 months, 3 weeks ago) by dopry
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA3
Branch point for: DRUPAL-6--2
Changes since 1.10: +30 -12 lines
Diff to previous 1.10
update hook_file implementation to reflect modt recent core hook_file path with callbacks per $op.
add field_file_references($file, $field) to load references by field.
rename $item['filefield_delete'] to more descriptive $item['field_name'].

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 29 23:39:14 2008 UTC (17 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA2
Changes since 1.9: +5 -2 lines
Diff to previous 1.9
Make node deletions and revisions work again.
Note that the 5.x revision bug (#263162) does *not* appear anymore. Whoo!

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 28 07:30:32 2008 UTC (17 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1
Changes since 1.8: +7 -6 lines
Diff to previous 1.8
Fix lots of E_NOTICE errors.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 28 06:57:07 2008 UTC (17 months ago) by jpetso
Branch: MAIN
Changes since 1.7: +14 -10 lines
Diff to previous 1.7
Make Coder happy. Style fixes all over the place.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 27 23:36:31 2008 UTC (17 months ago) by jpetso
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6
Take modularization a step further, expanding it to formatters as well.
Also, for consistency, files are converted to objects (and back, in case)
every time they are passed to other modules.

Plus the usual minor cleanups and documentation fixes.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 27 18:53:27 2008 UTC (17 months ago) by jpetso
Branch: MAIN
Changes since 1.5: +52 -29 lines
Diff to previous 1.5
Centralize the file cache in field_file.inc for all concerned functions
(load, save_upload, save, delete).

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 27 18:46:23 2008 UTC (17 months ago) by jpetso
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
Oops. Er. Of course we want to return an array, not an object. Ehem.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 27 16:17:07 2008 UTC (17 months ago) by jpetso
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3
Just noticed that the obligatory $Id$ line is missing in field_file.inc.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 27 16:15:15 2008 UTC (17 months ago) by jpetso
Branch: MAIN
Changes since 1.2: +61 -9 lines
Diff to previous 1.2
Add field_file_save_upload() to field_file.inc so that we can have
'insert' and 'update' hooks for hook_file().

Also make sure that we can pass by reference in any case (so that modules
can insert properties on $op = 'load'), and adapt some style bits to
core's style conventions.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 09:48:39 2008 UTC (17 months, 1 week ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA1, DRUPAL-6--1-0-ALPHA2, DRUPAL-6--1-0-ALPHA3
Changes since 1.1: +19 -2 lines
Diff to previous 1.1
#269073 by Crell and jpetso: Initial Drupal 6 port of filefield.
Don't expect anything usable yet - it works, but still has a long way to go.

Thanks a lot to Crell for getting this thing rolling.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 11 03:57:24 2008 UTC (17 months, 2 weeks ago) by jpetso
Branch: MAIN
Starting the Drupal 6 port, reusing dopry's field_file.inc from imagefield
and Crell's D6 patch at issue #269073. filefield.module is not yet being
committed though, I don't feel like it's ready even for a -dev version
in the current state. Regard this commit as move to make it easier to work
on the #269073 patch.

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:

  ViewVC Help
Powered by ViewVC 1.1.2