Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
- Patch #623276 by jhodgdon: fixed documentation for file_scan_directory() is incorrect.
- Patch #611032 by c960657: fixed bug with wrong variable used in file_build_uri(). Added tests.
- Patch #594518 by jhodgdon: better documentation for file_munge_filename().
- Patch #601570 by effulgentsia: hook_exit() and other cleanup needs to happen for AJAX requests too.
- Patch #373606 by jhodgdon, aj045: improved file_save_upload() documentation.
#573292 by eMPee584: Allow enable file_unmanaged_delete() to handle stream wrapper URIs.
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
- Patch #451604 by brianV, sun | Dries, c960657: rename drupal_set_header().
- Patch #584966 by mr.baileys, sun: add doxygen group for PHP function wrappers in Drupal.
Drupal 6.14
#360605 by Berdir et al.: make Drupal core work with PHP 5.3.0 out of the box (fixes for incompatibilities introduced with PHP 5.3.0)
- Patch #331171 by pwolanin, mfb, drewish: allow modules to alter the MIME extension mapping rather than setting a huge variable.
- Patch #499156 by Wim Leers: add hook_file_alter() so we can integrate with CDNs.
- Patch #561520 by Pasqualle: is an object.
- Patch #460320 by catch, fago, Frando: standardized, pluggable entity loading for nodes, users, taxonomies, files and comments.
#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.
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
*** empty log message ***
#552066 by quicksketch and pwolanin: Fix bug with file_save_upload() and trailing slashes (with tests).
#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://.
- Patch #504422 by catch, drewish: file_load_multiple() missing a sanity check.
#511760 follow-up by rfay: Improve error messages in file_unmanaged_copy().
- Patch #493466 by arianek, jhodgdon: documentation for file_save_upload inaccurately describes a parameter.
- Patch #227232 by dopry, c960657, jmstacey, pwolanin, aaron, drewish: added initial support for PHP file wrappers.
- Patch #520664 by rfay, quicksketch: file_get_mimetype() should not be case-sensitive. Comes with more and better tests.
- Patch #519612 by quicksketch: added drupal_function_exists() to file validators.
- Patch #491456 by quicksketch, drewish, et al: image effects and actions.
#462242 by rednahead and drewish: Remove stray global user that's doing nothing.
#515280 by drewish: Allow file_create_directory() to create recursively, taking advantage of PHP 5.
- Patch #511760 by rfay: improve the error messages in file_unmanaged_copy().
- Patch #197266 by drewish: added code comment.
#197266 by ufku, lilou, Dave Reid, c960657, drewish: Save a query by only calling file_space_used() when a limit is provided.
- Patch #473652 by Damien Tournoud, catch: removed unneeded loop from file_get_mimetype() and further clean-up.
- Patch #471070 by stella: millions of code style fixes.
- Patch #415710 by dixon_, JohnAlbin, BMDan: fix favicon mime-type handling.
- Patch #147310 by c960657 et al: better cache headers for reverse proxies.
- Patch #413732 by brianV: database code clean-up.
- Patch #286374 by jhodgdon: fixed documentation of file_save_upload() validators.
- Patch #286374 by jhodgdon: fixed documentation of file_save_upload() validators.
- Patch #381306 by plach: closing file handler to avoid problems on certain systems.
- 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.
Roll-back of users -> user table name change in #330983: Broken pgsql is no fun.
- Patch #380400 by flobruit: fixed up the documentation.
- Patch #380064 by c960657: make file_scan_directory() use save property names as file_load().
#330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency.
#255551 by drewish and c960657: Array-itize file_scan_directory()'s parameters (DX improvement).
#373502 by drewish and sun: Add function to delete unmanaged files recurisevely (with tests).
#88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified.
#360038 by sun. Documentation improvement.
- Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3.
#361514 by Dave Reid and drewish: Use file name in file error messages.
#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).
#334303 by drewish: Handle overwriting of managed files, with tests.
- Patch #341910 by Josh Waihi, drewish et al: file_space_used() was not properly checking bitmapped status values. Added unit tests too.
#30520 by drewish: Notify user if they've uploaded a file bigger than max_upload_filesize.
- Patch #353207 by CitizenKane and drewish: cleaned up the FILE_STATUS_TEMPORARY field.
- Patch #348201 by catch: make it possible to load multiple files with fewer queries.
- Patch #352470 by scor: fixed typos and grammar in comments.
- Patch #341910 by mayer: make file_space_used work on PostgreSQL.
- Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up).
- Patch #207736 by anantagati, BartVB, drewish et al: fixed undefined index.
- Rollback of patch #74645 -- breaks installer.
- Patch #74645 by drewish, Robin Monks, tayknight: clean up file_scan_directory API to use regex.
- Patch #331013 by drewish: remove file_set_status in favor of file_save().
#20527 by mpare, bdragon, mfb: file_transfer() should only call ob_end_clean() if there was an actual output buffer opened
- Patch #322777 by Damien Tournoud: file_check_directory() was badly documented.
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
#205227 by mpare and mfb: Fix logic in file_transfer with ob_end_clean().
- Patch #319183 by drewish: clean up file.inc documentation.
#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. :)
#64967 follow-up by drewish: Replace ereg with preg in file_scan_directory().
#197266 by ufku, lilou, Dave Reid, and c960657: Avoid unnecessary query if there is no user limit on uploaded files.
#230932 follow up by drumm, drewish: Capitalize false to FALSE (minor code style fix).
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
#230932 follow-up by drewish: Uppercase FALSE constant.
#308434 by drewish, dopry, quicksketch, aaron, jhedstrom, and friends: Massive file.inc cleanup aaaaaand... tests! Yay! :D
- Patch #230932 by ryanlath: file_scan_directory() didn't scan the directory called '0'. Backport by cridenour.
- Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency.
- Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support.
- Patch by Heine, Damien, drumm, scor, mark burdett: fixed XSS problems via private downloads.
Drupal 6.4.
Drupal 5.10.
- Patch #257537 by dopry: made file_check_directory less verbose on success.
- Patch #270045 by drewish, Susurrus: clean up return values.
- Patch #101543 by webchick: document all constants.
- Patch #230932 by ryanlath: file_scan_directory() didn't scan the directory called '0'.
- Patch #230932 by ryanlath: file_scan_directory() didn't scan the directory called '0'.
- 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.
- Patch #218915 by keith and jakeg: fixed typo in watchdog() call.
#104220 by ChrisKennedy: remove arbitrary half post max size restriction on maximum uploadable file size. Backport by Bart Jansens.
#218915 by jakeg, keith.smith: arry syntax error in watchdog() use in file_save_upload()
#210219 by htalvitie, yched: initialize block caching properties properly on install (and update bugos RC2 sites as well)
#193331 by ufku: the replace parameter was not used in file_save_upload() as documented, fix this
#213517 by ax: inline documentation cleanup, fixing four unclosed @defgroups
#207947 by Rok Zlender: whitespace missing between error messages in file.inc
- Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes.
- Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes.
- Patch #194369 by webernet: fixed the default files directory on multi-site setups.
#194369 by lots of contributors: move default files directory to sites/default/files which can be created automatically on install, so no need to bug the user about it, making the install process easier
#180126 by mmoreno, drewish and scor: add realpath() call to file_save_data(), so Windows will create temporary files properly
#202473 by keith.smith: pre-RC1 spell checking on hopefully final text
#197267 by ufku: fix copy-pasted incorrect documentation on two file functions
- Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues.
#173664 by fractile81: fix order of precedence in file_scan_directory(), so subtheme files will really override parent theme files
#172943 by drewish: fix file_save_upload() conformance to its API documentation by treating the 'dest' param as a directory. Also fixes #176876 so temporary files are properly stored in the temp directory.
#180126 by mmoreno, drewish and scor: add realpath() call to file_save_data(), so Windows will create temporary files properly
Four watchdog() calls which still used t(), identified by myself after implementing extraction code for Drupal 6 at #182765
#104220 by ChrisKennedy: remove arbitrary half post max size restriction on maximum uploadable file size
- Patch #169982 by moshe, eaton, bjaspan, nedjo, yched, et al: missing feature from schema API: load/save records based upon schema.
#159474 by chx: destination file name should be used in help text, not source file name, which is not available even
#159475 by paddy_deburca: maxheight is never defined, height should be used
#159463 by hass (with phpdoc addition from myself): file_scan_directory() should not have a trailing slash in the dir parameter
- Patch #155986 by Uwe: fixed typos.
- Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id().
- Patch #148972 by drewish: use correct sequence.
- Patch #140412 by quicksketch: use drupal_set_header() instead of header().
- Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews.
- Patch #140412 by quicksketch: use drupal_set_header() instead of header().
- Patch #76588 by Gabor: made log messages translatable. Yay.
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
#130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
- Patch #111347 by Steven: refactor url() and l().
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
- Rollback of E_ALL patch. Too much extra breakage.
- Patch #112715 by webchick et al: fixed some E_ALL errors.
#107015: Code consistency, capitalization of class names.
#86737, Security htaccess fix needs to be created with group permissions set., backport
#86737: Security htaccess fix needs to be created with group permissions set.
#91592 by ChrisKennedy: avoid scanning hidden files and directories. backport
- Patch #91592 by ChrisKennedy: avoid scanning hidden files and directories.
- Patch #92059 by Steven et al: added a memory check to garland/color.module.
- Bug #89680: 'not not' -> 'not'.
- Bug #89680: 'not not' -> 'not'.
- Patch #86314 by dopry: made previews work.
- Patch #86314 by dopry: made previews work.
#80574 by Steven and chx. Fix file uploads.
- Patch #78807 by Darren: remove stale code.
#67244 by Steve Dondley and Morbus Iff, write out a more compatible files/.htaccess., babkport from head
#76802: Introduce placeholder magic into t() See: http://drupal.org/node/64279#t-placeholders
#67244 by Steve Dondley and Morbus Iff, write out a more compatible files/.htaccess.
#72545 by pwolanin, validation for upload module administration. backport from HEAD
#72545 by pwolanin, validation for upload module administration.
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
- Patch #60441 by dopry: fixed file_create_url().
- Patch #60441 by dopry: fixed file_create_url().
fixing stuff
fixing stuff
fixing stuff
prevent execution of scripts from files directory
prevent execution of scripts from files directory
prevent execution of scripts from files directory
#61802 by Zen, Double spaced sentences clean up
- Removing trailing whitespace.
#5961, use PHP constants for file uploads. Patch by dopry
#43220: Remove mime magic (backport from HEAD)
#58166, fixes for typos, patch by Uwe Herrmann
#53197, function file_check_location return wrong exit code, patch by Patrick Deburca
#55520, improved docs, patch by dopry
#55520, upload.module does not display previews for when private files are enabled, patch by dopry.
#55910, fix warnings in file.inc, patch by chx.
- Patch #52092 by wtanaka, dopry and moshe: fixed regression with hook_file_download.
#50234, add documentation to file.inc methods, patch by drewish. edited for some formatting issues.
- Patch #5961 by dopry et al: fixed problems with file api and open_basedir restrictions.
- Patch #43220 by chx: removed the mime type magic until a better fix comes along.
- Patch #49675 by robert/killes: made replacing files work.
- Patch #44011 by Souvent22 et al: critical bugfix: make private downloads work again.
- Patch #40599 by Chris: minor code improvement: removed redundant isset().
- Patch #40599 by Chris Johnson: file_download() checks module_invoke() return = -1.
- Patch #41437 by webchick: improved code comments.
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
- Patch #40855 by Ber: fixed typo in watchdog message.
- Patch #40855 by Ber: fixed typo in watchdog message.
- Patch #40855 by Ber: fixed typo in watchdog message.
- Patch #40393 by Richard: corrected permissions of menu/path settings on the content submission form.
- Fixed bug with checking for .txt files.
- Fixed bug with checking for .txt files.
- Fixed bug with checking for .txt files.
- More fixes
- More fixes
- More fixes
- Removed valid_input_check().
- Removed valid_input_check().
- Removed valid_input_check().
- Various fixes. Updated CHANGELOG.txt
- Various fixes. Updated CHANGELOG.txt
- Various fixes
- Patch #26249 by Morbus: improved handling of temporary files/directory.
If your module uses variable_get('file_directory_temp', ...) or
variable_get('file_directory_path', ...) please update it to use the new
API.
A list of affected modules is available at http://drupal.org/node/26249#comment-54194.
- Patch #10658 by Morbus: create new folders with the right permissions.
- Patch #26249 by crunchywelch, Junyor: use upload_tmp_dir as default temporary directory. Fixed file problems on Windows NT systems.
- Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers.
- Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers.
- Bug #30390: fixed parse error. Alternative fix.
- Patch #29385 by chx: no ?> add end of files.
- Patch #28482 by Uwe: add $ tags to all files. Patch has some rejects.
- Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s. Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
- Patch by Drumm: one more attempt at fixing file_create_path().
- Patch by Drumm: one more attempt at fixing file_create_path().
- Patch #23028 by chx: fixed file_check_location() problems.
- Patch #23028 by chx: fixed file_check_location() problems.
- Patch by James/Gerhard: made file_create_path() more robust.
- Patch by James/Gerhard: made file_create_path() more robust.
- Patch #22118 by Robin Monks: made file_transfer() more robust.
- Patch #22118 by Robin Monks: made file_transfer() more robust.
- Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
the PHPDoc code of drupal_set_message()! .
- Patch #19739 by Uwe: corrected many typo's in the documentation and code comments
- #18817: Clean up plain-text checking (see drupal-devel!)
- Removed . We'll reintroduce it when really necessary.
- Patch #16914 by chx: avoid that putting a .theme file directly in './themes' breaks your Drupal. Only themes in './themes/subdir' are picked up now.
- Modified patch #14170 by Neil: improved default workflow (default node type) configuration page. Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
- Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);
* Specify a severity in case you are reporting a warning or error.
* The $link-parameter is now the fourth parameter instead of the third.
TODO: document this in the upgrade guide.
- Patch #5942 by jhriggs and Adrian:
+ added support for multi-site configurations.
+ tidied up some old cruft and added code comments.
- Modified patch #7235: do a better job checking the OS and acting upon it.
- Patch #9292 by killes from Carl: fixed a PHP5 compatibility problem with file handling.
- Patch #9292 by killes from Carl: fixed a PHP5 compatibility problem with file handling.
Rest of #12167 (respect input check bypass permission)
Rest of #12167 (respect input check bypass permission)
#12167: Respect 'bypass input data check' permission in file.inc.
#12167: Respect 'bypass input data check' permission in file.inc.
#12183: surpress php error on copy()
#12183: surpress php error on copy()
#12155 : use defined constant rather than integer in file.inc.
#12155 : use defined constant rather than integer in file.inc.
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output. Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output. Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
- Patch #10419 by ccourtne: documentation improvements and rename prevention option.
#10803: file_save_data() does not pass $replace along.
- Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments.
Patch by me and Kjartan. Upload.module - Fixing a bug caused by the PHP5 patches. Beware: PHP4's array_merge() will silently accept objects and convert them to arrays. We should not depend on this behaviour in the future. File.inc / file-using modules: - Removing the constant FILE_SEPARATOR: forward slashes work fine on Windows, and it was being used incorrectly as an URL separator sometimes. - Adding @ to mkdir and chmod to supress ugly PHP errors. They are already reported with drupal_set_message(). - Fixing default for variable 'file_directory_temp'. - Clarifying the help tip for 'file_directory_temp' in admin > settings.
- #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.
- Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
- Theme system changes. Please consult http://drupal.org/node/view/9576 for details.
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
- The upload (filehandler) module has landed!
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
- Patch #8670 by asimmonds: more spelling fixes.
- Commited patch #4878: Support file uploads via blogapi.
- Removing early experimental tab code that slipped in. - Fixing a copy paste error in file.inc. - Some double => single quote changes.
- Added support for 403 handling. Patch by JonBob. As a side benefit, administrators will be able to define a custom 403 page, just as they can define 404 pages now. This needs to be documented in the "Changes since / migrating to ..." pages.
- Patch #6517 by kika: drupal_http_request() fails to open feed because on PHP 4.1.2. Also updated file.inc.
- Patch #6517 by kika: drupal_http_request() fails to open feed because on PHP 4.1.2. Also updated file.inc.
- Fixed constants problem. - Made filename modification more logical when there was no extension.
- Patch #5874 by Bart: made file uploads work with PHP 4.2.
- Fixing extension splitting (was using the first dot instead of the last one).
- Fixing bug #5091: Inconsistent download method defaults.
- New and updated doxygen comments.
- Fixing doxygen comment.
- Improved Doxygen documentation.
- Fixed fileuploads for nodes failing without preview.
- Fixed switch in file_create_url(). - Fixed profile module not extracting mime type. - Improved file matching in profile module.
- Added file handling. Work by Kjartan.
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.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |