Commit Graph

1195 Commits (805e1d6daa7aba164d45fcf2b8ce63dc4509c13c)

Author SHA1 Message Date
Alex Pott 58a6dbb8a4 Issue #2525884 by jesperjb, joshi.rohit100, Berdir: Avoid unecessary cache tag invalidations in ConfigEntityBase and aggregator Item entity 2015-07-24 16:54:24 +01:00
Alex Pott adde7a71a9 Issue #2531408 by chx, dawehner: Default backend database driver 2015-07-24 15:18:41 +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
effulgentsia 8b83aa0838 Issue #2493911 by dawehner, larowlan, damiankloip, hussainweb, jibran, cilefen, benjy, iMiksu, mtdowling: Update guzzle, goutte and mink-goutte-driver to the latest release 2015-07-21 14:33:30 -07:00
Alex Pott cc34748c31 Issue #2408013 by Aki Tendo, alexpott, Fabianx, dawehner, Crell, jhodgdon, Wim Leers, aspilicious: Adding Assertions to Drupal - Test Tools 2015-07-21 14:29:05 +01:00
Nathaniel Catchpole d3c33d5821 Issue #2506581 by alexpott, Wim Leers, Fabianx, xjm, joelpittet, Cottser, dawehner: Remove SafeMarkup::set() from Renderer::doRender 2015-07-20 16:15:11 +01:00
Nathaniel Catchpole 484b071dd4 Issue #2507831 by dawehner, tim.plunkett, effulgentsia: Harden redirect responses to make external URIs opt in (was SA-CORE-2015-002 foward-port) 2015-07-20 12:57:44 +01:00
Alex Pott c2f5a3e8e8 Issue #2496897 by sasanikolic, Arla, dawehner, miro_dietiker, Berdir: Throw helpful exception if link templates are missing leading / 2015-07-17 15:55:40 +01:00
Nathaniel Catchpole 20f1c993b6 Issue #2351015 by plach, effulgentsia, Wim Leers, dawehner, martin107, damiankloip, cilefen, Fabianx, catch, pwolanin, Damien Tournoud, znerol, YesCT, larowlan: URL generation does not bubble cache contexts 2015-07-16 15:26:21 +01:00
Alex Pott 22d8e4b683 Issue #2533222 by neclimdul, Berdir: Fix ConfigEntityBaseUnitTest 2015-07-16 12:49:04 +01:00
Alex Pott 2873e81736 Issue #2526412 by neclimdul, hussainweb, Fabianx: Remove Singleton hack in registerWithSymfonyGuesser 2015-07-15 17:01:55 +01:00
Nathaniel Catchpole 81658d5c87 Issue #2512132 by Wim Leers, effulgentsia, Fabianx: Make CSRF links cacheable 2015-07-15 15:09:47 +01:00
Alex Pott 20619e08ee Issue #2522002 by pwolanin, fgm, znerol: Do not strip www. from cookie domain by default because that leaks session cookies to subdomains 2015-07-15 14:58:58 +01:00
Alex Pott 1bb4e43db8 Issue #2530936 by webflo: Ensure that the classloader prefix is really unique 2015-07-14 11:04:37 +01: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
Alex Pott 7eb616f14c Issue #2502785 by dawehner, effulgentsia, tim.plunkett, amateescu, Fabianx, Wim Leers, catch, dsnopek, EclipseGc, yched, Berdir, larowlan, mondrake, olli: Remove support for $form_state->setCached() for GET requests 2015-07-13 13:06:28 +01:00
Nathaniel Catchpole 9024fa617c Issue #2506195 by alexpott, joelpittet, xjm, David_Rothstein, Fabianx, pwolanin: Remove SafeMarkup::set() from Xss::filter() 2015-07-11 09:10:48 +01:00
Nathaniel Catchpole a9298fb6f5 Issue #2261669 by Berdir, timmillwood, jhedstrom: Slow query in NodeRevisionAccessCheck 2015-07-10 21:38:00 +01:00
Nathaniel Catchpole 2378f939b2 Issue #2505989 by alexpott, dawehner, olli: Controllers render caching at the top level and setting a custom page title lose the title on render cache hits 2015-07-10 11:26:15 +01:00
Alex Pott a87f47dbba Issue #2529442 by neclimdul: Random phpunit failures in EntityUnitTest 2015-07-09 00:11:10 +01:00
Alex Pott 794be16300 Issue #2354889 by larowlan, dawehner, lauriii, Berdir, catch, martin107, pfrenssen, EclipseGc, Fabianx, Wim Leers, dsnopek, jibran, tim.plunkett, andypost: Make block context faster by removing onBlock event and replace it with loading from a ContextManager 2015-07-08 13:01:20 +01:00
Alex Pott 46e6f72399 Issue #2512866 by lauriii, Berdir, Wim Leers, Fabianx, effulgentsia, catch, dawehner: CacheContextsManager::optimizeTokens() optimizes ['user', 'user.permissions'] to ['user'] without adding cache tags to invalidate that when the user's roles are modified 2015-07-08 12:50:52 +01:00
Nathaniel Catchpole a362252a2b Issue #2512718 by Berdir, pfrenssen, Wim Leers, Fabianx, dawehner, catch, effulgentsia, plach, Gábor Hojtsy: EntityManager::getTranslationFromContext() should add the content language cache context to the entity 2015-07-07 17:08:46 +01:00
Alex Pott de1930407d Issue #2453175 by tim.plunkett, plach, rteijeiro, effulgentsia, eshta, dawehner, fago, Berdir, alexpott: Remove EntityFormInterface::validate() and stop using button-level validation by default in entity forms 2015-07-06 12:38:03 +01:00
Alex Pott 883c209fb6 Issue #2478459 by plach, mkalkbrenner, chx, yched, Berdir, dawehner, benjy: FieldItemInterface methods are only invoked for SQL storage and are inconsistent with hooks 2015-07-05 15:29:22 +01:00
xjm 0e2ca03654 Issue #2505669 by pwolanin, jcloys, joshi.rohit100, dawehner, Wim Leers, kgoel, larowlan: Inject render service into LinkGenerator instead of calling drupal_render 2015-07-04 16:18:11 +01:00
xjm 0b104695bb Revert "Issue #2505669 by pwolanin, jcloys, joshi.rohit100: Inject render service into LinkGenerator instead of calling drupal_render"
This reverts commit 8d848f2d79.
2015-07-04 16:17:27 +01:00
xjm 8d848f2d79 Issue #2505669 by pwolanin, jcloys, joshi.rohit100: Inject render service into LinkGenerator instead of calling drupal_render 2015-07-04 16:09:10 +01:00
Nathaniel Catchpole 2068e0ba7d Issue #2502571 by pjonckiere, mpdonadio, catch, jhodgdon: Date format granularity should only render adjacent units 2015-07-03 14:45:21 +01:00
Alex Pott 7543540e4a Issue #2375695 by Berdir, EclipseGc, tim.plunkett, Wim Leers, Fabianx, dawehner: Condition plugins should provide cache contexts AND cacheability metadata needs to be exposed 2015-07-03 13:04:59 +01:00
Alex Pott 05aa5ea156 Issue #2513244 by Berdir, Wim Leers, EclipseGc, Fabianx: ContextHandler incorrectly checks required/optional contexts of plugins 2015-07-02 12:29:28 +01:00
Nathaniel Catchpole 6b371cc5d5 Issue #2463581 by Wim Leers, swentel: #cache_redirect cache items should have an 'expire' timestamp that matches the merged max-age 2015-07-01 11:19:02 +01:00
catch 7f420bd908 Issue #2487600 by dawehner, Wim Leers, fgm: #access should support AccessResultInterface objects or better has to always use it 2015-06-30 16:22:49 +01:00
catch 9f521c8dc5 Issue #2408371 by dawehner, Fabianx, alexpott, bforchhammer: Proxies of module interfaces don't work 2015-06-30 12:32:40 +01:00
Nathaniel Catchpole 7298c3366d Issue #2512452 by dawehner, pwolanin, alexpott, fnqgpc: Confirm form cancel button can lead to external domain 2015-06-29 19:10:11 +01:00
Alex Pott e044adb014 Issue #2509300 by dawehner, catch, larowlan: Path alias UI allows node/1 and /node/1 as system path then fatals 2015-06-29 18:15:19 +01:00
Nathaniel Catchpole 97202a7012 Revert "Issue #2512452 by dawehner, pwolanin, fnqgpc: Confirm form cancel button can lead to external domain"
This reverts commit 1462460f3f.
2015-06-29 10:12:08 +01:00
Alex Pott 1462460f3f Issue #2512452 by dawehner, pwolanin, fnqgpc: Confirm form cancel button can lead to external domain 2015-06-27 08:58:13 +01:00
Alex Pott 1f53649bfb Issue #1392754 by tss, justAChris, jhodgdon: Comply with new documentation standards for @file for namespaced class files 2015-06-26 21:53:33 +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
Nathaniel Catchpole 8b4bc7df8f Issue #2500527 by dawehner, tim.plunkett, effulgentsia: Rewrite \Drupal\file\Controller\FileWidgetAjaxController::upload() to not rely on form cache 2015-06-24 12:17:01 +01:00
Alex Pott ca81e9907d Issue #2504995 by Xano: Component DefaultFactory relies on core's concept of plugin providers 2015-06-23 20:51:21 -05:00
Alex Pott 8d80b7a462 Issue #2417895 by David_Rothstein, Berdir, Wim Leers, willzyx, catch: AccountPermissionsCacheContext/PermissionsHashGenerator must special case user 1, since permissions don't apply to it 2015-06-23 11:41:58 -05:00
Alex Pott 42c693a966 Issue #2407195 by Wim Leers, Fabianx, joelpittet, lauriii, Crell: Move attachment processing to services and per-type response subclasses 2015-06-23 11:24:29 -05:00
Alex Pott fd2bc62e43 Issue #2503083 by pwolanin, neclimdul: Simplify PasswordInterface so it's not coupled to UserInterface 2015-06-22 15:54:10 -05:00
Nathaniel Catchpole a1bc737216 Issue #1305882 by dawehner, nod_, Fabianx, Steven Jones, sun, nlisgo: drupal_html_id() considered harmful; remove ajax_html_ids to use GET (not POST) AJAX requests 2015-06-22 14:16:58 +01:00
Nathaniel Catchpole 848d6b8eea Issue #2505171 by neclimdul: Follow-up for follow-up for #2483433 (phpunit tests broken) 2015-06-22 13:15:00 +01:00
Nathaniel Catchpole 8114a72e5a Issue #2505171 by Wim Leers: Follow-up for #2483433 2015-06-22 10:11:24 +01:00
Alex Pott 5a231af775 Issue #2504993 by Xano: HookDiscovery sets "module" instead of "provider" in plugin definitions 2015-06-20 17:21:03 -05:00
Alex Pott 337f182057 Issue #2508654 by chx, dawehner, Chi: File inclusion in transliteration service 2015-06-19 16:49:04 -05:00
xjm f6d785e56c Issue #2506133 by alexpott, joelpittet, dawehner, pwolanin: Replace SafeMarkup::set() in \Drupal\Core\Template\Attribute 2015-06-19 12:16:55 -05:00
Nathaniel Catchpole d579f51362 Issue #1314214 by stefan.r, phayes, ergophobe, YesCT, damienwhaley, kbasarab, Tor Arne Thune, basic, pfrenssen, yannickoo, simolokid, fietserwin, bzrudi71: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols) 2015-06-18 15:36:24 +01:00
xjm 8305be48fc Issue #2483781 by borisson_, rbayliss, cilefen, mitalimehta, joshi.rohit100: Move cache contexts classes from \Drupal\Core\Cache to \Drupal\Core\Cache\Context 2015-06-16 13:51:07 -05:00
xjm c6cc4fa122 Issue #2501705 by tetranz, pwolanin, Cottser, joelpittet, akalata: Remove SafeMarkup::set() in LinkGenerator and document SafeMarkup::set() in LinkGeneratorTest 2015-06-13 22:34:41 -05:00
effulgentsia 287d1e197e Issue #2263569 by tim.plunkett, effulgentsia, Fabianx, dawehner, Wim Leers, larowlan: Bypass form caching by default for forms using #ajax. 2015-06-13 15:22:53 -07: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
Alex Pott d5d78095a2 Issue #2504211 by mpdonadio: DateFormatter::formatDiff() ignore granularity in some circumstances 2015-06-12 01:04:15 +01:00
webchick 15a3f2de2d Issue #2501655 by tim.plunkett, hchonov, willzyx: ConfirmFormHelper::buildCancelLink() incorrectly handles ?destination URLs with a leading slash 2015-06-11 14:31:07 -07:00
webchick 05af46b2c0 Issue #2484037 by plach, Gábor Hojtsy, YesCT, dawehner: Make Views bulk operations entity translation aware 2015-06-10 13:46:58 -07:00
Nathaniel Catchpole 8357638b36 Issue #2410019 by alexpott, dstelljes: DrupalKernel::findSitePath() incorrectly reports directories for sites on nonstandard ports 2015-06-09 15:33:36 +01:00
Nathaniel Catchpole b3a3555c85 Issue #2451359 by alexpott: Remove the ability of collections other than the default to support configuration entities 2015-06-09 15:26:32 +01:00
Alex Pott 4ba73b4bb5 Issue #2456521 by pjonckiere, mpdonadio, jhodgdon, rteijeiro, David_Rothstein, xjm: Add DateFormatter::formatDiff() as a non-buggy alternative to DateFormatter::formatInterval() when the start and end of the interval are known 2015-06-09 15:17:14 +01:00
Alex Pott d4047abba6 Issue #2494313 by Pere Orga, sumitmadan: Follow up to Spellchecking Drupal - PHP 2015-06-09 13:00:54 +01:00
Alex Pott 78f07605e2 Issue #2501355 by willzyx: Remove unused router.builder service from Drupal\Core\Menu\LocalTaskManager 2015-06-09 11:58:12 +01:00
Nathaniel Catchpole 5803f9080e Issue #2392293 by bircher, tim.plunkett, alexpott, cilefen, gobinathm: Refactor hook_system_info_alter implementations to use ModuleUninstallValidatorInterface 2015-06-09 10:47:28 +01:00
Nathaniel Catchpole 74c8c59941 Issue #2502477 by alexpott: Running all the PHPUnit tests using PHPUnit results in failure 2015-06-08 21:47:22 +01:00
Nathaniel Catchpole 30ca0d1de6 Issue #2481453 by dawehner, pwolanin, rteijeiro, neclimdul, znerol: Implement query parameter based content negotiation as alternative to extensions 2015-06-08 11:11:09 +01:00
xjm 2f903e47ac Issue #2273925 by larowlan, aneek, lauriii, mikey_p, joelpittet, dimaro, Fabianx, xjm, jaredsmith, effulgentsia, lokapujya, iMiksu, chx, YesCT, googletorp, dawehner, Wim Leers, Cottser: Ensure #markup is XSS escaped in Renderer::doRender() 2015-06-07 13:34:39 -05:00
Alex Pott dc53be5b5a Issue #2483433 by damiankloip, Wim Leers, catch, dawehner: Optimize CacheableMetadata::merge() + BubbleableMetadata::merge() 2015-06-05 21:57:04 +01:00
Alex Pott 068edfc14e Issue #2395831 by dawehner, fago, martin107, cafuego, YesCT, plach, jibran, larowlan, Wim Leers, effulgentsia, klausi: Entity forms skip validation of fields that are not in the EntityFormDisplay 2015-06-05 21:46:55 +01:00
Jennifer Hodgdon 700158c93b Issue #2494319 by Pere Orga: Follow up to Spellchecking Drupal - Comments 2015-06-05 13:20:37 -07:00
Alex Pott 4fb37aa1ff Issue #2498849 by catch, dawehner: Entity view controller title rendering is expensive 2015-06-05 20:04:08 +01:00
Nathaniel Catchpole 4509204286 Issue #2478483 by Wim Leers, Fabianx: Introduce placeholders (#lazy_builder) to replace #post_render_cache 2015-06-05 10:47:02 +01:00
Nathaniel Catchpole c219ec8fcd Issue #2498293 by cilefen, Fabianx: Only allow lowercase service and parameter names 2015-06-04 15:10:58 +01:00
Alex Pott c31fec26b0 Issue #2476059 by willzyx, tadityar, yarik.lutsiuk, Berdir: Remove EntityInterface->getSystemPath(), all its implementations and related usage 2015-06-03 16:21:36 +01:00
Alex Pott f08e28adc9 Issue #2496801 by cilefen, Cottser: Change setGenerators to setUrlGenerator on TwigExtension 2015-06-03 15:35:22 +01:00
Nathaniel Catchpole 537da55a56 Revert "Issue #1314214 by stefan.r, phayes, ergophobe, YesCT, damienwhaley, Tor Arne Thune, kbasarab, pfrenssen, basic, yannickoo, simolokid: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols)"
This reverts commit b105158ab7.
2015-06-02 17:06:45 +01:00
Nathaniel Catchpole b105158ab7 Issue #1314214 by stefan.r, phayes, ergophobe, YesCT, damienwhaley, Tor Arne Thune, kbasarab, pfrenssen, basic, yannickoo, simolokid: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols) 2015-06-02 10:13:37 +01:00
Alex Pott 4e3e39cbf5 Issue #2429443 by vijaycs85, rteijeiro, penyaskito, gloob, xjm, nod_, geertvd, pjonckiere, alexpott, Wim Leers, Gábor Hojtsy, Fabianx, tim.plunkett: Date format form is unusable 2015-06-01 17:38:29 +01:00
Alex Pott 73b5652a74 Issue #2470693 by dawehner, Berdir, jibran, hussainweb, pwolanin, znerol: Upgrade to Symfony 2.7.0 2015-06-01 11:47:08 +01:00
Alex Pott ffe9803c1b Issue #2416831 by cilefen, vasi, tadityar, Noe_, lauriii, akalata, JeroenT, Cottser, davidhernandez: Add an active_theme twig function 2015-05-28 23:05:26 +01:00
Alex Pott d2ebb7ad15 Issue #2493047 by Wim Leers: Cache redirects should be stored in the same cache bin 2015-05-28 13:35:04 +01:00
Nathaniel Catchpole 9ae3c9fb16 Issue #1805054 by Wim Leers, Gábor Hojtsy, effulgentsia, jibran, jessebeach, catch, dawehner, Fabianx, sun, larowlan: Cache localized, access filtered, URL resolved, and rendered menu trees 2015-05-26 22:22:31 +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
Alex Pott 10c6e1da51 Issue #1833356 by grendzy: CSS files encoded in UTF-8 with BOM break the design when enabling CSS aggregation 2015-05-21 20:08:57 +01:00
Alex Pott 6e8eb8ee6c Issue #2465887 by dawehner, amateescu, tim.plunkett: Extract the install/uninstall functionality to a ThemeInstaller 2015-05-21 12:52:44 +01:00
Alex Pott 673f5b7951 Issue #2445497 by Mile23, dawehner: Decouple ContainerBuilderTest from Symfony's tests 2015-05-18 14:25:39 +01:00
Nathaniel Catchpole 5eb13a958e Issue #2473907 by alexpott, maijs: Tests not being run by testbot due to missing summary line 2015-05-18 12:28:42 +01:00
Alex Pott ad871286d1 Issue #2472323 by dawehner, neclimdul, Crell, kim.pepper, nod_, Wim Leers, larowlan, jibran, pwolanin, catch: Move modal / dialog to query parameters 2015-05-13 18:12:54 -07:00
Nathaniel Catchpole e242632ca1 Issue #2450897 by plach, epari.siva, dawehner, jibran, Fabianx: Cache Field views row output 2015-05-13 12:08:57 +01:00
Alex Pott bf39af8188 Issue #2448691 by joshi.rohit100, rpayanm, ameymudras, lakshminp: comment at top of comment_hacks.css references removed function 2015-05-12 12:08:56 -07:00
Nathaniel Catchpole 0f881613ef Issue #2482295 by Berdir: Rebuilding field map with many bundles/fields is very slow 2015-05-12 13:36:06 +01:00
Alex Pott 3d2b2237a0 Issue #2485983 by willzyx: Rename the remaining {Form}::getFormID to {Form}::getFormId 2015-05-10 17:09:22 -07:00
Alex Pott 7342df62dd Issue #2335661 by Wim Leers, pwolanin, dawehner, Fabianx, larowlan, catch, Berdir: Outbound path & route processors must specify cacheability metadata 2015-05-09 05:23:46 -07:00
Alex Pott c5e5ad4a05 Issue #2204509 by klausi, Xano, fago: Allow context definitions to specify default values 2015-05-09 04:15:41 -07:00
Nathaniel Catchpole 74db053104 Issue #2428103 by dawehner, amateescu, Berdir, AjitS: String formatter should link to its translation 2015-05-08 21:53:09 +01:00
Nathaniel Catchpole 2b49f7bb5c Issue #2430219 by alexpott: Implement a key value store to optimise config entity lookups 2015-05-08 15:02:19 +01:00
Alex Pott 373d925dff Issue #2343035 by fago, dawehner, larowlan, ianthomas_uk, cilefen, hussainweb, Miroling, jibran, beejeebus, dashaforbes, webmozart, klausi: Upgrade validator integration for Symfony versions 2.5+ 2015-05-05 10:03:32 -07:00
Alex Pott d57ee5f9a3 Issue #1923406 by stefan.r, yannickoo, catch, Crell, amateescu, pwolanin, morgantocker, Damien Tournoud, sun: Use ASCII character set on alphanumeric fields so we can index all 255 characters 2015-05-05 09:42:09 -07:00
Nathaniel Catchpole 1d2f9e9368 Revert "Issue #1923406 by stefan.r, yannickoo: Use ASCII character set on alphanumeric fields so we can index all 255 characters"
This reverts commit ac4e35ce01.
2015-05-05 15:50:36 +01: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
Nathaniel Catchpole ac4e35ce01 Issue #1923406 by stefan.r, yannickoo: Use ASCII character set on alphanumeric fields so we can index all 255 characters 2015-05-04 11:39:11 +01:00
Nathaniel Catchpole e8a5d9e4e0 Issue #2479363 by Wim Leers, dawehner: Cache MenuActiveTrail::getActiveIds() for *all* menus per route match: 1 cache get instead of N DB queries, saves 1 ms/response 2015-05-04 11:21:13 +01:00
Alex Pott 13922dbdc1 Issue #1867518 by plach, dawehner, yched, iMiksu, epari.siva, marcvangend, Fabianx, Wim Leers, effulgentsia: Leverage entityDisplay to provide fast rendering for fields 2015-05-03 22:00:46 +01:00
Alex Pott d560b48c0e Issue #2475237 by mkalkbrenner: Method FieldItemList::equals() uses type safe comparison limiting usefulness. 2015-05-03 17:19:44 +01:00
xjm b31bbb084a Issue #2204697 by alexpott, tstoeckler, mauzeh, Berdir: Move getConfigPrefix() to ConfigEntityTypeInterface 2015-05-01 11:25:03 -05:00
Alex Pott e361599756 Issue #2395143 by amateescu, Fabianx, Berdir, beejeebus, dashaforbes, alexpott, larowlan, znerol, dawehner, catch, neclimdul, yched, fgm, effulgentsia: YAML parsing is very slow, cache it with FileCache 2015-04-30 12:13:24 +01:00
Nathaniel Catchpole 046965dfc1 Issue #2478443 by Wim Leers: Set the 'is-active' class for anonymous users in a Response Filter instead of a #post_render_cache callback 2015-04-28 16:44:27 +01:00
xjm 1f9eabbd92 Issue #2405165 by yched, alexpott, xjm: Entity::setOriginalId() does enforceIsNew(FALSE), that is wrong for ConfigEntities 2015-04-27 17:05:36 -05:00
Nathaniel Catchpole ea6548bcb1 Issue #2463009 by Wim Leers: Introduce CacheableResponseInterface: consolidate ways of setting X-Drupal-Cache-Tags/Contexts headers 2015-04-27 13:17:49 +01:00
Alex Pott ea0ec7084c Revert "Issue #2429443 by vijaycs85, rteijeiro, penyaskito, gloob, xjm, nod_, geertvd, Wim Leers, Gábor Hojtsy, Fabianx, pjonckiere, tim.plunkett: Date format form is unusable"
This reverts commit 37e278b4c7.
2015-04-27 11:45:14 +01:00
Alex Pott 83c537070c Issue #2466585 by Wim Leers, Fabianx: Decouple cache implementation from the renderer and expose as renderCache service 2015-04-27 11:37:57 +01:00
xjm 37e278b4c7 Issue #2429443 by vijaycs85, rteijeiro, penyaskito, gloob, xjm, nod_, geertvd, Wim Leers, Gábor Hojtsy, Fabianx, pjonckiere, tim.plunkett: Date format form is unusable 2015-04-27 03:33:55 -05:00
xjm 44e8ffd577 Issue #2432585 by almaudoh, znerol, dawehner, cpj: Improve authentication manager service construction to support custom global service providers 2015-04-27 03:24:40 -05:00
xjm a6274c0f47 Issue #2350569 by webflo, alexpott, tim.plunkett: Allow external update of ConfigEntity properties that are associated with a PluginCollection 2015-04-26 15:19:18 -05:00
xjm d51d22373a Issue #2472269 by martin107, Xano, derhasi: Fix syntax errors in Drupal\Component\Plugin's composer.json, Add test 2015-04-26 04:37:47 -05:00
xjm f559ff7829 Issue #2347799 by andypost, almaudoh, znerol: Remove bugged session-related methods from AccountInterface 2015-04-25 19:59:51 -05:00
Alex Pott 77f2abc9cd Issue #2475397 by Wim Leers: Tiny follow-up for #2474121 + unit test coverage for (Bubbleable|Cacheable)Metadata::merge() 2015-04-23 13:19:18 +01:00
Alex Pott 189be7243d Issue #2473759 by tim.plunkett, Berdir, effulgentsia: Form caches should be deleted after submission 2015-04-23 10:41:03 +01:00
Alex Pott e11f8458ae Revert "Issue #2395143 by amateescu, Fabianx, Berdir, beejeebus, dashaforbes, larowlan, dawehner, catch, alexpott, neclimdul, yched, znerol, fgm, effulgentsia: YAML parsing is very slow, cache it with FileCache"
This reverts commit 4192117d54.
2015-04-22 13:02:37 +01:00
Alex Pott 149c25ebfd Issue #2474121 by Wim Leers: CacheableMetadata should get BubbleableMetadata's merge/applyTo/createFromRenderArray/createFromObject methods 2015-04-21 15:00:34 +01:00
Alex Pott 0e699d64a4 Issue #2474761 by tim.plunkett: Remove TestFormBuilder completely 2015-04-21 00:04:17 +01:00
Nathaniel Catchpole a9f9c0316d Issue #2381505 by dawehner, pwolanin, aspilicious, rteijeiro: Unserialize preloaded routes on the fly 2015-04-20 11:32:27 +01:00
Alex Pott 7e8d2129c4 Issue #2099137 by Wim Leers, amateescu, rteijeiro, larowlan, effulgentsia: Entity/field access and node grants not taken into account with core cache contexts 2015-04-18 18:26:45 +02:00
webchick e139632218 Issue #2400287 by hass, cutesquirrel, borisson_, rteijeiro, pfrenssen, cilefen: Remove all occurences of sourceMappingURL and sourceURL when JS files are aggregated 2015-04-18 07:06:23 -07:00
xjm 3f3ebc7553 Issue #2472547 by lauriii, dawehner: Remove deprecated hook_library_alter() 2015-04-18 12:43:13 +02:00
Alex Pott 4192117d54 Issue #2395143 by amateescu, Fabianx, Berdir, beejeebus, dashaforbes, larowlan, dawehner, catch, alexpott, neclimdul, yched, znerol, fgm, effulgentsia: YAML parsing is very slow, cache it with FileCache 2015-04-18 12:29:39 +02:00
effulgentsia 8de78426bd Issue #2469277 by Fabianx, effulgentsia, marcvangend, Wim Leers, YesCT: Changing #cache keys during #pre_render or anywhere else leads to cache redirect corruption 2015-04-17 13:05:42 -07:00
Nathaniel Catchpole b986c827fb Issue #2368987 by Wim Leers, Berdir, Schnitzel, epari.siva, bircher, vijaycs85, likin: Move internal page caching to a module to avoid relying on config get on runtime 2015-04-17 11:54:56 +01:00
webchick d4431a10d7 Issue #2467411 by klausi, fago: Context class does not use typed data trait correctly, leading to fatal errors 2015-04-17 03:34:51 -07:00
webchick 3deb640a91 Issue #2297817 by alexpott, pounard, Berdir, yched, Fabianx, plach, mkalkbrenner: Do not attempt field storage write when field content did not change 2015-04-16 09:39:18 -07:00
Alex Pott eb1ee5ab20 Issue #2050269 by lauriii: hook_library_info_alter() is not called for themes 2015-04-16 16:44:37 +02:00
Alex Pott b676df9303 Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active 2015-04-16 16:25:55 +02:00
Nathaniel Catchpole 7c88cb724d Issue #2468151 by lhangea, rpayanm, Palashvijay4O: Rename the CacheContexts service to CacheContextsManager 2015-04-16 14:34:23 +01:00
Alex Pott a0ee087d7a Issue #2471743 by pwolanin: Create a more generic superclass of \Drupal\Core\Render\BubbleableMetadata 2015-04-16 12:59:35 +02:00
Alex Pott f364fc7641 Issue #2447555 by Cinnead: Unnecessary index on langcode and deleted column in dedicated field tables 2015-04-16 10:47:52 +02:00
Alex Pott b4b94c02d2 Revert "Issue #2459753 follow-up by tim.plunkett, alexpott: EntityForm::validate() should be able to modify the form structure"
This reverts commit fb5ea78b25.
2015-04-16 10:25:19 +02:00
webchick fb5ea78b25 Issue #2459753 follow-up by tim.plunkett, alexpott: EntityForm::validate() should be able to modify the form structure 2015-04-15 13:05:59 -07:00
Alex Pott 0670a5fe01 Revert "Issue #2459753 by tim.plunkett: EntityForm::validate() should be able to modify the form structure"
This reverts commit d4d83576d2.
2015-04-15 20:13:21 +02:00
Alex Pott 651063e7f5 Issue #2464045 by fgm: Move twig_render_var/twig_drupal_escape_filter to TwigExtension, inject the renderer in Twig extension and inline render() / show() function instead of calling it 2015-04-15 19:37:49 +02:00
Alex Pott d4d83576d2 Issue #2459753 by tim.plunkett: EntityForm::validate() should be able to modify the form structure 2015-04-15 18:37:18 +02:00
Alex Pott 127f0c8e2c Issue #2470928 by andrewsuth: Versions in core.libraries.yml are not always parsed as strings 2015-04-15 18:25:41 +02:00
Alex Pott 2febbffff5 Issue #2105841 by mr.baileys, Wim Leers, cs_shadow, sanduhrs, chx, webflo: Xss::filter() ignores malicious content in data-attributes and mangles image captions 2015-04-15 10:19:00 +02:00
Alex Pott a87a166736 Issue #2461773 by stefan.r, martin107: SortArrayTest has hardcoded string comparison result values, but these can differ between PHP versions 2015-04-14 09:14:35 +02:00
Alex Pott 95c294619d Issue #2074297 by pwolanin, hussainweb, larowlan: Optimize the code in doGenerate() in the UrlGenerator to take advantage of Drupal path restrictions. 2015-04-13 12:52:29 +01:00
Alex Pott 523b60b580 Issue #2463419 by Mile23, rpayanm, hussainweb: Clean-up Test members in core/tests - ensure property definition and use of camelCase naming convention 2015-04-12 11:39:52 +01:00
Alex Pott e8e84d7073 Issue #2331407 by Xano, tstoeckler, damiankloip: YamlDiscovery does not handle empty files 2015-04-12 11:20:19 +01:00
Alex Pott b43bf88c9a Issue #2340993 by Berdir: SqlContentEntityStorageSchema::requiresEntityDataMigration() returns TRUE for cases where it should return FALSE 2015-04-12 10:15:50 +01:00
Alex Pott 5ad5c13f1c Issue #2457273 by pjonckiere: Number lists are not supported in docs - use bullet lists 2015-04-09 16:03:16 +01:00
Alex Pott d48d9c9271 Issue #2448605 by martin107, willzyx, tim.plunkett, klausi, dpopdan: Replace usages of drupal_get_destination() with the redirect destination service 2015-04-09 15:56:37 +01:00
Alex Pott 6ffc4cd8ba Issue #2226621 by JeroenT, ianthomas_uk, lokapujya, pjonckiere, marcingy, LinL, Xano, rpayanm, piyuesh23: Remove usage of element_info(), element_child() and element_children(). Deprecate element_info_property() 2015-04-09 15:52:29 +01:00
Alex Pott 593b2b6446 Issue #2458543 by mbovan, Anushka-mp, jhedstrom: Entity query age(EntityStorageInterface::FIELD_LOAD_REVISION) only gets current revision ID 2015-04-09 15:36:54 +01:00
Alex Pott a0078c51f8 Issue #2460695 by mitrpaka, rpayanm: No methods on RendererInterface should be static 2015-04-09 12:49:14 +01:00
Alex Pott a4e51c82e6 Issue #2464877 by Wim Leers: Update RendererInterface::addDependency() to accept *any* object, not only CachableDependencyInterface objects 2015-04-08 22:09:50 +01:00
Alex Pott a7ab29e5d6 Issue #2432939 by neclimdul, Mile23: Optimize DrupalComponentTest 2015-04-08 13:47:51 +01:00
Alex Pott 3a6f5da580 Issue #2463321 by amateescu: Serializing the database connection is dangerous and error-prone, make it unserializable again 2015-04-08 11:45:14 +01:00
Alex Pott d7cb696ada Issue #2455739 by maxocub: formatPlural() is not fully tested for SafeMarkup 2015-04-07 12:57:20 +01:00
webchick 81a6979058 Issue #2459155 by alexpott, pfrenssen, hussainweb, neclimdul: Remove REQUEST_TIME from bootstrap.php 2015-04-06 23:53:19 -07:00
webchick 9fd632c9bf Issue #2448765 by nlisgo, Damien Tournoud, vlad.n, rteijeiro, Berdir, Fabianx, dawehner: Element::children sort order undefined and slower than it could be - This makes tests fail in PHP7 2015-04-06 15:09:00 -07:00
Alex Pott b4fdbfd6c4 Issue #2457405 by stefan.r, andypost: DateTimePlus violates substitution principle of DateTime. Make it support PHP 7 2015-04-03 16:58:03 +01:00
Alex Pott a23ebe2312 Issue #2429037 by fago, larowlan: Allow adding entity level constraints 2015-04-02 10:20:05 +01:00
Alex Pott 2b90b08353 Issue #2444231 by Wim Leers, nlisgo: Fix CacheableInterface so it makes sense (was: "Make Config objects & Entities implement CacheableInterface + add BubbleableMetadata::createFromCacheableObject()") 2015-04-01 10:39:13 +01:00
Alex Pott 284681aa43 Issue #1897058 by disasm, rteijeiro: Replace "boolean" with "bool" when used as param/return/var type 2015-03-31 17:03:31 +01:00
Alex Pott a2efc8a8ed Issue #2398331 by cilefen, davidhernandez, Wim Leers, nod_: Add the ability to attach asset libraries directly from a template file 2015-03-31 16:50:35 +01:00
Alex Pott 98b74d2d45 Issue #2453399 by neclimdul: Use VFS for FileStorage tests 2015-03-31 16:15:17 +01:00
Alex Pott 6c3303dd54 Issue #2458349 by Wim Leers: Route's access result's cacheability not applied to the response's cacheability 2015-03-31 15:07:15 +01:00
Alex Pott 2847b5980b Issue #2453059 by Wim Leers: Set default render cache contexts: 'theme' + 'languages:' . LanguageInterface::TYPE_INTERFACE 2015-03-30 17:29:41 +01:00
Alex Pott ea081822b4 Issue #2462151 by hussainweb, benjy: Remove unused Utility\String use statements 2015-03-30 16:13:40 +01:00
Alex Pott f3b8d0714e Issue #2457781 by prateekMehta, stefan.r, AjitS, hussainweb: Use Utility\Html class instead of Utility\String for decodeEntities() function 2015-03-30 10:20:36 +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
Nathaniel Catchpole f7324499f8 Issue #2451679 by Wim Leers, dawehner: Validate cache contexts (+ cache contexts in some views plugins wrong) 2015-03-26 14:53:56 +00:00
Alex Pott ae3dc626d1 Issue #2451665 by dawehner: Don't rebuild the route on ModuleInstaller::install() (30% installer speedup) 2015-03-26 10:50:08 +00:00
catch 1208ddd979 Issue #2428703 by Wim Leers: Add a 'user.permissions' cache context (was: "Should cache contexts be able to associate a cache tag?") 2015-03-26 09:41:35 +00:00
catch 17d2e5cf36 Issue #2459003 by Wim Leers: #cache[cid] breaks bubbling 2015-03-25 21:31:03 +00:00
Nathaniel Catchpole 64ac1cb815 Issue #2458993 by Wim Leers: #cache[expire] is undocumented, unused, untested: remove it, use #cache[max-age] instead 2015-03-25 11:43:19 +00:00
Alex Pott 8b2f85b5c8 Issue #2458045 by webflo: Remove calls to core/vendor/autoload.php 2015-03-24 11:49:33 +00:00
Alex Pott 6d04d2b8b9 Issue #2456983 by cilefen: Five methods in class TestFormBuilder are dead code. Remove them 2015-03-24 11:39:55 +00:00
Nathaniel Catchpole 11f5549937 Issue #2432837 by Wim Leers, Fabianx: Make cache contexts hierarchical (e.g. 'user' is more specific than 'user.roles') 2015-03-23 14:57:21 +00:00
Alex Pott 40d6efeff6 Issue #2454447 by andypost, dawehner, rteijeiro: Split Utility\String class to support PHP 7 (String is a reserved word) 2015-03-23 09:54:55 +00:00
Alex Pott 89e6ec9ffd Issue #2388349 by almaudoh: FormState::cleanValues() doesn't conform with the FormStateInterface documentation 2015-03-21 12:56:40 +00:00
Alex Pott 13e0794edc Issue #2445723 by dawehner, neclimdul: Use the $request format instead of the ContentNegotation 2015-03-20 22:39:42 +00:00
Alex Pott 566bc8bdb9 Issue #2442041 by Berdir: Remove CachedStorage::listAll() caching 2015-03-20 20:48:15 +00:00
Alex Pott ba500d4710 Issue #731298 by pjonckiere, jhodgdon: Searches for words with diacritics/accents: word not highlighted in results 2015-03-20 14:43:34 +00:00
Alex Pott cc54a481db Issue #2453891 by Dragooon, Wim Leers: Renderer::getCacheableRenderArray() does not include max-age 2015-03-20 14:28:45 +00:00
Alex Pott d2304f840c Issue #2455083 by dawehner, larowlan, klausi, David_Rothstein, hefox, tsphethean, dstol, DamienMcKenna, Pere Orga, benjy: Open redirect fixes from SA-CORE-2015-001 need to be ported to Drupal 8 2015-03-20 13:20:42 +00:00
Alex Pott 86977a1559 Issue #1919930 by tim.plunkett, nlisgo: Bundle entity form IDs violate module namespaces (both on server-side + front-end CSS) 2015-03-19 16:56:04 +00:00
Alex Pott cdc9a44889 Issue #2453627 by neclimdul, drunken monkey: Fix DrupalStandardsListener for non-TestCase objects 2015-03-19 16:13:16 +00:00
Alex Pott 531f95eb45 Issue #2286971 by znerol, Berdir, almaudoh, cilefen: Remove dependency of current_user on request and authentication manager 2015-03-19 12:34:11 +00:00
Alex Pott 1cff09757d Issue #2443885 by Xano: DrupalStandardsListener causes errors when it cannot retrieve test results. Missing abstract keyword 2015-03-17 13:49:35 +00:00
Nathaniel Catchpole 14f0f45589 Issue #2443073 by Wim Leers, joshtaylor: Add #cache[max-age] to disable caching and bubble the max-age 2015-03-16 11:02:13 +00:00
Alex Pott 40d57b3d13 Issue #356399 by dawehner, beejeebus, catch, sidharrell, klausi, nlisgo, Josh Waihi, Berdir, martin107: Optimize the route rebuilding process to rebuild on write 2015-03-16 08:42:16 +00:00
Alex Pott 08ce5a7001 Issue #2448847 by dawehner, arlinsandbulte: [regression] Themes unable to implement hook_theme_registry_alter() 2015-03-15 20:33:12 +00:00
Alex Pott 59388d8c46 Issue #2433281 by neclimdul, mrjmd: Move Role Constants on to a Class/Interface 2015-03-14 21:50:47 +00:00
Alex Pott be30a52608 Issue #2447139 by Gábor Hojtsy: Config entities should be created in the negotiated language unless otherwise specified 2015-03-14 13:52:46 +00:00
Alex Pott 5a58ba9f6b Issue #2449709 by banviktor: ContentEntityBase::set() does not respect its interface 2015-03-13 23:03:50 +00:00
Alex Pott 5fe56e2181 Issue #2445175 by Arla: Exception message in setNewRevision() is missing @entity_type context 2015-03-13 15:26:24 +00:00
Alex Pott d89c1f708d Issue #2289917 by Wim Leers, mdrummond, lauriii, Manuel Garcia, emma.maria, Scionar, davidhernandez: Convert "messages" page element into blocks 2015-03-13 09:54:28 +00:00
catch 9309d3d9f5 Issue #2381217 by Wim Leers, dawehner, Fabianx: Views should set cache tags on its render arrays, and bubble the output's cache tags to the cache items written to the Views output cache 2015-03-12 10:16:15 +00:00
Nathaniel Catchpole d64047e35e Issue #2448843 by dawehner: [regression] Themes unable to implement hook_element_info_alter() 2015-03-11 12:50:25 +00:00
Alex Pott dc3d8a01b8 Issue #2431329 by plach: Make (content) translation language available as a field definition 2015-03-10 20:55:47 +00:00