Commit Graph

144 Commits (dc82bc5ab0a3a58efa3946602ba75a0ed05e2311)

Author SHA1 Message Date
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
Dries Buytaert d1b58bb9c1 - Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes. 2008-01-05 22:41:16 +00:00
Dries Buytaert fd85066b7c - Patch #194369 by webernet: fixed the default files directory on multi-site setups. 2007-12-28 10:50:51 +00:00
Gábor Hojtsy 9b2bf38e83 #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 2007-12-27 17:25:28 +00:00
Gábor Hojtsy 1d4fc1b1af #202473 by keith.smith: pre-RC1 spell checking on hopefully final text 2007-12-19 21:40:05 +00:00
Gábor Hojtsy 3fb6f14a5a #197267 by ufku: fix copy-pasted incorrect documentation on two file functions 2007-12-03 09:02:37 +00:00
Dries Buytaert 9a96837b89 - Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues. 2007-11-26 16:36:44 +00:00
Gábor Hojtsy bc12477e06 #173664 by fractile81: fix order of precedence in file_scan_directory(), so subtheme files will really override parent theme files 2007-11-04 16:22:27 +00:00
Gábor Hojtsy b72600ccb0 #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. 2007-10-25 09:05:45 +00:00
Gábor Hojtsy 5bf30f6811 #180126 by mmoreno, drewish and scor: add realpath() call to file_save_data(), so Windows will create temporary files properly 2007-10-18 15:33:00 +00:00
Gábor Hojtsy 19322c375b Four watchdog() calls which still used t(), identified by myself after implementing extraction code for Drupal 6 at #182765 2007-10-15 14:52:18 +00:00
Gábor Hojtsy 194a7977f3 #104220 by ChrisKennedy: remove arbitrary half post max size restriction on maximum uploadable file size 2007-10-08 13:13:13 +00:00
Dries Buytaert 4bb5080ebe - Patch #169982 by moshe, eaton, bjaspan, nedjo, yched, et al: missing feature from schema API: load/save records based upon schema. 2007-10-02 16:15:56 +00:00
Gábor Hojtsy 8929612d29 #159474 by chx: destination file name should be used in help text, not source file name, which is not available even 2007-09-25 12:39:31 +00:00
Gábor Hojtsy c5e2159503 #159475 by paddy_deburca: maxheight is never defined, height should be used 2007-07-25 17:41:27 +00:00
Gábor Hojtsy 6993ea05b7 #159463 by hass (with phpdoc addition from myself): file_scan_directory() should not have a trailing slash in the dir parameter 2007-07-15 19:14:19 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Dries Buytaert 27388f6655 - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). 2007-06-05 12:13:23 +00:00
Dries Buytaert a6c8a06c5b - Patch #148972 by drewish: use correct sequence. 2007-06-04 07:31:59 +00:00
Dries Buytaert 4fd54aabc5 - Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews. 2007-05-30 08:08:59 +00:00
Dries Buytaert 23e253617d - Patch #140412 by quicksketch: use drupal_set_header() instead of header(). 2007-05-22 17:43:17 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00