Commit Graph

108 Commits (9f2371f26e66cefb60fa7574ea707420469b51bc)

Author SHA1 Message Date
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
Alex Pott 1816bcd998 Issue #2852992 by arshadcn: EntityResourceTestBase: only assert presence of Link headers for entity types that have link templates 2017-02-18 09:07:59 +00:00
Nathaniel Catchpole 8b46fee4cd Issue #2853296 by Wim Leers: Follow-up for #2820743: address remaining @todo 2017-02-16 21:30:18 +00:00
Alex Pott d2fdd97d11 Issue #2827084 by damiankloip, Wim Leers, dawehner, prics, larowlan, catch, darrenwh: EntityNormalizer::denormalize should not throw UnexpectedValueException, but \Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException, so we get a 422 response instead of 400 2017-02-14 14:09:58 +00:00
xjm f2c2531c52 Issue #2848933 by Wim Leers, tstoeckler: SerializationLinkManagerTest should not enable the rest_test module (because it implicitly enables the rest module) 2017-02-13 04:03:07 -06:00
xjm ce118a0085 Issue #2834848 by tedbow, Wim Leers, alexpott: REST test fails depending on local testing URL 2017-02-12 15:58:36 -06:00
xjm 5f178e351d Revert "Issue #2832859 by webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent"
This reverts commit ef0a8723e4.
2017-02-11 19:23:50 -06:00
Alex Pott ef0a8723e4 Issue #2832859 by webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent 2017-02-12 00:30:08 +00:00
Alex Pott 172e9e38cc Issue #2815845 by dawehner, Wim Leers, alexpott, tedbow, Berdir, swentel, webflo: Importing (deploying) REST resource config entities should automatically do the necessary route rebuilding 2017-02-10 10:45:01 +00:00
Alex Pott 1fcd3d5c56 Issue #2808233 by gnuget, dawehner, Wim Leers, tedbow, Chi, dysrama: REST 403 responses don't tell the user *why* access is not granted: requires deep Drupal understanding to figure out 2017-02-09 19:56:28 +00:00
Nathaniel Catchpole 4417b82c97 Issue #2849474 by Wim Leers: \Drupal\Tests\rest\Functional\CookieResourceTestTrait::initAuthentication() should use the current test format, and should not send an Accept header 2017-02-08 15:04:49 +00:00
Nathaniel Catchpole 0a3fb0a8a2 Issue #2838144 by arshadcn, Wim Leers, drpal: Update "bundle missing" error message in entity denormalization to indicate which field is actually missing 2017-02-08 13:02:14 +00:00
effulgentsia bfaf6b6e0f Issue #2758897 by Wim Leers, damiankloip, larowlan: Move rest module's "link manager" services to serialization module 2017-01-30 21:53:34 -08:00
effulgentsia 0bc54981d2 Issue #2113345 by dawehner, tedbow, Wim Leers, kristiaanvandeneynde, Crell, Grayside, klausi: Define a mechanism for custom link relationships 2017-01-30 12:29:33 -08:00
Nathaniel Catchpole 5394f9f01e Issue #2840974 by alexpott, Wim Leers, axot: CookieResourceTestTrait test should send Content-Type request header 2017-01-30 14:50:11 +00:00
Alex Pott 98e7ac3f66 Issue #2838949 by damiankloip: HttpException Handling Does Not Pass Headers to Responses — results e.g. in missing Allow header for 405 responses 2017-01-25 18:40:27 +00:00
Alex Pott 5ce4fce14f Issue #2813853 by Wim Leers: RequestHandler has its own error handling rather than leaving it to KernelEvents::EXCEPTION event subscribers 2017-01-25 18:02:58 +00:00
Alex Pott 51d3d8a984 Issue #2805281 by Wim Leers, damiankloip: ?_format=hal_json error responses are application/json, yet should be application/hal+json 2017-01-11 15:32:48 +00:00
Alex Pott fb3389418b Issue #2835683 by dawehner, Wim Leers: Remove HTML from EntityResource validation 422 exception message 2017-01-11 14:14:33 +00:00
Alex Pott ce7cf174eb Issue #2561115 by michaellenahan, Lendude, cilefen, lomasr, amit.drupal, Gábor Hojtsy, dawehner, ifrik: Use 'Filter' for exposed filter button text in new views and new installations (instead of 'Apply') 2017-01-05 21:51:09 +00:00
Alex Pott efb8f715f6 Issue #2739617 by dawehner, Wim Leers, neclimdul, chx: Make it easier to write on4xx() exception subscribers 2017-01-05 13:07:02 +00:00
Alex Pott 6b7acf7d3c Issue #2838954 by damiankloip: Ignore 'Transfer-Encoding' header in EntityResourceTestBase::testGet 2017-01-03 12:08:34 +00:00
Alex Pott badbcd334b Issue #2813755 by Wim Leers, dawehner, tedbow, damiankloip: JSON responses encoded inconsistently: make them all RFC4627-compliant 2016-12-20 11:31:00 +00:00
Alex Pott c1325daed9 Issue #2830333 by Wim Leers, tedbow: All REST update path test coverage fixtures contain no-op code and other mistakes 2016-12-09 21:54:04 +00:00
Nathaniel Catchpole 9d095b9455 Issue #2717969 by Wim Leers, benelori, dawehner: REST views: Views field is not displayed as token, if exclude flag is set and the display is RestExport 2016-12-06 11:09:47 +00:00
Alex Pott f7aed2076c Issue #2832013 by Wim Leers, michielnugter, catch: CommentResourceTestBase::testPostDxWithoutCriticalBaseFields() always fails on PHP 5.6 & MySQL 5.5 (works fine on other PHP versions) 2016-12-02 13:11:34 +00:00
Alex Pott 79569a7503 Revert "Issue #2712647 by klausi, catch, slasher13, jibran, Manuel Garcia, alexpott, naveenvalecha, neclimdul, dawehner, Wim Leers, pounard: Update Symfony components to ~3.1"
This reverts commit a55b8ef19e.
2016-12-02 11:05:17 +00:00
Nathaniel Catchpole 8f53fb1430 Issue #2824576 by Wim Leers: Delete old REST test coverage: (Read|Create|Update|Delete)Test, deprecate RESTTestBase 2016-12-01 15:55:55 +00:00
Alex Pott a55b8ef19e Issue #2712647 by klausi, catch, slasher13, jibran, Manuel Garcia, alexpott, naveenvalecha, neclimdul, dawehner, Wim Leers, pounard: Update Symfony components to ~3.1 2016-12-01 11:00:20 +00:00
Nathaniel Catchpole 6e26b862de Issue #2828319 by mradcliffe, Wim Leers, neclimdul: [regression] REST in Drupal 8.2.x does not allow HTTP methods other than GET/PATCH/POST/DELETE: OPTIONS, PUT, et cetera all fail 2016-11-30 20:57:35 +00:00
Nathaniel Catchpole 319076780b Issue #2737719 by Wim Leers, dawehner: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method 2016-11-30 16:28:46 +00:00
Nathaniel Catchpole 3c4e905762 Revert "Issue #2737719 by Wim Leers, dawehner: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method"
This reverts commit 59781ffc44.
2016-11-29 13:19:15 +00:00
Nathaniel Catchpole 59781ffc44 Issue #2737719 by Wim Leers, dawehner: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method 2016-11-29 12:46:11 +00:00
Alex Pott 0f3f279238 Issue #2807501 by Wim Leers, dawehner, tstoeckler: ResourceResponse::$responseData is serialized, but is never used: unserializing it on every Page Cache hit is a huge performance penalty 2016-11-15 09:56:57 +00:00
Alex Pott eaaea5db8b Revert "Issue #2664322 by dawehner, benjifisher, almaudoh: key_value table is only used by a core service but it depends on system install"
This reverts commit 5571193f80.
2016-09-28 17:22:20 +01:00
Nathaniel Catchpole 5571193f80 Issue #2664322 by dawehner, benjifisher, almaudoh: key_value table is only used by a core service but it depends on system install 2016-09-28 11:38:34 +01:00
Alex Pott 713d4e9874 Issue #2773185 by Wim Leers, effulgentsia, dawehner: Fix nits in \Drupal\rest\Entity\ConfigDependencies 2016-09-22 17:38:32 +01:00
Alex Pott e38299552e Issue #2787657 by dawehner, alexpott: \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTest::testValidate 2016-08-29 10:32:38 -05:00
Nathaniel Catchpole 2a43f31fb7 Issue #2779807 by jhedstrom: Bring RestExport::buildResponse into line with Feed::buildResponse 2016-08-29 08:04:46 +01:00
Alex Pott 08b7a3fbc8 Issue #2783393 by Mile23: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-08-18 10:38:31 +01:00
effulgentsia 79dfc068a0 Issue #2291055 by marthinal, tedbow, Wim Leers, kylebrowning, m1r1k, clemens.tolboom, jlbellido, vivekvpandya, snehal.brahmbhatt, dawehner, klausi, droti, alexpott, cloudbull, Berdir, heykarthikwithu, claudiu.cristea: REST resources for anonymous users: register 2016-08-03 10:28:52 -07:00
Nathaniel Catchpole a0a530fd4f Issue #1920902 by neclimdul, larowlan, alexpott, chx, sun, jthorson, damiankloip, Berdir, Mixologic, YesCT, hussainweb, rcaracaus, cweagans, catch, jibran, msonnabaum, dawehner, webchick, anavarre, heyrocker: Add a Drupal Yaml wrapper so we can default to PECL Yaml component if it is available 2016-08-01 18:52:00 +01:00
Alex Pott 2ec23349fc Issue #2664780 by Wim Leers, tedbow, dawehner, klausi: Remove REST's resource- and verb-specific permissions for EntityResource, but provide BC and document why it's necessary for other resources 2016-08-01 17:35:53 +01:00
Alex Pott 23ed767a23 Revert "Issue #2664780 by Wim Leers, tedbow, dawehner, klausi: Remove REST's resource- and verb-specific permissions for EntityResource, but provide BC and document why it's necessary for other resources"
This reverts commit 85d755a992.
2016-08-01 17:35:08 +01:00
Alex Pott 85d755a992 Issue #2664780 by Wim Leers, tedbow, dawehner, klausi: Remove REST's resource- and verb-specific permissions for EntityResource, but provide BC and document why it's necessary for other resources 2016-08-01 15:09:47 +01:00
effulgentsia 3a13f94634 Issue #2721595 by Wim Leers, dawehner: Simplify REST configuration 2016-07-26 14:57:39 -07:00
Alex Pott 2bb0468847 Issue #2662284 by Wim Leers, swim, tedbow, dawehner: Return complete entity after successful PATCH 2016-07-19 11:29:44 +01:00
Nathaniel Catchpole d97b4131da Issue #2756527 by chgasparoto, Wim Leers: Move test coverage for rest_update_8202() from core/modules/views to core/modules/rest 2016-06-30 12:03:23 +01:00
Alex Pott 5987069eea Issue #2228141 by juampynr, eiriksm, dawehner, almaudoh, lokapujya, mohit_aghera, clemens.tolboom, manojapare, Lendude, Sonal.Sangale, Wim Leers, alexpott, damiankloip, andypost: Add authentication support to REST views 2016-06-25 15:33:37 +02:00
Alex Pott b3d0a73198 Issue #2419825 by marthinal, Wim Leers, bigjim, dawehner, klausi: Make serialization_class optional 2016-06-23 13:00:46 +02:00