Commit Graph

3469 Commits (4b31d8ce3c44b51ce51a5debf966f51a0a9bab62)

Author SHA1 Message Date
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 4b36aab5fa Issue #2531972 by dawehner: Move ThemeManager::theme() to ThemeManager::render() 2015-07-21 12:18:30 +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 9fab1ad502 Issue #2471232 by borisson_, JeroenT, sorressean, rbmboogie, ruha, mariancalinro: Optimize Cache::merge*(), by only accepting 2 instead of N arguments 2015-07-20 13:11:52 +01:00
Nathaniel Catchpole 0f9ebb2a3c Issue #2512106 by cilefen, droplet, alexpott: Inline templates are XSS filtered incorrectly 2015-07-20 13:04:14 +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 bc62529e8b Revert "Issue #2228217 by pwolanin, ecrown, neclimdul, Fabianx, dawehner, klausi: Further optimize RouteProvider and add web test for large number of path parts"
This reverts commit 7d5e65d8d4.
2015-07-20 09:29:09 +01:00
Alex Pott 7d5e65d8d4 Issue #2228217 by pwolanin, ecrown, neclimdul, Fabianx, dawehner, klausi: Further optimize RouteProvider and add web test for large number of path parts 2015-07-19 21:11:10 +01:00
Alex Pott 88a73d862e Issue #2462907 by tstoeckler, penyaskito, Gábor Hojtsy, miro_dietiker: Entity operations to field UI shown in config overview 2015-07-17 17:23:27 +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 3724634d74 Issue #2504141 by alexpott, tim.plunkett, larowlan, David_Rothstein, dawehner: Information disclosure/open redirect vulnerability via blocks that contain a form 2015-07-17 11:56:19 +01:00
Alex Pott df44c00a6c Issue #2506151 by joelpittet, Cottser, lauriii, Lukas von Blarer, tim.plunkett: Make the Twig extension link() accept Attribute objects 2015-07-16 23:13:26 +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 cffc13a8cd Issue #2498691 by cilefen, mesch, deepakaryan1988, RavindraSingh, honzakuchar, darol100, kattekrab, Cottser, David_Rothstein: "Install and set as default" link on the Appearance page doesn't work 2015-07-16 20:24:48 +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 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
xjm 76b63583ad Issue #2532944 by chx, dawehner: AliasManagerInterface lacks doxygen 2015-07-15 13:14:46 +01:00
xjm 0827c34fb3 Issue #2533034 by chx, webflo: AliasWhitelistInterface doxygen missing 2015-07-15 13:09:04 +01:00
xjm 416a63f057 Issue #2527708 by joshi.rohit100, chx, jhodgdon, alexpott: Improve documentation for TypedConfigManagerInterface 2015-07-15 12:59:55 +01:00
xjm 92e36b3c54 Issue #2486983 by metzlerd, jhodgdon, tim.plunkett: Document Text Input Form Elements 2015-07-15 12:50:22 +01:00
webchick 3ed1ebc871 Issue #2532618 by TR: "return" used instead of "@return" in documentation 2015-07-14 21:36:21 -07:00
webchick 100f2a22fd Issue #2532646 by TR: "@return boolean" is wrong, use "@return bool" 2015-07-14 21:35:42 -07:00
webchick 5abb714fc6 Issue #2533218 by mpdonadio: Resolve todo for Symfony #12349 2015-07-14 21:33:01 -07:00
Alex Pott 8cb4102714 Issue #2527064 by jboxberger, tstoeckler: Nested condition groups in entity queries are broken 2015-07-14 17:17:21 +01:00
Alex Pott 3f5d48181f Revert "Issue #2527064 by tstoeckler: Nested condition groups in entity queries are broken"
This reverts commit f57b659dc3.
2015-07-14 17:16:26 +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 f57b659dc3 Issue #2527064 by tstoeckler: Nested condition groups in entity queries are broken 2015-07-13 16:20:16 +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
Alex Pott 9d2f34ffda Issue #2532082 by mbovan: Replace SafeMarkup::filterXss() with SafeMarkup::xssFilter() in method documentation 2015-07-13 13:01:58 +01:00
Alex Pott 94615a137b Issue #2510104 by pwolanin, nod_, Fabianx, Wim Leers, droplet, Pere Orga: Convert drupalSettings from JavaScript to JSON, to allow for CSP in the future 2015-07-13 12:39:16 +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
webchick 73e83adbad Issue #2507967 by tim.plunkett: \Drupal\Core\Entity\Controller\EntityViewController::buildTitle() assumes the is in the render array 2015-07-09 11:32:54 -07:00
webchick c66eb738f9 Issue #2508231 by timmillwood, amateescu, hussainweb, catch, dawehner, David_Rothstein, Mixologic, effulgentsia: Raise minimum required version of PHP to 5.5.9 2015-07-08 21:20:58 -07: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
Alex Pott 0f4319e418 Issue #2528292 by Fabianx, dawehner: Decouple Error testing from relying on a cached on disk-container that is created by a different Kernel 2015-07-08 11:55:40 +01:00
xjm d9d2e5f3d8 Issue #2477413 by daffie, Crell, bzrudi71, stefan.r, catch, mradcliffe, chx: Increase minimum version requirement for Postgres to 9.1.2 2015-07-08 10:16:41 +01:00
Alex Pott 49f5b153a0 Issue #2527816 by jhedstrom, pfrenssen, chx, catch: Logic error in SqlContentEntityStorage::countFieldData() attempts to drop `name` column 2015-07-08 09:38:33 +01:00
Alex Pott 5a528e59df Issue #2493665 by Fabianx, dawehner, msonnabaum, catch: Add centralized container invalidation method 2015-07-07 17:35:44 +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 dfa5621e20 Issue #2527076 by daffie: Make the class variables protected for Drupal\Core\Datetime\Entity\DateFormat 2015-07-07 14:35:09 +01:00
webchick 5e557e6ef1 Issue #2513612 by davidhernandez, ivanstegic, Bojhan, eliza411, LewisNyman, lunk_rat, nickrosencrans, stpaultim, webchick: Make the autocomplete form option text for an entity reference not be all caps 2015-07-06 12:24:49 -07:00
Alex Pott ade0716a65 Issue #2516802 by Dave Reid: FilterProcessResult->merge() results in PHP warning: Missing argument 1 for FilterProcessResult::__construct() 2015-07-06 15:03:31 +01:00
Nathaniel Catchpole 90b4ae4c4a Issue #2522120 by jhedstrom: DbDumpCommand should add collation information to the generated script 2015-07-06 14:19:03 +01:00
Alex Pott b04d55edfe Issue #1835016 by googletorp, nod_, KarenS, Sharique, Nitesh Sethia, mpdonadio: Polyfill date input type 2015-07-06 13:51:32 +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 ebb21d2804 Issue #2450993 by Wim Leers, Fabianx, Crell, dawehner, effulgentsia: Rendered Cache Metadata created during the main controller request gets lost 2015-07-05 19:00:05 +01:00
Alex Pott 2dbda2635a Issue #2509898 by dawehner, znerol, larowlan, lauriii, Aki Tendo, Wim Leers: Additional uncaught exception thrown while handling exception after service changes 2015-07-05 17:59:25 +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 34029626b2 Issue #911352 followup: Fix comment wrapping. 2015-07-04 22:38:58 +01:00
xjm 128b73a35e Issue #911352 by Liam Morland, Crell: Document that foreign keys may not be used by all DB drivers 2015-07-04 22:36:40 +01:00
xjm 2f3c86803e Issue #2511806 by claudiu.cristea, sumitmadan, znerol, neetu morwani, jhodgdon: Fix documentation in password hashing class 2015-07-04 22:28:53 +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
Alex Pott 1cc027ddf8 Issue #2513132 by klausi: Remove duplicated getDataDefinition() method in EntityAdapter 2015-07-04 00:53:05 +01:00
Alex Pott 233c9ea57e Issue #2443323 by Wim Leers, Nitesh Sethia, yched, Fabianx, jhodgdon: New convention: CacheContextInterface implementations should mention their ID in their class-level docblock 2015-07-03 23:58:07 +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
Nathaniel Catchpole a47cadae5e Issue #2498919 by stefan.r, Berdir, catch: Node::isPublished() and Node::getOwnerId() are expensive 2015-07-03 14:40:43 +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
webchick 3d04557ad9 Issue #2448681 by jeqq: Remove obsolete todo from MenuTreeParameters class 2015-07-02 00:29:48 -07:00
webchick c8a0c7c9c9 Issue #2514136 by pwolanin, Fabianx: Add default clickjacking defense to core 2015-07-02 00:23:35 -07:00
Alex Pott 40335e9773 Issue #2477853 by ingaro, daffie, bzrudi71, mradcliffe, alexpott: PostgreSQL: Add support for reserved field/column names 2015-07-01 12:49:16 +01:00
Alex Pott d433aecf0a Issue #2508735 by darol100, dawehner, pwolanin, Chi, Fabianx, tim.plunkett: Code injection via preg_replace() 2015-07-01 12:30:50 +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
Alex Pott 40ae780a3f Issue #2443679 by bzrudi71, daffie, mradcliffe, alexpott: PostgreSQL: Fix taxonomy\Tests\TermTest 2015-06-30 14:49:50 +01:00
Alex Pott 200e1b885c Issue #2511854 by NickWilde, cilefen: Datetime select list uses PHP non-OOP datetime functions 2015-06-30 13:46:13 +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 b1a6c3dc0b Back to dev. 2015-06-29 21:24:52 +01:00
Nathaniel Catchpole 48786c6ee6 Update version constant for 8.0.0-beta12 2015-06-29 19:12:48 +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 131d5772ba Issue #2453153 by mkalkbrenner, plach: Node revisions cannot be reverted per translation 2015-06-29 15:22:57 +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 59469bfae3 Issue #2512382 by Wim Leers: Follow-up for #2407195: #attached['http_header'] being added to Response in two places 2015-06-27 08:47:44 +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 f236f3e433 Issue #2509694 by kfitz, joshi.rohit100, cilefen: The $name parameter for UrlGenerator::getRoute() is documented incorrectly 2015-06-26 21:35:05 +01:00
Alex Pott 2ac614c25a Issue #2489024 by lauriii, Fabianx, Gábor Hojtsy, Cottser, dawehner, zeropx: Arbitrary code execution via 'trans' extension for dynamic twig templates (when debug output is on) 2015-06-26 16:26:38 +01:00
Nathaniel Catchpole 4e787ea3d9 Issue #2491987 by alexpott: Config import validation needs to take into account install profiles 2015-06-25 17:33:38 +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
Alex Pott 2e6633871a Issue #2507509 by catch, dawehner: Service changes should not result in fatal errors between patch or minor releases 2015-06-24 10:05:10 -05:00
Nathaniel Catchpole 0bc8ee2f8f Issue #2511354 by tim.plunkett: Remove StringTranslationTrait from FormBuilder 2015-06-24 15:21:46 +01:00
Alex Pott 2da1f42448 Issue #2399211 by mpdonadio, legolasbo, vijaycs85, pjonckiere, rteijeiro, jhodgdon, dawehner, yched: Support all options from views fields in DateTime formatters 2015-06-24 07:08:51 -05:00
Alex Pott 5217ef8c50 Issue #2505941 by JeroenT, joshi.rohit100: Remove deprecated methods on BubbleableMetadata class 2015-06-24 06:33:50 -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 b90319a601 Issue #2278965 by jhedstrom: Add a warning to the installer for MySQL if an InnoDB-compatible engine is not selected 2015-06-23 22:04:00 -05: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 e6182f966e Issue #2509434 by willzyx: Faulty dependency to ThemeInitialization in Drupal\Core\Theme\ThemeManager 2015-06-23 14:56:24 -05:00
Alex Pott 51656b3259 Issue #2417895 followup by David_Rothstein: AccountPermissionsCacheContext/PermissionsHashGenerator must special case user 1, since permissions don't apply to it 2015-06-23 12:41:55 -05:00
Alex Pott ac8605bf32 Issue #2505197 by Arskiainen, jaimeguzman, tstoeckler: Add a @see + docs about language_element_info_alter() to LanguageSelect 2015-06-23 12:30:54 -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