Commit Graph

175 Commits (b43c49e6b00a8a4ff22a56169aefaefbb5fa8c77)

Author SHA1 Message Date
Nathaniel Catchpole 02569d158f Issue #2487592 by alexpott, JeroenT, Schnitzel, cilefen: CMI: don't ship with a default "active" directory that is empty in most Drupal installations 2015-09-09 13:06:17 +01:00
xjm 74d6632db9 Issue #2564321 by alexpott: file_save_htaccess() generates error logs which are escaped incorrectly 2015-09-08 19:38:16 -05:00
Nathaniel Catchpole f384961721 Issue #2557519 by alexpott, joelpittet: Remove many usages SafeMarkup::checkPlain() and replace with Html::escape() 2015-08-26 11:34:29 +01:00
xjm 1aca0e483a Issue #2382859 by rpayanm, mondrake, ianthomas_uk: Remove file_stream_wrapper_get_*() and file_get_stream_wrappers() 2015-07-16 16:34:57 -05:00
Alex Pott 73585ec182 Issue #2392559 by mondrake, mitrpaka, JeroenT, rpayanm, adci_contributor, ianthomas_uk: Remove all uses of file_stream_wrapper_get_* and file_get_stream_wrappers 2015-07-14 08:24:29 +01:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Nathaniel Catchpole e0aae8c26a Issue #2432791 by alexpott, vijaycs85, tim.plunkett, joshtaylor, Fabianx, Berdir, yched, bojanz: Skip Config::save schema validation of config data for trusted data. 2015-05-05 11:47:16 +01:00
webchick 70f8ac6f31 Issue #2457887 by prateekMehta, stefan.r, rpayanm, alexpott: Use Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions 2015-03-29 15:13:25 -07:00
catch 99527b1ed4 Issue #2332047 by xjm: Deprecate unneeded file_htaccess_lines() wrapper 2015-02-21 18:04:49 +00:00
Alex Pott 6a88305516 Issue #2417071 by chintan.vyas: Remove file_get_mimetype 2015-02-04 10:29:26 +00:00
Alex Pott fc63f5e0c4 Issue #2050759 by tim.plunkett, fietserwin: Move drupal_chmod and other code in file.inc to a Drupal\Core\File\FileSystem class 2015-02-01 17:09:10 +00:00
Nathaniel Catchpole 5bf651dabf Revert "Issue #2388749 by alexpott, adci_contributor, ParisLiakos: Register symfony's mime guessers if they are supported"
This reverts commit 4dae1d994e.
2015-01-28 10:55:26 +00:00
Nathaniel Catchpole 4dae1d994e Issue #2388749 by alexpott, adci_contributor, ParisLiakos: Register symfony's mime guessers if they are supported 2015-01-27 11:09:27 +00:00
Nathaniel Catchpole 73069e05e8 Issue #2392319 by alexpott, effulgentsia: Config objects (but not config entities) should by default be immutable 2015-01-16 10:43:35 +00:00
Nathaniel Catchpole bb56d4c930 Issue #2393455 by slashrsm, RavindraSingh: Wrong arguments sent to LoggerInterface::error() from file_unmanaged_move() 2014-12-30 12:06:04 +00:00
Nathaniel Catchpole 14189a745f Issue #2353357 by Berdir: hook_stream_wrappers_alter() is broken since modules are not loaded on demand, also change to an event since it's the last hook that forces this during bootstrap 2014-12-15 16:53:00 +00:00
Alex Pott f41585c8d3 Issue #2170235 by Berdir, penyaskito, larowlan, alexpott, sushyl: file_private_path should be in $settings, like file_public_path 2014-12-14 14:01:24 +01:00
Alex Pott 585e025e34 Issue #2276203 by webflo, lauriii, nlisgo, kallehauge, Snipon: Fixed CSS Aggregation breaks URLs with Query String. 2014-10-29 09:31:01 +00:00
catch c40f08f350 Issue #2361843 by rpayanm: Remove usage of drupal_substr(). 2014-10-24 22:22:33 +01:00
Nathaniel Catchpole bf49837832 Issue #2028109 by tim.plunkett, almaudoh, twistor, larowlan, slashrsm, Berdir, Arla, neclimdul, Cottser: Convert hook_stream_wrappers() to tagged services. 2014-10-14 12:06:10 +01:00
Nathaniel Catchpole dcd5ea18c1 Issue #2302799 by alexpott, penyaskito: Fixed InstallerTestBase tests can not be run locally. 2014-10-13 13:06:41 +01:00
Alex Pott 5e938c16d1 Issue #1342504 by jbrown, Jelle_S, Dave Reid: Support data URIs. 2014-09-22 12:55:48 +01:00
Jennifer Hodgdon 73c66d4dec Issue #2329703 by maximpodorov: Fix spelling in varous files 2014-09-18 07:21:39 -07:00
Alex Pott 1ddfac8c94 Issue #2112247 by sihv, dgroene, aalamaki, Dennis Walgaard, mErilainen: Fixed Valid file extensions in file names are not properly enforced when uploading files. 2014-07-24 15:43:36 +01:00
Alex Pott d29adc88ad Issue #2297947 by amitgoyal, andrewmacpherson: Clean up API docs for hook_file_mimetype_mapping_alter(). 2014-07-22 20:58:00 +01:00
webchick 04bf43bb92 Issue #2272467 by ParisLiakos: Remove usages of watchdog() from procedural code. 2014-06-26 11:55:12 -07:00
Jennifer Hodgdon 7fdb267c9c Issue #1914914 by purdy_nc, meba, chx, heyrocker: Add to docs of file_scan_directory to discuss excluding config 2014-06-13 15:21:58 -07:00
Alex Pott 17977129e0 Issue #1921558 by ParisLiakos, xjm, Dave Reid: Convert file_get_mimetype() to use Symfony MimeTypeGuessers. 2014-06-08 17:27:02 -05:00
Alex Pott eed52b4d82 Issue #2003800 by jhedstrom, filijonka, YesCT, ParisLiakos, steeloctopus, damiankloip, sun, LinL, amateescu: Move drupal_check_memory_limit() and parse_size() functionality to components. 2014-05-23 20:25:52 +01:00
Alex Pott 8a56782390 Issue #2208475 by sun, Xano, Jalandhar, andrei.dincu: Move Settings into Drupal\Core\Site\Settings. 2014-04-25 20:13:44 +01:00
Nathaniel Catchpole 17561142cb Issue #2221695 by brantwynn, ianthomas_uk, grom358, ParisLiakos, Jalandhar: Remove uses of deprecated URL functions. 2014-04-16 16:05:41 +01:00
webchick 80f9e5819e Issue #1399846 by slashrsm, Gábor Hojtsy, Berdir, brantwynn, visabhishek, David_Rothstein, cweagans, martin107, SteffenR, Dave Reid: Make unused file 'cleanup' configurable. 2014-04-13 13:52:04 -04:00
catch 35a33d68fa Issue #2107287 by sun, amateescu: PHP 5.4 calls a new stream_metadata() method on stream wrappers not implemented by Drupal. 2014-03-30 11:17:42 +02:00
Alex Pott 000966e0dd Issue #2219009 by pwolanin: Improve DX of Settings class. 2014-03-24 09:51:28 +01:00
Alex Pott 056096a32e Issue #2194085 by sun, Berdir: Convert File Managed API tests to DrupalUnitTestBase. 2014-03-04 13:02:00 +00:00
Dries 3a5c3b322a Issue #2152073 by dmouse, sun, Xano: Bump Drupal core's PHP requirement to 5.4.2. 2014-02-27 20:14:53 +01:00
webchick b8ef3c6bff Issue #2140433 by pwolanin, chx, Owen Barton, dstol, Heine, Damien Tournoud: Port SA-CORE-2013-003 to Drupal 8. 2014-02-26 20:48:12 -08:00
Alex Pott 78e5e9bfd9 Issue #2045927 by herom, martin107, ianthomas_uk, Xano, michaellander, Sutharsan: Replace all drupal_alter() deprecated function calls. 2014-02-24 10:10:52 +00:00
Nathaniel Catchpole 55890b471a Issue #2110863 by sun, cpj: Support open_basedir. 2014-02-05 10:28:48 +00:00
Alex Pott 747fd61167 Issue #2176141 by sun, chx: Add a return value to file_save_htaccess(). 2014-01-28 16:31:48 +00:00
Alex Pott 856d6e1470 Issue #1376122 by sun: Stream wrappers of parent site are leaking into all tests. 2014-01-28 08:51:41 +00:00
Alex Pott 9d5e802648 Issue #1165694 by pillarsdotnet, Sutharsan, droplet: Remove default nomask from file_scan_directory(). 2014-01-27 18:36:39 +01:00
Alex Pott a3c8c88fa4 Issue #2121849 by moshe weitzman: Move chmod.directory and chmod.file out of config and into settings so that file writes are independant of the config system. 2014-01-24 10:45:47 +01:00
webchick 77587a1ab8 Issue #2104229 by claudiu.cristea: Deprecate file_usage(). 2013-11-28 00:52:13 -08:00
webchick 53804ea11d Revert "Issue #2104229 by claudiu.cristea: Deprecate file_usage()."
Temporary rollback since it conflicts with a critical issue.

This reverts commit ce08ea737c.
2013-11-23 12:42:58 -08:00
webchick d5906706f5 Issue #2099205 by Wim Leers, zero2one, Gábor Hojtsy: When uploading and inserting an image trough the WYSIWYG plugin a relative path should be used for the image source (src) . 2013-11-23 12:12:07 -08:00
webchick ce08ea737c Issue #2104229 by claudiu.cristea: Deprecate file_usage(). 2013-11-23 11:37:46 -08:00
Jennifer Hodgdon 30e56c5d84 Issue #2084535 by sivaji: Fix constants in file_copy docs 2013-11-13 09:39:02 -08:00
Jennifer Hodgdon 294d4ef983 Issue #2084535 by sivaji: Remove incorrect line from file_copy docs 2013-11-12 14:04:09 -08:00
Jennifer Hodgdon 31227acf31 Issue #2084535 by mErilainen, tankerjoe, DanielFbrg: Fix file_copy documentation around the case when source and destination are the same 2013-10-09 08:39:34 -07:00
webchick d48480f3db Issue #2099467 by moshe weitzman, chx: Let non-interactive installers determine mode of files directory and its subdirectories. 2013-10-07 10:03:36 -07:00
webchick 5dc3a2f37f Issue #2089351 by thedavidmeister, meba: Convert all calls to check_plain() in core to Drupal\Component\Utility\String::checkPlain() in core/includes. 2013-10-06 22:34:09 -07:00
Alex Pott 3cee107ce5 Issue #2100329 by cosmicdreams: Use \Drupal instead of Drupal to make IDEs and static code analyse tools happy. 2013-10-03 12:26:25 +01:00
webchick 5bb0d5e667 Issue #2053489 by chx, tim.plunkett: Standardize on \Drupal throughout core. 2013-09-15 20:58:10 -07:00
Alex Pott 5460c03e89 Issue #1856766 by chx, Berdir, heyrocker, kim.pepper: Convert file_public_path() to the new settings system (make it not configurable via UI or YAML). 2013-08-22 02:11:07 +01:00
webchick 3cf100dfcd Issue #1957142 by damiankloip, fubhy, cosmicdreams: Replace config() with Drupal::config(). 2013-08-14 09:54:28 -07:00
Alex Pott e33ddd1b74 Issue #2045923 by drupalrv, tim.plunkett: Replace all module_invoke_all() deprecated function calls in procedural code. 2013-08-01 10:10:33 +02:00
Alex Pott 420f38c5b8 Issue #2043771 by jbrown, joachim: Fixed drupal_mkdir() can't create an absolute path recursively. 2013-07-30 21:01:34 +02:00
Nathaniel Catchpole a956eb44e7 Issue #1201024 by pillarsdotnet, jbrown, tim.plunket: drupal_realpath() should describe when it should be used. 2013-07-27 15:41:48 +01:00
Nathaniel Catchpole 988abc27f8 Issue #2045189 by jlindsey15: Move file entity dependent code in includes/file.inc and system.module to file.module. 2013-07-24 13:00:06 +01:00
Alex Pott 36d647e61b Issue #1987712 by dawehner, claudiu.cristea, damiankloip, andypost: Convert file_download() to a new style controller. 2013-07-20 13:25:28 +01:00
Dries c02ba60087 Issue #2039199 by Berdir: Convert ->uid to ->id(), isAnonymous() and isAuthenticated(). 2013-07-11 13:29:02 -04:00
Alex Pott 6d54ed7ac1 Issue #1818568 by Berdir, das-peter: Convert files to the new Entity Field API. 2013-06-15 10:46:11 +02:00
catch 1da9055b84 Issue #2002714 by neochief: Fixed Remove unused local variables - core/includes/file.inc. 2013-05-29 07:44:18 +01:00
Alex Pott 08e824610c Issue #1984378 by aroq, JacobSanford: argument is name of form field used to upload file, not 'filepath or URI of the uploaded file'. 2013-05-27 20:50:00 -05:00
webchick 8fd2b4779e Issue #625958 by slashrsm, quicksketch, eojthebrave, droplet, danlinn, czigor: Support Uploading Multiple Files for HTML5 Browsers via #multiple attribute. 2013-04-19 20:34:14 -07:00
webchick d35d390ffd Issue #1561362 by Niklas Fiekas, chrisdolby, mtift: Change file_transfer() to use BinaryFileResponse. 2013-03-29 10:27:03 -07:00
webchick d97b8dac4b Issue #1943726 by chx: Fixed BootstrapConfigStorageFactory and update. 2013-03-20 14:35:27 -04:00
catch 62e136a3ae Issue #1049050 by mfb, TwoD, David_Rothstein, jpsoto: Fixed file_stream_wrapper_uri_normalize(): remove dead code. 2013-03-06 21:56:13 +00:00
catch 727b07e97d Issue #1068266 by jbrown: Followup to drupal_mkdir() does not set permissions to directories it created recursively - fix directory separator issue affecting windows. 2013-02-14 11:29:24 +00:00
catch 6d50bc1010 Issue #1914932 by swentel: Fixed Config staging directory needs a .htaccess file. 2013-02-14 11:24:56 +00:00
webchick 5b6c981231 Issue #1068266 by linclark, andyceo, scottrigby, chx, jbrown, ñull, weboide: Fixed drupal_mkdir() does not set permissions to directories it created recursively . 2013-02-08 16:25:48 -08:00
webchick 167e70ba00 Issue #1496480 by mrf, disasm, kbasarab, pfrenssen, cam8001, typhonius, Letharion, ACF, vijaycs85, heyrocker, Berdir, alexpott: Convert file system settings to the new configuration system. 2013-02-08 15:36:06 -08:00
webchick cf7cc519f7 Issue #1356170 by ohnobinki, tim.plunkett: Remove all uses of array_merge_recursive(), or document why they are being used instead of NestedArray::mergeDeep(). 2013-01-09 15:58:39 -08:00
catch 8e102d2a73 Issue #1874562 by chx, plach: Fixed Upgrade path broken and yet tests pass. 2013-01-02 15:13:29 +00:00
catch c76c95a9ab Issue #1874612 by plopesc: Simplify file.inc by file_stream_wrapper_valid_scheme()(FALSE) return FALSE. 2012-12-29 22:38:51 +00:00
webchick cd268569b1 Issue #1874342 by erikwebb: Fixed Undefined constant STEAM_WRAPPERS_LOCAL used in file_get_stream_wrappers() documentation. 2012-12-26 18:55:58 -08:00
webchick 5d89911ff3 Issue #1870612 by greggles, aasarava, quicksketch, Justin_KleinKeane, John Morahan: SA-CORE-2012-004 - Drupal core - Arbitrary code execution via file upload. 2012-12-26 18:27:47 -08:00
catch af4765fa77 Issue #1815930 by gbrands, amontero: Fixed Update watchdog message in file_unmanaged_copy() with correct string/variable replacement values. 2012-12-13 12:07:13 +00:00
catch e96e573ce4 Revert "Revert the revert of Issue #1849004 by chx, xjm: One Service Container To Rule Them All. It was innocent after all."
This reverts commit a1638b87eb.
2012-11-29 20:55:21 +00:00
catch a1638b87eb Revert "Issue #1849004 by chx, xjm: One Service Container To Rule Them All."
This reverts commit 761ac67906.
2012-11-29 20:41:30 +00:00
catch 761ac67906 Issue #1849004 by chx, xjm: One Service Container To Rule Them All. 2012-11-29 20:26:37 +00:00
Dries d1400e30a9 Issue #1831808 by marcingy: move remaining file managed queries into field database entity storage controller. 2012-11-16 18:09:54 -08:00
webchick 7b88ea7ccf Issue #1808200 by sun: Fixed Unit test performance significantly decreased since system list config conversion. 2012-11-06 00:51:18 -08:00
catch afc4b89945 Issue #1706064 by chx, katbailey, effulgentsia, podarok et al: Compile the Injection Container to disk. 2012-10-22 10:14:49 +01:00
webchick fc5a0dbe75 Issue #1797478 by marcingy, chx: Make file usage storage pluggable. 2012-10-14 01:19:55 -07:00
webchick de473408a6 Issue #1742958 by DamienMcKenna, jhodgdon: Fixed All spellings of URI should be uppercase. 2012-09-01 21:50:06 -07:00
webchick 316c1f4a7a Issue #1468328 by Berdir: Move file entity info, managed file, and file usage functionality into File module. 2012-08-30 18:27:21 -07:00
catch 6e8a671f83 Issue #1675260 by chx, effulgentsia, pwolanin, neclimdul: Implement PHP reading/writing secured against 'leaky' script. 2012-08-23 13:52:46 +02:00
catch 64625f9048 Issue #1184272 by Berdir, corvus_ch, sun: Remove deprecated $conditions support from entity controller. 2012-08-21 17:38:04 +02:00
Dries 002769ef32 - Patch #1591604 by underq, chrisdolby, Albert Volkman, pfrenssen: replace drupal_access_denied() with throw AccessDeniedHttpException. 2012-06-04 08:06:09 -04:00
Dries 9b29a0dad0 - Patch #1361226 by Berdir, aspilicious, cosmicdreams, fago: make the file entity a classed object. 2012-06-03 07:25:35 -04:00
Dries 356aa34d9d - Patch #1587850 by pfrenssen, chrisdolby: replace drupal_not_found() with throw NotFoundHttpException. 2012-06-02 15:41:40 -04:00
Dave Reid 6340061ba8 Re-added and simplified file_transfer() by reusing the logic of StreamedResponse. 2012-05-26 13:18:48 -05:00
Larry Garfield 327b2bcd1b Remove file_transfer and convert all uses of it to StreamedResponse. 2012-05-26 13:04:51 -05:00
Larry Garfield 848c134d65 Merge remote-tracking branch 'upstream/8.x' into kernel 2012-05-23 23:55:54 -05:00
catch faa63d22c4 Issue #1401558 by Berdir: Documentation follow-up for remove the usage handling logic from file_delete(). 2012-05-23 13:08:58 +09:00
catch 3f7b5cf06c Issue #1401558 by exlin, Berdir, tim.plunkett: Remove the usage handling logic from file_delete(). 2012-05-22 14:28:30 +09:00
Larry Garfield 9fdd40f8c9 Merge remote-tracking branch 'upstream/8.x' into kernel 2012-05-19 00:04:26 -05:00
catch 74c409f134 Issue #1495024 by Berdir, Rob Loach, fago: Convert the entity system to PSR-0. 2012-05-16 12:38:40 +09:00