Commit Graph

281 Commits (1fd92fcdd253400710696c2f4122e78784f91ba1)

Author SHA1 Message Date
catch 06d2de1111 Issue #3063180 by piggito, andypost: REST views: View result counter shows {{counter}} placeholder when using "data_field" row plugin 2019-07-11 15:40:01 +01:00
catch b57f550d12 Issue #3031466 by mondrake, Wim Leers: EntityResourceTestBase::assert406Response uses a wrong assertion and results in false positives (and fails for PHPUnit 7) 2019-06-28 09:54:33 +01:00
Alex Pott e82e0c0573
Issue #3059090 by clepson, mondrake, alexpott: Deprecate \Drupal\Tests\PhpunitCompatibilityTrait::setExpectedException() 2019-06-11 12:38:53 +03:00
Alex Pott 23fad5b6a5
Issue #2926068 by almaudoh, andypost, voleger, claudiu.cristea, Oleksiy, YurkinPark, yo30, alexpott, dawehner, Berdir: Deprecate system_rebuild_module_data() and remove usages in core 2019-06-03 12:49:38 +01:00
Alex Pott 91fe1d2f77
Issue #2929133 by voleger, alexpott, Lendude: Replace all usages of getMock() 2019-05-31 10:22:21 +01:00
catch 615123f51c Issue #2286655 by alexpott, attiks, mark_fullmer, nielsonm, Mark Slatinek, quietone, catch, dawehner, aburke626, justafish: Gender neutral language 2019-04-17 16:30:13 +09:00
catch f2eaf0178c Issue #3041985 by alexpott, pifagor: Add Generic.CodeAnalysis.EmptyPHPStatement to phpcs rules to prevent empty PHP statements 2019-04-16 21:22:07 +09: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
Lee Rowlands e1ec253590
Issue #3032620 by alexpott, dww: \Drupal\file\Plugin\rest\resource\FileUploadResource uses basename() when it needs to use the Drupal version 2019-02-25 20:35:03 +10:00
xjm a12f2100f8 SA-CORE-2019-003 by samuel.mortenson, Berdir, pwolanin, dawehner, cashwilliams, Wim Leers, xjm, larowlan, alexpott, plach, damiankloip, tstoeckler, tedbow, DamienMcKenna, effulgentsia, RobLoach, gabesullice, drumm, heshanlk, dsnopek, fago, miro_dietiker, truls1502 2019-02-20 12:36:56 -06:00
Francesco Placella c8dc57eede Issue #2926508 by Wim Leers, mpdonadio, joelstein, tacituseu, jhedstrom, effulgentsia, tedbow, mradcliffe, borisson_, dawehner, larowlan: Add DateTimeNormalizer+TimestampNormalizer, deprecate TimestampItemNormalizer: @DataType-level normalizers are reusable by JSON:API 2019-02-16 00:13:43 +01:00
Nathaniel Catchpole df8b8a949b Issue #3026264 by Wim Leers, cspitzlay: UserAccessControlHandler::checkFieldAccess() denies access to mail field without varying by the ‘user’ cache context 2019-02-08 12:36:11 +00:00
Francesco Placella 1ab093210a Issue #2957385 by Wim Leers, gabesullice, jibran, tim.plunkett: FieldItemNormalizer never calls @DataType-level normalizer service' ::denormalize() method 2019-01-27 16:58:01 +01:00
Alex Pott 60505f3693
Issue #3019834 by Berdir, alexpott: Add @trigger_error() to deprecated url/link EntityInterface methods 2018-12-23 14:30:20 +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
Nathaniel Catchpole 5f030474ca Issue #3001542 by alexpott: Update Guzzle from 6.3.0 to 6.3.3 2018-11-08 15:55:18 +00:00
Nathaniel Catchpole 1e5459ebf2 Issue #2943899 by Sam152, amateescu, tstoeckler: Moderation state field cannot be updated via REST, because special handling in ModerationStateFieldItemList 2018-11-01 14:23:04 +00:00
Nathaniel Catchpole d8a6a68bbf Issue #2787871 by alexpott, yogeshmpawar, Insasse, Prashant.c, catch, hass: Properly deprecate getUserName() and use getAccountName() instead 2018-10-08 11:24:56 +01:00
Alex Pott 73769ef5f8
Issue #2821077 by Wim Leers, dawehner, tedbow, amateescu, tstoeckler, alexpott: PATCHing entities validates the entire entity, also unmodified fields, so unmodified fields can throw validation errors 2018-10-06 00:56:04 +01:00
Alex Pott 8c6c340fe6
Issue #2886547 by naveenvalecha, Mile23, longwave, impalash, Lendude, dawehner, Mixologic, xjm, borisson_, catch: Add trigger_error to deprecated TestBase base classes/traits that have none, reference CR 2018-10-01 15:40:09 +01:00
Alex Pott 2dabd1de10
Issue #2829185 by vaplas, Jo Fitzgerald, anmolgoyal74, chipway, gaurav.kapoor, mark_fullmer, amit.drupal, cilefen, longwave, xjm, wturrell, anavarre: Fix spelling errors in Drupal core comments 2018-09-20 17:12:38 +01:00
Nathaniel Catchpole bb7c0570b8 Issue #2970831 by alexpott, martin107, catch, huascarmc, Mile23: Fix "AssertLegacyTrait::getRawContent() is scheduled for removal in Drupal 9.0.0. Use $this->getSession()->getPage()->getContent() instead. 2018-08-31 10:09:18 +09:00
xjm fa6b3d95dd Revert "Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase"
This reverts commit 69501f3062.
2018-08-16 18:12:22 -05:00
Nathaniel Catchpole 725e36091e Issue #2895532 by caseylau, Wim Leers, tedbow, dawehner, DamienMcKenna, gabesullice, Berdir, mistermoper, skyredwang, larowlan, bojanz: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map 2018-08-16 11:35:24 +09:00
Nathaniel Catchpole 69501f3062 Issue #2822382 by voleger, pfrenssen, erozqba, RytoEX, borisson_, sidharthap, Jo Fitzgerald, shashikant_chauhan: Make every property protected on classes extending BrowserTestBase and KernelTestBase 2018-08-15 19:55:23 +09:00
Alex Pott 6c40e077ef
Issue #2937853 by idebr, mfernea, SherFengChong, alexpott, borisson_: Fix 'Drupal.Formatting.MultipleStatementAlignment' coding standard 2018-08-13 11:13:36 +01:00
Francesco Placella 543b3f4ed3 Issue #2981887 by amateescu, joachim, jibran, chr.fritsch, Manuel Garcia, timmillwood, plach, Wim Leers, Gábor Hojtsy, Berdir, jojototh, pameeela, dawehner, catch, Bojhan, Fabianx, Jo Fitzgerald: Add a publishing status to taxonomy terms 2018-07-27 11:09:33 +02:00
Alex Pott eb5d499d31
Issue #2985734 by Lendude: Convert remaining update tests extending WebTestBase 2018-07-14 22:57:36 +01:00
Nathaniel Catchpole 163144a923 Issue #2973791 by alexpott, martin107, mairi, volkerk: Fix deprecation messages related to deprecated comment Action plugins 2018-07-12 13:01:47 +01:00
Alex Pott a46c46194d
Issue #2935738 by samuel.mortenson, Wim Leers, Berdir: Entity reference field subclasses (such as file and image fields) lose the non-default properties upon denormalization, in both hal_json and json 2018-06-18 09:28:31 +01:00
Alex Pott 8ce2a3ec3a
Issue #2955383 by Wim Leers, borisson_, dawehner: List available representations in 406 responses 2018-06-02 17:40:15 +02:00
Alex Pott f54efcf21d
Issue #2911915 by vaplas, Mile23, Wim Leers, dawehner, Lendude, nlisgo, mpdonadio: Add getHttpClient() to BrowserTestBase 2018-06-02 16:54:14 +02:00
Lee Rowlands 585e6338b5
Issue #2938035 by Wim Leers, alexpott: When PATCHing a field is disallowed, no reason is given for *why* this happens 2018-05-16 11:30:32 +10:00
Alex Pott 6fdd37778c
Issue #2910883 by vaplas, ShawnB, Wim Leers: Move all entity type REST tests to the providing modules 2018-05-15 17:14:00 +01:00
Alex Pott 92be45b46f
Issue #2910883 by vaplas, ShawnB, Wim Leers: Move all entity type REST tests to the providing modules 2018-05-15 12:37:57 +01:00
Lee Rowlands 41dfad388c
Issue #2854543 by Wim Leers, polynya, dawehner, mpdonadio, gabesullice, larowlan, klausi: NegotiationMiddleware calls $request->setRequestFormat('html') when there is no _format request parameter, but shouldn't 2018-05-12 08:20:15 +10:00
Alex Pott b187a126de
Issue #2937888 by dhruveshdtripathi, idebr, RoSk0, mohit1604, mfernea, borisson_: Fix 'Drupal.Commenting.DocComment.LongNotCapital' coding standard 2018-05-11 10:46:46 +01:00
Alex Pott be6d515cad
Issue #2572613 by Malevi4, idebr, pfrenssen, Mile23, RajeevK: Fix 'Drupal.Array.Array.CommaLastItem' coding standard 2018-05-11 10:40:33 +01:00
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00
Alex Pott ec8b4f8c48
Issue #2950127 by owenbush, Yogesh Pawar, msankhala, Wim Leers, vaplas: Add helpful reason for 'update' and 'delete' access not being allowed to FileAccessControlHandler 2018-05-08 00:25:49 +01:00
Alex Pott 84d5e36141
Issue #2969549 by marcel66, martin107: Fix "The $published parameter is deprecated since version 8.3.x and will be removed in 9.0.0." deprecation 2018-05-05 22:36:51 +01:00
Alex Pott 4022cc198c
Issue #2950129 by msankhala, Wim Leers: Add helpful reason for 'update' and 'delete' access not being allowed to MediaAccessControlHandler 2018-04-30 15:08:58 +01:00
Lee Rowlands 223216cb94
Issue #2956202 by tim.plunkett, tedbow, amateescu, xjm: EntityDisplayBase::init() should use ::setComponent() for extra fields 2018-04-30 10:33:47 +10:00
Alex Pott 2023ce8e0c
Issue #2950125 by owenbush, Wim Leers: Add helpful reason for 'update' and 'delete' access not being allowed to CommentAccessControlHandler 2018-04-17 13:06:06 +01:00
Nathaniel Catchpole d90ac78f3e Issue #2798891 by ankitjain28may, trobey, TR: Define project dependencies in core module .info files 2018-04-06 13:13:01 +01:00
Alex Pott a766172671
Issue #1927648 by damiankloip, Wim Leers, marthinal, tedbow, alexpott, Arla, juampynr, garphy, bc, ibustos, eiriksm, larowlan, dawehner, gcardinal, kylebrowning, vivekvpandya, Sam152, neclimdul, pnagornyak, drnikki, queenvictoria, gaurav.goyal, kim.pepper, Berdir, clemens.tolboom, blainelang, moshe weitzman, webchick, linclark, dabito, skyredwang, Dave Reid, gabesullice, dagmar, klausi, andypost, aheimlich, slashrsm, pwolanin, xjm, catch, amateescu: Allow creation of file entities from binary data via REST requests 2018-04-03 16:28:50 +02:00
xjm a33fe9c59a Revert "Issue #1927648 by damiankloip, Wim Leers, marthinal, tedbow, Arla, alexpott, juampynr, garphy, bc, ibustos, eiriksm, larowlan, dawehner, gcardinal, vivekvpandya, kylebrowning, Sam152, neclimdul, pnagornyak, drnikki, gaurav.goyal, queenvictoria, kim.pepper, Berdir, clemens.tolboom, blainelang, moshe weitzman, linclark, webchick, Dave Reid, dabito, skyredwang, klausi, dagmar, gabesullice, pwolanin, amateescu, slashrsm, andypost, catch, aheimlich: Allow creation of file entities from binary data via REST requests"
This reverts commit fd8233c78f.
2018-04-03 07:44:42 -05:00
Alex Pott fd8233c78f
Issue #1927648 by damiankloip, Wim Leers, marthinal, tedbow, Arla, alexpott, juampynr, garphy, bc, ibustos, eiriksm, larowlan, dawehner, gcardinal, vivekvpandya, kylebrowning, Sam152, neclimdul, pnagornyak, drnikki, gaurav.goyal, queenvictoria, kim.pepper, Berdir, clemens.tolboom, blainelang, moshe weitzman, linclark, webchick, Dave Reid, dabito, skyredwang, klausi, dagmar, gabesullice, pwolanin, amateescu, slashrsm, andypost, catch, aheimlich: Allow creation of file entities from binary data via REST requests 2018-04-03 12:28:57 +02:00
Alex Pott a7a9a87ecf Issue #2943338 by Wim Leers: rest_test module for testing REST module could be reused by contrib JSON API module 2018-02-27 23:39:51 +00:00
Nathaniel Catchpole 7eaf9abc72 Issue #2937850 by Wim Leers, plach: Mark revision_default as internal for REST consumers 2018-02-19 12:11:24 +00:00