Commit Graph

277 Commits (026b3190c673a1f6986a8f941576c08eb8d61e0a)

Author SHA1 Message Date
Nathaniel Catchpole c36743b99e Issue #2482783 by dmsmidt, alexpott, mgifford, 20th, Sutharsan, Jo Fitzgerald, tim.plunkett, dandaman, xjm: File upload errors not set or shown correctly 2017-10-12 15:56:30 +01:00
Nathaniel Catchpole f659d6ca8e Issue #2901726 by mfernea, gmario, finn.lewis, robertoperuzzo, rachel_norfolk: Fix 'Squiz.Functions.MultiLineFunctionDeclaration' coding standard 2017-10-10 15:43:06 +01:00
Nathaniel Catchpole 4577185c9b Issue #2572791 by Mile23, andriyun, attiks, RoSk0: Fix 'Drupal.WhiteSpace.OpenBracketSpacing' coding standard 2017-09-22 12:16:23 +01:00
Chris McCafferty c732355412 SA-CORE-2017-003 by Berdir, David_Rothstein, Wim Leers, alexpott, catch, cilefen, larowlan, mlhess, pwolanin, quicksketch, samuel.mortenson, smaz, stefan.r, xjm 2017-06-21 16:11:36 -04:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
xjm e313a51e5c Issue #2836434 by alexpott, oriol_e9g, NickWilde, bradjones1, AdamPS, carteriii, gapple, tstoeckler, soulsymphonies: We should not ever recommend APC in Drupal 8 2016-12-16 17:25:48 -06:00
xjm 150f2e87b0 Revert "Issue #2718253 by oriol_e9g, alexpott, tstoeckler, bradjones1, soulsymphonies, carteriii, NickWilde, gapple, AdamPS: Upload progress w/PHP 7 (& recommendation on status report)"
This reverts commit bd4dcd10f7.
2016-12-16 10:16:36 -06:00
xjm bd4dcd10f7 Issue #2718253 by oriol_e9g, alexpott, tstoeckler, bradjones1, soulsymphonies, carteriii, NickWilde, gapple, AdamPS: Upload progress w/PHP 7 (& recommendation on status report) 2016-12-16 08:56:01 -06:00
Alex Pott 2e5e060c53 Issue #2783395 by Mile23: Fix 'Drupal.Commenting.FunctionComment.InvalidReturn' coding standard 2016-08-28 06:25:45 -05:00
Nathaniel Catchpole ad76a96a40 Issue #2723607 by valthebald, deepakaryan1988: Remove entity_load* usage for dynamic entity types 2016-08-05 09:29:20 +01:00
Alex Pott fbcd92404d Issue #2644838 by thpoul, Matt_five, swarad07, Wim Leers: Add test coverage for the editor's max dimension setting, and fix its message when one dimension is unrestricted 2016-07-19 15:59:05 +01:00
Nathaniel Catchpole 26cf55bb07 Issue #1377740 by jbrown, bvanmeurs, catch, anrikun, Jorrit, rpayanm, mvc, mikeytown2, chx: file_unmanaged_move() should issue rename() where possible instead of copy() & unlink() 2016-06-21 12:10:07 +01:00
Nathaniel Catchpole aa6235fbce Issue #2699267 by Chi: Wrong placeholder format in file_managed_file_save_upload() 2016-05-26 09:10:23 +01:00
Nathaniel Catchpole 9720aecd77 Issue #2721139 by klausi, dawehner: Replace deprecated files ParameterBag usage 2016-05-09 12:16:52 +01:00
Alex Pott 6098437ef5 Issue #2572793 by attiks, andypost: Fix 'Drupal.WhiteSpace.OperatorSpacing' coding standard 2016-04-29 12:02:20 +01:00
Alex Pott b864a3a55f Issue #2710201 by alexpott, andypost: Fix Drupal.Semantics.FunctionT.WhiteSpace and Drupal.Semantics.FunctionT.Concat 2016-04-29 10:05:19 +01:00
Nathaniel Catchpole c051385d7b Issue #2600576 by droplet: MIME, not Mime / mime 2016-02-22 21:30:26 +09:00
Nathaniel Catchpole dc111b405e Issue #2641588 by naveenvalecha, Mac_Weber, dimaro, heykarthikwithu: Replace deprecated usage of entity_create('file') with a direct call to File::create() 2016-02-17 15:25:46 +09:00
Nathaniel Catchpole 1c3c461094 Issue #2610202 by rang501, Lars Toomre: Docblock fixes for file.module file 2016-02-17 10:46:07 +09:00
Nathaniel Catchpole 4a320ea0d1 Issue #1494670 by Liam Morland, jhedstrom, Wim Leers, mfb: References to CSS, JS, and similar files should be root-relative URLs: avoids mixed content warnings & fewer bytes to send 2016-01-15 13:20:55 +09:00
Alex Pott dfe0926912 Issue #2617568 by amateescu, cilefen, Fabianx: Rename apc_* functions with apcu_* 2015-12-09 12:40:26 +00:00
Nathaniel Catchpole 5bd9271872 Issue #2025707 by joelpittet: Remove unused #theme "file_widget" 2015-11-10 11:30:35 +00:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
xjm ef4ded04c8 Issue #2579625 by laurencemercer: Typo in file_validate_image_resolution() doc 2015-10-04 21:07:03 -04:00
Alex Pott 6b4e81ad57 Issue #2567257 by dawehner, stefan.r, effulgentsia, pwolanin, catch, Xano, mr.baileys, Wim Leers, k4v, Dave Reid, chx, googletorp, plach, lauriii, Berdir, webchick, alexpott, stefan.r: hook_tokens() $sanitize option incompatible with Html sanitisation requirements 2015-10-01 14:01:21 +01:00
Alex Pott de0bbdd952 Revert "Issue #2567257 by dawehner, stefan.r, effulgentsia, pwolanin, catch, Xano, mr.baileys, Wim Leers, k4v, Dave Reid, chx, googletorp, plach, lauriii, Berdir, webchick, alexpott, stefan.r: hook_tokens() $sanitize option incompatible with Html sanitisation requirements"
This reverts commit 542a1663cf.
2015-10-01 12:45:11 +01:00
Alex Pott 542a1663cf Issue #2567257 by dawehner, stefan.r, effulgentsia, pwolanin, catch, Xano, mr.baileys, Wim Leers, k4v, Dave Reid, chx, googletorp, plach, lauriii, Berdir, webchick, alexpott, stefan.r: hook_tokens() $sanitize option incompatible with Html sanitisation requirements 2015-10-01 12:42:36 +01:00
Alex Pott 84a99b301f Issue #2571943 by pwolanin, nevergone: Remove !placeholder in file.module 2015-09-21 17:54:28 +02:00
Alex Pott 7a25f513f5 Issue #2560783 by stefan.r, joelpittet, lauriii, Cottser, Sutharsan, kgoel, justAChris, Gábor Hojtsy, dawehner, jhodgdon, effulgentsia, xjm, andypost, googletorp: Replace !placeholder with :placeholder for URLs in hook_help() implementations 2015-09-21 12:38:19 +01:00
webchick e5018e6054 Issue #2523048 by dpi: file.modules hook_cron implementation has incorrect documentation 2015-08-31 09:28:05 -07:00
Nathaniel Catchpole a7fc1a2728 Issue #2557871 by alexpott: Remove all usages SafeMarkup::checkPlain() from template preprocess functions and attributes 2015-08-27 15:43:18 +01: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
Alex Pott 026e9d8754 Issue #2549091 by Pravin Ajaaz, jhodgdon: Fix "associated to" ==> "associated with" 2015-08-18 13:10:00 +01:00
effulgentsia 1a0cdcd32c Issue #2525910 by dawehner, effulgentsia, Berdir, lauriii, larowlan, timmillwood, Wim Leers, chx, arlinsandbulte, Fabianx, Gábor Hojtsy, Dave Reid, alexpott, catch: Ensure token replacements have cacheability + attachments metadata and that it is bubbled in any case 2015-07-22 07:16:01 -07:00
Alex Pott faada60f3d Issue #2321969 by rpayanm, subhojit777, prics, LinL, JeroenT, Temoor, prashantgoel, Mile23, pcambra, Sumi: Replace all instances of file_load(), file_load_multiple(), entity_load('file') and entity_load_multiple('file') with static method calls 2015-07-13 12:56:25 +01:00
Alex Pott 68d4f0be10 Issue #2511472 by Wim Leers, Fabianx, dawehner: Refactor all usages of drupal_render()/Renderer::render() that break #2450993 2015-06-24 16:31:20 -05:00
xjm 0f88b173b4 Issue #2501827 by cwells, kgoel, jcloys, YesCT, crowdcg, Bojhan: Remove SafeMarkup::set() in file_save_upload() and allow render/template code to control a single-item list 2015-06-14 15:25:26 -05:00
Alex Pott ac7ba212c2 Issue #1811858 by Mile23, deepakaryan1988: Add missing type hinting to File module docblocks 2015-06-12 15:46:25 +01:00
Alex Pott 215b967a44 Issue #1493324 by tim.plunkett, dmsmidt, mgifford, bleen18, davidhernandez, crasx, mparker17, stefan.r, YesCT, joelpittet, tstoeckler, larowlan, vijaycs85, swentel, rpayanm, Bojhan, LewisNyman, emma.maria, BarisW, njbarrett, rteijeiro, nod_, sun, joshtaylor, mrjmd, webchick, marcvangend, kattekrab, SKAUGHT, bowersox, andrewmacpherson, Manjit.Singh, RavindraSingh, Wim Leers, BLadwin, aspilicious, mortendk, mausolos, jessebeach, Gábor Hojtsy, anandps, falcon03, franz, andypost, rooby, rootwork, Cottser, Xano: Inline form errors for accessibility and UX 2015-06-12 14:54:11 +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
Jennifer Hodgdon 6477492ee6 Issue #2473105 by ifrik, jhodgdon, lostkangaroo, opratr, LinL: Update hook_help texts that link to modules that can be uninstalled 2015-05-20 07:25:07 -07:00
Alex Pott dd0712a49d Issue #2461845 by Fabianx, Berdir, larowlan, David_Rothstein, Gábor Hojtsy: Private files that are no longer attached to an entity should not suddenly become accessible to people who couldn't see them before 2015-05-16 12:56:34 -07:00
webchick 6db8cde589 Issue #2407565 by epari.siva, davidhernandez, akalata, pakmanlh, lauriii, vedpareek, Cottser, brianperry: Consensus Banana Phase 1, cleanup 2015-04-18 08:48:42 -07: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
Alex Pott a60a5779b5 Issue #2417983 by kattekrab: Change docs instances of "the the" to "the" 2015-02-04 10:08:41 +00:00
Alex Pott 923527b7f4 Issue #2415757 by chintan.vyas: Remove all uses of file_get_mimetype 2015-02-03 10:46:16 +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
Alex Pott 0c1276b68f Issue #2155245 by ChristianAdamski, scor, areke: Use proper methods instead of directly calling $file->filename and $file->uri 2015-01-22 15:11:19 +00:00
Alex Pott 0584b18611 Issue #2404041 by pcambra: Replace _l() calls in file module 2015-01-20 08:41:32 +00:00
Alex Pott c34c3dfd05 Issue #2225427 by ianthomas_uk, martin107, JeroenT, LoMo: Remove remaining uses of deprecated language functions (mostly in object oriented code) 2015-01-18 09:47:33 +00:00
Nathaniel Catchpole 1ad3433ccb Revert "Issue #92944 by jhedstrom, SiliconMind: Drupal won't report file upload error when UPLOAD_ERR_NO_TMP_DIR occurs"
This reverts commit 1cb897de83.
2014-12-31 14:38:24 +00:00
Nathaniel Catchpole 1cb897de83 Issue #92944 by jhedstrom, SiliconMind: Drupal won't report file upload error when UPLOAD_ERR_NO_TMP_DIR occurs 2014-12-30 12:10:13 +00:00
webchick 7babe4c6e6 Issue #2280485 by SiliconMind, the_contributor: Documentation for file_save_upload() is wrong 2014-12-22 11:14:04 -08:00
Nathaniel Catchpole 0413834556 Issue #2236855 by rachel_norfolk, stefank, ngocketit, lauriii, LewisNyman, alexpott, yuki77, rteijeiro | mortendk: Use CSS for file icons in file fields. 2014-11-10 14:30:41 +00:00
Nathaniel Catchpole 92493af712 Revert "Issue"
This reverts commit 354b6647f3.
2014-11-10 14:30:21 +00:00
Nathaniel Catchpole 354b6647f3 Issue 2014-11-10 13:36:23 +00:00
Alex Pott 789de472d0 Issue #2354597 by esod, YesCT, vadim.hirbu, ashutoshsngh: Remove usage of form_set_value(). 2014-11-07 12:05:32 -08:00
Alex Pott c6742dd9f0 Issue #2215507 by Devin Carlson, pfrenssen, SiliconMind: Fixed Downloads broken for translated private files. 2014-11-06 16:34:53 -08:00
Alex Pott 46e6a32911 Issue #2364161 by dawehner, mpdonadio, Wim Leers: Replace nearly all existing _l calls. 2014-11-04 08:30:21 +00:00
Alex Pott fa3b0568b7 Issue #2361757 by rpayanm: Remove usage of mime_header_encode(). 2014-10-27 08:29:43 +00:00
Alex Pott 69be11ebad Issue #2326875 by tim.plunkett, iMiksu | almaudoh: Convert file_element_info() to Element classes. 2014-10-22 09:57:33 +01:00
Alex Pott 8f3f79ad34 Issue #2304969 by pwolanin, cilefen, Berdir, Devin Carlson, klausi: Fixed Port private files access bypass from SA-CORE-2014-003. 2014-10-15 11:24:55 +01:00
Nathaniel Catchpole e8d6588e14 Issue #2355001 by ashutoshsngh, dinarcon, er.pushpinderrana: Remove form.inc form_builder(). 2014-10-14 13:55:12 +01:00
webchick 4724ae1d1f Issue #2246675 by rpayanm, johnstorey, holly.ross.drupal | mgbellaire: Remove all unnecessary 'template' lines in hook_theme() declarations. 2014-10-09 11:41:26 -07:00
Alex Pott 002ae719c9 Issue #2343661 by larowlan, tim.plunkett | xjm: Rename l() to _l() and url() to _url(), and document replacements. 2014-09-30 10:10:00 +02:00
Alex Pott 52a101bc1d Issue #2328411 by dawehner, geerlingguy, herom: Convert all permissions to yml files and permission callbacks. 2014-09-18 08:41:29 +01:00
Alex Pott d39c014754 Issue #2334383 by jbrown, ashutoshsngh, er.pushpinderrana: Remove usage of form_error(). 2014-09-12 19:57:00 +01:00
webchick dbed0b48cd Issue #2335659 by tim.plunkett, dawehner, effulgentsia, sun: Remove FormState ArrayAccess usage from core. 2014-09-11 23:41:27 -07:00
webchick de5fe262f2 Issue #2318087 by tim.plunkett: Replace ['input'] with FormState::getUserInput(). 2014-08-23 12:18:55 -07:00
Alex Pott 7fff6e850a Issue #2297875 by herom, bfr: Replace calls to form_set_error() to $form_state->setErrorByName(). 2014-08-22 02:04:33 +01:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 18ddb0044c Issue #2315807 by tim.plunkett: Remove support for path-based form redirects. 2014-08-07 21:43:27 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott 0d99a0ca07 Issue #2304399 by er.pushpinderrana, undertext | samuel.mortenson: Fixed "class" attribute in drupal_render should be an array. 2014-07-28 22:30:41 +01:00
Alex Pott 2691c42b24 Issue #2299699 by lokeoke | jhodgdon: Some classes need @ingroup added to them. 2014-07-24 17:31:01 +01:00
Alex Pott 64387e5c5e Issue #2078473 by blueminds | Berdir: Added Use entity access API for checking access to private files. 2014-07-24 16:35:27 +01:00
Nathaniel Catchpole a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +01:00
Nathaniel Catchpole 5dad0b8606 Issue #597236 by Berdir, catch, msonnabaum, Xano, Wim Leers, jhedstrom, amateescu, corvus_ch, swentel, moshe weitzman, Gábor Hojtsy, riccardoR, killes@www.drop.org, et al: Add entity caching to core. 2014-07-18 11:53:52 +01:00
Alex Pott 87e675f09b Issue #1825952 by Fabianx, joelpittet, bdragon, heddn, chx, xjm, pwolanin, mikey_p, ti2m, bfr, dags, cilefen, scor, mgifford: Turn on twig autoescape by default 2014-07-18 10:05:22 +01:00
webchick d14ea92b86 Issue #2163209 by andrewmacpherson, mgifford | Charles Belov: Add alternate text to file icon. 2014-07-13 13:21:15 -07:00
Alex Pott 36ed633ff1 Issue #2296237 by er.pushpinderrana: Replace check_plain() to Drupal\Component\Utility\String::checkPlain() in file module. 2014-07-13 10:25:06 +01:00
webchick 1eadf82a5e Issue #2299691 by er.pushpinderrana, jhodgdon: Some topics should be removed. 2014-07-11 22:50:50 -07:00
webchick c9b2ff5e13 Issue #2301493 by alexpott: Fixed Typehint Drupal\file\File is does not exist. 2014-07-11 22:42:35 -07:00
Alex Pott 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +01:00
Alex Pott a071810895 Issue #2294251 by j2r | marcingy: Remove file_usage from file module. 2014-07-08 11:47:39 +01:00
Alex Pott 3e34d843d0 Issue #2283717 by amitgoyal, joshi.rohit100, g3r4 | jackbravo: Remove user_access function calls on hook_permission functions. 2014-07-08 10:00:18 +01:00
webchick 94e0188a10 Issue #2294129 by xjm, tim.plunkett: Switch hook_help() to use RouteMatch instead of Request. 2014-06-29 20:33:08 -07:00
webchick 04bf43bb92 Issue #2272467 by ParisLiakos: Remove usages of watchdog() from procedural code. 2014-06-26 11:55:12 -07:00
webchick a4a887ac91 Issue #1898070 by benjifisher, jjcarrion, LinL, idflood, joelpittet, oshelach, tlattimore, Les Lim, sergey.semashko, jesse.d, bdgreen, jenlampton, Cottser, duellj, artofeclipse, vlad.dancer, steveoliver, EVIIILJ, c4rl, elv, OpenChimp: File.module - Convert theme_ functions to Twig. 2014-06-12 20:13:30 -07:00
webchick 3a42e91de1 Issue #2089331 by grom358 | thedavidmeister: [meta] Replace calls to check_plain() with Drupal\Component\Utility\String::checkPlain(). 2014-06-12 19:33:48 -07:00
Alex Pott ae8eb106ef Issue #2211227 by mondrake, xjm | fietserwin: Refactor image and imagetoolkit: isExisting, isSupported, supportedTypes, getMimeType. 2014-06-09 09:48:54 -05:00
Nathaniel Catchpole c972b3ee9d Issue #2190313 by pfrenssen, Berdir, amateescu, ianthomas_uk: Add $EntityType::load() and loadMultiple() to simplify loading entities. 2014-05-20 10:29:40 +01:00
Alex Pott da026cf53c Issue #2116363 by Berdir, jessebeach | fago: Unified repository of field definitions (cache + API). 2014-05-15 12:26:18 -05:00
webchick eef067b5a5 Issue #2183113 by jhodgdon, effulgentsia, tim.plunkett, herom, larowlan: Update hook_help signature to use route_name instead of path. 2014-05-06 19:04:53 -07:00
Alex Pott a62511ffbd Issue #2241655 by tim.plunkett: EntityStorageInterface::create() should always create a "new" entity. 2014-04-16 21:57:51 +01:00
Nathaniel Catchpole 5e642cfb27 Issue #2196067 by mondrake, fietserwin: Remove setWidth and setHeight from ImageInterface. 2014-04-16 09:54:36 +01:00
Nathaniel Catchpole 26d253c768 Issue #2239299 by tim.plunkett: Form errors should only be set during validation. 2014-04-15 20:12:58 +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
webchick cda250396e Issue #2225739 by killua99, Berdir, andypost, pfrenssen: Remove usage of field_info_instances(), use EntityManager::getFieldDefinitions() instead. 2014-04-11 12:01:24 -04:00