Commit Graph

384 Commits (193aae307933d0c734b4855ceb0240410ec9fb29)

Author SHA1 Message Date
Nathaniel Catchpole 1f1f20fe0a Issue #2815063 by leeotzu, shruti1803, minakshiPh, lomasr, Yogesh Pawar, Chi: Typo in EntityResource::delete() 2016-10-21 16:49:25 +01:00
Nathaniel Catchpole 6ddd0ba55c Issue #2810381 by timmillwood, plach: Add generic status field to ContentEntityBase 2016-10-20 13:33:59 +01:00
Alex Pott 5233c3d2b8 Issue #2815063 by minakshiPh: Typo in EntityResource::delete() 2016-10-13 11:24:47 +01: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
Alex Pott d27d6c3dd9 Issue #1841474 by dawehner, lokapujya, gnuget, mradcliffe, lluvigne, Wim Leers, klausi: Convert REST tests to Guzzle (would also help with core moving from WTB to BTB) 2016-09-28 13:18: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 f8f39839d3 Issue #2772537 by dawehner, Wim Leers, jacov: REST Views override existing REST GET routes 2016-09-25 12:19:48 +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 676f38d8c7 Issue #2795965 by Wim Leers, neclimdul: REST requests with invalid X-CSRF-Token header get "missing " mesage 2016-09-22 14:50:25 +01:00
Alex Pott 7f43b7ba67 Issue #2794735 by harings_rob: Wrong documentation on Drupal\rest\Plugin\rest\resource\EntityResource 2016-09-22 14:25:13 +01:00
Nathaniel Catchpole fabc088e57 Issue #2803179 by Wim Leers, MKorostoff, Berdir, dawehner: [regression] rest_update_8201() can fail and break things 2016-09-21 14:23:53 +01:00
Alex Pott 0cf01aef92 Issue #2801741 by zsofi.major, penyaskito: Fix typo in 'RestExport.php' 2016-09-19 16:15:28 +01:00
Alex Pott e38299552e Issue #2787657 by dawehner, alexpott: \Drupal\Tests\rest\Unit\EntityResourceValidationTraitTest::testValidate 2016-08-29 10:32:38 -05:00
Alex Pott a7b67e7af1 Issue #2721901 by Mile23, anoopjohn: Fix Drupal.Commenting.FunctionComment.MissingParamName 2016-08-29 06:50:59 -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
Nathaniel Catchpole f6ae58526c Issue #2572801 by alexpott, vprocessor, andriyun, andypost, chishah92, Mile23, attiks, hussainweb, klausi, dawehner, pfrenssen: Fix 'Drupal.WhiteSpace.ScopeIndent' coding standard 2016-08-28 18:16:36 +01:00
Alex Pott 2e5e060c53 Issue #2783395 by Mile23: Fix 'Drupal.Commenting.FunctionComment.InvalidReturn' coding standard 2016-08-28 06:25:45 -05:00
Alex Pott 08b7a3fbc8 Issue #2783393 by Mile23: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard 2016-08-18 10:38:31 +01:00
Nathaniel Catchpole e1ef487b8d Issue #2513534 by tim.plunkett, lokapujya, tedbow, LewisNyman, Manjit.Singh, alexpott, Maninders, Bojhan: Remove the 'disabled' region from Block UI 2016-08-08 13:16:02 +01:00
Alex Pott f0fe2a07f3 Issue #2780255 by klausi: Replace incorrect EntityTypeBundleInfo type hints with interface 2016-08-08 10:47:34 +01:00
Nathaniel Catchpole ad76a96a40 Issue #2723607 by valthebald, deepakaryan1988: Remove entity_load* usage for dynamic entity types 2016-08-05 09:29:20 +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
Nathaniel Catchpole 3700d9fd91 Issue #2427637 by Mile23, keopx, naveenvalecha, marvin_B8: Remove usages of deprecated entity_get_bundles() 2016-07-31 21:20:40 +01:00
Alex Pott 3de79990b3 Issue #2681911 by garphy, Wim Leers, gabesullice: REST requests without X-CSRF-Token header: unhelpful response significantly hinders DX, should receive a 401 response 2016-07-29 16:11:36 +01:00
Alex Pott 776613979d Issue #2752325 by Wim Leers, marthinal, dawehner, ericpugh: Automatically provide HEAD support when a REST resource supports GET 2016-07-29 15:52:16 +01:00
Alex Pott af80cb499a Issue #2659070 by Wim Leers, dawehner, tic2000, Crell: REST requests without Content-Type header: unhelpful response significantly hinders DX, should receive a 415 response 2016-07-29 00:32:38 +01:00
effulgentsia 3a13f94634 Issue #2721595 by Wim Leers, dawehner: Simplify REST configuration 2016-07-26 14:57:39 -07:00
Nathaniel Catchpole 62b7392dee Issue #2753681 by tedbow, Wim Leers, dawehner, neclimdul, catch: Move CSRF header token out of REST module so that user module can use it, as well as any contrib module 2016-07-25 13:47:47 +01: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 cc6885bde6 Issue #2755843 by alexpott, xjm: The order in which config is saved affects dependency calculations 2016-07-04 12:55:53 +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
Alex Pott 871da5e4f7 Issue #2308745 by Alumei, dawehner, Wim Leers, larowlan, Arla, alexpott, g.oechsler, R.Muilwijk, Berdir, catch, klausi, clemens.tolboom, MattA, Crell: Remove rest.settings.yml, use rest_resource config entities 2016-06-19 14:41:10 +01:00
Alex Pott 6a16932c8d Issue #2724823 by tedbow, dawehner, Wim Leers, clemens.tolboom: EntityResource: read-only (GET) support for configuration entities 2016-06-17 11:45:44 +01:00
Alex Pott 4b6d125f1c Issue #2653318 by Wim Leers, aneek, marthinal, dawehner: While in maintenance mode, REST routes respond with HTML instead of XML/JSON/… 2016-06-16 18:10:50 +01:00
Nathaniel Catchpole 22c915f33f Issue #2502865 by claudiu.cristea: Remove all remaining usages of the drupal_ajax accept header 2016-06-14 16:25:25 +01:00
Alex Pott edad386212 Issue #2567133 by Wim Leers: getTypes in TypeLinkManager doesn't work with the null cache back end 2016-06-02 13:48:41 +01:00
Alex Pott 6749853b33 Issue #2631774 by Wim Leers, marthinal, dawehner, tedbow, 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 2016-05-31 00:44:39 +01:00
Alex Pott 491554b180 Issue #1996130 by dawehner, damiankloip, dagmar, marthinal, clemens.tolboom, Nitesh Sethia: REST views: not adding dependencies on Serializer providers 2016-05-27 12:13:13 +01:00
Nathaniel Catchpole 8c570329bb Issue #2626298 by marthinal, borisson_, Wim Leers, dawehner: REST module must cache only responses to GET requests 2016-05-26 08:47:51 +01:00
Nathaniel Catchpole e039fa2dac Issue #2579235 by kylebrowning, willzyx: Resource plugin manager needlessly calls wrong method to instantiate plugins 2016-05-10 11:29:16 +01:00
Nathaniel Catchpole df74821d4e Issue #2718545 by e0ipso, naveenvalecha: Refactor \Drupal\rest\RequestHandler::handle() into smaller methods 2016-05-10 11:18:40 +01:00
Alex Pott 133c212ed9 Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard 2016-05-08 10:05:38 -05:00
Alex Pott d5d0d6ce87 Issue #2572777 by andypost, alexpott, attiks, andriyun: Fix 'Squiz.Strings.ConcatenationSpacing' coding standard 2016-05-05 12:07:19 +01:00
Alex Pott 3eeaeb6490 Issue #2707371 by Mile23: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-04-30 14:52:19 +01:00