Commit Graph

216 Commits (d19fa67a927cd32dcb5e66f5b2e92d4498f00bac)

Author SHA1 Message Date
Alex Pott 9b485ec74d
Issue #3283794 by mondrake, longwave: Fix 'should return {type} but return statement is missing' PHPStan L0 errors in test code 2022-06-19 18:13:29 +01:00
catch 9423caeeb9 Issue #3264633 by mstrelan, Spokje, dww, larowlan, tim.plunkett, xjm: Remove \Drupal\layout_builder\QuickEditIntegration and refactor it so that quickedit contrib provides the integration with layout builder 2022-06-16 11:42:14 +01:00
Alex Pott 3f231c5d78
Issue #3279103 by bradjones1: Test cleanup: Remove dead code from JsonApiFunctionalTest
(cherry picked from commit bf7ce2f89f)
2022-05-15 20:33:18 +01:00
Alex Pott 6ee580fedc
Issue #3272731 by Shashwat Purav, danflanagan8: jsonapi tests should not rely on Classy
(cherry picked from commit a5eec7f198)
2022-04-06 14:22:16 +02:00
Alex Pott e4579e1ebc
Issue #2616814 by dpi, Xano, geek-merlin, Hardik_Patel_12, jofitz, alexpott, catch, Fabianx, joachim, andypost, dawehner, daffie, cweagans, neclimdul: Delegate all hook invocations to ModuleHandler 2022-03-29 12:27:08 +01:00
Alex Pott 2e10d9a102
Revert "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"
This reverts commit 8f1c7a8c4d.
2022-03-29 12:26:30 +01:00
catch 8f1c7a8c4d 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
(cherry picked from commit 9d6e87930b63050f592f02ed4eb68717afefe915)
2022-03-29 11:01:19 +01:00
catch 02bb7cb218 Issue #3271050 by xjm, Wim Leers, bbrala: Update REST and JSON:API Editor tests to rely on CKEditor 5 instead of CKEditor
(cherry picked from commit 579208e4e3)
2022-03-29 10:17:27 +01:00
mstrelan 356e0c0f7b Issue #3031271 by mstrelan, bbrala, PQ, lois.chabrand, acbramley, drs2034, Kristen Pol, larowlan, Wim Leers, Roensby: Support version negotiation for any entity type (currently only Node & Media are supported) 2022-03-24 20:31:59 +00:00
Alex Pott ed58a1590c
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-18 10:03:43 +00:00
Lee Rowlands c6d0179b92
Issue #3154962 by alexpott, vijaycs85, bbrala, Berdir, Wim Leers: TemporaryJsonapiFileFieldUploader::checkFileUploadAccess() checks for bundle
(cherry picked from commit dce52d1ff1)
2022-02-24 10:57:49 +10:00
catch 951118f736 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:30:43 +00:00
Alex Pott 40786962bf
Issue #3263126 by longwave, bbrala: Avoid unnecessary installs when testing JSON:API on config entities
(cherry picked from commit 4a0c1deba2)
2022-02-14 11:24:51 +00:00
Alex Pott 3cf6d577f8
Issue #3164210 by jungle, sylus, Akhildev.cs, dww: Refactor array_merge() usage in loops as possible for performance
(cherry picked from commit cbcdb8b2d4)
2022-02-07 11:26:43 +00:00
Alex Pott e4d7e071d7
Issue #3219649 by quietone, murilohp, longwave: Fix spelling for words used once, beginning with 'q' -> 's', inclusive
(cherry picked from commit 76c0ec234c)
2022-01-27 02:25:16 +00:00
Alex Pott ddd8c7d8ec
Issue #3106216 by Spokje, longwave, alexpott, apaderno, Hardik_Patel_12, daffie: Remove unused variables from core
(cherry picked from commit 2f1c716625)
2022-01-10 12:09:12 +00:00
Alex Pott 9caf7d9aaf
Issue #3175287 by murilohp, quietone, SivaprasadC, ankithashetty, anmolgoyal74, sarvjeetsingh, xjm, longwave: Remove accidentally duplicated words in code comments
(cherry picked from commit adff905c9e)
2022-01-01 16:20:01 +00:00
Alex Pott 3310654e79
Issue #3210129 by quietone, murilohp, xjm: Fix spelling for words used once, beginning with 'a' -> 'd', inclusive 2022-01-01 13:53:50 +00:00
Alex Pott 61a44d1b1e
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()
(cherry picked from commit 09795b6e93)
2021-12-30 13:40:51 +00:00
Alex Pott b7b2a8beac
Issue #3049048 by danflanagan8, ndobromirov, mglaman, bbrala, alexpott, Wim Leers, gabesullice: Invalid JSON:API responses when maintenance mode is on 2021-12-30 11:17:58 +00:00
Alex Pott bd858c2313
Issue #3252872 by bbrala, gabesullice, bradjones1, alexpott: Use CacheableSupportsMethodInterface for performance improvement in jsonapi normalizers
(cherry picked from commit 9df13e0344)
2021-12-29 15:04:30 +00:00
Alex Pott 797453145e
Issue #3199696 by bbrala, Wim Leers, plach, bradjones1, gabesullice: Add language support to ResourceObject
(cherry picked from commit f87303bf2d)
2021-12-28 11:20:48 +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