Commit Graph

425 Commits (9f2371f26e66cefb60fa7574ea707420469b51bc)

Author SHA1 Message Date
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
Alex Pott 5c386edc35 Issue #2664880 by vasi, dawehner, clemens.tolboom: DataEntityRow doesn't respect translations 2016-04-29 10:35:29 +01:00
Alex Pott 0018b94fa1 Issue #2456477 by Berdir, dawehner, heddn, pguillard: Convert deprecated \Drupal\simpletest\KernelTestBase tests to KernelTestBaseNG 2016-04-26 14:57:14 +01:00
Alex Pott bfde6d3423 Issue #2665992 by alexpott, klausi, heykarthikwithu, xjm, tstoeckler: @file is not required for classes, interfaces and traits 2016-04-09 15:48:39 +01:00
Nathaniel Catchpole 4dbaa8b017 Issue #2696919 by chgasparoto, snehi: EntityResource annotation class has @see after plugin annotation 2016-04-05 08:33:37 +09:00
Alex Pott ac0150a36a Issue #2274153 by dixon_, Wim Leers: Make RESTTestBase::httpRequest() work with HEAD requests 2016-03-21 09:16:18 +00:00
Nathaniel Catchpole 4d185faff1 Issue #2674408 by alexpott, dawehner: Fix Drupal.Classes.UnusedUseStatement standard in core 2016-03-14 09:22:44 +09:00
Nathaniel Catchpole 0e454b550f Issue #2502917 by dimaro, rakesh.gectcr, DuaelFr, suhel.rangnekar: Replace deprecated usage of entity_create used with variable entity types with a direct call to EntityManager::getStorage()->create() 2016-03-04 09:25:41 +09:00
Nathaniel Catchpole eb0ed47ef9 Issue #2672442 by rakesh.gectcr, dimaro, aditya_anurag, jhodgdon: In the documentation, change all instances of "an URL" to "a URL" 2016-02-26 12:51:33 +09:00
Alex Pott 98d39d1bdb Issue #2669400 by jungle, dimaro, rakesh.gectcr, lluvigne, Mile23: Replace deprecated usages of entity_create('type') with a direct call to <EntityType>::create() 2016-02-20 10:55:26 +05:30
Nathaniel Catchpole a3f5ca8a81 Issue #2338747 by dawehner, chx: Move {router} out of system.install and create the table lazy 2016-02-19 13:26:53 +09:00
Nathaniel Catchpole ac415b1f5b Issue #2485683 by Wim Leers: REST entity resource missing entity & field access cacheability metadata 2016-02-15 21:24:23 +09:00
Alex Pott b2734bbd73 Issue #2571929 by klausi: REST entity POST request is not cacheable: cacheability metadata is unnecessary 2016-02-11 14:33:13 +00:00
Alex Pott e3da828ff5 Issue #2397271 by Wim Leers, larowlan, penyaskito, MattA: REST configuration fails if it contains a plugin reference that does not exist 2016-02-10 22:35:45 +00:00
Nathaniel Catchpole b1cd7326e0 Issue #2568413 by grasmash, pwolanin, dawehner, Wim Leers, xjm, klausi: REST views: Pass views style plugin instance to REST Export serializer 2016-02-10 13:20:55 +09:00
Nathaniel Catchpole e50aac4765 Issue #2546216 by fortis, edutrul, -enzo-: Return entity object in REST response body after successful POST 2016-02-09 21:45:33 +09:00
Nathaniel Catchpole 805a22e9c3 Issue #2418587 by xjm, marthinal, AjitS, Wim Leers, neilmc, Berdir: Set entity values to NULL instead of using unset() method: unset() is misleading 2016-02-09 21:07:24 +09:00
Nathaniel Catchpole d8cf1783df Issue #2558883 by jhedstrom: Improve DX of formats that are requested but not found 2016-02-09 16:19:01 +09:00
Nathaniel Catchpole 6a10e562f3 Issue #2661642 by neclimdul: ResourceResponse can't serialize empty array 2016-02-09 16:16:04 +09:00
Alex Pott b339d820d6 Issue #2652970 by dagmar: Wrong @see doc on Plugin/rest/resource/EntityResource.php 2016-01-25 17:21:00 +00:00
Alex Pott 6833754d64 Issue #2409789 by mglaman, clemens.tolboom: Double slashes in canonicals while calling resourcePluginManager->getDefinitions() 2016-01-19 14:46:58 +00:00
Alex Pott e3de68b0dd Issue #2606548 by Lendude, dawehner, alexpott, catch, tim.plunkett, xjm, damiankloip: \Drupal\rest\Plugin\views\row\DataFieldRow::render should take into account the 'exclude' flag 2016-01-07 11:43:37 +00:00
Alex Pott 2c03b9f0ff Issue #2572789 by attiks, andriyun: Fix 'Drupal.WhiteSpace.Comma' coding standard 2015-12-23 14:28:29 +00:00
Alex Pott 8aeb8b94d5 Issue #2574077 by damiankloip, dawehner: REST Export display cannot show any raw output for fields using the Field field handler 2015-12-17 12:16:34 +00:00
xjm 376fb615d7 Issue #2458223 by geertvd, eiriksm, dawehner, lokapujya, Gábor Hojtsy, jeqq, plach, Dom., jhodgdon, xjm, catch, alexpott, jibran: Duplicated field handlers in field UI for some base table fields 2015-11-17 22:32:23 -06:00
xjm 1f4013c505 Issue #2340623 by ceng, R.Muilwijk, dawehner, klausi, Rj-dupe-1, xjm, sebas5384: Views REST export does not support exposed filters 2015-11-12 10:04:02 -06:00
Alex Pott d46772889b Issue #2516742 by DuaelFr, dawehner: Allow Views to be resolved by TitleResolver 2015-11-03 11:56:22 +00:00
xjm 639272360e Issue #2502621 by Pravin Ajaaz, hussainweb, Peacog, jhodgdon, ivanjaros: Replace implement notes with inheritdoc tag 2015-10-23 13:59:43 -07:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
effulgentsia 9de3548a33 Issue #2562811 by Jaesin, dawehner, jibran: Make \Drupal\views\Plugin\views\display\DisplayPluginBase::getType() public and add it to the interface 2015-10-03 17:14:13 -07:00
Nathaniel Catchpole 400baf1609 Issue #2464427 by jibran, Wim Leers, Berdir, borisson_: Replace CacheablePluginInterface with CacheableDependencyInterface 2015-10-02 09:26:50 +01:00
effulgentsia 708ce0a998 Issue #2576533 by alexpott, stefan.r, Wim Leers, dawehner, xjm, effulgentsia, catch: Rename SafeStringInterface to MarkupInterface and move related classes 2015-10-01 16:25:03 -07:00
Nathaniel Catchpole a6c2e2b1c5 Issue #2506213 by hchonov, mkalkbrenner: Update content entity changed timestamp on UI save 2015-09-28 22:08:45 +01:00
Alex Pott 6fb9d191e0 Issue #2423951 by effulgentsia, joelpittet, dawehner, klausi: Document each use of base: in rest.module 2015-09-26 16:02:54 +02:00
Alex Pott 7a25f513f5 Issue #2560783 by stefan.r, joelpittet, lauriii, Cottser, Sutharsan, kgoel, justAChris, Gábor Hojtsy, dawehner, jhodgdon, effulgentsia, xjm, andypost, googletorp: Replace !placeholder with :placeholder for URLs in hook_help() implementations 2015-09-21 12:38:19 +01:00
Nathaniel Catchpole 8691e08fdf Issue #2545972 by alexpott, joelpittet, ericjenkins, stefan.r, Wim Leers, Cottser: Remove all code usages SafeMarkup::checkPlain() and rely more on Twig autoescaping 2015-09-17 15:55:30 +01:00
Alex Pott fe81cfac2a Issue #2451397 by Jaesin, damiankloip, alexpott, dawehner: Entity denormalization fails to retrieve bundle 2015-09-13 17:21:53 +01:00
Alex Pott f6163c3ab1 Issue #2556029 by geertvd, Jaesin, dawehner: REST views unchecking "Display all values in the same row" doesn't limit the value to one per row 2015-09-01 14:20:27 +01:00
Nathaniel Catchpole e580940021 Issue #2559605 by Cottser, stefan.r: Convert SafeMarkup::checkPlain() in render arrays to #plain_text 2015-08-31 08:45:25 +01:00
Alex Pott 112e9bf26b Issue #2558905 by dawehner, pwolanin, cilefen, plach, willzyx: Content translation module - Information disclosure by insufficient access checking 2015-08-31 08:09:53 +01:00
Nathaniel Catchpole f384961721 Issue #2557519 by alexpott, joelpittet: Remove many usages SafeMarkup::checkPlain() and replace with Html::escape() 2015-08-26 11:34:29 +01:00
Alex Pott 236206a769 Issue #2554873 by samuel.mortenson: Log message in Drupal\rest\Plugin\rest\resource\EntityResource::patch() missing Entity ID 2015-08-22 17:33:23 +01:00
xjm 5d0c1a6eee Issue #2553953 by alexpott, Wim Leers, Gábor Hojtsy: Remove SafeMarkup::set() from RestExport and replace it with ViewsRenderPipelineSafeString 2015-08-20 16:57:59 -04:00
Alex Pott db390cded0 Issue #2430669 by larowlan, marthinal, clemens.tolboom, jibran: Cannot create comments from REST - field access is too strict 2015-08-14 13:08:26 +01:00
Alex Pott cdd12a90bb Issue #2455125 by mpdonadio, rteijeiro, jhodgdon, dawehner: Update EntityViewsData use of generic timestamp to use Field API formatter 2015-08-06 12:12:06 +01:00
Nathaniel Catchpole f8629621bb Issue #2514044 by dawehner, stefan.r, alexpott: Do not use SafeMarkup::format in exceptions 2015-07-28 17:03:59 +01:00
Nathaniel Catchpole d3c33d5821 Issue #2506581 by alexpott, Wim Leers, Fabianx, xjm, joelpittet, Cottser, dawehner: Remove SafeMarkup::set() from Renderer::doRender 2015-07-20 16:15:11 +01:00
Nathaniel Catchpole 20f1c993b6 Issue #2351015 by plach, effulgentsia, Wim Leers, dawehner, martin107, damiankloip, cilefen, Fabianx, catch, pwolanin, Damien Tournoud, znerol, YesCT, larowlan: URL generation does not bubble cache contexts 2015-07-16 15:26:21 +01:00
Alex Pott ebb21d2804 Issue #2450993 by Wim Leers, Fabianx, Crell, dawehner, effulgentsia: Rendered Cache Metadata created during the main controller request gets lost 2015-07-05 19:00:05 +01:00
webchick 92b34d6407 Issue #2513264 by moshe weitzman, webflo: Fix bad class reference 2015-07-02 01:03:58 -07:00
webchick 17a39ede7f Issue #2512444 by MattA: Unused namespaces in EntityDeriver.php 2015-07-02 00:27:43 -07:00
Alex Pott 1f53649bfb Issue #1392754 by tss, justAChris, jhodgdon: Comply with new documentation standards for @file for namespaced class files 2015-06-26 21:53:33 +01:00
Nathaniel Catchpole 68e606c354 Issue #2502255 by dawehner, larowlan: Enable tags cache plugin by default for Views 2015-06-09 22:58:45 +01:00
Nathaniel Catchpole 15c848bd62 Issue #2381277 by dawehner, plach, damiankloip, alexpott, olli, fgm, Wim Leers, Fabianx: Make Views use render caching and remove Views' own "output caching" 2015-06-08 15:48:29 +01:00
Nathaniel Catchpole 30ca0d1de6 Issue #2481453 by dawehner, pwolanin, rteijeiro, neclimdul, znerol: Implement query parameter based content negotiation as alternative to extensions 2015-06-08 11:11:09 +01:00
xjm 2f903e47ac Issue #2273925 by larowlan, aneek, lauriii, mikey_p, joelpittet, dimaro, Fabianx, xjm, jaredsmith, effulgentsia, lokapujya, iMiksu, chx, YesCT, googletorp, dawehner, Wim Leers, Cottser: Ensure #markup is XSS escaped in Renderer::doRender() 2015-06-07 13:34:39 -05:00
Alex Pott 068edfc14e Issue #2395831 by dawehner, fago, martin107, cafuego, YesCT, plach, jibran, larowlan, Wim Leers, effulgentsia, klausi: Entity forms skip validation of fields that are not in the EntityFormDisplay 2015-06-05 21:46:55 +01:00
Alex Pott 73b5652a74 Issue #2470693 by dawehner, Berdir, jibran, hussainweb, pwolanin, znerol: Upgrade to Symfony 2.7.0 2015-06-01 11:47:08 +01:00
webchick f4de6798d1 Issue #2496943 by sasanikolic, stefan.r: Add condition to ignore PHP 7 on rest requirements check 2015-05-29 08:15:31 -07:00
xjm e6ea417035 Issue #2486943 by lostkangaroo, Crell, neclimdul: Standardize error message property name 2015-05-24 22:16:36 -05:00