Commit Graph

262 Commits (6eb60a3669eee5e2bc3adfbb35d80fc79b51d340)

Author SHA1 Message Date
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
Alex Pott 678a4c8029 Issue #2942522 by Wim Leers: Follow-up for #2543726: remove work-around in POST test coverage for bug in Term entity type that has been fixed 2018-02-08 08:26:27 +00:00
Alex Pott 5a9de4fc76 Issue #2941622 by Wim Leers: Make REST's EntityResource deriver exclude internal entity types and mark ContentModerationState entity type as internal instead of the current hack 2018-02-07 23:36:07 +00:00
Nathaniel Catchpole 639755c75e Issue #2939802 by Wim Leers, cburschka: Follow-up for #2824851: EntityResourceTestBase::getModifiedEntityForPatchTesting() handles @FieldType=path incorrectly 2018-02-01 11:55:46 +00:00
Nathaniel Catchpole 096ecb4926 Issue #2935783 by larowlan, Wim Leers: RequestHandler's handle method interacts with the Route object but should be able to just declare arguments 2018-02-01 11:49:03 +00:00
Alex Pott d4e8416189 Issue #2936704 by Wim Leers, amateescu, alexpott, Berdir: Remove REST route deprecations from DeprecationListenerTrait::getSkippedDeprecations(), use ExpectDeprecationTrait::expectDeprecation() instead 2018-01-31 11:12:48 +00:00
Nathaniel Catchpole 80aa325d92 Issue #2935076 by amateescu: EntityResourceTestBase::getNormalizedPostEntity() wrongly assumes that all entity types have auto-generated sequential IDs 2018-01-29 14:03:35 +00:00
Lee Rowlands 8640a9df49
Issue #2543726 by damiankloip, Wim Leers, claudiu.cristea, voleger, dagmar, dawehner, amateescu, tedbow, FredCorreia, mgalalm, caseylau, jibran, dbjpanda, pcambra, Grimreaper, idebr, dmouse, larowlan, Berdir, chx, andypost, yched, fgm: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration 2018-01-16 09:40:26 +10:00
Lee Rowlands 4443678c9e
Issue #2862422 by chr.fritsch, robpowell, phenaproxima, webflo, bdimaggio, seanB, naveenvalecha, sunset_bill, vijaycs85, yoroy, starshaped, xjm, Berdir, hazong: Add per-media type creation permissions for media 2018-01-15 14:00:01 +10:00
Lee Rowlands b4a02309bf
Issue #2858482 by Wim Leers, dawehner, benjy, larowlan, tedbow, borisson_: Simplify REST routing: disallow requesting POST/PATCH in any format, make consistent 2018-01-15 08:50:15 +10:00
Alex Pott 4fbf997792 Issue #2885469 by Wim Leers, amateescu, timmillwood, alexpott, tstoeckler, xjm, remram, Berdir, dawehner, larowlan, samuel.mortenson: Regression: manually setting the ID field for newly-created content entities is not possible anymore (public follow-up to SA-2017-002) 2018-01-13 09:03:27 +00:00
effulgentsia 49c6761b56 Issue #2891215 by plach, timmillwood, hchonov, amateescu, catch, gabesullice: Add a way to track whether a revision was default when originally created 2018-01-12 15:29:04 -08:00
webchick c1df3d2b93 Issue #2853460 by Wim Leers, dawehner, gabesullice, neclimdul, larowlan: Simplify RequestHandler: make it no longer ContainerAware, split up ::handle() 2018-01-10 11:52:11 -08:00
effulgentsia 0dc30938c7 Issue #2824851 by Wim Leers, arshadcn, amateescu, effulgentsia, tedbow, timmillwood, cburschka, tstoeckler, Berdir, xjm, catch: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior 2018-01-02 11:57:52 -08:00
Lee Rowlands 9ba7824211
Issue #2626924 by Wim Leers, tedbow, dawehner, frob, martin107, damiankloip, dagmar, almaudoh, Berdir, larowlan, amateescu: Include processed text in normalizations: "text" field type's "processed" computed property should be non-internal and carry cacheability metadata 2018-01-01 16:16:51 +10:00
effulgentsia be64202643 Issue #2825487 by damiankloip, Wim Leers, garphy, cburschka, tedbow, dpovshed, tstoeckler, Munavijayalakshmi, Berdir, dawehner, e0ipso: Fix normalization of File entities: file entities should expose the file URL as a computed property on the 'uri' base field 2017-12-20 14:14:36 -08:00
webchick ee22a47cd2 Issue #2928702 by Wim Leers, borisson_, tedbow: Make EntityResourceTestBase's field_rest_test_multivalue test field less invasive: omit it from normalizations 2017-12-15 11:58:10 -08:00
Nathaniel Catchpole 04dccf9472 Issue #2853503 by Aki Tendo, alexpott, larowlan, Wim Leers, klausi, fgm, dawehner, mondrake, catch, Berdir, neclimdul, borisson_: Remove all assert('string') calls from Drupal core because deprecated in PHP 7.2 2017-12-06 13:03:56 +00:00
effulgentsia 730c5a97a9 Issue #2808217 by Wim Leers, tedbow, YesCT, dawehner, xjm, Berdir, damiankloip, slucero: To be able to view Vocabulary config entities via REST, one should not have to grant the 'administer taxonomy' permission 2017-12-05 12:01:22 -08:00
webchick e8b84d93ff Issue #2843139 by vaplas, Wim Leers, harings_rob, catch, Berdir, alexpott: EntityResource: Provide comprehensive test coverage for File entity, and tighten access control handler 2017-12-01 11:35:08 -08:00