Commit Graph

127 Commits (9.2.x)

Author SHA1 Message Date
Alex Pott 7fb32c14ed
Issue #3083561 by Grimreaper, raman.b, ankithashetty, mglaman, bbrala, Wim Leers, quietone: Add explicit test coverage for JSON:API filtering on a datetime field
(cherry picked from commit a7ef0b19174260bdf499fbb26be3e30cbb6b7d4b)
2021-10-20 10:37:19 +01:00
Alex Pott 7c0c951f76
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
(cherry picked from commit 9d8e7da4fc)
2021-10-11 09:08:43 +01:00
Alex Pott 7d047b209a
Issue #3214675 by el7cosmos, bbrala, hehongbo, larowlan, alexpott: JSON:API Cannot upload files to public file root (Gets 422 Unprocessable Entity)
(cherry picked from commit a8d3f780cc)
2021-09-20 14:21:46 +01:00
catch 00efdb11e5 Issue #3221312 by Spokje: ->willReturn(...) would make more sense here
(cherry picked from commit 6335af17b4)
2021-07-28 11:58:22 +01:00
catch 4d7c3c7079 Issue #3223267 by alexpott, daffie: Remove some calls to drupal_flush_all_caches() in tests
(cherry picked from commit 8abf81e7e9)
2021-07-16 08:48:18 +01:00
Alex Pott 05c0a71afc
Issue #3222980 by bbrala: Unneeded assignment in ResourceTestBase::getEntityDuplicate
(cherry picked from commit 69772dbfab)
2021-07-10 12:59:38 +01:00
catch 6123c0e91b Issue #3156396 by TR, pavnish, mondrake, longwave, catch, jungle: Use assertSameSize() to check same size of two countable variables
(cherry picked from commit 1d5e219f85)
2021-06-21 12:31:55 +01:00
catch 76a1fb8ece Issue #2879159 by Spokje, LoMo, ravi.shankar, quietone, mondrake: Some calls to assertEquals have expected/actual parameters reversed
(cherry picked from commit e48dcff470)
2021-06-21 11:51:18 +01:00
catch 11f9e8013c Issue #3217706 by Spokje, longwave, guilhermevp, mondrake: Replace usages of assertFileNotExists(), that is deprecated 2021-06-14 09:28:11 +01:00
catch 3059444802 Issue #3217709 by sudiptadas19, mondrake: Replace usages of assertRegExp(), that is deprecated 2021-06-09 14:17:13 +01:00
Alex Pott f2cee2d49b
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 8f0f57f3e5.
2021-06-02 17:43:17 +01:00
Alex Pott 8f0f57f3e5
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
(cherry picked from commit 8b8fc1eff7)
2021-05-27 21:07:35 +01:00
catch 6f49625c5c 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
(cherry picked from commit f7747f85310b790bbb309c8b62fc14b3ce52551b)
2021-05-24 14:09:51 +01:00
Alex Pott d6b00c13b9
Issue #3207734 by Spokje, quietone: Fix Drupal.Commenting.InlineVariableComment
(cherry picked from commit 4a72cc3169)
2021-05-20 21:47:52 +01:00
catch 202aa37f38 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)
(cherry picked from commit 9630f296b7)
2021-05-19 13:23:10 +01:00
catch 9f7913054c Issue #3207968 by quietone, longwave, Spokje: Replace @codingStandards comments with phpcs: comments
(cherry picked from commit 6802ea3355)
2021-05-17 20:22:58 +01: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
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
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
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 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 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
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
catch 413fc69d4d Issue #3025372 by gabesullice, cantrellnm, aleevas, ravi.shankar, bander2, blainelang, Wim Leers: [regression] Impossible to filter for resources with an empty relationship object in JSON:API 2.x 2020-08-13 09:16:05 +01:00
catch b7d7a1dd0b Issue #3153085 by kim.pepper, longwave, alexpott, vijaycs85, catch: Deprecate user_password and move to Password Generator service 2020-08-10 12:28:40 +01:00
Alex Pott 3312c7b19f
Issue #3160267 by nijolawrence, jungle, daffie, alexpott: Change static queries to dynamic queries in core/modules/{every module}/tests 2020-08-07 22:47:39 +01:00
Alex Pott 5412462830
Issue #3138766 by mohrerao, longwave, sja112, jameszhang023, Lal_, ravi.shankar, jungle, xjm: Fix "Don't" relevant typos in core 2020-07-31 17:30:18 +01:00
Alex Pott 91ffbf84e7
Issue #3161992 by Hardik_Patel_12, ravi.shankar, catch, longwave: Since symfony/http-foundation 5.1: The "Symfony\Component\HttpFoundation\Response::create()" method is deprecated, use "new Drupal\Core\Render\HtmlResponse()" instead 2020-07-31 15:25:38 +01:00
Alex Pott 38d02d6e4b
Issue #3159528 by jameszhang023, jungle, longwave: Fix typos: "exeption|gaurd|ouptut|withut|defintion" in core 2020-07-17 08:38:05 +01:00
Alex Pott 1dfbbd88b7
Issue #3159531 by jameszhang023, ipumpkin, jungle, longwave: Fix typos: "attibute|uneccesarilly|colletion|constucts|worklow" in core 2020-07-17 08:25:33 +01:00
Alex Pott f7277d249b
Issue #3156266 by longwave, jungle, siddhant.bhosale, alexpott: Fix 70 spelling mistakes 2020-07-16 13:53:59 +01:00
catch eafefd897a Issue #2619482 by cburschka, ankit.singh, ravi.shankar, jungle, daffie: Convert all get_called_class()/get_class() to static:: 2020-07-13 15:35:49 +01:00
Alex Pott 3789388079
Issue #2917331 by catch, martin107, Deepak Goyal, longwave, andypost, ravi.shankar, alexpott, daffie, larowlan: Decouple from Symfony CMF 2020-06-23 10:35:08 +01:00
Alex Pott cd7455f314
Revert "Issue #2917331 by catch, martin107, Deepak Goyal, longwave, andypost, ravi.shankar, daffie, larowlan: Decouple from Symfony CMF"
This reverts commit 98eed2b1a6.
2020-06-23 09:04:39 +01:00