Commit Graph

276 Commits (534ee0d39da65c26a3ea32a804c4c184219d4ed3)

Author SHA1 Message Date
Alex Pott ff6381f7cf Issue #2915490 by Wim Leers: Modernize & harden HalLinkManagerTest 2017-10-24 16:53:06 +01:00
Nathaniel Catchpole 51f6344c8c Issue #2843764 by Wim Leers, arshadcn: EntityResource: Provide comprehensive test coverage for EntityFormDisplay entity 2017-10-24 12:51:08 +01:00
Nathaniel Catchpole 50f08589d0 Issue #2843765 by vaplas: EntityResource: Provide comprehensive test coverage for EntityViewDisplay entity 2017-10-24 12:48:44 +01:00
Lee Rowlands 4d4365299c
Issue #2843755 by Wim Leers, larowlan, andypost, jibran, Berdir: EntityResource: Provide comprehensive test coverage for Message entity 2017-10-24 08:55:57 +10:00
Nathaniel Catchpole 43c0eca73b Issue #2843781 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for EntityViewMode entity 2017-10-17 12:16:45 +01:00
Nathaniel Catchpole 7b05eebfcf Issue #2843780 by vaplas, jamesdesq, Wim Leers: EntityResource: Provide comprehensive test coverage for EntityFormMode entity 2017-10-16 14:38:21 +01:00
xjm 58c46869be Issue #2916025 by Wim Leers: Rename $denormalized to $normalized in \Drupal\hal\Normalizer\FieldItemNormalizer::normalizedFieldValues() 2017-10-13 18:29:38 -05:00
xjm db5e8289f2 Issue #2572787 by alexpott, mfernea, attiks, andriyun, andypost, RoSk0, hussainweb, klausi, martin107: Fix 'Drupal.WhiteSpace.CloseBracketSpacing' coding standard 2017-10-13 12:43:15 -05:00
Gabor Hojtsy 3e2d434028 Issue #2883813 by chr.fritsch, Wim Leers, Berdir, phenaproxima, catch: Move File/Image media type into Standard once Media is stable 2017-10-09 18:46:43 +02:00
Nathaniel Catchpole 4577185c9b Issue #2572791 by Mile23, andriyun, attiks, RoSk0: Fix 'Drupal.WhiteSpace.OpenBracketSpacing' coding standard 2017-09-22 12:16:23 +01:00
effulgentsia 3b6a05b573 Issue #2835767 by Wim Leers, vaplas, xjm, dawehner, Gábor Hojtsy, Berdir, seanB, larowlan: Media + REST: comprehensive test coverage for Media + MediaType entity types 2017-09-19 13:11:37 -07:00
effulgentsia 301152f8c6 Issue #2835845 by vaplas, Wim Leers, arshadcn, Berdir: EntityResource: Provide comprehensive test coverage for BlockContent entity 2017-09-19 12:29:56 -07:00
xjm 44a5c4cbe0 Issue #2901739 by andriyun, Jo Fitzgerald, mfernea, xjm: Fix 'Squiz.Arrays.ArrayDeclaration' coding standard 2017-09-15 16:52:14 -05:00
effulgentsia cc34cb8055 Issue #2843776 by Wim Leers, vaplas: EntityResource: Provide comprehensive test coverage for EntityTestBundle entity 2017-09-15 12:49:39 -07:00
Lee Rowlands a87e8aafdb
Issue #2843778 by Wim Leers: EntityResource: Provide comprehensive test coverage for ContactForm entity 2017-09-13 07:51:28 +10:00
Nathaniel Catchpole 9ef92a408b Issue #2905627 by Lendude, dawehner: Part-2: Convert UpdatePathTestBase to BrowserTestBase 2017-09-08 14:24:15 +01:00
Nathaniel Catchpole cb9b6d420f Issue #2722609 by anoopjohn, mfernea, Jo Fitzgerald, chishah92, druprad, martin107, Mile23: Fix Drupal.Commenting.FunctionComment.ParamNameNoMatch 2017-09-04 18:30:59 +01:00
xjm 84bbc5730a Revert "Issue #2824851 by Wim Leers, arshadcn, amateescu, tedbow, timmillwood, Berdir, tstoeckler: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior"
This reverts commit 3b3daa353f.
2017-09-03 06:10:11 -05:00
Nathaniel Catchpole 3b3daa353f Issue #2824851 by Wim Leers, arshadcn, amateescu, tedbow, timmillwood, Berdir, tstoeckler: EntityResource::patch() makes an incorrect assumption about entity keys, hence results in incorrect behavior 2017-08-22 16:54:10 +09:00
Nathaniel Catchpole 98c68fdbfd Issue #2803891 by Jo Fitzgerald, pfrenssen, mfernea, gaurav.kapoor: Fix 'Drupal.Commenting.FunctionComment.ReturnTypeSpaces' coding standard 2017-08-22 16:16:08 +09:00
Nathaniel Catchpole fb3c8d4ed7 Issue #2143089 by imadalin, yched, dawehner, harsha012, Wim Leers, c.nish2k3, bradjones1, damiankloip, xjm: Clean up normalizer parameter and variable names to use 'field_items' consistently etc 2017-08-21 16:57:07 +09:00
Lee Rowlands 2db1774546
Issue #2843770 by Wim Leers, vaplas: EntityResource: Provide comprehensive test coverage for ResponsiveImageStyle entity 2017-07-15 10:26:28 +10:00
Gabor Hojtsy 32276e9498 Issue #2890824 by Wim Leers: Some HAL module functional tests are tagged "@group rest" instead of "@group hal" 2017-07-04 12:52:11 +02:00
Gabor Hojtsy 7d510cc1bc Issue #2873789 by ponies, Wim Leers, xjm: Add change record to @deprecated for TypeLinkManagerInterface 2017-06-28 15:34:56 +02:00
Nathaniel Catchpole 5e2e4a8605 Issue #2843783 by vaplas, Wim Leers, tedbow: EntityResource: Provide comprehensive test coverage for Menu entity 2017-06-12 14:37:00 +01:00
Nathaniel Catchpole 3a6bbc8cae Issue #2843772 by Wim Leers, arshadcn: EntityResource: Provide comprehensive test coverage for DateFormat entity 2017-06-12 12:08:10 +01:00
Nathaniel Catchpole 7e052a1550 Issue #2843768 by Wim Leers, arshadcn, himanshu-dixit, yoroy: EntityResource: Provide comprehensive test coverage for Tour entity 2017-06-12 11:25:32 +01:00
Nathaniel Catchpole a2cc58de8a Issue #2846554 by Berdir, tedbow, amateescu, dawehner, himanshu-dixit, Wim Leers, badrange, damiankloip, catch: Make the PathItem field type actually computed and auto-load stored aliases 2017-06-06 21:27:48 +01:00
Alex Pott da74f223c3 Issue #2768651 by damiankloip, Wim Leers, mpdonadio, Munavijayalakshmi, Jo Fitzgerald, jhedstrom: Let TimestampItem (de)normalize to/from RFC3339 timestamps, not UNIX timestamps, for better DX 2017-05-24 21:47:56 +01:00
Alex Pott b9c288ba3e Issue #2843767 by arshadcn, Wim Leers, tstoeckler: EntityResource: Provide comprehensive test coverage for BaseFieldOverride entity + add missing access control handler 2017-05-23 15:38:02 +01:00
Alex Pott abf5997d93 Issue #2843758 by jamesdesq, vaplas, Wim Leers: EntityResource: Remove ViewAccessControlHandler and provide comprehensive test coverage for View entity 2017-05-23 15:38:02 +01:00
Alex Pott f135eb20cc Issue #2843771 by arshadcn, Wim Leers: EntityResource: Add an admin permission to RdfMapping entity and provide comprehensive test coverage 2017-05-23 14:58:45 +01:00
Gabor Hojtsy 73aaa2643d Issue #2877593 by alexpott, Berdir, Wim Leers: Improve \Drupal\hal\LinkManager\RelationLinkManager::getRelations() documentation 2017-05-12 14:28:36 +02:00
Alex Pott 4db928776a Issue #2868362 by Berdir, Ginovski, dawehner, Wim Leers, alexpott: HAL RelationLinkManager caches and returns entity type definition object instead of id 2017-05-08 11:29:44 +01:00
Nathaniel Catchpole d66888c36c Issue #2863778 by BR0kEN, dawehner, l0ke, Wim Leers, alexpott, catch: Clean up \Drupal\hal\Normalizer\NormalizerBase: duplicate less from the parent class \Drupal\serialization\Normalizer\NormalizerBase 2017-05-02 11:47:01 +01:00
Alex Pott f170a96bc2 Issue #2843774 by jamesdesq, vaplas: EntityResource: Provide comprehensive test coverage for BlockContentType entity 2017-04-29 22:27:19 +01:00
Alex Pott a6b84bfbf2 Issue #2843756 by vaplas, Wim Leers, brentschuddinck, jamesdesq: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity 2017-04-29 21:27:29 +01:00
Alex Pott 2dc6d91d60 Issue #2843754 by rogierbom, Wim Leers, gaurav.kapoor, vaplas: EntityResource: Provide comprehensive test coverage for Feed entity 2017-04-18 18:52:39 +01:00
Alex Pott 8938ab2906 Issue #2825973 by amateescu, timmillwood, himanshu-dixit, dawehner, Berdir, Wim Leers: Introduce a EditorialContentEntityBase class for revisionable and publishable entity types 2017-04-18 13:47:45 +01:00
Alex Pott b712a2d91f Issue #2843763 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for ContentLanguageSettings entity 2017-04-15 10:21:42 +01:00
Alex Pott 757cfbbb82 Issue #2843766 by arshadcn: EntityResource: Provide comprehensive test coverage for FieldConfig entity 2017-04-15 10:20:00 +01:00
Alex Pott c522c8f789 Issue #2843773 by Wim Leers: EntityResource: Provide comprehensive test coverage for RestResourceConfig entity 2017-04-15 10:16:43 +01:00
Gabor Hojtsy c8d1f0b157 Issue #2108243 by Wim Leers, prics, linclark, YesCT: Document that HAL's RelationLinkManager(Interface) also supports registered link relation types 2017-04-11 21:12:30 +02:00
Nathaniel Catchpole 3d292b3ede Issue #2843779 by vaplas, Yogesh Pawar: EntityResource: Provide comprehensive test coverage for ShortcutSet entity 2017-04-04 13:34:26 +01:00
Nathaniel Catchpole af81a985ea Issue #2843782 by arshadcn: EntityResource: Provide comprehensive test coverage for Editor entity 2017-04-04 12:06:22 +01:00
Alex Pott 8419d5e2eb Issue #2843752 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for Item entity 2017-03-28 18:43:26 +01:00
Alex Pott e1524ff3e1 Issue #2843750 by vaplas, sumanthkumarc, Wim Leers: EntityResource: Provide comprehensive test coverage for Shortcut entity 2017-03-28 18:39:27 +01:00
Alex Pott 5955462816 Issue #2843786 by arshadcn: EntityResource: Provide comprehensive test coverage for ImageStyle entity 2017-03-28 18:37:52 +01:00
Alex Pott 5222fbfefd Issue #2843777 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for NodeType entity 2017-03-28 13:11:16 +01:00
Alex Pott c7d9cdea0c Issue #2843775 by arshadcn, Wim Leers: EntityResource: Provide comprehensive test coverage for CommentType entity 2017-03-28 09:04:02 +01:00
Alex Pott df19756da3 Issue #2843759 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for SearchPage entity 2017-03-28 09:02:31 +01:00
Alex Pott 278c0b8a47 Revert "Issue #2843756 by vaplas, brentschuddinck, Wim Leers: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity"
This reverts commit bfaa4f5ab6.
2017-03-27 23:34:00 +01:00
Alex Pott df2fd66d59 Issue #2843756 by vaplas, brentschuddinck, Wim Leers: EntityResource: Provide comprehensive test coverage for FieldStorageConfig entity 2017-03-27 11:39:13 +01:00
Alex Pott 66c750c6c7 Issue #2843761 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for ConfigurableLanguage entity 2017-03-27 11:34:14 +01:00
Alex Pott 478f2fb92e Issue #2843762 by vaplas, Wim Leers: EntityResource: Provide comprehensive test coverage for Action entity 2017-03-27 11:31:19 +01:00
Alex Pott 4656717240 Issue #2822837 by vaplas, martin107, chiranjeeb2410, klausi, dawehner: Replace @expectedException @expectedExceptionMessage with $this->setExpectedException 2017-03-27 11:26:01 +01:00
Alex Pott 0edd07b2f9 Issue #2853211 by vaplas, Wim Leers, arshadcn: EntityResource::post() incorrectly assumes that every entity type has a canonical URL 2017-03-27 09:30:26 +01:00
Alex Pott 4826159924 Issue #2843757 by vaplas, Wim Leers, alexpott: EntityResource: Provide comprehensive test coverage for FilterFormat entity 2017-03-27 09:15:12 +01:00
Alex Pott bd69cfc93a Issue #2860096 by GoZ, jhodgdon: Remove api doc groups for updates eg. updates-8.2.x-to-8.3.x 2017-03-13 16:02:59 +00:00
Alex Pott 983612d07e Issue #2858598 by danielnv18, chiranjeeb2410, jhodgdon: hal.install has @defgroup instead of @addtogroup 2017-03-13 09:26:59 +00:00
Alex Pott e4461e6dc8 Issue #2832859 by vaplas, webflo, harings_rob, Wim Leers: Write EntityResourceTestBase subclasses for: MenuLinkContent 2017-03-07 16:47:20 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
xjm 6cca8a6da0 Issue #2751325 by damiankloip, Grayside, dawehner, Wim Leers, catch, tedbow, alexpott, himanshu-dixit, Jo Fitzgerald, xjm, andrewbelcher, skyredwang, effulgentsia, hampercm, eelkeblok: All serialized values are strings, should be integers/booleans when appropriate 2017-02-28 10:13:35 -06:00
Nathaniel Catchpole 55a4f988c1 Issue #2854830 by Wim Leers: Move rest/serialization module's "link manager" services to HAL module 2017-02-27 12:22:01 +00:00
Nathaniel Catchpole 4c64f7b840 Issue #2770921 by dawehner, klausi, Mile23, mpdonadio, xjm, claudiu.cristea: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits 2017-02-21 12:07:44 +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 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
Nathaniel Catchpole 8dbd209ef3 Issue #2313095 by claudiu.cristea, l0ke, umarzaffer, mrjmd, dawehner, alexpott, catch: Move node constants to NodeInterface 2017-02-09 11:14:54 +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
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
Nathaniel Catchpole cf2b9be686 Issue #2820743 by damiankloip, dawehner: FieldNormalizers are very unforgiving, impossible to debug error response given 2017-01-25 13:53:11 +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 35acba7aed Issue #2824827 by damiankloip, dawehner, Wim Leers, klausi: \Drupal\hal\Normalizer\ContentEntityNormalizer::denormalize() fails with fatal PHP error when bundles are missing from link relation types 2017-01-10 17:40:26 +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 23a9dd83fd Issue #2827218 by tedbow, damiankloip, Wim Leers, Berdir, tstoeckler: Denormalization on field items is never called: add FieldNormalizer + FieldItemNormalizer with denormalize() methods 2016-12-21 09:58:53 +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
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
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 feb3a4df40 Issue #2792205 by fago: Denormalization of entities with translations fails 2016-10-01 08:04:00 +01:00
Alex Pott a7b67e7af1 Issue #2721901 by Mile23, anoopjohn: Fix Drupal.Commenting.FunctionComment.MissingParamName 2016-08-29 06:50:59 -05:00
Alex Pott af1abd851c Issue #2780905 by catch, joelpittet: cache MemoryBackend has a pointless constructor 2016-08-15 11:17:11 +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 133c212ed9 Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard 2016-05-08 10:05:38 -05:00
Alex Pott 70f58860c8 Issue #2716685 by Mile23: Part 2: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-05-05 12:32:19 +01:00
Alex Pott 942c1cff1b Issue #2572307 by vprocessor, attiks, andriyun, alexpott, pfrenssen: Fix 'Generic.PHP.UpperCaseConstant' coding standard 2016-04-28 17:18:08 +01:00
Alex Pott 1b3ffe2ab8 Issue #2572707 by attiks, alexpott: Fix 'Drupal.Files.EndFileNewline' coding standard 2016-04-27 11:05:37 +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
Alex Pott f3f3800fe4 Issue #2674408 by alexpott: Fix "Drupal.Classes.UnusedUseStatement" standard in core 2016-04-05 11:50:03 +01:00
Nathaniel Catchpole 0f76f79c3d Issue #2680931 by alexpott: Test failures in NormalizeTest 2016-03-30 11:29:29 +09:00
Alex Pott 0db5b13892 Issue #2686207 by Berdir: Convert simpletest kernel tests in modules A-I to phpunit 2016-03-28 19:36:47 +01:00
Nathaniel Catchpole 348aa684a7 Issue #2672600 by borisson_, arunkumark, Mile23: Replace deprecated usage of entity_create('node') with a direct call to Node::create() in comment,datetime,editor,field,hal,system,taxonomy,views 2016-03-04 10:59:57 +09:00
Nathaniel Catchpole 1d75784abe Issue #2672604 by saurabh.tripathi.cs: Replace deprecated usage of entity_create('taxonomy_term') and entity_create('taxonomy_vocabulary') with a direct call to Term::create() and Vocabulary::create() 2016-02-24 13:17:21 +09:00
Nathaniel Catchpole c051385d7b Issue #2600576 by droplet: MIME, not Mime / mime 2016-02-22 21:30:26 +09:00
Nathaniel Catchpole 4b8acaab95 Issue #2304849 by Arla, clemens.tolboom, effulgentsia, kaa4ever: Stop excluding local ID and revision fields from HAL output 2016-02-22 12:26:32 +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