Commit Graph

577 Commits (2a7952f2bff6a03676e6112cc64df161afeba425)

Author SHA1 Message Date
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
Nathaniel Catchpole 45bc05523f Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format() 2018-05-01 16:14:09 +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 13822906e5
Issue #2702683 by Manuel Garcia, xjm, prics, pguillard, Jo Fitzgerald, vg3095, ztl8702, lucian.cazaciuc, bojanz, tstoeckler, hchonov, rszrama, rteijeiro, svjuly, jibran, vdanielpop, vasike, jmikii, jhodgdon, Wim Leers, amateescu, Gabr1el, Drupa1ish, ciprian.stavovei: Add plural labels to entity types 2018-03-20 09:57:05 +00: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
Nathaniel Catchpole 05422f2a0b Issue #2931765 by timmillwood, Wim Leers: Regression: \Drupal\hal\LinkManager\LinkManagerBase implicitly depends on REST module 2018-01-24 14:21:04 +00:00
Lee Rowlands 47c2dda6d1
Issue #2927746 by alexpott, catch, slasher13, mpdonadio, martin107, RoSk0, jibran, larowlan, pounard, Mile23, Jo Fitzgerald, deviantintegral, pritish.kumar: Update Symfony components to 3.4.* 2018-01-18 17:54:38 +10: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
Lee Rowlands 0428e20aa1
Issue #2931883 by moshe weitzman, David_Rothstein, Wim Leers: Unneeded always_populate_raw_post_data requirements check while on CLI 2018-01-06 15:01:14 +10:00
Lee Rowlands 2971ea9d10
Issue #2934520 by tstoeckler: Avoid information disclosure by timing attack in EntityResource::patch() 2018-01-05 17:11:04 +10: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
effulgentsia 8203805823 Issue #2929124 by Wim Leers, tstoeckler: Remove EntityResource::getCastedValueFromFieldItemList() helper in favor of FieldItemList::equals() 2017-12-07 10:08:13 -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