Commit Graph

365 Commits (d436711365a534619d22264aca5ce54244dbd0d1)

Author SHA1 Message Date
Dave Long 8b85a04407
Issue #3360139 by bradjones1: Phpdoc for ResourceTypeRepositoryInterface::get return value is incomplete 2023-06-16 14:53:58 +01:00
catch b83467eabc Issue #3325557 by longwave, mondrake, kim.pepper: Enable more service autowiring by adding interface aliases to core modules 2023-06-14 13:59:48 +01:00
catch 99c902a24f Issue #3366288 by andypost, longwave: Add [#\ReturnTypeWillChange] attribute to TemporaryArrayObjectThrowingExceptions for PHP 8.3 compatibility 2023-06-14 13:53:01 +01:00
catch 6204ba9c59 Issue #2665216 by andypost, gidarai, daffie, mondrake, _utsavsharma, dawehner, catch, longwave, alexpott, Charlie ChX Negyesi: Deprecate Drupal\Core\Database\Connection::nextId() and the {sequences} table and schema 2023-06-08 12:59:56 +01:00
catch 339643bebb Issue #2551419 by kristiaanvandeneynde, catch, dawehner, Wim Leers, borisson_, bradjones1, tstoeckler, andypost: Abstract RenderCache into a separate service that is capable of cache redirects in a non-render array-specific way 2023-06-07 16:56:20 +01:00
catch 6ef863a2a3 Issue #3354382 by mondrake: [PHPUnit 10] Provide a static viable alternative to $this->prophesize() in data providers 2023-06-07 09:37:15 +01:00
catch a50411ad1d Issue #3360124 by andypost, elber: Deprecate ::supportedInterfaceOrClass property on normalizer/denormalizers 2023-05-18 11:39:01 +01:00
catch a6c9dbbe28 Issue #3338328 by Spokje, andypost, longwave, effulgentsia, jungle, catch, smustgrave, Wim Leers: Update to Symfony 6.3 2023-05-14 15:45:05 +01:00
catch dd5a5b712e Issue #2962088 by yogeshmpawar, jvsouto, Rassoni, Prashant.c, bhanuprakashnani, quietone, cilefen, longwave, drumm, smustgrave: Convert drupal.org to example.com in tests 2023-05-11 13:53:48 +01:00
Dave Long db5c7a1dc5
Issue #3268833 by quietone, xjm, jungle, ravi.shankar, smustgrave, daffie, Spokje, DanielVeza: Fix method comments in tests for Drupal.Commenting.DocComment.ShortSingleLine 2023-04-30 18:58:07 +01:00
Lee Rowlands f06e188e2f
Issue #3318549 by smustgrave, mstrelan, larowlan, rkoller, AaronMcHale, acbramley: Rename Custom Block terminology in the admin UI 2023-04-17 18:50:08 +10:00
Dave Long 596b3d38f1
Issue #3351236 by Spokje, mondrake, smustgrave: Fix PHPStan L1 errors "Missing call to parent::setUp()/tearDown() method." 2023-04-16 22:50:09 +01:00
catch c0cc344fb6 Issue #3336780 by diegors, schlaukopf, xjm, fabiansierra5191: Correctly capitalize "url" in documentation only, part 2 2023-04-12 15:28:50 +01:00
Lee Rowlands 9b09c2792d
Issue #1975064 by smustgrave, tanc, ravi.shankar, seanpclark, pixlkat, wengerk, meena.bisht, cboyden, rjg, klaasvw, nikitagupta, larowlan, MaskOta, mlncn, dsnopek, fenstrat, fago, vacho, yobottehg, Grimreaper, rpayanm, B-Prod, SKAUGHT, rkoller, yoroy, stefan.r, psf_, AaronMcHale, rootwork, ifrik, TravisCarden, stella, kae76, josephdpurcell@gmail.com, eelkeblok, andypost, benjifisher: Add more granular block permissions 2023-03-31 11:43:26 +10:00
catch 336c3ef206 Issue #3351060 by Spokje: Fix PHPStan L1 errors "You should use assertNull() instead of assertSame(null, $actual)." 2023-03-29 23:46:03 +01:00
catch b3fac4a09f Issue #3328454 by xjm, Bhanu951, jidrone, smustgrave: Replace most strpos() !== FALSE or === FALSE with str_contains() 2023-03-18 11:30:09 +00:00
Dave Long ba8126bd3b
Issue #2937514 by Spokje, quietone, dhirendra.mishra, Sparrow_1601, daffie, longwave: Fix Drupal.NamingConventions.ValidVariableName.LowerCamelName in tests 2023-03-12 20:39:40 +00:00
Dave Long de09fc95c5
Issue #3322743 by Spokje, mondrake: Fix PHPStan L2 errors "Parameter $foo of method Foo::bar() has invalid type Foo\Baz." and "Method Foo::bar() has invalid return type Foo\Baz. " 2023-03-12 19:15:58 +00:00
Lauri Eskola 74fbfda767
Issue #2949017 by alexpott, voleger, sourabhjain, oakulm, C-Logemann, khiminrm, Steven McCoy, jose.carvalheira, maxplus, rwohleb, Nigel Cunningham, dww, Matroskeen, Hardik_Patel_12, mrinalini9, ndobromirov, seperezf, froboy, anmolgoyal74, netsliver, nbaosullivan, ranjith_kumar_k_u, mpp, hai.nguyen.phc, larowlan, Berdir: There is no way to delete file entities of other users 2023-02-19 11:58:08 +02:00
catch 8df6544ec1 Issue #3266568 by mxr576, sourabhjain, quietone: Refactor array_merge() usage in loops as possible for performance 2023-02-17 12:16:21 +00:00
catch e2564e1cce Issue #3082059 by kristiaanvandeneynde, borisson_, Wim Leers: ResourceTestBase needlessly tests the caching layer 2023-02-15 14:17:53 +00:00
Dave Long 30c3b75528
Issue #3231184 by mglaman, smustgrave, longwave: ResourceTestBase::setUpAuthorization references wrong permission grant methods 2023-02-14 09:48:23 +00:00
catch 652709e400 Issue #3328443 by xjm, rpayanm, alexpott, catch, longwave: Replace most strpos() === 0 or !== 0 with str_starts_with() 2023-01-27 12:37:01 +00:00
xjm 1d6b90e8bc
Issue #3219472 by quietone, Abhishek_Singh, karishmaamin, longwave, smustgrave, xjm: Fix spelling for words used once, beginning with 'e' -> 'i', inclusive 2023-01-09 22:21:00 -06:00
xjm 36a8edd987
Issue #3327853 by Spokje, bbrala, longwave: Don't allow {@inheritDoc} annotation in PHPDocBlocks 2022-12-19 17:16:19 -06:00
Alex Pott 4096338786
Issue #3213752 by Spokje, bradjones1, quietone, _pratik_, ravi.shankar, rpayanm, bbrala, alexpott, catch: Remove dead code from JsonApiDocumentTopLevelNormalizerTest 2022-12-12 09:35:38 +00:00
Alex Pott 82576b6002
Issue #784672 by smustgrave, floretan, lokapujya, joegraduate, jcnventura, AndyF, joelpittet, darvanen, c960657, eiriksm, viappidu, jungle, ravi.shankar, DanielVeza, Meenakshi_j, gordon, raman.b, mohit_aghera, vsujeetkumar, aleevas, vakulrai, bruvers, larowlan, vpeltot, wjaspers, Sonal.Sangale, jan.stoeckler, jofitz, vdsh, minorOffense, LewisNyman, mgifford, Berdir, tstoeckler, Luke.Leber, Hanno, alexpott, andypost, yannickoo, hchonov, quietone, David_Rothstein, fgm, mr.baileys, MaxMendez, mpp: Allow text field to enforce a specific text format 2022-11-29 11:38:07 +00:00
Alex Pott e2d4dcfdf2
Issue #3319582 by mondrake, Spokje, longwave, mallezie: Fix calls to methods with too many parameters passed in 2022-11-29 11:38:06 +00:00
catch 67e74312fc Issue #3283929 by eleonel, smustgrave: Fix comment with a plural possessive typo in jsonapi.api.php 2022-11-28 10:23:36 +00:00
Alex Pott d9059c0650
Issue #3323260 by Spokje, longwave: Deprecate node_revision_load() and friends 2022-11-23 21:54:56 +00:00
Alex Pott 10ea35d5d6
Issue #3227824 by brianperry, nod_, D34dMan, ravi.shankar, alexpott, johnny5th, bbrala, yogeshmpawar, Suresh Prabhu Parkala, larowlan, joachim, benjifisher, baddysonja, xjm, gabesullice, casey, lauriii: Move the linkset functionality from the decoupled menus contributed module to core's system module 2022-11-16 09:33:10 +00:00
catch ec67c18ab0 Issue #3127883 by Wim Leers, Oscaner, bbrala, ptmkenny, alexpott, jhedstrom, kswamy, catch: JSON:API should provide a helpful error response if there is a typo in a field property name 2022-10-25 08:43:31 +01:00
Alex Pott a30c59d48c
Issue #3310760 by poker10, Wim Leers: Broken issue links in @todos 2022-10-03 20:06:14 +01:00
catch ffdecfadf6 Issue #3274474 by mondrake, longwave, andypost, Spokje, catch, alexpott: Fix 'Access to an undefined property' PHPStan L0 errors 2022-09-13 12:32:43 +01:00
xjm 555f44570c
Issue #3293813 by Spokje, longwave, quietone, catch, nod_, bbrala, xjm: Move RDF-related tests to RDF module 2022-08-22 06:22:13 -05:00
Alex Pott 6a1855c2e2
Issue #3290810 by Spokje, catch, dww, longwave, alexpott: Remove updates added prior to 9.4.0 (9.4.4 for ckeditor) and add 9.4.0 database dumps 2022-08-11 13:02:30 +01:00
Alex Pott f27dc02c28
Issue #3280302 by anoopsingh92, Shashwat Purav, arunkumark, bbrala: JsonApiDocumentTopLevelNormalizerTest::generateProphecies called with extra arguments 2022-08-03 12:24:26 +01:00
catch fe516c1a2a Issue #3264633 by mstrelan, Spokje, dww, larowlan, catch, tim.plunkett, bbrala, xjm: Remove \Drupal\layout_builder\QuickEditIntegration and refactor it so that quickedit contrib provides the integration with layout builder 2022-06-16 11:43:52 +01:00
Alex Pott 386d79e2e0
Issue #3283794 by mondrake, longwave: Fix 'should return {type} but return statement is missing' PHPStan L0 errors in test code 2022-06-14 14:10:16 +01:00
Alex Pott 6dd0db56c8
Issue #3281535 by mondrake, daffie: Fix 'Access to an undefined property' PHPStan L0 errors in test code 2022-06-14 11:27:54 +01:00
Alex Pott bf7ce2f89f
Issue #3279103 by bradjones1: Test cleanup: Remove dead code from JsonApiFunctionalTest 2022-05-15 20:32:59 +01:00
Alex Pott 3449a8b6ad
Issue #3276195 by mondrake, catch: Symfony\Component\Serializer\Normalizer\NormalizerInterface::supportsEncoding/supportsDecoding will require a new "array $context" argument in the next major version 2022-05-02 18:41:48 +01:00
Alex Pott a5eec7f198
Issue #3272731 by Shashwat Purav, danflanagan8: jsonapi tests should not rely on Classy 2022-04-06 14:22:05 +02:00
catch 7e81e515da Issue #2616814 by dpi, Xano, geek-merlin, Hardik_Patel_12, jofitz, alexpott, Fabianx, catch, joachim, andypost, dawehner, daffie, cweagans, neclimdul: Delegate all hook invocations to ModuleHandler 2022-03-29 11:00:53 +01:00
catch 579208e4e3 Issue #3271050 by xjm, Wim Leers, bbrala: Update REST and JSON:API Editor tests to rely on CKEditor 5 instead of CKEditor 2022-03-29 10:16:46 +01:00
mstrelan 6e7ed05ed3 Issue #3031271 by mstrelan, larowlan, bbrala, PQ, lois.chabrand, acbramley, drs2034, Kristen Pol, Wim Leers, Roensby: Support version negotiation for any entity type (currently only Node & Media are supported) 2022-03-24 20:32:44 +00:00
Alex Pott 39b12c461c
Issue #3264122 by Spokje, Taran2L, ankithashetty, quietone, catch, xjm, daffie: Move all non migration aggregator tests to the module in preparation of removal in d10 2022-03-17 14:05:52 +00:00
Lee Rowlands dce52d1ff1
Issue #3154962 by alexpott, vijaycs85, bbrala, Berdir, Wim Leers: TemporaryJsonapiFileFieldUploader::checkFileUploadAccess() checks for bundle 2022-02-24 10:56:52 +10:00
quietone cc7876e1f0 Issue #3264059 by andypost: Remove deprecated jsonapi module functions 2022-02-22 06:29:32 +00:00
catch 1ad1a2d970 Issue #3257127 by bbrala, quietone, murilohp, Spokje, anabpv, catch, xjm, Gábor Hojtsy, daffie, dww: Trigger a deprecation message when a deprecated module or theme is enabled 2022-02-14 23:29:27 +00:00
catch 0a045ce9b2 Issue #2940025 by andypost, nickolaj, quietone: Remove deprecated functions from file module 2022-02-14 17:04:27 +00:00
Alex Pott 4a0c1deba2
Issue #3263126 by longwave, bbrala: Avoid unnecessary installs when testing JSON:API on config entities 2022-02-14 11:24:34 +00:00
Alex Pott 42630422b9
Issue #3261486 by catch, longwave, dww: Remove core updates added prior to 9.3.0 and adjust test coverage 2022-02-08 12:16:18 +00:00
Alex Pott cbcdb8b2d4
Issue #3164210 by jungle, sylus, Akhildev.cs, dww: Refactor array_merge() usage in loops as possible for performance 2022-02-07 11:26:28 +00:00
catch 27158f7c9d Issue #3262190 by daffie, longwave: Add miscellaneous return type hints for Symfony 6 2022-02-03 17:41:13 +00:00
catch cf89a29cb4 Issue #3261265 by andypost, longwave: Remove deprecated MimeTypeGuesser code 2022-02-02 14:34:10 +00:00
Alex Pott 76c0ec234c
Issue #3219649 by quietone, murilohp, longwave: Fix spelling for words used once, beginning with 'q' -> 's', inclusive 2022-01-27 02:25:01 +00:00
catch c0228273ac Issue #3162981 by murilohp, andypost, quietone, paulocs, lucienchalom, longwave, daffie, catch: [Symfony 6] Use Symfony\Component\HttpFoundation\InputBag where appropriate instead of ParameterBag 2022-01-24 16:00:19 +00:00
Alex Pott 2f1c716625
Issue #3106216 by Spokje, longwave, alexpott, apaderno, Hardik_Patel_12, daffie: Remove unused variables from core 2022-01-10 12:07:03 +00:00
Alex Pott adff905c9e
Issue #3175287 by murilohp, quietone, SivaprasadC, ankithashetty, anmolgoyal74, sarvjeetsingh, xjm, longwave: Remove accidentally duplicated words in code comments 2022-01-01 16:19:49 +00:00
Alex Pott ff2d2ea1d9
Issue #3210129 by quietone, murilohp, xjm: Fix spelling for words used once, beginning with 'a' -> 'd', inclusive 2022-01-01 13:52:01 +00:00
Alex Pott 09795b6e93
Issue #3131348 by Spokje, jungle, mondrake, vsujeetkumar, sja112, kishor_kolekar, Hardik_Patel_12, mrinalini9, yogeshmpawar, daffie: Replace assertions involving calls to empty() with assertEmpty()/assertNotEmpty()/assertArrayNotHasKey() 2021-12-30 13:40:35 +00:00
Alex Pott aa3434c4aa
Issue #3049048 by danflanagan8, ndobromirov, mglaman, bbrala, alexpott, Wim Leers, gabesullice: Invalid JSON:API responses when maintenance mode is on 2021-12-30 11:16:28 +00:00
Alex Pott 9df13e0344
Issue #3252872 by bbrala, gabesullice, bradjones1, alexpott: Use CacheableSupportsMethodInterface for performance improvement in jsonapi normalizers 2021-12-29 15:04:23 +00:00
Alex Pott f87303bf2d
Issue #3199696 by bbrala, Wim Leers, plach, bradjones1, gabesullice: Add language support to ResourceObject 2021-12-28 11:20:42 +00:00
catch 4ca93c9ca8 Issue #3254250 by Spokje, longwave, catch, daffie: [Symfony 6] Retrieving a non-string value from "Symfony\Component\HttpFoundation\InputBag::get()" is deprecated 2021-12-28 10:12:12 +00:00
Alex Pott 1359e7abde
Issue #3232097 by daffie, longwave: [Symfony 6] Add "array" type hint to methods overriding Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() 2021-12-18 06:36:14 +00:00
Alex Pott 00ad1d7572
Issue #3254331 by paulocs, longwave: [Symfony 6] Add "array|string|int|float|bool|\ArrayObject|null" to all Normalizer classes that implement the method ::normalize() 2021-12-18 04:11:05 +00:00
catch cfd8517353 Issue #3182103 by TR, dan2k3k4, longwave, mondrake, Sweetchuck, Kristen Pol: Ensure correct signature for setUp(), tearDown(), setUpBeforeClass(), and assertPostConditions() methods 2021-12-14 12:05:17 +00:00
catch 45630c7c34 Issue #3232080 by paulocs, daffie, longwave: [Symfony 6] Add "mixed" type hint to all Normalizer classes that implement the method ::denormalize() 2021-12-13 13:08:43 +00:00
catch 203654b234 Issue #3232063 by paulocs, daffie, longwave: [Symfony 6] Add "bool" type hint to Drupal\serialization\Normalizer\NormalizerBase::supportsNormalization() and subclasses 2021-12-13 12:07:37 +00:00
catch 92836c436b Issue #3138078 by mondrake, larowlan, longwave, xjm: [D9.3 beta - w/c Nov 8, 2021] Add a 'void' return typehint to custom assert* methods 2021-11-22 15:25:32 +00:00
catch 4aa86df958 Issue #3231040 by alexpott, Anul, longwave, bbrala, catch: (revert) Remove DependencySerializationTrait from JSON API exceptions 2021-11-22 10:07:23 +00:00
Alex Pott 576bd7543d
Issue #3207567 by Spokje, quietone, guilhermevp, yogeshmpawar, daffie, alexpott: Fix Drupal.Commenting.FunctionComment.MissingParamComment 2021-11-19 09:49:33 +00:00
catch b9fd8ef3d5 Issue #3248810 by daffie: [Symfony 6] The Drupal\Tests\jsonapi\Kernel\EventSubscriber\ResourceObjectNormalizerCacherTest fails with Symfony 5 2021-11-16 14:22:30 +00:00
catch 5281af2829 Issue #3248801 by daffie, rakesh.gectcr, bbrala, longwave: [Symfony 6] The Drupal\Tests\jsonapi\Functional\JsonApiFunctionalTest fails with Symfony 5 2021-11-16 12:07:58 +00:00
Lee Rowlands a83a7a7836
Issue #3231781 by longwave, mondrake, Feuerwagen, larowlan, TR, nlisgo, xxAlHixx, DuaelFr, GoZ, benjy, no_angel, Mac_Weber: [D9.3 beta - w/c Nov 8, 2021] Remove remaining uses of t() in tests 2021-11-15 12:46:09 +10:00
Lee Rowlands 6d39cdeeb4
Issue #3222769 by bbrala, alexpott, longwave, Matroskeen: [November 8, 2021] Replace all list (array destructuring) assignment to the array syntax 2021-11-15 12:35:55 +10:00
Lee Rowlands 330473e759
Issue #3222251 by bbrala, longwave: [November 8, 2021] Replace all isset constructs with the null coalescing operator 2021-11-15 12:19:43 +10:00
catch 5c78c18977 Issue #3232074 by bbrala, daffie, alexpott, effulgentsia, catch, gabesullice: [Symfony 6] Add "array|string|int|float|bool|\ArrayObject|null" to all Normalizer classes that implement the method ::normalize() 2021-11-02 15:23:29 +00:00
catch a427549e6e Revert "Issue #3232074 by bbrala, daffie, effulgentsia, catch, gabesullice, alexpott: [Symfony 6] Add "array|string|int|float|bool|\ArrayObject|null" to all Normalizer classes that implement the method ::normalize()"
This reverts commit 9aa1d53c01.
2021-11-02 11:20:50 +00:00
catch 9aa1d53c01 Issue #3232074 by bbrala, daffie, effulgentsia, catch, gabesullice, alexpott: [Symfony 6] Add "array|string|int|float|bool|\ArrayObject|null" to all Normalizer classes that implement the method ::normalize() 2021-11-01 16:21:38 +00:00
Lee Rowlands 1190672bc6
Issue #3043321 by jibran, acbramley, ravi.shankar, Manuel Garcia, johnwebdev, dpi, kim.pepper, mstrelan, NWOM, AaronMcHale, larowlan, Berdir, Wim Leers, kristiaanvandeneynde, bbrala, catch: Use generic access API for node and media revision UI 2021-10-25 11:25:35 +10:00
Alex Pott 623cc951b5
Issue #3083561 by Grimreaper, raman.b, ankithashetty, mglaman, bbrala, Wim Leers, quietone: Add explicit test coverage for JSON:API filtering on a datetime field 2021-10-20 10:38:20 +01:00
Alex Pott 9d8e7da4fc
Issue #3228000 by bbrala, larowlan, GuyPaddock, Wim Leers, bradjones1, alexpott, catch, e0ipso: Users deleted via JSON:API DELETE don't follow the site-wide cancel_method in the user settings 2021-10-11 09:08:35 +01:00
catch 9da1866da4 Issue #3232673 by alexpott, longwave, Berdir, andypost: \Drupal\Core\Entity\EntityInterface::label() can return a NULL 2021-09-30 12:15:17 +01:00
xjm 34667c88de SA-CORE-2021-010 by bradjones1, xjm, bbrala, gabesullice, Wim Leers, e0ipso 2021-09-24 18:05:20 +01:00
xjm a6e58bf24f SA-CORE-2021-008 by klausi, xjm, larowlan, alexpott, samuel.mortenson, mcdruid, kim.pepper 2021-09-24 18:05:05 +01:00
catch fb545897bf Issue #3238452 by alexpott: Exception messages must default to an empty string not a NULL for PHP 8.1 2021-09-23 10:53:54 +01:00
catch f6015954f6 Issue #3236284 by alexpott: Passing request headers to string functions causes deprecations in PHP 8.1 2021-09-21 17:32:22 +01:00
Alex Pott a8d3f780cc
Issue #3214675 by el7cosmos, bbrala, hehongbo, larowlan, alexpott: JSON:API Cannot upload files to public file root (Gets 422 Unprocessable Entity) 2021-09-20 14:21:36 +01:00
mohit.bansal623 9dcc967672 Issue #3236255 by mohit.bansal623: Remove rebuildAll from FileUploadtest where possible 2021-09-18 00:57:02 +00:00
catch 06e7f027d8 Issue #3231040 by Anul, longwave, alexpott, bbrala: Remove DependencySerializationTrait from JSON API exceptions 2021-09-17 14:22:52 +01:00
Lee Rowlands f06ad93f53
Issue #3224523 by alexpott, longwave: [PHP 8.1] Add ReturnTypeWillChange attribute where necessary 2021-09-17 13:12:50 +10:00
Lee Rowlands c1ceedb7b0
Issue #3225034 by bbrala: Simplify ResourceTypeRepository control flow for returning cached data 2021-09-06 09:28:36 +10:00
Alex Pott 5ff249f5e1
Issue #2997123 by jibran, Wim Leers, bbrala, gabesullice, quietone, axle_foley00, KapilV, acbramley, dpi, mglaman, tstoeckler, e0ipso, Sam152: Cacheability of normalized computed fields' properties is not captured during serialization 2021-08-30 16:04:38 +01:00
Alex Pott f928fe9d0a
Issue #3147244 by bbrala, pavnish, naresh_bavaskar, Wim Leers, alexpott: Inject @current_user service into JSON:API's FieldResolver 2021-08-30 14:41:13 +01:00
catch 6951f4d77a Issue #3225328 by mxr576, Berdir, longwave: Improve page performance by sorting cache contexts/tags on-demand 2021-08-27 12:36:31 +01:00
catch a227db1833 Issue #3021833 by pavnish, andypost, munish.kumar, kim.pepper, googletorp, swatichouhan012, daffie, Berdir, alexpott, xjm: Move FILE_STATUS_PERMANENT to \Drupal\file\FileInterface 2021-08-06 08:54:08 +01:00
catch 5cd5a9d0ae Issue #3002352 by longwave, andypost, gabesullice, googletorp, daffie, alexpott, borisson_: CacheableHttpException must pass a $headers argument to HttpException 2021-08-05 21:27:51 +01:00
Alex Pott 65fb382979
Issue #3224420 by andypost, longwave, daffie: [PHP 8.1] Exception codes should be numeric and not NULL 2021-07-29 10:35:48 +01:00
Lee Rowlands fc51b4b1c4
Issue #3105318 by bbrala, mglaman, ravi.shankar, Wim Leers, gabesullice, larowlan, bojanz, e0ipso: Add a public API for aliasing resource type names 2021-07-29 16:49:40 +10:00
catch 6335af17b4 Issue #3221312 by Spokje: ->willReturn(...) would make more sense here 2021-07-28 11:57:46 +01:00
catch 8abf81e7e9 Issue #3223267 by alexpott, daffie: Remove some calls to drupal_flush_all_caches() in tests 2021-07-16 08:47:59 +01:00
Alex Pott 69772dbfab
Issue #3222980 by bbrala: Unneeded assignment in ResourceTestBase::getEntityDuplicate 2021-07-10 12:59:29 +01:00
Alex Pott 3e4b17a7c9
Issue #2669074 by kim.pepper, Berdir, gaydabura, andypost, ravi.shankar, KapilV, Wim Leers, bradjones1, nickolaj, alexpott, mondrake, 20th, yogeshmpawar, gaurav.kapoor, voleger, Pavan B S, Neslee Canil Pinto, aerozeppelin, Cameron Tod, daffie, dhruveshdtripathi, abramm, Nono95230, s.messaris, Mile23, claudiu.cristea, larowlan, catch, jibran, SpadXIII: Convert file_create_url() & file_url_transform_relative() to service, deprecate it 2021-07-09 14:18:01 +01:00
Lee Rowlands cffb02aad6
Issue #2571235 by alexpott, claudiu.cristea, dawehner, Wim Leers, gabesullice, IJsbrandy, benjifisher, alisonjo315, larowlan, Berdir, effulgentsia, longwave, herom, dmouse, heddn, catch: [regression] Roles should depend on objects that are building the granted permissions 2021-07-09 14:50:54 +10:00
catch 1d5e219f85 Issue #3156396 by TR, pavnish, mondrake, longwave, catch, jungle: Use assertSameSize() to check same size of two countable variables 2021-06-21 12:31:24 +01:00
catch 878d35905c Issue #3036593 by bbrala, gabesullice, BryanRice, anmolgoyal74, effulgentsia, pwolanin, Wim Leers, mstef, larowlan: Add 'drupal_internal__target_id' to JSON:API representation of entity reference fields, because that can't be retrieved from the target resource for target entity types without corresponding resources 2021-06-21 12:22:02 +01:00
catch e48dcff470 Issue #2879159 by Spokje, LoMo, ravi.shankar, quietone, mondrake: Some calls to assertEquals have expected/actual parameters reversed 2021-06-21 11:27:34 +01:00
catch 37bd3765c3 Issue #3124762 by Spokje, dww, johnwebdev, paulocs, piyuesh23, Suresh Prabhu Parkala, Deepak Goyal, catch, larowlan, rpsu, xjm, andypost, alexpott, daffie, longwave, fgm, Wim Leers, anmolgoyal74: Add 'lifecycle' key to .info.yml files 2021-06-17 11:50:33 +01:00
catch 116ebd1e2c Issue #3217706 by Spokje, longwave, guilhermevp, mondrake: Replace usages of assertFileNotExists(), that is deprecated 2021-06-14 09:26:39 +01:00
catch 63c54d9439 Issue #3217709 by sudiptadas19, mondrake: Replace usages of assertRegExp(), that is deprecated 2021-06-09 14:16:16 +01:00
Alex Pott 9306f06914
Revert "Issue #3162016 by longwave, andypost, Hardik_Patel_12, catch, alexpott, daffie, Kristen Pol: [Symfony 6] Retrieving a non-string value from "Symfony\Component\HttpFoundation\InputBag::get()" is deprecated"
This reverts commit 8b8fc1eff7.
2021-06-02 17:42:53 +01:00
Alex Pott 8b8fc1eff7
Issue #3162016 by longwave, andypost, Hardik_Patel_12, catch, alexpott, daffie, Kristen Pol: [Symfony 6] Retrieving a non-string value from "Symfony\Component\HttpFoundation\InputBag::get()" is deprecated 2021-05-27 21:07:25 +01:00
catch f3ad0680a3 Issue #3133162 by jungle, ravi.shankar, Deepak Goyal, Neslee Canil Pinto, anmolgoyal74, xjm, Kristen Pol: Replace the start verb Test with Tests in method comments of tests 2021-05-24 14:26:11 +01:00
Alex Pott 4a72cc3169
Issue #3207734 by Spokje, quietone: Fix Drupal.Commenting.InlineVariableComment 2021-05-20 21:47:18 +01:00
catch 9630f296b7 Issue #3051766 by bnjmnm, alexpott, Oleksiy, finnsky, zrpnr, jungle, Wim Leers, vacho, anmolgoyal74, lauriii, tim.plunkett, rachel_norfolk, andypost, catch, Gábor Hojtsy, nod_, fubarhouse: Deprecate and replace jQuery Joyride (for tours) 2021-05-19 13:22:11 +01:00
catch 6802ea3355 Issue #3207968 by quietone, longwave, Spokje: Replace @codingStandards comments with phpcs: comments 2021-05-17 20:22:22 +01:00
Lee Rowlands cdf0726ead
Issue #3204763 by longwave: Fix mismatched sprintf calls 2021-04-24 13:37:42 +10:00
catch 6e137b34e8 Issue #2799049 by AaronBauman, jungle, hussainweb, Neograph734, a_mitch, dww, anmolgoyal74, Hardik_Patel_12, geek-merlin, cilefen, eblue, fmueller_previon, Anas_maw, rensingh99, Abhijith S, yepa, Ruchi Joshi, Stephen Ollman, catch, alexpott, benjifisher, Wim Leers: Add new permission to view user email field 2021-04-09 09:16:16 +01:00
catch 311bc9114d Revert "Issue #2799049 by AaronBauman, jungle, hussainweb, Neograph734, a_mitch, anmolgoyal74, Hardik_Patel_12, geek-merlin, cilefen, eblue, fmueller_previon, Anas_maw, rensingh99, Abhijith S, yepa, Ruchi Joshi, Stephen Ollman, dww, alexpott, catch, benjifisher, Wim Leers: Add new permission to view user email field"
This reverts commit 84c8b1e1d9.
2021-04-08 17:40:33 +01:00
catch 84c8b1e1d9 Issue #2799049 by AaronBauman, jungle, hussainweb, Neograph734, a_mitch, anmolgoyal74, Hardik_Patel_12, geek-merlin, cilefen, eblue, fmueller_previon, Anas_maw, rensingh99, Abhijith S, yepa, Ruchi Joshi, Stephen Ollman, dww, alexpott, catch, benjifisher, Wim Leers: Add new permission to view user email field 2021-04-07 21:42:06 +01:00
Alex Pott d84f620c57
Issue #3171827 by mohit_aghera, ankithashetty, jmeijer, jibran: RouteNotFoundException: Route "jsonapi.[entity].[field_name].related" does not exist 2021-04-06 10:53:51 +01:00
catch 65873adedc Issue #3204163 by jonathanshaw: EntityQuery accessCheck: tests should not check access unless relevant 2021-04-01 18:46:09 +01:00
Alex Pott 08766c5dee
Issue #2903911 by joshmiller, longwave, anmolgoyal74, ankithashetty, init90, Pooja Ganjage, _gradient_, daffie, borisson_: Fix 'Drupal.Commenting.FunctionComment.ParamMissingDefinition' coding standard 2021-03-29 16:22:14 +01:00
catch a6258c8bd8 Issue #3163853 by mglaman, Kristen Pol: ResourceTestBase should use assertEquals over assertSame when comparing data 2021-02-26 10:01:53 +00:00
catch 69a0a83546 Issue #3032390 by alexpott, dww, Pancho, 3CWebDev, kim.pepper, larowlan, Berdir, catch, andypost, chr.fritsch, Wim Leers: Add an event to sanitize filenames during upload 2021-02-24 16:02:18 +00:00
Alex Pott 99e29476f1
Issue #3055889 by gabesullice, Wim Leers, Spokje, jibran, alexpott, tim.plunkett, larowlan: JsonApiResource\Link objects with inaccessible target urls should not be normalized 2021-02-12 09:50:09 +00:00
Alex Pott c4d6699d96
Issue #3161983 by catch, longwave, Pooja Ganjage, sanjayk, daffie, Kristen Pol, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors 2021-02-10 09:24:10 +00:00
Lee Rowlands fd1d6759f2
Issue #2863652 by alexpott, anmolgoyal74, javi.pl, dww, zaporylie, moinak_dutta, iampuma, a.dmitriiev, benjifisher, Pancho, larowlan, yoroy: Do not allow files with "php|pl|py|cgi|asp|js" extensions to be renamed to *.txt and be uploaded if *.txt is not allowed by the field widget 2021-01-23 09:16:07 +10:00
catch 7e79ca91db Revert "Issue #3161983 by Pooja Ganjage, sanjayk, catch, longwave, daffie, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors"
This reverts commit a9cee683f2.
2020-12-24 14:24:40 +00:00
catch a9cee683f2 Issue #3161983 by Pooja Ganjage, sanjayk, catch, longwave, daffie, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors 2020-12-23 17:36:55 +00:00
Alex Pott 21bd33d6ce
Issue #3186582 by tim.plunkett, raman.b, dead_arm, alexpott, Lendude: Replace the word "master" with "default" in Views 2020-12-22 22:08:17 +00:00
catch 944bcb1e17 Issue #3053897 by alexpott, UpTil4Music, webflo: No version key/value pair in new core modules (json_api, migrate_drupal_multilingual) 2020-11-30 12:20:31 +00:00
catch dee581d3fa Issue #3128815 by mondrake, jungle, sja112, Spokje, shobhit_juyal, jameszhang023, nikitagupta, mrinalini9, xjm, longwave, dww: Replace assert*() involving greater/less comparison operators with assert(Greater|Less)Than(OrEqual) 2020-11-24 09:57:55 +00:00
xjm 1994ca5ccb SA-CORE-2020-012 by ufku, mrf, fgm, samuel.mortenson, dww, Heine, mlhess, David_Rothstein, pwolanin, xjm, fgm, stefan.r, dsnopek, rickmanelius, David Strauss, tedbow, alexpott, dww, larowlan, kim.pepper, Wim Leers, quicksketch, mcdruid, Fabianx, effulgentsia, drumm, pandaski, Mixologic 2020-11-17 16:16:53 -06:00
Alex Pott 99b763a12a
Issue #3175884 by gabesullice, mglaman, juagarc4, catch: JSON:API link keys can collide 2020-11-17 11:20:53 +00:00
Alex Pott e82556c355
Issue #2996114 by BR0kEN, gabesullice, jungle, ARUN AK, tengoku, Wim Leers, nishantkumar155, lawxen, bbrala, mglaman, Morbus Iff, larowlan, joachim, mxr576: Argument 2 passed to Drupal\jsonapi\Routing\Routes::Drupal\jsonapi\Routing\{closure}() must be an instance of Drupal\jsonapi\ResourceType\ResourceType, NULL given 2020-11-17 10:07:24 +00:00
catch 1d6e7e25d5 Issue #2851394 by GoZ, hgunicamp, oknate, jungle, wolffereast, tameeshb, mmatsoo, ridhimaabrol24, jofitz, swarad07, tanc, shaktik, dimaro, shashikant_chauhan, MerryHamster, quietone, nitesh624, martin_q, boaloysius, gaurav.kapoor, nitvirus, ankithashetty, Munavijayalakshmi, kostyashupenko, leolando.tan, amit.drupal, ravi.shankar, akashkrishnan01, Swapnil_Kotwal, Saviktor, mrinalini9, anmolgoyal74, Venkatesh Rajan.J, shimpy, lomasr, Dinesh18, shubham.prakash, mahtab_alam, markdorison, cilefen, longwave, bleen, xjm, alexpott, gmaltoni: Fix grammar 'a' to 'an' when necessary 2020-11-13 14:25:11 +00:00
catch 6b9f37f48f Issue #3112229 by mglaman, johnwebdev, jibran, Wim Leers: FieldItemNormalizer to not flatten if one property and getMainPropertyName is NULL 2020-11-12 19:16:16 +00:00
Alex Pott e852eaf91d
Revert "Issue #3175884 by gabesullice, mglaman, juagarc4: JSON:API link keys can collide"
This reverts commit e239d3e3c2.
2020-10-27 15:07:04 +00:00
Alex Pott e239d3e3c2
Issue #3175884 by gabesullice, mglaman, juagarc4: JSON:API link keys can collide 2020-10-27 10:37:26 +00:00
Alex Pott e37745362c
Issue #3173076 by anmolgoyal74, shetpooja04, sulfikar_s, Pooja Ganjage, longwave, alexpott: Unused variable $parseable_valid_request_body_2 in EntityResourceTestBase.php, rest module 2020-10-09 22:01:55 +01:00
Alex Pott c8cc155dad
Issue #3055193 by catch, martin107, jungle, mikelutz, longwave, andypost, alexpott, mondrake, tim.plunkett, larowlan: [Symfony 5] The "Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesser" class is deprecated since Symfony 4.3, use "Symfony\Component\Mime\MimeTypes" instead 2020-09-21 15:56:32 +01:00
Lee Rowlands 4399299b53
Issue #3169578 by TR: Remove dead code: ResourceTestBase::getExpectedBcUnauthorizedAccessMessage() 2020-09-10 15:20:00 +10:00
catch 1e06a3ef3a Issue #3093757 by bbrala, vsujeetkumar, jofitz, ridhimaabrol24, Berdir, xjm: Test is marked skipped but shouldn't be anymore 2020-08-28 15:04:07 +01:00
catch 83c181f090 Issue #3072076 by JordanDukart, logickal, gabesullice, cgoffin, patrickfweston, Wim Leers, alexpott, scuba_fly, larowlan, nehiryeli, xjm, borisson_: JSON:API returns a CacheableResponseInterface instance for non-cacheable methods; causes unnecessary exceptions 2020-08-28 12:16:36 +01:00
catch d2e7c1fa8e Issue #3165794 by shetpooja04, longwave: Unused variable $account_bundle in jsonapi module, ResourceTestBase.php 2020-08-27 10:17:04 +01:00
catch 8aa82d81b0 Issue #3122113 by Suresh Prabhu Parkala, rpayanm, ilgnerfagundes, gabesullice, bbrala, alexpott, xjm: Convert all PHPDoc links targeting JSON:API contrib issues to target Drupal core issues 2020-08-26 09:09:50 +01:00