Commit Graph

175 Commits (f1c06e87e05db9c698933cbffed4d39ddcd2907a)

Author SHA1 Message Date
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