Commit Graph

356 Commits (3071938affe76d92ba467e2f52ba3a57173fdec0)

Author SHA1 Message Date
catch 20ee128084 Issue #3152848 by alexpott: Clean up bc_entity_resource_permissions code - it does not exist anymore 2020-07-01 10:31:00 +01:00
xjm de32f3ca2d Issue #3133033 by munish.kumar, xjm, Hardik_Patel_12, daffie, swatichouhan012: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the drupalCreateUser() test method 2020-06-21 16:39:19 -05:00
xjm 94ca9bc3a0 Issue #2972224 by alexpott, longwave, jungle, sja112, xjm, dww, daffie, kiamlaluno, dawehner, quietone, Lendude: Add .cspell.json to automate spellchecking in Drupal core 2020-06-21 14:15:29 -05:00
xjm 357efb6c33 SA-CORE-2020-004 by samuel.mortenson, DorTumarkin, greggles, xjm, larowlan, webchick, pwolanin, dawehner, mcdruid, alexpott, dsnopek
(cherry picked from commit 3999b8f658)
2020-06-17 13:04:42 -05:00
Alex Pott 0f9cecbab6
Issue #3139414 by cburschka, mohrerao, pavnish, jungle, ravi.shankar, daffie, mondrake, sja112: Replace usages of deprecated AssertLegacyTrait::assert(No)Link() 2020-06-16 10:29:37 +01:00
Alex Pott 6b769d1e4f
Issue #3150661 by cburschka: FileFieldRSSContentTest uses XPath incorrectly 2020-06-15 11:17:04 +01:00
xjm 88375258cd Issue #3139412 by Bunty Badgujar, longwave, mondrake, xjm: Replace usages of deprecated AssertLegacyTrait::assertTitle() 2020-05-29 16:55:45 -05:00
xjm e4e64fa0ee Issue #3143339 by mohrerao, mondrake, longwave: Clean up the arguments of calls to WebAssert::titleEquals() and AssertLegacyTrait::assertTitle() 2020-05-28 17:29:40 -05:00
xjm 11387380d5 Issue #3139218 by mondrake, daffie: Replace usages of AssertLegacyTrait::assertResponse(), which is deprecated 2020-05-24 08:33:20 -05:00
xjm f09c890298 Issue #3132964 by jungle, longwave, sja112, dww, xjm, daffie: assertResponse() does not actually support a $message parameter, so stop passing one 2020-05-22 12:37:50 -05:00
xjm 0f66cce399 Issue #2937513 by eltori, longwave, klausi, catch, idebr: Fix 'Drupal.Commenting.DocComment.TagGroupSpacing' coding standard 2020-05-20 17:11:54 -05:00
catch 421c588c16 Issue #3131343 by mondrake, dww, jungle: Replace assertions involving calls to in_array() with assertContains()/assertNotContains() 2020-05-11 09:10:55 +01:00
catch 40a5bd7e0a Issue #3126965 by jungle, quietone, longwave, mondrake, dww: Replace assert* involving count() and an integer literal with assertCount() 2020-05-07 19:07:00 +01:00
xjm 2718a80a6b Issue #3131818 by jungle, mero.S: Replace assertions involving calls to is_object() with assertIsObject()/assertIsObject() 2020-05-04 07:54:35 -05:00
Alex Pott 023ef0412c
Issue #3131258 by longwave, mondrake, dww: Remove redundant $message from assertFile(Not)Exists and assertDirectory(Not)Exists calls 2020-05-02 13:11:18 +01:00
Alex Pott 6b54e9534f
Issue #2778917 by kiamlaluno, jungle, elaman, dawehner, alexpott, tvb, vadim.hirbu, ravi.shankar, quietone: Use the second parameter of \Drupal::state()->get() instead of checking the method didn't return any value 2020-05-02 13:07:36 +01:00
Alex Pott 3f87e0d805
Issue #3132745 by jungle, longwave, xjm, swatichouhan012, daffie: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the $modules test property 2020-05-02 12:34:00 +01:00
catch 15340c8899 Issue #3129074 by longwave, mondrake, Lal_, Suresh Prabhu Parkala, johnwebdev, jungle, kapilkumar0324: Refactor assertions that use return values in conditionals 2020-05-01 10:26:32 +01:00
catch 222e10447b Issue #3131088 by Spokje, longwave: Replace assertions involving calls to file_exists with assertFileExists()/assertFileNotExists() or assertDirectoryExists()/assertDirectoryNotExists() 2020-04-27 14:13:40 +01:00
catch 610d4b6307 Issue #3131090 by longwave: Replace assertions involving calls to is_dir with assertDirectoryExists()/assertDirectoryNotExists() 2020-04-27 10:42:12 +01:00
catch 27515dc255 Issue #3130811 by mondrake, jungle, longwave: Remove redundant $message from assert(Not)InstanceOf calls 2020-04-27 10:35:37 +01:00
catch de052f01c7 Issue #3130396 by longwave, jungle, dww, mondrake: Replace assertions involving calls to is_file with assertFileExists()/assertFileNotExists() 2020-04-27 10:31:21 +01:00
catch bcec845d85 Issue #3128575 by longwave, jungle, daffie: Replace assert*(*, is_null()) with assertNotNull()/assertNull() 2020-04-27 09:20:37 +01:00
catch 4fe0b034a9 Issue #3128905 by jungle, longwave, Kristen Pol, mondrake: Replace assert* involving an instanceof operator with assertInstanceOf()/assertNotInstanceOf() 2020-04-24 21:27:52 +01:00
Alex Pott 3ea981a11f
Issue #3128814 by longwave, jungle, dww: Replace assert* involving count() and an equality operator with assertCount() 2020-04-20 10:21:24 +01:00
catch 5132c83fac Issue #3082415 by Krzysztof Domański, mondrake, alexpott, longwave, jungle: Replace assert(Not)Same/Identical() on booleans with assert(Not)True/False() in PHPUnit tests 2020-04-17 16:00:07 +01:00
Alex Pott 6bf02d966d
Issue #2822382 by voleger, pfrenssen, erozqba, jungle, RytoEX, borisson_, jofitz, shashikant_chauhan, sidharthap, dawehner, xjm, kiamlaluno, catch, daffie, klausi: Make every $modules property protected on classes extending BrowserTestBase and KernelTestBase 2020-04-13 12:05:00 +01:00
Alex Pott 0dc28534c8
Issue #3107732 by mondrake, longwave, swatichouhan012, salah1, xjm, catch, alexpott, Berdir: Between April 13 and April 17, 2020: Add return typehints to setUp/tearDown methods in concrete test classes 2020-04-13 09:56:30 +01:00
Alex Pott 6108526c9c
Issue #3113077 by mondrake, Hardik_Patel_12, Neslee Canil Pinto, swatichouhan012, prabha1997, neelam_wadhwani, Berdir, longwave: Replace assertContains() on strings with assertStringContainsString() or assertStringContainsStringIgnoringCase() 2020-04-12 12:34:00 +01:00
Alex Pott 24e1692a9f
Issue #3016814 by jhedstrom, peximo, alexpott, jungle, scuba_fly, mr.baileys, FrancescoQ, cgoffin, Petr Illek, fabio84: Don't trigger hook_file_download when no file is requested 2020-04-05 13:02:24 +01:00
catch c964d76ad9 Issue #2966856 by Gábor Hojtsy, quietone, alexpott, vuil, catch, heddn: Hide and disable Drupal Migrate Multilingual 2020-03-13 17:29:40 +00:00
catch e79723c3ef Issue #3074585 by mikelutz, alexpott, Berdir, Mile23, heddn, effulgentsia, Wim Leers: [Symfony 5] Replace app.root and site.path string services with container parameters 2020-03-05 11:22:39 +00:00
catch 8c2f0ded3a Issue #3034062 by Berdir, Wim Leers, sokru, Stefdewa, jibran: Remove hal.module BC layers 2020-02-04 16:33:47 +00:00
catch 720924f719 Issue #2893804 by Wim Leers, Stefdewa, Berdir, catch: Remove rest.module BC layers 2020-01-27 17:41:43 +00:00
catch e1a041c493 Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-24 23:52:03 +00:00
Lee Rowlands 62afe77683
Issue #3097892 by mondrake, longwave, Berdir: Remove all @deprecated code in test base classes 2020-01-23 08:03:36 +10:00
Lee Rowlands 2e53ac1699
Revert "Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**"
This reverts commit 136f055066.
2020-01-22 10:30:15 +10:00
Lee Rowlands 136f055066
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88** 2020-01-22 09:33:30 +10:00
Lee Rowlands d175497544
SA-CORE-2019-010 by larowlan, greggles, mlhess, kim.pepper, alexpott, dww, xjm, David_Rothstein
(cherry picked from commit 63efacbb63)
2019-12-18 20:41:46 +10:00
Alex Pott a6d5e5b57f
Issue #3009854 by Berdir, Wim Leers, Mile23, alexpott, andypost, tedbow, damiankloip: Fix "The "serializer.normalizer.file_entity.hal" normalizer service is deprecated: it is obsolete, it only remains available for backwards compatibility." deprecation error 2019-12-07 13:23:07 +00:00
catch e6fd7b2927 Issue #3093563 by longwave, NigelCunningham, Dinesh18, kim.pepper: Remove all @deprecated code in the file module 2019-11-28 14:56:08 +00:00
catch a74215876a Issue #3088480 by phenaproxima, mikelutz, quietone: Remove the "cckfield" plugin type from the migration system 2019-11-28 13:04:06 +00:00
Alex Pott 144c05e1ae
Issue #3062757 by voleger, Berdir, andypost: Remove deprecated legacy include files from Drupal 9 2019-11-27 08:33:24 +00:00
Alex Pott f2469de972
Issue #3087546 by Berdir, alexpott, martin107, jibran: Remove deprecated entity manager 2019-11-14 10:49:28 +00:00
xjm 04711e23f1 Issue 2019-11-08 17:06:42 +01:00
catch 19f9474b9b Issue #2742585 by ZeiP, alexpott, mondrake, klausi, tomasnagy, Krzysztof Domański, sokru, kristiaanvandeneynde, dawehner, jeroenbegyn: Deprecate dangerous assertTrue/False() compatibility overrides in PHPUnit Kernel, Functional and FunctionalJavascript tests 2019-11-08 13:53:52 +00:00
catch 32d95eccd7 Issue #3082655 by Wim Leers, alexpott, iyyappan.govind, dww, lauriii: Specify the $defaultTheme property in all functional tests 2019-11-08 13:39:33 +00:00
Alex Pott efc4dd9796
Issue #3004929 by mikelutz, heddn: Fix 'The Drupal\migrate\Plugin\migrate\process\Migration is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use Drupal\migrate\Plugin\migrate\process\MigrationLookup' 2019-11-02 06:52:57 +01:00
catch bc6aabc9cd Issue #3087692 by Wim Leers, alexpott: Remove the core key from views configuration 2019-10-22 20:40:16 +01:00
catch e37031e09a Issue #3072702 by alexpott, Wim Leers, mikelutz, xjm, catch, Berdir, tedbow, webchick, shaal, Mixologic, heddn: Core extensions should not need to specify the new core_version_requirement in *.info.yml files so that 9.0.x can be installed 2019-10-15 15:34:52 +01:00
catch c9898ab9a9 Issue #2950132 by mondrake, alexpott, tom_ek, Gábor Hojtsy, Pasqualle, andypost, Mile23, larowlan: Support PHPUnit 7 optionally in Drupal 8, while keeping support for ^6.5 2019-10-14 14:26:26 +01:00
Alex Pott 9aa7d13c9f
Issue #3023015 by Berdir, kim.pepper, tinko, mikelutz: Replace usages of deprecated constants in file.inc 2019-10-08 21:50:39 +01:00
Alex Pott e10377015e
Issue #2869855 by mcdruid, Krzysztof Domański, wturrell, rjg, manarth, dpagini, Wim Leers, catch, xjm, cilefen: Race condition in file_save_upload causes data loss 2019-09-23 08:55:26 +01:00
catch 3d27d76d71 Issue #3051231 by TR, cindytwilliams: Class names in *.routing.yml inconsistently use leading \ 2019-09-17 11:30:36 +01:00
catch 90a550d555 Issue #3080163 by Mile23, voleger, Lendude, mondrake: Decouple TestFileCreationTrait::getTestFiles() from simpletest module 2019-09-13 11:42:26 +01:00
Lee Rowlands ae58cf0b05
Issue #3069046 by mikelutz, init90, voleger, imalabya, andypost, catch, Berdir: Properly manage newly required parameter of FileUsageBase::__construct() 2019-08-06 16:46:31 +10:00
catch 7d995bb198 Issue #3070072 by mikelutz: Fix use of deprecated file_upload_max_size() in _file_save_upload_single() of file.module 2019-07-31 08:44:23 +01:00
catch c848fb6b0f Issue #3039026 by kim.pepper, Berdir, Peter Majmesku, vadim.hirbu, YurkinPark, andypost, dww, claudiu.cristea, alexpott, jibran, dawehner, mikelutz: Deprecate file_directory_temp() and move to FileSystem service 2019-07-26 11:14:11 +01:00
catch dd907896b1 Issue #3035312 by kim.pepper, andypost, martin107, yogeshmpawar, naveenvalecha, pguillard, Berdir, dww, claudiu.cristea, jibran, Mile23: Move file_scan_directory() to file_system service 2019-07-24 11:29:08 +01:00
catch 35ffd80362 Issue #2924781 by osman, yogeshmpawar, zaporylie, mfernea: Missing @var annotation for scalars that do not provide default values 2019-07-18 14:38:54 +01:00
catch 5a27c272d5 Issue #3068089 by alexpott, mikelutz: Properly deprecate \Drupal\migrate\Plugin\MigrateIdMapInterface::lookupDestinationId() 2019-07-18 11:30:53 +01:00
catch c12498bd9e Issue #2776031 by fgm, andypost, voleger, yogeshmpawar, Berdir, joachim: Properly deprecate ThemeHandlerInterface install() and uninstall() also replace usage 2019-07-12 14:15:04 +01:00
Alex Pott e39262bf5b
Issue #2228741 by rpayanm, mikelutz, voleger, epari.siva, malotor, Rolf van de Krol, quietone, Mile23, andypost, ianthomas_uk, Lendude, alexpott, dawehner, xjm, Gábor Hojtsy, Berdir, catch: Replace calls to format_string() with Drupal\Component\Render\FormattableMarkup 2019-07-11 09:06:33 +01:00
Alex Pott 3954b06d3c
Issue #3031539 by mondrake, amateescu, larowlan, Berdir: FileFieldTestBase tests fail under PHPUnit 7 2019-06-09 21:09:42 +01:00
Alex Pott e08ec1395c
Issue #3034072 by kim.pepper, Berdir, alexpott, jibran, larowlan, claudiu.cristea: Move file uri/scheme functions from file.inc and FileSystem to StreamWrapperManager 2019-06-02 08:53:50 +01:00
Alex Pott 408c540ccf
Issue #2886622 by Berdir, martin107, Mile23, tim.plunkett, mikelutz, jonathan1055: Deprecate all EntityManager methods with E_USER_DEPRECATED 2019-05-30 12:36:55 +01:00
Lee Rowlands 2adeb979e2
Issue #3048434 by claudiu.cristea, Lendude: Convert FileManagedAccessTest into a Kernel test 2019-05-27 17:06:18 +10:00
catch 43cb1b5cce Issue #3053363 by alexpott, Wim Leers, Berdir, mondrake, xjm: Remove support for PHP 5 in Drupal 8.8 2019-05-24 11:36:30 +01:00
Lee Rowlands ba509afbc9
Issue #3047866 by mikelutz, Berdir, TR, alexpott, andypost, Satyanarayan Reddy: Remove usage of deprecated \Drupal::entityManager() in core 2019-05-24 16:44:36 +10:00
Alex Pott 982773dea5
Issue #2884052 by zviryatko, Krzysztof Domański, alexpott, drclaw, vijaycs85, Madis, charlotte.b, mcdruid, Berdir, lauriii: Uploading a managed file on a custom form that allows multiple files also triggers the remove button which results in a duplicate temporary record and results in the file being deleted 2019-05-18 11:37:04 +02:00
Lee Rowlands 31a5cba35c
Issue #3049021 by kim.pepper, Berdir: Deprecate file_default_scheme() and just use config 2019-05-17 12:15:25 +10:00
Alex Pott cbb7ef070a
Issue #2969691 by thejacer87, matthieuscarset, lhangea, rwohleb, alexpott: Muted attribute not working for Video file 2019-05-02 18:21:34 +01:00
Alex Pott bfe4794d88
Issue #3027178 by Berdir, alexpott, miroslav-lee, andypost, larowlan, mikelutz, JeroenT: Properly deprecate entity_load_multiple_by_properties() 2019-04-30 08:41:05 +01:00
Lee Rowlands f950d08bd5
Issue #2974253 by andypost, legolasbo, mikelutz, Gábor Hojtsy: Remove remaining usages of entity_view and entity_view_multiple from core 2019-04-30 07:35:23 +10:00
Lee Rowlands a98b58765d
Issue #3035953 by Berdir, andypost, vacho: Add @trigger_error() to deprecated EntityManager->EntityFieldManager methods 2019-04-26 17:09:28 +10:00
Lee Rowlands da94d7fc6b
Issue #2367933 by phenaproxima, mikelutz, Berdir, voleger, amateescu, chr.fritsch, johndevman, Jo Fitzgerald, andypost, larowlan, alexpott: Move entity_get_(form_)display() to the entity display repository 2019-04-26 12:51:29 +10:00
Lee Rowlands 870b5646b2
Issue #3021434 by voleger, Peter Majmesku, andypost, Berdir, kim.pepper: Properly deprecate drupal_unlink() 2019-04-26 12:44:21 +10:00
Alex Pott 00b3590a1d
Issue #2802803 by Berdir, AdamPS, Darren Oh, alexpott, Munavijayalakshmi, jackbravo, slashrsm, mmbk, Dane Powell, larowlan, LittleCoding, gapple, catch, wiifm, quantumized, acbramley: Temporary files whose files are missing on the disk result in never-ending error log messages 2019-04-19 12:47:53 +01:00
Alex Pott 01efa20b62
Revert "Issue #2802803 by Berdir, AdamPS, Darren Oh, Munavijayalakshmi, jackbravo, slashrsm, mmbk, Dane Powell, LittleCoding, gapple, catch, wiifm, alexpott, quantumized, acbramley: Temporary files whose files are missing on the disk result in never-ending error log messages"
This reverts commit e4188e4dec.
2019-03-27 08:39:39 +00:00
Alex Pott e4188e4dec
Issue #2802803 by Berdir, AdamPS, Darren Oh, Munavijayalakshmi, jackbravo, slashrsm, mmbk, Dane Powell, LittleCoding, gapple, catch, wiifm, alexpott, quantumized, acbramley: Temporary files whose files are missing on the disk result in never-ending error log messages 2019-03-26 15:53:36 +00:00
Nathaniel Catchpole c67761090d Issue #3002206 by jibran, longwave, truls1502, alexpott, NickWilde: Update the stable version of drupal/coder to ˆ8.3.1 2019-03-26 14:37:28 +00:00
xjm 4e7959f886 SA-CORE-2019-004 by alexpott, larowlan, greggles, drumm, mlhess, David_Rothstein, pwolanin
(cherry picked from commit eae8a6c10d)
2019-03-20 10:37:33 -05:00
Nathaniel Catchpole 503d9dde7d Issue #2976035 by amateescu, blazey, hchonov, plach, tstoeckler, catch, jibran, larowlan, alexpott: Entity type CRUD operations must use the last installed entity type and field storage definitions 2019-03-08 10:45:58 +00:00
Alex Pott a726a4312a
Issue #2809503 by Lendude, markdorison, voleger, andypost, jibran, alexpott, Mixologic, mondrake: Convert AJAX part of \Drupal\file\Tests\FileFieldWidgetTest to JavascriptTestBase 2019-03-07 09:31:05 +00:00
Alex Pott 97a6869145
Issue #3021450 by kim.pepper, jibran, voleger, alexpott, Berdir: Add @trigger_error to deprecated functions in file.inc and replace their usages 2019-03-07 09:13:25 +00:00
Nathaniel Catchpole a33e47e5af Issue #3035361 by claudiu.cristea: Remove usages of drupal_static() & drupal_static_reset() from file_test.module 2019-03-04 15:23:01 +00:00
Lee Rowlands 9431a1cb8e
Issue #3032376 by alexpott, dww, Berdir: Files renamed by \_file_save_upload_single() do not have the correct filename on the File entity 2019-02-25 20:45:21 +10:00
Alex Pott 76bf269417
Issue #2244513 by kim.pepper, phenaproxima, 20th, andrei.dincu, beejeebus, Berdir, alexpott, jibran, andypost, larowlan, Chadwick Wood, acbramley, Wim Leers, sun, xjm, YesCT, chx, tim.plunkett: Move the unmanaged file APIs to the file_system service (file.inc) 2019-02-23 22:35:15 +00:00
xjm 57170a6ad7 Revert "Issue #2244513 by kim.pepper, phenaproxima, 20th, andrei.dincu, beejeebus, Berdir, jibran, alexpott, andypost, larowlan, Chadwick Wood, Wim Leers, acbramley, YesCT, sun, tim.plunkett, chx: Move the unmanaged file APIs to the file_system service (file.inc)"
This reverts commit 56be1a032e.
2019-02-23 13:09:49 -06:00
Alex Pott 56be1a032e
Issue #2244513 by kim.pepper, phenaproxima, 20th, andrei.dincu, beejeebus, Berdir, jibran, alexpott, andypost, larowlan, Chadwick Wood, Wim Leers, acbramley, YesCT, sun, tim.plunkett, chx: Move the unmanaged file APIs to the file_system service (file.inc) 2019-02-23 13:45:05 +00:00
Gábor Hojtsy 14e383a009 Issue #3031086 by amateescu, plach: Configurable fields that are created only for update path tests should be defined with custom_storage = TRUE 2019-02-18 16:35:45 +01:00
Alex Pott e69e249da0
Issue #3023981 by Berdir, larowlan, alexpott, xjm, catch: Add @trigger_error() to deprecated EntityManager->EntityRepository methods 2019-02-17 00:00:58 +00:00
Nathaniel Catchpole 8d0bc4442c Issue #3021654 by Mile23, kim.pepper, Berdir, andypost: Deprecate file_delete() and file_delete_multiple() in file.inc 2019-02-14 12:57:07 +00:00
Nathaniel Catchpole a3a1663bfc Issue #2723593 by alexpott, Jo Fitzgerald, daffie, JacobSanford, rajeshwari10, chishah92, Saviktor, marvin_B8, valthebald, Mile23, Berdir: Properly deprecate entity_load() and friends 2019-02-05 12:08:32 +00:00
Nathaniel Catchpole 447cdb78ed Issue #3028657 by alexpott, Berdir: Properly deprecate entity_load_multiple() 2019-02-04 12:29:50 +00:00
Alex Pott cc5b5dc3ec
Issue #3023799 by Berdir, alexpott, tim.plunkett, larowlan: Add @trigger_error() to deprecated EntityManager::clearCachedDefinitions() method 2019-01-26 14:52:11 +00:00
Nathaniel Catchpole d6688ebf3c Issue #3021395 by quietone, alexpott: MigrateDrupalTestBase::migrateContent(['translations') does not migrate translations 2019-01-21 11:35:48 +00:00
Nathaniel Catchpole 31f9ebf7f5 Issue #3008446 by alexpott, jcnventura, fenstrat, quietone, voleger, andypost: Complete the deprecation of format_date() 2019-01-01 19:15:24 +00:00
Alex Pott b99b499e70
Issue #3021458 by kim.pepper, voleger: Properly deprecate drupal_move_uploaded_file() 2018-12-23 18:46:15 +01:00
Alex Pott 701be77194
Issue #2869426 by Wim Leers, dawehner, tstoeckler, alexpott, Berdir, larowlan: EntityResource should add _entity_access requirement to REST routes 2018-12-18 16:10:14 +00:00