Commit Graph

46 Commits (226341242bf4e7ea16ec7d6f2f81091464207318)

Author SHA1 Message Date
Angie Byron ea1bd5606c #606526 by axyjo and scor: Remove trailing whitespace and add newlines at end of files. Sorry, folks! But it is after code freeze. :) 2009-11-10 17:27:54 +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 5c7375669d - Patch #582758 by c960657: remove t() calls from getInfo() functions. 2009-09-20 17:40:42 +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 ac30bf8a82 - Patch #391330 by quicksketch, drewish et al: file module to core. Yaaa-a-a-y! 2009-08-29 12:52:32 +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
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
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
Angie Byron 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +00:00
Dries Buytaert e8b82e0ba4 - Patch #481498 by JamesAn: convert simpletest to drupal_static(). 2009-07-11 06:14:48 +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 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 0f77f652fa - Patch #394524 by Berdir, Damien Tournoud: converted to the new database abstraction layer. 2009-05-30 11:17:32 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +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
Angie Byron f40532da76 #376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +00:00
Angie Byron 3b30509599 #347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request. 2009-03-14 23:01:38 +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 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 c51b5c8b0b #368502 by catch: Make adjustment to file naming test in an effort to make testing bot stop erroneously marking patches code needs work. 2009-02-08 15:06:30 +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 20421ee64d #276280 by jhedstrom, drewish: Tests for private downloads and file name munging. 2009-01-05 05:01:38 +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
Angie Byron 5657765d63 #338239 follow-up by c960657: Fix file test failure. 2008-11-27 08:41:45 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +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
Angie Byron 8f8cdb6197 Further rollback of patch #74645 - hunk got skipped for some reason. 2008-11-09 05:38:50 +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
Angie Byron ee6ca83959 #329226 by drewish and c960657: Remove ugly GLOBALS from file tests to fix file tests. 2008-11-08 04:02:56 +00:00
Angie Byron bc22653541 #320155 by Dave Reid: Fix silly exceptions in file.test. 2008-10-12 06:37:40 +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 a4b0bb58a2 #310358 by drewish: Add a test for file_save_upload and clean up file.test. 2008-09-20 07:35:53 +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 2f3146f041 #308434 follow-up by drewish: Small clean-ups to file.inc clean-ups. 2008-09-15 21:06:07 +00:00
Angie Byron cf987be12d #253702 follow-up by catch: Fix file.inc tests. 2008-09-15 16:10:12 +00:00
Angie Byron e875378518 AHEM. Aaaaand... tests! :D 2008-09-15 09:30:03 +00:00