Commit Graph

5233 Commits (6eb60a3669eee5e2bc3adfbb35d80fc79b51d340)

Author SHA1 Message Date
Nathaniel Catchpole 4ba4c09fa1 Issue #2772321 by msankhala, shashikant_chauhan, dhruveshdtripathi, vimal_nadar, joachim: insert() and other public methods with an param should refer to where to find details on this 2018-08-21 17:08:51 +09:00
Nathaniel Catchpole dcbb276a70 Issue #2820179 by andypost, mondrake, darkdim, piggito, ieguskiza, daffie: Replace usages of deprecated method db_change_field() 2018-08-21 12:52:43 +09:00
Nathaniel Catchpole 725e36091e Issue #2895532 by caseylau, Wim Leers, tedbow, dawehner, DamienMcKenna, gabesullice, Berdir, mistermoper, skyredwang, larowlan, bojanz: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map 2018-08-16 11:35:24 +09:00
Alex Pott ae7bca02df
Issue #2984955 by neclimdul, alexpott: Fix THe to be The 2018-08-14 20:28:53 +01:00
Alex Pott 6c40e077ef
Issue #2937853 by idebr, mfernea, SherFengChong, alexpott, borisson_: Fix 'Drupal.Formatting.MultipleStatementAlignment' coding standard 2018-08-13 11:13:36 +01:00
Alex Pott 02330aaa20
Issue #2893029 by phenaproxima, Sam152, tim.plunkett, alexpott, a.dmitriiev, dawehner, Berdir: EntityType objects cannot be reliably serialized without DependencySerializationTrait 2018-08-10 22:48:55 +01:00
Alex Pott 1781eeafc3
Issue #2989686 by msankhala, joachim, jwlockhart: documentation topic uses self:: outside of a class 2018-08-09 11:09:05 +01:00
Alex Pott b043354621
Issue #2991001 by pasan.gamage, jibran: Fix TemporaryTableMapping deprecation message 2018-08-09 11:06:36 +01:00
Alex Pott e3d81645d3
Issue #2987399 by Mile23, alexpott: Update database.api.php to remove deprecated db_*() functions 2018-08-08 12:10:49 +01:00
Alex Pott 9b6643deaf
Revert "Issue #2893029 by phenaproxima, Sam152, tim.plunkett, dawehner, a.dmitriiev, Berdir: StringTranslationTrait consumers cannot be reliably serialized without DependencySerializationTrait"
This reverts commit f4e81e0506.
2018-08-08 09:57:20 +01:00
Alex Pott a4208fd3c8
Issue #2961285 by pavlosdan, hchonov, borisson_: Entity query condition count is faulty 2018-08-07 15:48:44 +01:00
Alex Pott f4e81e0506
Issue #2893029 by phenaproxima, Sam152, tim.plunkett, dawehner, a.dmitriiev, Berdir: StringTranslationTrait consumers cannot be reliably serialized without DependencySerializationTrait 2018-08-07 14:49:42 +01:00
Francesco Placella bacd6578d3 Issue #2987124 by alexpott, mondrake: Functional tests don't use SIMPLETEST_DB environmental variable as expected 2018-08-07 12:09:45 +02:00
Alex Pott 533dfa6479
Issue #2986079 by benoit.borrel, alexpott, tim.plunkett, msankhala: Use KernelEvent's isMasterRequest() method instead of HttpKernelInterface's constant 2018-08-06 11:42:16 +01:00
Alex Pott bc328489db
Issue #2990118 by amateescu: Optimize 'initial' and 'initial_from_field' handling in MySQL and PostgreSQL 2018-08-06 10:53:18 +01:00
Francesco Placella 9ca1ea1c91 Issue #2982759 by amateescu: EntityUpdateToRevisionableAndPublishableTest wrongly assumes entities should be converted to revisionable and publishable in a single step 2018-08-01 00:04:38 +02:00
Nathaniel Catchpole 82eb7eeaa0 Issue #2966523 by alexpott, blakemorgan, almaudoh, gapple, Mixologic, amateescu, bojanz: MySQL 8 Support 2018-07-31 13:17:30 +09:00
Nathaniel Catchpole 68eee65ffc Issue #2976335 by alexpott, Erik Frèrejean, HenrikBak, andypost: Use Zend-Feed's standalone extension managers to prevent sites breaking 2018-07-30 20:50:51 +09:00
Francesco Placella 76fdebab79 Issue #2960136 by amateescu, tstoeckler, vijaycs85: Add the ability to use a prefix for all the tables in a table mapping 2018-07-27 11:42:37 +02:00
Nathaniel Catchpole d2f461ffab Issue #2826021 by hchonov, Berdir, mkalkbrenner, plach, james.williams, tstoeckler: FieldItemList::equals is sufficient from the storage perspective but not for code checking for changes 2018-07-26 14:45:21 +09:00
Nathaniel Catchpole 3b3eda5054 Issue #2987009 by alexpott: Remove unnecessary space in queries generated by Select::__toString() 2018-07-25 15:42:16 +09:00
Alex Pott 8c5075ad69
Issue #2985147 by eliclaggett, msankhala, neclimdul: Correct copy pasted plugin constructor documentations 2018-07-24 16:18:58 +01:00
Alex Pott 52aa9a23d9
Issue #2986033 by mtodor, tim.plunkett, phenaproxima: [regression] The BC layer for EntityContextDefinition in ContextDefinition is incomplete 2018-07-24 16:15:46 +01:00
Alex Pott 3fe7057fdb
Issue #2861210 by tetranz, borisson_, zuuperman, axel.rutz, alexpott: Local tasks are not shown after enabling module 2018-07-22 11:40:58 +01:00
Nathaniel Catchpole 16efa3bea6 Issue #2986901 by gabesullice, alexpott: Followup for #2666392: ConfigEntityTypeInterface::getPropertiesToExport no longer returns NULL, throws exception instead 2018-07-20 19:39:13 +01:00
Lauri Eskola d2e0ae499f Issue #2558079 by Aki Tendo, Jo Fitzgerald, Wim Leers, borisson_: Assertions in DrupalTemplateTwigExtension 2018-07-20 08:49:51 +03:00
Alex Pott 92e2f1a3a4
Issue #2985709 by andypost, alexpott: Remove outdated @todo in StatusMessages 2018-07-16 11:39:46 +01:00
Alex Pott bc8ba878e5
Issue #2972300 by msankhala, joachim: badly worded @return for getPreferredLangcode() 2018-07-16 11:16:08 +01:00
Alex Pott 7353b6f170
Issue #2952634 by Sut3kh, alexpott, Rob C, jibran: LegacyMessenger::deleteByType does not delete anything 2018-07-16 10:08:24 +01:00
Gábor Hojtsy 1e8a4de636 Issue #2975754 by Berdir, plach, alexpott, hchonov, mkalkbrenner, tstoeckler, webchick: Add hooks to act on a new revision being created 2018-07-16 10:20:58 +02:00
Lee Rowlands 96c4a7e24f
Issue #2976244 by Sam152, amateescu, Berdir: The BaseFieldOverride entity fails to normalize default values into the "array keyed by delta" format in the same way BaseFieldDefinition does when a callback is specified 2018-07-14 08:15:53 +10:00
xjm 1c02293732 Drupal 8.7.x-dev 2018-07-13 10:33:06 -04:00
Nathaniel Catchpole 62e59a00f2 Issue #2981025 by msankhala, barthje, Stockticker, penyaskito, alexpott: Replace injection of deprecated entity.manager service with entity_type.manager in \Drupal\Core\Field\Plugin\Field\FieldFormatter\StringFormatter and LanguageFormatter 2018-07-13 14:28:14 +01:00
Nathaniel Catchpole b55ed6bd46 Issue #2666392 by alexpott, webflo, xaqrox, Boobaa, dawehner, Berdir: Unable to revert third party settings via config import 2018-07-13 14:11:18 +01:00
Nathaniel Catchpole 099f4146a5 Issue #2932462 by phenaproxima, japerry, tim.plunkett: Add EntityContextDefinition for the 80% use case 2018-07-13 13:26:50 +01:00
Nathaniel Catchpole 14a769b758 Issue #2631698 by Jo Fitzgerald, robpowell, phenaproxima, heddn, quietone: Fix sub-optimal DX in MigrateFieldInterface 2018-07-13 12:39:04 +01:00
Nathaniel Catchpole 72cd973590 Issue #2616724 by amateescu, daffie: Warn when trying to create a database table with a NOT NULL => FALSE primary key 2018-07-11 13:34:17 +01:00
Gábor Hojtsy 8fbece069c Issue #2980670 by alexpott, bircher, marcvangend, webchick, jibran, Gábor Hojtsy, benjifisher, smaz: Install a site from config if the config directory is set in settings.php 2018-07-11 11:15:42 +02:00
Alex Pott 61cbaba042
Issue #2605284 by mondrake, david_garcia, GoZ, Jo Fitzgerald, alexpott, Pradnya Pingat, daffie, dawehner, amateescu, David Strauss, larowlan: Testing framework does not work with contributed database drivers 2018-07-10 15:13:08 +01:00
Alex Pott 8ba73263a2
Issue #2984141 by GoZ: Remove @see drupal_get_messages() annotation in StatusMessages.php 2018-07-06 15:26:32 +01:00
xjm 83c47444f4 Issue #2904711 by Jo Fitzgerald: Missing and incorrect parameter, return, and thrown exception data types in Drupal\Core\Executable\ExecutablePluginBase 2018-07-06 15:24:09 +01:00
Alex Pott 9409fb9d00
Issue #2973227 by jibran, benjy, alexpott, Mile23, Sam152, vaplas, larowlan: Move UI helper functions from BTB into the traits 2018-07-06 15:10:47 +01:00
Alex Pott c7afa35f60
Issue #2503263 by jhedstrom, fgm, cilefen: Config import validation needs to provide error messages 2018-07-06 13:22:33 +01:00
xjm 3c5bf74b8b Issue #2975451 by Jaypan: Incorrect reference in StreamWrapperInterface.php description 2018-07-06 12:22:41 +01:00
Nathaniel Catchpole cb67958df8 Issue #2557299 by alexpott, Manuel Garcia, borisson_, phenaproxima, swentel, Berdir, larowlan, mbovan, martin107, LKS90, segi, tim.plunkett, giancarlosotelo: Any AJAX call disregards machine name verification when AJAX is used and leads to a fatal error 2018-07-04 12:48:07 +01:00
Francesco Placella cf458f2e04 Issue #2981220 by amateescu, jibran, tstoeckler: SqlContentEntityStorage should use the table names provided by its table mapping 2018-07-03 23:57:14 +02:00
Francesco Placella 7963071675 Issue #2960046 by amateescu, tstoeckler: Allow the table mapping to be instantiated with a custom entity type definition 2018-07-03 23:54:05 +02:00
Nathaniel Catchpole 5e908886e9 Issue #2976103 by amateescu, catch, tstoeckler, alexpott: Make it possible to retrieve all the last installed entity type definitions at once from the update manager 2018-06-29 15:13:38 +01:00
Nathaniel Catchpole 7410ab4ab0 Revert "Issue #2976103 by amateescu, tstoeckler, alexpott: Make it possible to retrieve all the last installed entity type definitions at once from the update manager"
This reverts commit 246e95d4f5.
2018-06-29 12:50:13 +01:00
Alex Pott 491aa06759
Issue #2982042 by progga: UUID component's composer.json has wrong description 2018-06-29 10:47:35 +01:00
Nathaniel Catchpole 246e95d4f5 Issue #2976103 by amateescu, tstoeckler, alexpott: Make it possible to retrieve all the last installed entity type definitions at once from the update manager 2018-06-28 23:02:16 +01:00
Nathaniel Catchpole 944203f44e Issue #2976356 by phenaproxima, amateescu, Sam152: Add a validation constraint to check if an entity has a field 2018-06-28 22:55:38 +01:00
Alex Pott bb5c5a3593
Issue #2835989 by gwagroves, Jo Fitzgerald, alexpott: DatabaseQueue::numberOfItems should return an integer 2018-06-26 10:26:25 +01:00
Nathaniel Catchpole 1672637596 Issue #2975328 by alexpott, Gábor Hojtsy, borisson_: Install profile in settings.php and mismatch check makes re-installs of Drupal hard 2018-06-25 20:12:22 +01:00
Lee Rowlands 1b66e5369f
Issue #2961822 by phenaproxima, tim.plunkett: Support object-based plugin definitions in ContextHandler 2018-06-25 13:37:08 +10:00
Nathaniel Catchpole aae672cc28 Issue #2940203 by almaudoh, dawehner: Use dedicated Exception classes for extension system 2018-06-21 22:51:20 +01:00
Nathaniel Catchpole fb05cb4bd3 Issue #2930996 by alexpott, mtodor, chr.fritsch, Berdir: Config installer doens't install possible installable config 2018-06-21 22:46:28 +01:00
Nathaniel Catchpole e74d54b5b5 Issue #2960507 by alexpott: Remove call_user_func_array from OptionsRequestSubscriber 2018-06-21 20:05:20 +01:00
Nathaniel Catchpole de724027fe Issue #2788777 by alexpott, bircher, jribeiro, Eli-T, mpotter, douggreen, GoZ, DamienMcKenna, Dane Powell, jibran, szeidler, Alumei, andypost, dawehner, johndevman: Allow a site-specific profile to be installed from existing config 2018-06-20 19:03:54 +01:00
Nathaniel Catchpole 49a45db6f8 Issue #2979944 by alexpott: Remove t() usage in Drupal\Core\Validation 2018-06-19 11:37:56 +01:00
Alex Pott 8b388f07c2
Issue #2977175 by borisson_, PieterJanPut, tstoeckler, msankhala: DataDefinition::setConstraints() should be on DataDefinitionInterface 2018-06-18 09:21:31 +01:00
Alex Pott b263f5c4d0
Issue #2822611 by Mile23, Wim Leers, alexpott, Berdir, catch, dawehner, xjm, tstoeckler, borisson_: Document why UserInterface + FileInterface + MenuLinkContentInterface + … extend \Drupal\Core\Entity\ContentEntityInterface 2018-06-16 09:43:54 +01:00
Alex Pott a02e2ea086
Issue #2969598 by msankhala, joachim: badly formatted sample code in docs for Select::orderBy() 2018-06-16 09:29:10 +01:00
Nathaniel Catchpole f70f4f47a2 Issue #2969715 by alexpott, pookmish, dawehner: Drush site-install command doesn't work when settings.php is present 2018-06-15 13:40:35 +01:00
Nathaniel Catchpole 59833538ee Issue #2978788 by eliclaggett, amateescu: \Drupal\Core\TypedData\TypedData::__construct() should type hint its $definition argument to DataDefinitionInterface 2018-06-15 12:07:08 +01:00
Alex Pott 845da7492b
Issue #2975751 by msankhala, leolando.tan, joachim, claudiu.cristea: incorrect @return for Tables::getTableMapping() 2018-06-14 15:18:41 +01:00
Gábor Hojtsy 41c88ee2b8 Issue #2979166 by RajeevK, lomasr: Wrong documentation on SiteCacheContext class 2018-06-14 14:59:00 +02:00
Alex Pott 284b4202ba
Issue #2772251 by msankhala, markpavlitski, joachim: description for EntityForm::actions() could use rewording 2018-06-13 09:18:21 +01:00
Alex Pott 7896891da5
Issue #2978848 by claudiu.cristea, amateescu: EntityReferenceFieldItemList::referencedEntities() doesn't work for computed fields 2018-06-13 09:10:02 +01:00
Alex Pott f283ab5511
Issue #2877828 by msankhala, joachim: FormInterface::getFormId() should state restrictions on the returned ID string 2018-06-11 19:09:08 +01:00
Alex Pott 68cd2e5528
Issue #2932777 by mondrake, borisson_, alexpott, daffie: Risky count() in SQLite Statement 2018-06-09 11:13:36 +01:00
Gábor Hojtsy 0daa2b5227 Issue #1818574 by tim.plunkett, alexpott, tedbow, dawehner, EclipseGc, fago, Wim Leers, andypost, Berdir, xjm, yched, catch, jibran, effulgentsia: Support config entities in typed data EntityAdapter 2018-06-08 14:18:59 +02:00
Nathaniel Catchpole 81a13c6436 Issue #2521956 by Berdir, Fabianx, effulgentsia, andypost, lauriii, seanB, Wim Leers, Upchuk: Missing contexts prevent caching of block access 2018-06-08 12:30:33 +01:00
Alex Pott c4923ea2a2
Issue #2976493 by tstoeckler, daffie: Creating a table with an explicitly empty primary key is broken on PostgreSQL 2018-06-08 11:15:08 +01:00
Alex Pott 8faf0fa481
Issue #2974722 by tstoeckler, daffie, amateescu, alexpott, mondrake: Fix dropping of columns in a composite primary key on MariaDB >=10.2.8 and make it consistent across database drivers 2018-06-06 15:40:42 +01:00
Alex Pott 3edde1fcaf
Issue #2881522 by mondrake, tstoeckler, daffie, alexpott, amateescu, catch: Add a Schema::findPrimaryKeyColumns method to remove database specific logic from test 2018-06-05 19:33:53 +01:00
Alex Pott 7c1de1efa1
Issue #2405241 by philipnorton42, jibran, dawehner, andrewmacpherson: Add helpful exception message in CustomAccessCheck 2018-06-03 08:33:32 +02:00
Alex Pott 8ce2a3ec3a
Issue #2955383 by Wim Leers, borisson_, dawehner: List available representations in 406 responses 2018-06-02 17:40:15 +02:00
Alex Pott 84b902eb6c
Issue #2966969 by tim.plunkett, msankhala, alexpott: Trigger a warning whenever the "Broken" block plugin is instantiated 2018-06-02 15:44:14 +02:00
Alex Pott 1e37fc8065
Issue #1596472 follow-up by tacituseu: Replace hard coded static cache of entities with cache backends 2018-05-31 16:10:41 +02:00
xjm a4ee1b1b70 Issue #2932249 by Murz, xjm, andypost, Chi, amateescu: Incorrect transliteration of some Russian Cyrillic characters 2018-05-31 08:36:51 -05:00
xjm 861fa35bd3 Revert "Issue #2932249 by Murz, xjm, andypost, Chi: Incorrect transliteration of some Russian Cyrillic characters"
This reverts commit cbac738d9a.
2018-05-31 08:36:17 -05:00
Alex Pott d8029d7ee0
Issue #1596472 by catch, amateescu, claudiu.cristea, Berdir, Mile23, Sam152, pounard, fago, alexpott, fubhy, hchonov: Replace hard coded static cache of entities with cache backends 2018-05-31 12:07:30 +02:00
xjm cbac738d9a Issue #2932249 by Murz, xjm, andypost, Chi: Incorrect transliteration of some Russian Cyrillic characters 2018-05-30 17:10:43 -05:00
Gábor Hojtsy f16ee05a6e Issue #2916781 by timmillwood, tedbow, drpal, lauriii, Adita, andrewmacpherson, yoroy, amateescu, borisson_, ckrina: Allow off-canvas dialog to be rendered at the top of the page 2018-05-29 18:12:49 +02:00
Nathaniel Catchpole ba12307b96 Issue #2841651 by Berdir: Config save resets overridden configuration too late 2018-05-21 12:35:06 +01:00
Alex Pott a7fdfb6469
Issue #2955685 by Wim Leers, dawehner, mpdonadio, alexpott, borisson_: Unrouted URLs cannot have have overridden query or fragments 2018-05-18 11:13:12 +01:00
Alex Pott d9a566139a
Issue #2858184 by tstoeckler, alexpott, amateescu: Adding NOT NULL to base fields with multiple columns is broken 2018-05-18 09:25:02 +01:00
Alex Pott d6f7a9cd68
Issue #2973347 by Wim Leers: EntityCreateAccessCheck should provide a useful error message when no bundle is specified 2018-05-18 09:22:53 +01:00
Francesco Placella e551206954 Issue #2580265 by FeyP, jcisio, s_leu, Berdir, tstoeckler: entity query nested conditions must use LEFT joins when any of the parent condition groups is using OR 2018-05-17 17:12:38 +02:00
Nathaniel Catchpole 6f8f239d8e Issue #2968519 by alexpott, amateescu, martin107: The entity.query service is essentially deprecated because it relies on \Drupal\Core\Entity\Query\QueryFactory which is 2018-05-17 13:18:31 +01:00
Nathaniel Catchpole 36fe1245a6 Issue #2971375 by cspitzlay: Fix "does not exists" in comments and test error messages 2018-05-17 11:41:17 +01:00
Lee Rowlands 585e6338b5
Issue #2938035 by Wim Leers, alexpott: When PATCHing a field is disallowed, no reason is given for *why* this happens 2018-05-16 11:30:32 +10:00
Alex Pott 29cff72522
Issue #2972835 by vegantriathlete: Switch datatypes to data types 2018-05-15 09:25:04 +01:00
Lee Rowlands 0d6d22af0b
Issue #2926120 by idebr, zaporylie, borisson_: @var tag must not end with a full stop 2018-05-15 06:49:38 +10:00
Alex Pott 018bd7c5e2
Issue #2765609 by c31ck, gnuget, hgoto, Yogesh Pawar, weboide, alexpott: #plain_text doesn't render empty-like values (e.g. 0 and "0") 2018-05-14 09:47:42 +01:00
Lee Rowlands add2370188
Issue #2972003 by alexpott: Verify that the file name matches the ID when installing configuration 2018-05-14 09:28:54 +10:00
Alex Pott 89a7f66bc8
Issue #2966137 by vaplas, tim.plunkett: Circular entity references cause infinite loop in EntityReferenceItem::generateSampleValue() 2018-05-12 17:41:38 +01:00
Lee Rowlands 2b331d00bf
Issue #2854543 by Wim Leers, polynya, dawehner, mpdonadio, gabesullice, larowlan, klausi: NegotiationMiddleware calls $request->setRequestFormat('html') when there is no _format request parameter, but shouldn't 2018-05-12 08:21:27 +10:00
Lee Rowlands 41dfad388c
Issue #2854543 by Wim Leers, polynya, dawehner, mpdonadio, gabesullice, larowlan, klausi: NegotiationMiddleware calls $request->setRequestFormat('html') when there is no _format request parameter, but shouldn't 2018-05-12 08:20:15 +10:00