summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Issue #2824851 by Wim Leers, arshadcn, amateescu, tedbow, ↵xjm2017-09-031-15/+61
| | | | | | timmillwood, Berdir, tstoeckler: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior" This reverts commit 3b3daa353f4c5ebd47d241aa1ac7e9af755f56f7.
* Issue #2824851 by Wim Leers, arshadcn, amateescu, tedbow, timmillwood, ↵Nathaniel Catchpole2017-08-221-61/+15
| | | | Berdir, tstoeckler: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior
* Issue #2293697 by Wim Leers, dawehner, Jo Fitzgerald, clemens.tolboom, ↵Alex Pott2017-05-151-2/+2
| | | | 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
* Issue #2848927 by Wim Leers, alexpott: EntityResource::addLinkHeaders() ↵Alex Pott2017-04-181-5/+8
| | | | should use LinkRelationType plugin instances rather than definitions
* Issue #2853211 by vaplas, Wim Leers, arshadcn: EntityResource::post() ↵Alex Pott2017-03-271-2/+6
| | | | incorrectly assumes that every entity type has a canonical URL
* Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March ↵xjm2017-03-031-4/+4
| | | | 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase
* Issue #2751325 by damiankloip, Grayside, dawehner, Wim Leers, catch, tedbow, ↵xjm2017-02-281-1/+38
| | | | alexpott, himanshu-dixit, Jo Fitzgerald, xjm, andrewbelcher, skyredwang, effulgentsia, hampercm, eelkeblok: All serialized values are strings, should be integers/booleans when appropriate
* Issue #2808233 by gnuget, dawehner, Wim Leers, tedbow, Chi, dysrama: REST ↵Alex Pott2017-02-091-7/+30
| | | | 403 responses don't tell the user *why* access is not granted: requires deep Drupal understanding to figure out
* Issue #2113345 by dawehner, tedbow, Wim Leers, kristiaanvandeneynde, Crell, ↵effulgentsia2017-01-301-2/+49
| | | | Grayside, klausi: Define a mechanism for custom link relationships
* Issue #2789315 by amateescu, timmillwood, claudiu.cristea, sandervd, ↵Alex Pott2016-12-021-0/+7
| | | | GroovyCarrot, catch, Wim Leers, Berdir, pfrenssen, twistor, xjm: Create EntityPublishedInterface and use for Node and Comment
* Issue #2815063 by leeotzu, shruti1803, minakshiPh, lomasr, Yogesh Pawar, ↵Nathaniel Catchpole2016-10-211-1/+1
| | | | Chi: Typo in EntityResource::delete()
* Issue #2815063 by minakshiPh: Typo in EntityResource::delete()Alex Pott2016-10-131-1/+1
|
* Issue #2794735 by harings_rob: Wrong documentation on ↵Alex Pott2016-09-221-4/+4
| | | | Drupal\rest\Plugin\rest\resource\EntityResource
* Issue #2721901 by Mile23, anoopjohn: Fix ↵Alex Pott2016-08-291-1/+1
| | | | Drupal.Commenting.FunctionComment.MissingParamName
* Issue #2291055 by marthinal, tedbow, Wim Leers, kylebrowning, m1r1k, ↵effulgentsia2016-08-031-43/+5
| | | | clemens.tolboom, jlbellido, vivekvpandya, snehal.brahmbhatt, dawehner, klausi, droti, alexpott, cloudbull, Berdir, heykarthikwithu, claudiu.cristea: REST resources for anonymous users: register
* Issue #2664780 by Wim Leers, tedbow, dawehner, klausi: Remove REST's ↵Alex Pott2016-08-011-2/+29
| | | | resource- and verb-specific permissions for EntityResource, but provide BC and document why it's necessary for other resources
* Revert "Issue #2664780 by Wim Leers, tedbow, dawehner, klausi: Remove REST's ↵Alex Pott2016-08-011-29/+2
| | | | | | resource- and verb-specific permissions for EntityResource, but provide BC and document why it's necessary for other resources" This reverts commit 85d755a992d89ac101580a9d3fa692b2b3ed7112.
* Issue #2664780 by Wim Leers, tedbow, dawehner, klausi: Remove REST's ↵Alex Pott2016-08-011-2/+29
| | | | resource- and verb-specific permissions for EntityResource, but provide BC and document why it's necessary for other resources
* Issue #2662284 by Wim Leers, swim, tedbow, dawehner: Return complete entity ↵Alex Pott2016-07-191-2/+2
| | | | after successful PATCH
* Issue #2308745 by Alumei, dawehner, Wim Leers, larowlan, Arla, alexpott, ↵Alex Pott2016-06-191-13/+22
| | | | g.oechsler, R.Muilwijk, Berdir, catch, klausi, clemens.tolboom, MattA, Crell: Remove rest.settings.yml, use rest_resource config entities
* Issue #2724823 by tedbow, dawehner, Wim Leers, clemens.tolboom: ↵Alex Pott2016-06-171-6/+85
| | | | EntityResource: read-only (GET) support for configuration entities
* Issue #2631774 by Wim Leers, marthinal, dawehner, tedbow, ↵Alex Pott2016-05-311-5/+16
| | | | tyler.frankenstein, gabesullice, valthebald: Impossible to update Comment entity with REST (HTTP PATCH): bundle field not allowed to be updated, but EntityNormalizer::denormalize() requires it
* Issue #2626298 by marthinal, borisson_, Wim Leers, dawehner: REST module ↵Nathaniel Catchpole2016-05-261-7/+7
| | | | must cache only responses to GET requests
* Issue #2719695 by alexpott, Mile23: Fix ↵Alex Pott2016-05-081-1/+0
| | | | 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard
* Issue #2665992 by alexpott, klausi, heykarthikwithu, xjm, tstoeckler: @file ↵Alex Pott2016-04-091-5/+0
| | | | is not required for classes, interfaces and traits
* Issue #2696919 by chgasparoto, snehi: EntityResource annotation class has ↵Nathaniel Catchpole2016-04-051-2/+2
| | | | @see after plugin annotation
* Issue #2485683 by Wim Leers: REST entity resource missing entity & field ↵Nathaniel Catchpole2016-02-151-6/+11
| | | | access cacheability metadata
* Issue #2571929 by klausi: REST entity POST request is not cacheable: ↵Alex Pott2016-02-111-1/+2
| | | | cacheability metadata is unnecessary
* Issue #2546216 by fortis, edutrul, -enzo-: Return entity object in REST ↵Nathaniel Catchpole2016-02-091-2/+3
| | | | response body after successful POST
* Issue #2418587 by xjm, marthinal, AjitS, Wim Leers, neilmc, Berdir: Set ↵Nathaniel Catchpole2016-02-091-1/+1
| | | | entity values to NULL instead of using unset() method: unset() is misleading
* Issue #2652970 by dagmar: Wrong @see doc on ↵Alex Pott2016-01-251-1/+1
| | | | Plugin/rest/resource/EntityResource.php
* Issue #2554873 by samuel.mortenson: Log message in ↵Alex Pott2015-08-221-1/+1
| | | | Drupal\rest\Plugin\rest\resource\EntityResource::patch() missing Entity ID
* Issue #2514044 by dawehner, stefan.r, alexpott: Do not use ↵Nathaniel Catchpole2015-07-281-3/+2
| | | | SafeMarkup::format in exceptions
* Issue #2351015 by plach, effulgentsia, Wim Leers, dawehner, martin107, ↵Nathaniel Catchpole2015-07-161-1/+4
| | | | damiankloip, cilefen, Fabianx, catch, pwolanin, Damien Tournoud, znerol, YesCT, larowlan: URL generation does not bubble cache contexts
* Issue #1392754 by tss, justAChris, jhodgdon: Comply with new documentation ↵Alex Pott2015-06-261-1/+1
| | | | standards for @file for namespaced class files
* Issue #2395831 by dawehner, fago, martin107, cafuego, YesCT, plach, jibran, ↵Alex Pott2015-06-051-0/+5
| | | | larowlan, Wim Leers, effulgentsia, klausi: Entity forms skip validation of fields that are not in the EntityFormDisplay
* Issue #2489912 by mikeburrelljr, opdavies, larowlan: Update Drupal.org URL ↵xjm2015-05-181-1/+1
| | | | in core modules
* Issue #2463009 by Wim Leers: Introduce CacheableResponseInterface: ↵Nathaniel Catchpole2015-04-271-1/+5
| | | | consolidate ways of setting X-Drupal-Cache-Tags/Contexts headers
* Issue #2471473 by klausi, pwolanin: REST responses should have proper cache tagsAlex Pott2015-04-151-1/+2
|
* Issue #2418119 by Berdir, jhedstrom, larowlan, martin107, nlisgo, klausi, ↵Alex Pott2015-03-311-5/+3
| | | | fago, Gábor Hojtsy: REST user updates bypass tightened user account change validation
* Issue #2457887 by prateekMehta, stefan.r, rpayanm, alexpott: Use ↵webchick2015-03-291-4/+4
| | | | Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions
* Issue #2405091 by marthinal, Berdir, RavindraSingh: Cannot create user ↵Alex Pott2015-02-021-4/+8
| | | | entities - {"error":"Access denied on creating field pass"}
* Issue #2364157 by mpdonadio, dawehner, martin107, Berdir, pcambra, ↵webchick2015-01-291-2/+1
| | | | naveenvalecha, tim.plunkett: Replace most existing _url calls with Url objects
* Issue #2406439 by dawehner: Cleanup EntityDerivative and RouteBuilderInterfaceAlex Pott2015-01-141-1/+1
|
* Issue #2143729 by tstoeckler, plach, jsbalsera, Berdir, mauzeh, damiankloip, ↵Alex Pott2014-12-291-3/+2
| | | | andypost: Entity definitions miss a language entity key
* Issue #2368807 by yched: Remove special support for NULL values in FieldItemListNathaniel Catchpole2014-12-191-16/+15
|
* Issue #2349805 by balagan, clemens.tolboom, Cyberwolf: Rest classes should ↵Alex Pott2014-12-041-11/+12
| | | | use StringTranslationTrait instead of t() function when possible
* Issue #2230091 by dawehner, Berdir, marthinal, martin107: Fixed Route ↵Nathaniel Catchpole2014-10-061-0/+2
| | | | rebuilding is not guaranteed to finish in time for the next request.
* Issue #2343661 by larowlan, tim.plunkett | xjm: Rename l() to _l() and url() ↵Alex Pott2014-09-301-1/+1
| | | | to _url(), and document replacements.
* Issue #2272481 by herom, ParisLiakos, tim.plunkett: Remove usages of ↵Nathaniel Catchpole2014-07-311-3/+3
| | | | watchdog() from forms, plugins and controllers.