Commit Graph

2238 Commits (6eb60a3669eee5e2bc3adfbb35d80fc79b51d340)

Author SHA1 Message Date
Nathaniel Catchpole bb7c0570b8 Issue #2970831 by alexpott, martin107, catch, huascarmc, Mile23: Fix "AssertLegacyTrait::getRawContent() is scheduled for removal in Drupal 9.0.0. Use $this->getSession()->getPage()->getContent() instead. 2018-08-31 10:09:18 +09:00
Nathaniel Catchpole 617d5b7bed Issue #2994694 by mitrpaka, hardik.p, Vidushi Mehta, Hardik Rawal, mondrake, longwave: Properly deprecate db_driver, db_escape_field, db_escape_table, db_rename_table, db_drop_index, db_drop_unique_key, db_add_unique_key, db_drop_primary_key, db_add_primary_key 2018-08-31 10:05:49 +09:00
Nathaniel Catchpole eadaeb9ac7 Issue #2848137 by gaurav.kapoor, voleger, hgunicamp, andypost, shashikant_chauhan, brahmjeet789, pk188, cilefen, daffie: Replace all calls to db_update, which is deprecated 2018-08-28 20:41:58 +09:00
webchick 033f2a2649 Issue #2992017 by tim.plunkett, neclimdul, tedbow, johndevman: \Drupal\Core\Plugin\Context\EntityContextDefinition::getSampleValues() needlessly generates full sample entities 2018-08-25 13:19:54 -04:00
Lee Rowlands dd7fdb37bc
Issue #2978067 by msankhala: EntityAdapter should have a getEntity method 2018-08-25 12:53:17 +10:00
Nathaniel Catchpole 0245916c28 Issue #2985786 by alexpott: Document that UpdatePathTestBase tests need to be in the legacy group 2018-08-24 15:55:40 +09:00
Nathaniel Catchpole 077e230712 Issue #2894261 by alexpott, Berdir, Sam152, deepakaryan1988, larowlan, andypost: Deprecated service entity.manager needs to be replaced with entity_type.manager in ContentEntityForm 2018-08-24 15:23:48 +09:00
Nathaniel Catchpole 6b61e10702 Issue #2848815 by mondrake, voleger, gaurav.kapoor, jeetendrakumar, Sharique, vidhatanand, techtud, cilefen, andypost: Replace all calls to db_next_id, which is deprecated 2018-08-24 09:49:34 +09:00
Nathaniel Catchpole 44b3b41abd Issue #2848952 by voleger, andypost, mondrake, jeetendrakumar, pk188, hgunicamp, piggito, JayKandari, daffie, shashikant_chauhan, xjm, cilefen, chiranjeeb, Pavan B S: Replace all calls to db_merge(), which is deprecated 2018-08-24 09:21:59 +09:00
Nathaniel Catchpole 52100ba127 Issue #2994561 by andypost: Properly deprecate db_create_table 2018-08-23 21:13:10 +09:00
Nathaniel Catchpole 36570233d8 Issue #2994556 by mondrake: Properly deprecate db_and, db_condition, db_or, db_xor 2018-08-23 21:05:52 +09:00
Nathaniel Catchpole 53c4c3c27e Issue #2993577 by mondrake, voleger, andypost: Properly deprecate db_add_field, db_drop_field, db_field_names 2018-08-23 14:31:16 +09:00
Nathaniel Catchpole 89bafb75b7 Issue #2848821 by voleger, harsha012, vidhatanand, Sharique, alexpott, mondrake: Replace all calls to db_close, which is deprecated 2018-08-22 20:56:09 +09:00
Nathaniel Catchpole 917a12ac81 Issue #2848820 by jeetendrakumar, andypost, mondrake, vidhatanand: Replace all calls to db_transaction, which is deprecated 2018-08-22 09:35:38 +09:00
Nathaniel Catchpole bf7029a65c Issue #2600154 by alexpott, Cottser, joelpittet, mfernea, slasher13, vaplas, aleevas, Jo Fitzgerald, skyredwang: Update our Twig code to be ready for Twig 2.x 2018-08-21 17:18:11 +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
xjm fa6b3d95dd Revert "Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase"
This reverts commit 69501f3062.
2018-08-16 18:12:22 -05:00
Alex Pott 3f44f5bbcb
Issue #2991542 by mondrake, voleger: Introduce a DatabaseLegacyTest class for deprecation testing 2018-08-15 22:39:37 +01:00
Nathaniel Catchpole 69501f3062 Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase 2018-08-15 19:55:23 +09:00
Nathaniel Catchpole cfeae61b70 Issue #2991080 by alexpott: Remove skipped deprecations no longer triggered by tests 2018-08-13 22:20:29 +09: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
Lauri Eskola e742590eed
Issue #2981652 by ApacheEx, corbacho, drpal, dawehner, xjm, alexpott, lauriii: Format core JavaScript using recently add Prettier 2018-08-09 18:49:18 +03:00
Alex Pott b043354621
Issue #2991001 by pasan.gamage, jibran: Fix TemporaryTableMapping deprecation message 2018-08-09 11:06:36 +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 27bc1f74cb
Issue #2848817 by voleger, andypost, hgunicamp, JacobSanford, techtud, alexpott, vidhatanand, Sharique, JayKandari, kiamlaluno, cilefen, borisson_: Replace all calls to db_table_exists, which is deprecated 2018-08-06 10:41:05 +01:00
Nathaniel Catchpole b2891b8e8f Issue #2983603 by alexpott: Move menu_ui_menu_* entity hook implementations to the Menu entity 2018-07-31 20:19:53 +09: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
Alex Pott d1eee651be
Issue #2942314 by Lendude: Move JavascriptGetDrupalSettingsTest, BrowserWithJavascriptTest out of simpletest module 2018-07-30 12:01:13 +01:00
Alex Pott 7e55e67b01
Issue #2809521 by martin107, Lendude, vaplas: Convert AJAX part of \Drupal\system\Tests\Ajax\AjaxInGroupTest to WebDriverTestBase 2018-07-30 11:36:40 +01:00
Alex Pott f58b7ce3da
Issue #2987856 by voleger, mondrake, alexpott: Followup: Update Schema test 2018-07-30 11:20:50 +01: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
Nathaniel Catchpole 7c0ce17aad Issue #2969053 by alexpott, tim.plunkett, Pere Orga, cashwilliams, Jasu_M, David_Rothstein, Heine, drumm, larowlan, pwolanin, xjm, dsnopek, dawehner, mlhess, quicksketch: Add unit tests for SA002 and SA004 2018-07-25 14:00:18 +09:00
Alex Pott 90bf3dc227
Issue #2863262 by Lendude, vaplas, Jo Fitzgerald, dawehner, alexpott: Bootstrap: Convert system functional tests to phpunit 2018-07-25 05:02:32 +01:00
Alex Pott ead36d31b8
Issue #2848479 by voleger, yogeshmpawar, marvin_B8, gaurav.kapoor, hgunicamp, mondrake, daffie, alexpott, xjm, cilefen: Replace all calls to db_drop_table, which is deprecated 2018-07-24 14:57:22 +01:00
Alex Pott 2f08f6de5e
Issue #2809517 by martin107, Lendude: Convert AJAX part of \Drupal\system\Tests\Ajax\AjaxFormCacheTest to WebDriverTestBase 2018-07-22 13:51:10 +01:00
Alex Pott 0083ba97d7
Issue #2973879 by jibran, lauriii, drpal, samuel.mortenson, dawehner, Wim Leers: Add login/logout Nightwatch commands (and a Drupal "login" command to allow for that) 2018-07-21 14:47:25 +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
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
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 163144a923 Issue #2973791 by alexpott, martin107, mairi, volkerk: Fix deprecation messages related to deprecated comment Action plugins 2018-07-12 13:01:47 +01:00
Alex Pott 5a7dc82fe6
Issue #2616724 follow-up by alexpott: Warn when trying to create a database table with a NOT NULL => FALSE primary key 2018-07-11 15:11:41 +01:00
Alex Pott ca1574e36e
Issue #2980670 by follow-up alexpott: Install a site from config if the config directory is set in settings.php 2018-07-11 14:06:11 +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 ff393932ac
Issue #2983504 by ApacheEx, Lendude, Tessa Bakker: Add a way to easily set the cookies in a request done using the Guzzle client 2018-07-08 21:44:03 +01:00
Alex Pott ca5abe8c6f
Issue #2983382 by ApacheEx, drpal: JS codestyle: spaced-comment 2018-07-06 15:26:31 +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
Nathaniel Catchpole 03b2200991 Issue #2958228 by tstoeckler, alexpott: HTML output recording does not work for InstallerTestBase tests 2018-07-06 09:19:26 +01:00
Alex Pott f35ef741e2
Issue #2982983 by svetoslav.dragoev, John Cook: Batch Builder tests in the wrong location 2018-07-05 20:29:27 +01:00
Lauri Eskola 5f0f49d741 Issue #736066 by droplet, drpal, vaplas, dmsmidt, effulgentsia, nod_, tic2000, tim.plunkett, lauriii, casey, morsok, idebr, alexpott, yched, tedbow, GuyPaddock, drintios, edurenye, dtamajon, adinac, VinayLondhe, ajalan065, hrmoller, ericduran, piyuesh23, andreyks, roborew, Wim Leers, lokapujya, samuel.mortenson, Dries, DuaelFr, OnkelTem, manu manu, khiminrm, Greg Boggs, SKAUGHT, itsekhmistro, fubhy, SpadXIII, s.messaris, zviryatko: ajax.js insert command sometimes wraps content in a div, potentially producing invalid HTML and other bugs 2018-07-04 19:59:57 +01:00
Alex Pott 27740c26de
Issue #2942900 by Mixologic, vaplas, jibran, dawehner, Lendude, martin107, alexpott, tedbow, tacituseu, tstoeckler, heddn: Convert JavascriptTestBase Tests to use DrupalSelenium2Driver 2018-07-04 15:36:57 +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
Alex Pott ff99cb2133
Revert "Issue #2942900 by Mixologic, vaplas, jibran, Lendude, martin107, alexpott, dawehner, tedbow, tacituseu, tstoeckler, heddn: Convert JavascriptTestBase Tests to use DrupalSelenium2Driver"
This reverts commit f55d974612.
2018-07-04 08:20:33 +01:00
Alex Pott f55d974612
Issue #2942900 by Mixologic, vaplas, jibran, Lendude, martin107, alexpott, dawehner, tedbow, tacituseu, tstoeckler, heddn: Convert JavascriptTestBase Tests to use DrupalSelenium2Driver 2018-07-04 08:16:25 +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
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
Alex Pott 646584b3f7
Issue #2946419 by vaplas, Lendude, Mile23: Entity: Convert system functional tests to phpunit 2018-06-25 13:51:30 +01:00
Alex Pott 9e9ee75ba4
Issue #2581557 by dawehner, mxh, xjm, sorabh.v6, JeroenT: Add ltrim($path, '/') in drupalGet method 2018-06-25 12:01:36 +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 44986fefc2 Issue #2973509 by claudiu.cristea, tahirmus, alexpott: Image media source uses FileSystem class instead of FileSystemInterface for type hinting 2018-06-21 23:24:05 +01:00
Nathaniel Catchpole bb6ea924e8 Issue #2875679 by mondrake, daffie: BasicSyntaxTest::testConcatFields fails with contrib driver 2018-06-21 22:59:09 +01: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 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 396936c456
Issue #2887411 by vaplas, naveenvalecha, larowlan, dawehner, Lendude, borisson_: Add $form_html_id to drupalPostForm in BrowserTestBase and convert SearchAdvancedSearchFormTest from WTB to BTB 2018-06-17 14:51:28 +01:00
webchick bae2ff8761 Issue #2407859 by vaplas, lauriii, vprocessor, drpal, jwilson3, sidharthap, aprogs, finnsky: Allow theming throbber element 2018-06-15 09:11:46 -07: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
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
Nathaniel Catchpole c00b97b2a5 Issue #2928710 by borisson_, dawehner, idebr: Eliminate usages of \Drupal::root() in tests 2018-06-07 21:55:18 +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 c7b8d93878
Issue #2911498 by Mile23, mfernea, alexpott, dawehner, catch: Make TestServiceProvider more readable (cleanup) 2018-06-04 12:44:47 +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 f54efcf21d
Issue #2911915 by vaplas, Mile23, Wim Leers, dawehner, Lendude, nlisgo, mpdonadio: Add getHttpClient() to BrowserTestBase 2018-06-02 16:54:14 +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 8aef9a84d4
Issue #2976593 by drpal, justafish, dawehner: Prefix Nightwatch commands with a "drupal" namespace 2018-06-01 09:27:51 +02: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
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
Alex Pott 2e753970f7
Issue #2974553 by Mixologic, justafish, drpal, dawehner: Nightwatch testing fails to save console logs for some tests 2018-05-24 23:00:33 +01:00