Dries Buytaert
6f49c59815
- Patch #786322 by trevjs: documentation for file_load_multiple() still mentions {files} table, and is not conformant to standards.
2010-07-01 00:44:04 +00:00
Dries Buytaert
344f5cb850
- Patch #693084 by dhthwy, jpmckinney, reglogge, clemens.tolboom, naxoc, chx: file_munge_filename() extension handling broken by move to File Field.
2010-06-26 19:55:47 +00:00
Dries Buytaert
c28bba827e
- Patch #834924 by jhodgdon: entity_invoke() is worthless.
2010-06-23 02:45:35 +00:00
Angie Byron
f0a18039e2
#573288 by eMPee584: Clarify File.inc function documentation that several functions _must_ be fed a stream wrapper URI.
2010-06-20 23:53:52 +00:00
Dries Buytaert
3620310d7c
- Patch #818206 by Berdir et al: apply coding standard for no-arg constructors.
2010-06-17 13:16:57 +00:00
Dries Buytaert
f6d56f96c3
- Patch #551658 by Stevel: improve directory testing.
2010-06-14 13:33:45 +00:00
Angie Byron
7affd91ab6
#551658 follow-up by pwolanin: Revert back to D6-style temporary folder logic to avoid various platform issues.
2010-06-12 08:15:15 +00:00
Dries Buytaert
d689318629
- Patch #701358 by aaron, quicksketch, chx, pwolanin, aspilicious: the file API presumes a hiearchical file storage.
2010-06-02 13:09:34 +00:00
Dries Buytaert
a495441521
- Patch #777830 by Wim Leers: file_create_url() does not support protocol-relative nor root-relative file URLs.
2010-05-11 10:56:04 +00:00
Angie Byron
a724915f82
#551658 by pwolanin, aaron, drewish: Move private files to an opt-in system, and no longer force private files to live within web-accessible directory.
2010-04-30 01:33:17 +00:00
Dries Buytaert
bdb7e56143
- Patch #741578 by nikgregory, andypost, Berdir, noahb: 'File' is a reserved word that should not be used.
2010-04-10 17:30:15 +00:00
Dries Buytaert
d428fe37b9
- Patch #681538 by aspilicious, jhodgdon, trevjs: fixed possibly broken @see also links.
2010-03-26 17:14:46 +00:00
Dries Buytaert
5c07276020
- Patch #700160 by naxoc: drupal_realpath() did not always work as expected.
2010-02-01 19:07:07 +00:00
Angie Byron
02c1eeee3f
#684202 by catch: Added Entity insert/delete/update hooks, to support caching.
2010-01-30 02:01:41 +00:00
Dries Buytaert
1df3cfffef
- Patch #284899 by c960657, voxpelli, mattconnolly: fixed Drupal url problem with clean urls.
2010-01-29 22:40:41 +00:00
Dries Buytaert
d53f3e39d5
- Patch #685074 by pwolanin: some stream wrappers need to be hidden or read-only.
2010-01-26 08:29:25 +00:00
Dries Buytaert
af3f94b37e
- Patch #693614 by asimmonds: fixed PHPDoc spelling typos.
2010-01-25 10:38:35 +00:00
Dries Buytaert
949ccddb91
- Patch #666024 by boombatower, mcrittenden: code and documentation clean-ups.
2009-12-30 08:16:55 +00:00
Dries Buytaert
cc13b34703
- Patch #623276 by jhodgdon: fixed documentation for file_scan_directory() is incorrect.
2009-11-05 03:37:08 +00:00
Dries Buytaert
cbd7938955
- Patch #611032 by c960657: fixed bug with wrong variable used in file_build_uri(). Added tests.
2009-10-23 01:00:52 +00:00
Dries Buytaert
6e9edc1379
- Patch #594518 by jhodgdon: better documentation for file_munge_filename().
2009-10-18 18:36:24 +00:00
Dries Buytaert
24c259cdd8
- Patch #601570 by effulgentsia: hook_exit() and other cleanup needs to happen for AJAX requests too.
2009-10-13 21:16:44 +00:00
Dries Buytaert
f67e438b41
- Patch #373606 by jhodgdon, aj045: improved file_save_upload() documentation.
2009-10-13 15:46:03 +00:00
Angie Byron
0ca8f9b2d7
#573292 by eMPee584: Allow enable file_unmanaged_delete() to handle stream wrapper URIs.
2009-10-09 18:38:52 +00:00
Dries Buytaert
c05f2181dc
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
2009-10-09 01:00:08 +00:00
Dries Buytaert
7178f6b173
- Patch #451604 by brianV, sun | Dries, c960657: rename drupal_set_header().
2009-09-30 18:36:02 +00:00
Dries Buytaert
67f2c101c1
- Patch #584966 by mr.baileys, sun: add doxygen group for PHP function wrappers in Drupal.
2009-09-28 22:22:54 +00:00
Dries Buytaert
41dca3c4e0
- Patch #331171 by pwolanin, mfb, drewish: allow modules to alter the MIME extension mapping rather than setting a huge variable.
2009-08-31 05:47:34 +00:00
Dries Buytaert
feb4845493
- Patch #499156 by Wim Leers: add hook_file_alter() so we can integrate with CDNs.
2009-08-29 06:57:27 +00:00
Dries Buytaert
eca9c6cc16
- Patch #561520 by Pasqualle: is an object.
2009-08-29 05:39:37 +00:00
Dries Buytaert
3f36af04de
- Patch #460320 by catch, fago, Frando: standardized, pluggable entity loading for nodes, users, taxonomies, files and comments.
2009-08-25 21:53:48 +00:00
Angie Byron
2c55219315
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
2009-08-24 00:14:23 +00:00
Angie Byron
e63e85020b
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
2009-08-24 00:10:46 +00:00
Angie Byron
4ae238ea57
*** empty log message ***
2009-08-24 00:02:05 +00:00
Angie Byron
b2730e86d5
#552066 by quicksketch and pwolanin: Fix bug with file_save_upload() and trailing slashes (with tests).
2009-08-19 08:38:09 +00:00
Angie Byron
b41323642b
#517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://.
2009-08-17 19:14:42 +00:00
Dries Buytaert
9b4013fd82
- Patch #504422 by catch, drewish: file_load_multiple() missing a sanity check.
2009-08-17 06:33:31 +00:00
Angie Byron
e66d0b7519
#511760 follow-up by rfay: Improve error messages in file_unmanaged_copy().
2009-08-11 04:50:36 +00:00
Dries Buytaert
5ee5b5f699
- Patch #493466 by arianek, jhodgdon: documentation for file_save_upload inaccurately describes a parameter.
2009-08-02 05:43:54 +00:00
Dries Buytaert
5468b47b91
- Patch #227232 by dopry, c960657, jmstacey, pwolanin, aaron, drewish: added initial support for PHP file wrappers.
2009-07-27 19:53:18 +00:00
Dries Buytaert
444ae51f17
- Patch #520664 by rfay, quicksketch: file_get_mimetype() should not be case-sensitive. Comes with more and better tests.
2009-07-20 19:02:38 +00:00
Dries Buytaert
23e704747d
- Patch #519612 by quicksketch: added drupal_function_exists() to file validators.
2009-07-16 10:46:46 +00:00
Dries Buytaert
6dc5b5449d
- Patch #491456 by quicksketch, drewish, et al: image effects and actions.
2009-07-12 08:36:35 +00:00
Angie Byron
731126f499
#462242 by rednahead and drewish: Remove stray global user that's doing nothing.
2009-07-10 04:08:20 +00:00
Angie Byron
0f3761b99d
#515280 by drewish: Allow file_create_directory() to create recursively, taking advantage of PHP 5.
2009-07-10 03:46:33 +00:00
Dries Buytaert
a86654f876
- Patch #511760 by rfay: improve the error messages in file_unmanaged_copy().
2009-07-07 08:59:07 +00:00
Dries Buytaert
5b6680861b
- Patch #197266 by drewish: added code comment.
2009-06-09 21:33:12 +00:00
Dries Buytaert
cbd22269f8
- Patch #473652 by Damien Tournoud, catch: removed unneeded loop from file_get_mimetype() and further clean-up.
2009-06-02 13:42:40 +00:00
Dries Buytaert
a24a6c2bba
- Patch #471070 by stella: millions of code style fixes.
2009-05-24 17:39:35 +00:00
Dries Buytaert
d4a7074294
- Patch #415710 by dixon_, JohnAlbin, BMDan: fix favicon mime-type handling.
2009-05-17 10:42:16 +00:00
Dries Buytaert
526401c4c8
- Patch #147310 by c960657 et al: better cache headers for reverse proxies.
2009-04-22 09:45:03 +00:00
Dries Buytaert
f09028107c
- Patch #413732 by brianV: database code clean-up.
2009-04-20 20:02:31 +00:00
Dries Buytaert
69287245ca
- Patch #286374 by jhodgdon: fixed documentation of file_save_upload() validators.
2009-04-13 19:06:32 +00:00
Dries Buytaert
e7c7ee32a2
- Patch #381306 by plach: closing file handler to avoid problems on certain systems.
2009-03-10 09:47:42 +00:00
Dries Buytaert
0ea653502c
- Patch #373613 by quicksketch and drewish: in order to operate on images multiple
...
times (such as crop, scale, then desaturate) without quality loss, we need to
pass images by their raw GD (or other library) resources rather than re-opening
the same image repeatedly, which causes wasted processing and loss of quality when
using JPEG images. This patch reworks the image toolkits, adds some new image
manipulations and adds some impressive SimpleTests.
2009-03-09 11:44:54 +00:00
Angie Byron
665c9fdc2c
Roll-back of users -> user table name change in #330983 : Broken pgsql is no fun.
2009-02-26 07:30:29 +00:00
Dries Buytaert
071ae7bf0d
- Patch #380400 by flobruit: fixed up the documentation.
2009-02-24 17:08:18 +00:00
Dries Buytaert
5d658d0848
- Patch #380064 by c960657: make file_scan_directory() use save property names as file_load().
2009-02-22 17:55:30 +00:00
Angie Byron
ff9e842730
#330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency.
2009-02-18 15:19:57 +00:00
Angie Byron
c03b4c5408
#255551 by drewish and c960657: Array-itize file_scan_directory()'s parameters (DX improvement).
2009-02-18 15:07:27 +00:00
Angie Byron
52c17c6d3e
#373502 by drewish and sun: Add function to delete unmanaged files recurisevely (with tests).
2009-02-13 00:39:01 +00:00
Angie Byron
2c381622a5
#88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified.
2009-01-31 16:50:57 +00:00
Dries Buytaert
938c7c07a3
- Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3.
2009-01-22 12:46:07 +00:00
Angie Byron
18e62bf8c5
#361514 by Dave Reid and drewish: Use file name in file error messages.
2009-01-21 02:07:10 +00:00
Angie Byron
cb07c9992b
#30520 follow-up by Dave Reid: Fix error message about upload when not uploading a file (with tests, so we don't break it again).
2009-01-20 02:56:05 +00:00
Angie Byron
c3d9c5285a
#334303 by drewish: Handle overwriting of managed files, with tests.
2009-01-10 06:09:54 +00:00
Dries Buytaert
2e1827d040
- Patch #341910 by Josh Waihi, drewish et al: file_space_used() was not properly checking bitmapped status values. Added unit tests too.
2009-01-06 12:00:40 +00:00
Angie Byron
7e9ce5c584
#30520 by drewish: Notify user if they've uploaded a file bigger than max_upload_filesize.
2009-01-05 04:26:54 +00:00
Dries Buytaert
86aa636c8b
- Patch #353207 by CitizenKane and drewish: cleaned up the FILE_STATUS_TEMPORARY field.
2009-01-02 21:45:11 +00:00
Dries Buytaert
d813e3679c
- Patch #348201 by catch: make it possible to load multiple files with fewer queries.
2008-12-31 11:08:47 +00:00
Dries Buytaert
92a8adea65
- Patch #352470 by scor: fixed typos and grammar in comments.
2008-12-30 16:43:20 +00:00
Dries Buytaert
eab8a13bcb
- Patch #341910 by mayer: make file_space_used work on PostgreSQL.
2008-12-04 11:09:33 +00:00
Dries Buytaert
dc65b62ace
- Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up).
2008-11-16 19:41:14 +00:00
Dries Buytaert
9ccdaf2594
- Patch #207736 by anantagati, BartVB, drewish et al: fixed undefined index.
2008-11-16 14:58:28 +00:00
Dries Buytaert
50b3072f55
- Rollback of patch #74645 -- breaks installer.
2008-11-08 22:04:03 +00:00
Dries Buytaert
ceaf8a0c74
- Patch #74645 by drewish, Robin Monks, tayknight: clean up file_scan_directory API to use regex.
2008-11-08 21:49:47 +00:00
Dries Buytaert
4447e45ac4
- Patch #331013 by drewish: remove file_set_status in favor of file_save().
2008-11-08 21:35:10 +00:00
Dries Buytaert
8f533b9e8c
- Patch #322777 by Damien Tournoud: file_check_directory() was badly documented.
2008-10-19 20:18:58 +00:00
Angie Byron
f76acb2d9d
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
2008-10-12 04:30:09 +00:00
Angie Byron
b9e998170d
#205227 by mpare and mfb: Fix logic in file_transfer with ob_end_clean().
2008-10-11 20:41:53 +00:00
Dries Buytaert
9b33d54ef5
- Patch #319183 by drewish: clean up file.inc documentation.
2008-10-09 20:07:00 +00:00
Angie Byron
f841d1a764
#142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :)
2008-10-09 00:02:29 +00:00
Angie Byron
89b4c55989
#64967 follow-up by drewish: Replace ereg with preg in file_scan_directory().
2008-09-20 03:49:24 +00:00
Angie Byron
f2c05c63f9
#197266 by ufku, lilou, Dave Reid, and c960657: Avoid unnecessary query if there is no user limit on uploaded files.
2008-09-19 03:40:32 +00:00
Dries Buytaert
7f29b14277
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
2008-09-17 07:11:59 +00:00
Angie Byron
7f9344c463
#230932 follow-up by drewish: Uppercase FALSE constant.
2008-09-16 23:55:42 +00:00
Angie Byron
e7ac5c58fd
#308434 by drewish, dopry, quicksketch, aaron, jhedstrom, and friends: Massive file.inc cleanup aaaaaand... tests! Yay! :D
2008-09-15 09:28:50 +00:00
Dries Buytaert
e5b0e5f76c
- Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency.
2008-09-06 08:36:22 +00:00
Dries Buytaert
2b07665033
- Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support.
2008-09-05 09:25:52 +00:00
Dries Buytaert
0d78974283
- Patch by Heine, Damien, drumm, scor, mark burdett: fixed XSS problems via private downloads.
2008-08-14 12:10:47 +00:00
Dries Buytaert
55018d34e9
- Patch #257537 by dopry: made file_check_directory less verbose on success.
2008-07-05 18:34:29 +00:00
Dries Buytaert
6e2358b232
- Patch #270045 by drewish, Susurrus: clean up return values.
2008-06-18 03:36:24 +00:00
Dries Buytaert
c529e4afbe
- Patch #101543 by webchick: document all constants.
2008-05-26 17:12:55 +00:00
Dries Buytaert
3cbfa1dac6
- Patch #230932 by ryanlath: file_scan_directory() didn't scan the directory called '0'.
2008-04-23 18:17:41 +00:00
Dries Buytaert
56d2664a90
- Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators.
2008-04-14 17:48:46 +00:00
Dries Buytaert
aa31e870c0
- Patch #218915 by keith and jakeg: fixed typo in watchdog() call.
2008-02-17 20:01:49 +00:00
Gábor Hojtsy
4bdf24ea52
#210219 by htalvitie, yched: initialize block caching properties properly on install (and update bugos RC2 sites as well)
2008-01-28 19:56:27 +00:00
Gábor Hojtsy
10f7a8faa8
#193331 by ufku: the replace parameter was not used in file_save_upload() as documented, fix this
2008-01-28 17:00:36 +00:00
Gábor Hojtsy
279d2d4c44
#213517 by ax: inline documentation cleanup, fixing four unclosed @defgroups
2008-01-28 16:05:17 +00:00
Gábor Hojtsy
8ec14386b8
#207947 by Rok Zlender: whitespace missing between error messages in file.inc
2008-01-09 10:39:48 +00:00