Commit Graph

357 Commits (f563f961235a7cc663b12230cb6b4f9afb4c13be)

Author SHA1 Message Date
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
webchick dd63977226 Issue #2765959 by davidwbarratt, Wim Leers, dawehner, borisson_, tstoeckler, tedbow, catch: Make 4xx REST responses cacheable by (Dynamic) Page Cache + comprehensive cacheability test coverage 2017-11-30 11:10:35 -08:00
Nathaniel Catchpole 67207f792b Issue #2905686 by Wim Leers: Expand EntityResourceTestBase to test PATCHing multi-value fields: both adding and removing items 2017-11-28 16:01:29 +00:00
Lee Rowlands c53b64f6bc
Issue #2800873 by Wim Leers, lhangea, damiankloip, Yogesh Pawar, dawehner, alexpott: Add XML GET REST test coverage, work around XML encoder quirks 2017-11-24 18:36:35 +10:00
xjm 435bae86a1 Issue #2868035 by Wim Leers, vaplas, dawehner, larowlan: Test that all core content+config entity types have functional REST test coverage 2017-11-22 14:17:37 -06:00
xjm 91e668f575 Issue #2572795 by mfernea, zaporylie, pfrenssen, andypost, attiks, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie 2017-11-10 05:35:50 -06:00
xjm 6dc062eb45 Issue #2901562 by mfernea, Jo Fitzgerald, Yogesh Pawar, 3ssom, Mile23, borisson_: Fix 'Squiz.WhiteSpace.SuperfluousWhitespace' coding standard 2017-11-09 15:13:57 -06:00
xjm edf57d8ab8 Revert "Issue #2572795 by mfernea, pfrenssen, attiks, andypost, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie"
This reverts commit c422bdfa53.
2017-11-09 14:37:59 -06:00
xjm c422bdfa53 Issue #2572795 by mfernea, pfrenssen, attiks, andypost, alexpott, xjm, Mile23, catch, borisson_: Fix coding standard for closures - Drupal.WhiteSpace.ScopeClosingBrace and Generic.Functions.OpeningFunctionBraceKernighanRitchie 2017-11-09 10:56:52 -06:00
Nathaniel Catchpole 75dcf9af44 Issue #2870194 by alexpott, Mile23, jibran, larowlan, tim.plunkett: Ensure that process-isolated tests can use Symfony's PHPunit bridge to catch usages of deprecated code 2017-11-09 12:51:06 +00:00
effulgentsia b83782a74b Issue #2920001 by Wim Leers, dawehner, borisson_, aheimlich, davidwbarratt: Add cacheable HTTP exceptions: Symfony HTTP exceptions + Drupal cacheability metadata 2017-11-08 19:31:27 -08:00
Lee Rowlands 52a598e2bf
Issue #2910211 by tedbow, Wim Leers: Allow computed exposed properties in ComplexData to support cacheability 2017-11-08 12:01:36 +10:00
xjm 3af361c83c Issue #2874938 by Wim Leers, tim.plunkett, borisson_, effulgentsia: AdminRouteSubscriber must only mark HTML routes as administrative 2017-11-07 05:18:58 -06:00
Lee Rowlands c74c39e133
Issue #2871591 by tedbow, Wim Leers, dagmar, borisson_, amateescu, dawehner, damiankloip, tstoeckler, mradcliffe, larowlan: Allow ComplexData in TypedData to specify computed properties that should be exposed in normalization and other contexts 2017-11-06 09:14:37 +10:00
xjm 850f03b9be Issue #2825204 by dawehner, BR0kEN, xjm, pcambra, Wim Leers, tim.plunkett, tstoeckler, damiankloip, larowlan, effulgentsia, alexpott: REST views: authentication is broken 2017-10-24 12:14:02 -05:00
Nathaniel Catchpole 51f6344c8c Issue #2843764 by Wim Leers, arshadcn: EntityResource: Provide comprehensive test coverage for EntityFormDisplay entity 2017-10-24 12:51:08 +01:00
Nathaniel Catchpole 50f08589d0 Issue #2843765 by vaplas: EntityResource: Provide comprehensive test coverage for EntityViewDisplay entity 2017-10-24 12:48:44 +01:00
Lee Rowlands 4d4365299c
Issue #2843755 by Wim Leers, larowlan, andypost, jibran, Berdir: EntityResource: Provide comprehensive test coverage for Message entity 2017-10-24 08:55:57 +10:00
xjm 8f022a6234 Revert "Issue #2825204 by dawehner, BR0kEN, pcambra, Wim Leers, tim.plunkett, tstoeckler, damiankloip: REST views: authentication is broken"
This reverts commit 40b143ff9a.
2017-10-23 11:06:01 -05:00
Lee Rowlands 40b143ff9a
Issue #2825204 by dawehner, BR0kEN, pcambra, Wim Leers, tim.plunkett, tstoeckler, damiankloip: REST views: authentication is broken 2017-10-19 09:14:57 +10:00
Lee Rowlands 96452be02f
Issue #2915414 by Wim Leers, dawehner: Omit "_core" key from normalized config entities, which includes the default config hash 2017-10-19 08:40:31 +10:00
Nathaniel Catchpole 43c0eca73b Issue #2843781 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for EntityViewMode entity 2017-10-17 12:16:45 +01:00
Nathaniel Catchpole 831450a1f2 Issue #2909183 by Wim Leers, tedbow: Add path alias (PathItem) field PATCH test coverage 2017-10-17 12:15:55 +01:00
Nathaniel Catchpole 7b05eebfcf Issue #2843780 by vaplas, jamesdesq, Wim Leers: EntityResource: Provide comprehensive test coverage for EntityFormMode entity 2017-10-16 14:38:21 +01:00
Lee Rowlands 4997192be0
Issue #2449143 by damiankloip, tedbow, Wim Leers, dawehner, Pavan B S, Tybor, effulgentsia, larowlan: REST views specify HTML as a possible request format, so if there is a "regular" HTML view on the same path, it will serve JSON 2017-10-11 15:52:34 +10:00
Nathaniel Catchpole f659d6ca8e Issue #2901726 by mfernea, gmario, finn.lewis, robertoperuzzo, rachel_norfolk: Fix 'Squiz.Functions.MultiLineFunctionDeclaration' coding standard 2017-10-10 15:43:06 +01:00
Gabor Hojtsy 3e2d434028 Issue #2883813 by chr.fritsch, Wim Leers, Berdir, phenaproxima, catch: Move File/Image media type into Standard once Media is stable 2017-10-09 18:46:43 +02:00
Nathaniel Catchpole 3529e208aa Issue #1848686 by Johnny vd Laar, Berdir, JeroenT, geertvd, mogtofu33, hauruck, Manuel Garcia, pfrenssen, Bambell, realityloop, ParisLiakos, webflo, cyborg_572, Algeron, zniki.ru, xjm, Wim Leers, dawehner, yoroy: Add a dedicated permission to access the term overview page (without 'administer taxonomy' permission) 2017-10-03 11:22:50 +01:00
Nathaniel Catchpole 2e18fe9373 Issue #2715485 by harsha012, mfernea, malavya, himanshu-dixit, vprocessor, tameeshb, Mile23, RajeevK, Jo Fitzgerald, tiago.urbano, xjm, klausi: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard 2017-09-25 14:14:30 +01:00
Lee Rowlands 647b586b22
Issue #2901704 by Wim Leers, damiankloip: Allow REST routes to use different request formats and content type formats 2017-09-23 07:07:28 +10:00
Nathaniel Catchpole 4577185c9b Issue #2572791 by Mile23, andriyun, attiks, RoSk0: Fix 'Drupal.WhiteSpace.OpenBracketSpacing' coding standard 2017-09-22 12:16:23 +01:00
effulgentsia 3b6a05b573 Issue #2835767 by Wim Leers, vaplas, xjm, dawehner, Gábor Hojtsy, Berdir, seanB, larowlan: Media + REST: comprehensive test coverage for Media + MediaType entity types 2017-09-19 13:11:37 -07:00
effulgentsia 301152f8c6 Issue #2835845 by vaplas, Wim Leers, arshadcn, Berdir: EntityResource: Provide comprehensive test coverage for BlockContent entity 2017-09-19 12:29:56 -07:00
xjm 2242f4ad9e Issue #2901785 by mfernea, xjm, andriyun: Fix 'Generic.Formatting.SpaceAfterCast' coding standard 2017-09-17 16:38:34 -05:00
xjm cc30270e9a Revert "Revert "Revert "Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard"""
This reverts commit b06757615a.
2017-09-16 14:24:44 -05:00
xjm b06757615a Revert "Revert "Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard""
This reverts commit 964954e1f3.
2017-09-16 12:02:55 -05:00
xjm 964954e1f3 Revert "Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard"
This reverts commit 2df73e2c00.
2017-09-16 12:02:42 -05:00
xjm 2df73e2c00 Issue #2715485 by harsha012, malavya, himanshu-dixit, mfernea, vprocessor, tameeshb, Mile23, Jo Fitzgerald, klausi, xjm: Fix 'Drupal.Commenting.InlineComment.NoSpaceBefore' coding standard 2017-09-16 11:19:25 -05:00
xjm 44a5c4cbe0 Issue #2901739 by andriyun, Jo Fitzgerald, mfernea, xjm: Fix 'Squiz.Arrays.ArrayDeclaration' coding standard 2017-09-15 16:52:14 -05:00
effulgentsia cc34cb8055 Issue #2843776 by Wim Leers, vaplas: EntityResource: Provide comprehensive test coverage for EntityTestBundle entity 2017-09-15 12:49:39 -07:00
Lee Rowlands a87e8aafdb
Issue #2843778 by Wim Leers: EntityResource: Provide comprehensive test coverage for ContactForm entity 2017-09-13 07:51:28 +10:00
Lee Rowlands 5679964152
Issue #2720233 by dawehner, Wim Leers, catch: Use arguments resolver in RequestHandler to have consistent parameter ordering 2017-09-10 10:07:43 +10:00
xjm 5ce3293016 Issue #2905181 by tedbow: Remove useless if statement in ResourceTestBase::assertResourceResponse() 2017-09-08 18:43:37 -05:00
Nathaniel Catchpole 9ef92a408b Issue #2905627 by Lendude, dawehner: Part-2: Convert UpdatePathTestBase to BrowserTestBase 2017-09-08 14:24:15 +01:00
xjm 84bbc5730a Revert "Issue #2824851 by Wim Leers, arshadcn, amateescu, tedbow, timmillwood, Berdir, tstoeckler: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior"
This reverts commit 3b3daa353f.
2017-09-03 06:10:11 -05:00
Nathaniel Catchpole 3b3daa353f Issue #2824851 by Wim Leers, arshadcn, amateescu, tedbow, timmillwood, Berdir, tstoeckler: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior 2017-08-22 16:54:10 +09:00
Nathaniel Catchpole c8392465c3 Issue #2902529 by mfernea: Fix 'Drupal.WhiteSpace.EmptyLines' coding standard 2017-08-21 14:04:51 +09:00
Nathaniel Catchpole 1f191080c1 Issue #2902723 by mfernea, ccjjmartin: Fix 'Drupal.Commenting.FunctionComment.ReturnCommentIndentation' coding standard 2017-08-21 13:39:47 +09:00
xjm 11ef44a7f7 SA-CORE-2017-004 by arshadcn, amateescu, Wim Leers, Berdir, Lendude, dawehner, klausi, pwolanin, xjm, mpdonadio, mlhess, larowlan, milesw
(cherry picked from commit 65cef2e9f5)
2017-08-16 12:41:33 -05:00
Nathaniel Catchpole ef16fa1c8a Issue #2775553 by Wim Leers, naveenvalecha: Convert web tests to browser tests for REST module 2017-08-05 10:21:34 +09:00
Lee Rowlands 2db1774546
Issue #2843770 by Wim Leers, vaplas: EntityResource: Provide comprehensive test coverage for ResponsiveImageStyle entity 2017-07-15 10:26:28 +10:00
Nathaniel Catchpole f3f18a23c8 Issue #2882717 by Wim Leers, dawehner: EntityResourceTestBase: assert that PATCHed and POSTed entities contain the intended values 2017-07-03 20:48:50 +01:00
Nathaniel Catchpole 7626a3d70b Issue #2869387 by tstoeckler, Wim Leers: Subclasses of ResourceTestBase for non-entity resources are required to add pointless code 2017-06-26 12:13:49 +01:00
Nathaniel Catchpole 5e2e4a8605 Issue #2843783 by vaplas, Wim Leers, tedbow: EntityResource: Provide comprehensive test coverage for Menu entity 2017-06-12 14:37:00 +01:00
Nathaniel Catchpole 3a6bbc8cae Issue #2843772 by Wim Leers, arshadcn: EntityResource: Provide comprehensive test coverage for DateFormat entity 2017-06-12 12:08:10 +01:00
Nathaniel Catchpole 7e052a1550 Issue #2843768 by Wim Leers, arshadcn, himanshu-dixit, yoroy: EntityResource: Provide comprehensive test coverage for Tour entity 2017-06-12 11:25:32 +01:00
Nathaniel Catchpole a2cc58de8a Issue #2846554 by Berdir, tedbow, amateescu, dawehner, himanshu-dixit, Wim Leers, badrange, damiankloip, catch: Make the PathItem field type actually computed and auto-load stored aliases 2017-06-06 21:27:48 +01:00
Alex Pott da74f223c3 Issue #2768651 by damiankloip, Wim Leers, mpdonadio, Munavijayalakshmi, Jo Fitzgerald, jhedstrom: Let TimestampItem (de)normalize to/from RFC3339 timestamps, not UNIX timestamps, for better DX 2017-05-24 21:47:56 +01:00
Alex Pott b9c288ba3e Issue #2843767 by arshadcn, Wim Leers, tstoeckler: EntityResource: Provide comprehensive test coverage for BaseFieldOverride entity + add missing access control handler 2017-05-23 15:38:02 +01:00
Alex Pott abf5997d93 Issue #2843758 by jamesdesq, vaplas, Wim Leers: EntityResource: Remove ViewAccessControlHandler and provide comprehensive test coverage for View entity 2017-05-23 15:38:02 +01:00
Alex Pott f135eb20cc Issue #2843771 by arshadcn, Wim Leers: EntityResource: Add an admin permission to RdfMapping entity and provide comprehensive test coverage 2017-05-23 14:58:45 +01:00
Alex Pott d0fceeeda9 Issue #2845364 by Wim Leers, EAnushan: Test coverage to show that as a non-administrator, you're able to modify the 'name' field, but only if you have the 'change own username' permission 2017-05-15 13:49:52 +01:00
Alex Pott 14a1f0cb0b Issue #2877778 by Wim Leers, tedbow: Harden test EntityResource + Dynamic Page Cache test coverage 2017-05-15 13:44:42 +01:00
Alex Pott 4398109471 Issue #2293697 by Wim Leers, dawehner, Jo Fitzgerald, clemens.tolboom, vedpareek, tedbow, Munavijayalakshmi, hchonov, alexpott, effulgentsia, tstoeckler, Crell, klausi, EclipseGc: EntityResource POST routes all use the confusing default: use entity types' https://www.drupal.org/link-relations/create link template if available 2017-05-15 13:05:40 +01:00
Gabor Hojtsy 8f2aadc0f7 Issue #2869415 by Wim Leers, tstoeckler, dawehner: EntityResourceTestBase::getUrl() overrides BrowserTestBase::getUrl(), yet offers different functionality 2017-05-12 13:57:59 +02:00
effulgentsia 39803eb1f6 Issue #2827797 by Wim Leers, dawehner, effulgentsia, tedbow: ResourceResponse(Subscriber) + Dynamic Page Cache: making authenticated ResourceResponses significantly faster 2017-05-11 09:36:37 -07:00
Nathaniel Catchpole 494271d030 Issue #2712647 by slasher13, klausi, catch, jibran, Manuel Garcia, alexpott, mpdonadio, naveenvalecha, neclimdul, timmillwood, webflo, dawehner, Wim Leers, pounard: Update Symfony components to ~3.2 2017-05-02 10:37:54 +01:00
Alex Pott f170a96bc2 Issue #2843774 by jamesdesq, vaplas: EntityResource: Provide comprehensive test coverage for BlockContentType entity 2017-04-29 22:27:19 +01:00
Alex Pott a6b84bfbf2 Issue #2843756 by vaplas, Wim Leers, brentschuddinck, jamesdesq: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity 2017-04-29 21:27:29 +01:00
Alex Pott 2dc6d91d60 Issue #2843754 by rogierbom, Wim Leers, gaurav.kapoor, vaplas: EntityResource: Provide comprehensive test coverage for Feed entity 2017-04-18 18:52:39 +01:00
Alex Pott 8938ab2906 Issue #2825973 by amateescu, timmillwood, himanshu-dixit, dawehner, Berdir, Wim Leers: Introduce a EditorialContentEntityBase class for revisionable and publishable entity types 2017-04-18 13:47:45 +01:00
Alex Pott 7cad23ab2a Issue #2848927 by Wim Leers, alexpott: EntityResource::addLinkHeaders() should use LinkRelationType plugin instances rather than definitions 2017-04-18 13:12:08 +01:00
Alex Pott a0dcc7f156 Issue #2853300 by Wim Leers: Standardize fatal error/exception handling: backtrace for all formats, not just HTML 2017-04-17 10:38:56 +01:00
Alex Pott b712a2d91f Issue #2843763 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for ContentLanguageSettings entity 2017-04-15 10:21:42 +01:00
Alex Pott 757cfbbb82 Issue #2843766 by arshadcn: EntityResource: Provide comprehensive test coverage for FieldConfig entity 2017-04-15 10:20:00 +01:00
Alex Pott c522c8f789 Issue #2843773 by Wim Leers: EntityResource: Provide comprehensive test coverage for RestResourceConfig entity 2017-04-15 10:16:43 +01:00
Alex Pott 2cd2ec6c39 Issue #2827164 by tedbow, damiankloip, Wim Leers, dawehner: Entity reference field normalization has target_type and target_uuid, but not used in denormalization 2017-04-11 13:48:32 +01:00
Alex Pott 3e208146d2 Issue #2866056 by vaplas, mpdonadio, Wim Leers, dawehner: ResourceTestBase should not have a timeout 2017-04-10 20:47:40 +01:00
Alex Pott a8fec3492e Issue #2826407 by Wim Leers, dawehner, Jo Fitzgerald: PATCH + POST allowed format validation happens in RequestHandler::handle(), rather than in the routing system 2017-04-04 17:50:53 +01:00
Nathaniel Catchpole 3d292b3ede Issue #2843779 by vaplas, Yogesh Pawar: EntityResource: Provide comprehensive test coverage for ShortcutSet entity 2017-04-04 13:34:26 +01:00
Nathaniel Catchpole af81a985ea Issue #2843782 by arshadcn: EntityResource: Provide comprehensive test coverage for Editor entity 2017-04-04 12:06:22 +01:00
Nathaniel Catchpole c0933a14b1 Issue #2866252 by arshadcn, rakesh.gectcr: Refactor \Drupal\Tests\rest\Functional\EntityResource\Block\BlockResourceTestBase::getExpectedCacheTags 2017-04-03 22:11:02 +01:00
Alex Pott 8419d5e2eb Issue #2843752 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for Item entity 2017-03-28 18:43:26 +01:00
Alex Pott e1524ff3e1 Issue #2843750 by vaplas, sumanthkumarc, Wim Leers: EntityResource: Provide comprehensive test coverage for Shortcut entity 2017-03-28 18:39:27 +01:00
Alex Pott 5955462816 Issue #2843786 by arshadcn: EntityResource: Provide comprehensive test coverage for ImageStyle entity 2017-03-28 18:37:52 +01:00
Alex Pott 5222fbfefd Issue #2843777 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for NodeType entity 2017-03-28 13:11:16 +01:00
Alex Pott c7d9cdea0c Issue #2843775 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for CommentType entity 2017-03-28 09:04:02 +01:00
Alex Pott df19756da3 Issue #2843759 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for SearchPage entity 2017-03-28 09:02:31 +01:00
Alex Pott 278c0b8a47 Revert "Issue #2843756 by vaplas, brentschuddinck, Wim Leers: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity"
This reverts commit bfaa4f5ab6.
2017-03-27 23:34:00 +01:00
Alex Pott df2fd66d59 Issue #2843756 by vaplas, brentschuddinck, Wim Leers: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity 2017-03-27 11:39:13 +01:00
Alex Pott 66c750c6c7 Issue #2843761 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for ConfigurableLanguage entity 2017-03-27 11:34:14 +01:00
Alex Pott 478f2fb92e Issue #2843762 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for Action entity 2017-03-27 11:31:19 +01:00
Alex Pott 0edd07b2f9 Issue #2853211 by vaplas, Wim Leers, arshadcn: EntityResource::post() incorrectly assumes that every entity type has a canonical URL 2017-03-27 09:30:26 +01:00
Alex Pott 4826159924 Issue #2843757 by vaplas, Wim Leers, alexpott: EntityResource: Provide comprehensive test coverage for FilterFormat entity 2017-03-27 09:15:12 +01:00
Chris McCafferty d20187f473 Issue #2817745 by Wim Leers: Add test coverage to prove that REST resource's "auth" configuration is also not allowing global authentication providers like "cookie" when not listed 2017-03-14 17:29:58 -04:00
Alex Pott e4461e6dc8 Issue #2832859 by vaplas, webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent 2017-03-07 16:47:20 +00:00
Chris McCafferty c1ec091625 Issue #2821711 by Wim Leers: Apache always sets Content-Type: text/html, even for DELETE requests 2017-03-06 19:35:38 -05:00
Alex Pott 6d2c634ea1 Issue #2844046 by Wim Leers, dawehner, tedbow: REST Resource config entities do not respect the status (enabled/disabled) 2017-03-06 12:59:35 +00:00
Nathaniel Catchpole 01f8bd64ed Issue #2854529 by alexpott, xjm, klausi, Chi, Mixologic: Fix Drupal.Scope.MethodScope - all methods should have scopes 2017-03-06 11:25:01 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
xjm 6cca8a6da0 Issue #2751325 by damiankloip, Grayside, dawehner, Wim Leers, catch, tedbow, alexpott, himanshu-dixit, Jo Fitzgerald, xjm, andrewbelcher, skyredwang, effulgentsia, hampercm, eelkeblok: All serialized values are strings, should be integers/booleans when appropriate 2017-02-28 10:13:35 -06:00
Nathaniel Catchpole 9bd08a0024 Issue #2825347 by Wim Leers: 'Accept' header still is used for determining response format of error responses, ?_format= has no effect AND serialization module's exception subscriber does not support status code 500 error responses 2017-02-27 15:09:11 +00:00
Nathaniel Catchpole d837f01c58 Issue #2808335 by hchonov, tstoeckler, anish.a, Wim Leers, catch, Berdir: Changed time not updated when only non-translatable fields are changed on a translated entity 2017-02-22 16:45:04 +00:00
Nathaniel Catchpole ef4f88376b Issue #2561115 by michaellenahan, alexpott, Lendude, cilefen, lomasr, amit.drupal, Gábor Hojtsy, ifrik, dawehner: Rollback: Use 'Filter' for exposed filter button text in new views and new installations (instead of 'Apply') 2017-02-22 12:37:49 +00:00
Alex Pott 22d186866f Issue #2775479 by Wim Leers, klausi, dawehner: Try to remove the "map HEAD to GET" logic in \Drupal\rest\RequestHandler::handle() 2017-02-21 17:18:53 +00:00
Alex Pott 89b381fe40 Issue #2851746 by Berdir, Wim Leers: Support xdebug header in ResourceTestBase and move htttpClient property to right place 2017-02-18 09:23:01 +00:00