Commit Graph

1077 Commits (a8f6641a305b0b4b5b8d4977c95a37a0b6aa1531)

Author SHA1 Message Date
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